mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 13:03:27 +02:00
Multi-protocol
Lots of chagnes to add multi protocol flexibility, not really completed yet, still have to rework text messages opcodes and other stuff, so this still a working in progress feature * Rework dat reader, the dat reader can now * dinamically detect dat version * Split game into gamelib and game_interface * Lots of other minor changes
This commit is contained in:
83
modules/gamelib/const.lua
Normal file
83
modules/gamelib/const.lua
Normal file
@@ -0,0 +1,83 @@
|
||||
-- @docconsts @{
|
||||
|
||||
SkullNone = 0
|
||||
SkullYellow = 1
|
||||
SkullGreen = 2
|
||||
SkullWhite = 3
|
||||
SkullRed = 4
|
||||
SkullBlack = 5
|
||||
SkullOrange = 6
|
||||
|
||||
ShieldNone = 0
|
||||
ShieldWhiteYellow = 1
|
||||
ShieldWhiteBlue = 2
|
||||
ShieldBlue = 3
|
||||
ShieldYellow = 4
|
||||
ShieldBlueSharedExp = 5
|
||||
ShieldYellowSharedExp = 6
|
||||
ShieldBlueNoSharedExpBlink = 7
|
||||
ShieldYellowNoSharedExpBlink = 8
|
||||
ShieldBlueNoSharedExp = 9
|
||||
ShieldYellowNoSharedExp = 10
|
||||
|
||||
EmblemNone = 0
|
||||
EmblemGreen = 1
|
||||
EmblemRed = 2
|
||||
EmblemBlue = 3
|
||||
|
||||
North = 0
|
||||
East = 1
|
||||
South = 2
|
||||
West = 3
|
||||
NorthEast = 4
|
||||
SouthEast = 5
|
||||
SouthWest = 6
|
||||
NorthWest = 7
|
||||
|
||||
GameExtendedOpcode = 0
|
||||
GameProtocolChecksum = 1
|
||||
GameAccountNames = 2
|
||||
GameChallangeOnLogin = 3
|
||||
GameStackposOnTileAddThing = 4
|
||||
GamePenalityOnDeath = 5
|
||||
GameNameOnNpcTrade = 6
|
||||
GameDoubleFreeCapacity = 7
|
||||
GameDoubleExperience = 8
|
||||
GameTotalCapacity = 9
|
||||
GameSkillsBase = 10
|
||||
GameAdditionalPlayerStats = 11
|
||||
GameIdOnCancelAttack = 12
|
||||
GameChannelPlayerList = 13
|
||||
GamePlayerMounts = 14
|
||||
GameEnvironmentEffect = 15
|
||||
GameCreatureType = 16
|
||||
GameCreatureEmblems = 17
|
||||
GameCreaturePassableInfo = 18
|
||||
GameItemAnimationPhase = 19
|
||||
GameTrucatedPingOpcode = 20
|
||||
GameReverseCreatureStack = 21
|
||||
GameMagicEffectU16 = 22
|
||||
GamePlayerMarket = 23
|
||||
|
||||
OTSERV_RSA = "1091201329673994292788609605089955415282375029027981291234687579" ..
|
||||
"3726629149257644633073969600111060390723088861007265581882535850" ..
|
||||
"3429057592827629436413108566029093628212635953836686562675849720" ..
|
||||
"6207862794310902180176810615217550567108238764764442605581471797" ..
|
||||
"07119674283982419152118103759076030616683978566631413"
|
||||
|
||||
CIPSOFT_RSA = "1321277432058722840622950990822933849527763264961655079678763618" ..
|
||||
"4334395343554449668205332383339435179772895415509701210392836078" ..
|
||||
"6959821132214473291575712138800495033169914814069637740318278150" ..
|
||||
"2907336840325241747827401343576296990629870233111328210165697754" ..
|
||||
"88792221429527047321331896351555606801473202394175817"
|
||||
|
||||
OsTypes = {
|
||||
Linux = 1,
|
||||
Windows = 2,
|
||||
Flash = 3,
|
||||
OtclientLinux = 10,
|
||||
OtclientWindows = 11,
|
||||
OtclientMac = 12
|
||||
}
|
||||
|
||||
-- @}
|
Reference in New Issue
Block a user