No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

const.lua 7.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336
  1. -- @docconsts @{
  2. FloorHigher = 0
  3. FloorLower = 15
  4. SkullNone = 0
  5. SkullYellow = 1
  6. SkullGreen = 2
  7. SkullWhite = 3
  8. SkullRed = 4
  9. SkullBlack = 5
  10. SkullOrange = 6
  11. ShieldNone = 0
  12. ShieldWhiteYellow = 1
  13. ShieldWhiteBlue = 2
  14. ShieldBlue = 3
  15. ShieldYellow = 4
  16. ShieldBlueSharedExp = 5
  17. ShieldYellowSharedExp = 6
  18. ShieldBlueNoSharedExpBlink = 7
  19. ShieldYellowNoSharedExpBlink = 8
  20. ShieldBlueNoSharedExp = 9
  21. ShieldYellowNoSharedExp = 10
  22. ShieldGray = 11
  23. EmblemNone = 0
  24. EmblemGreen = 1
  25. EmblemRed = 2
  26. EmblemBlue = 3
  27. EmblemMember = 4
  28. EmblemOther = 5
  29. VipIconFirst = 0
  30. VipIconLast = 10
  31. Directions = {
  32. North = 0,
  33. East = 1,
  34. South = 2,
  35. West = 3,
  36. NorthEast = 4,
  37. SouthEast = 5,
  38. SouthWest = 6,
  39. NorthWest = 7
  40. }
  41. Skill = {
  42. Fist = 0,
  43. Club = 1,
  44. Sword = 2,
  45. Axe = 3,
  46. Distance = 4,
  47. Shielding = 5,
  48. Fishing = 6,
  49. CriticalChance = 7,
  50. CriticalDamage = 8,
  51. LifeLeechChance = 9,
  52. LifeLeechAmount = 10,
  53. ManaLeechChance = 11,
  54. ManaLeechAmount = 12
  55. }
  56. North = Directions.North
  57. East = Directions.East
  58. South = Directions.South
  59. West = Directions.West
  60. NorthEast = Directions.NorthEast
  61. SouthEast = Directions.SouthEast
  62. SouthWest = Directions.SouthWest
  63. NorthWest = Directions.NorthWest
  64. FightOffensive = 1
  65. FightBalanced = 2
  66. FightDefensive = 3
  67. DontChase = 0
  68. ChaseOpponent = 1
  69. PVPWhiteDove = 0
  70. PVPWhiteHand = 1
  71. PVPYellowHand = 2
  72. PVPRedFist = 3
  73. GameProtocolChecksum = 1
  74. GameAccountNames = 2
  75. GameChallengeOnLogin = 3
  76. GamePenalityOnDeath = 4
  77. GameNameOnNpcTrade = 5
  78. GameDoubleFreeCapacity = 6
  79. GameDoubleExperience = 7
  80. GameTotalCapacity = 8
  81. GameSkillsBase = 9
  82. GamePlayerRegenerationTime = 10
  83. GameChannelPlayerList = 11
  84. GamePlayerMounts = 12
  85. GameEnvironmentEffect = 13
  86. GameCreatureEmblems = 14
  87. GameItemAnimationPhase = 15
  88. GameMagicEffectU16 = 16
  89. GamePlayerMarket = 17
  90. GameSpritesU32 = 18
  91. GameChargeableItems = 19
  92. GameOfflineTrainingTime = 20
  93. GamePurseSlot = 21
  94. GameFormatCreatureName = 22
  95. GameSpellList = 23
  96. GameClientPing = 24
  97. GameExtendedClientPing = 25
  98. GameDoubleHealth = 28
  99. GameDoubleSkills = 29
  100. GameChangeMapAwareRange = 30
  101. GameMapMovePosition = 31
  102. GameAttackSeq = 32
  103. GameBlueNpcNameColor = 33
  104. GameDiagonalAnimatedText = 34
  105. GameLoginPending = 35
  106. GameNewSpeedLaw = 36
  107. GameForceFirstAutoWalkStep = 37
  108. GameMinimapRemove = 38
  109. GameDoubleShopSellAmount = 39
  110. GameContainerPagination = 40
  111. GameThingMarks = 41
  112. GameLooktypeU16 = 42
  113. GamePlayerStamina = 43
  114. GamePlayerAddons = 44
  115. GameMessageStatements = 45
  116. GameMesssageLevel = 46
  117. GameNewFluids = 47
  118. GamePlayerStateU16 = 48
  119. GameNewOutfitProtocol = 49
  120. GamePVPMode = 50
  121. GameWritableDate = 51
  122. GameAdditionalVipInfo = 52
  123. GameSpritesAlphaChannel = 56
  124. GamePremiumExpiration = 57
  125. GameBrowseField = 58
  126. GameEnhancedAnimations = 59
  127. GameOGLInformation = 60
  128. GameMessageSizeCheck = 61
  129. GamePreviewState = 62
  130. GameLoginPacketEncryption = 63
  131. GameClientVersion = 64
  132. GameContentRevision = 65
  133. GameExperienceBonus = 66
  134. GameAuthenticator = 67
  135. GameUnjustifiedPoints = 68
  136. GameSessionKey = 69
  137. GameDeathType = 70
  138. GameIdleAnimations = 71
  139. GameKeepUnawareTiles = 72
  140. GameIngameStore = 73
  141. GameIngameStoreHighlights = 74
  142. GameIngameStoreServiceType = 75
  143. GameAdditionalSkills = 76
  144. TextColors = {
  145. red = '#f55e5e', --'#c83200'
  146. orange = '#f36500', --'#c87832'
  147. yellow = '#ffff00', --'#e6c832'
  148. green = '#00EB00', --'#3fbe32'
  149. lightblue = '#5ff7f7',
  150. blue = '#9f9dfd',
  151. --blue1 = '#6e50dc',
  152. --blue2 = '#3264c8',
  153. --blue3 = '#0096c8',
  154. white = '#ffffff', --'#bebebe'
  155. }
  156. MessageModes = {
  157. None = 0,
  158. Say = 1,
  159. Whisper = 2,
  160. Yell = 3,
  161. PrivateFrom = 4,
  162. PrivateTo = 5,
  163. ChannelManagement = 6,
  164. Channel = 7,
  165. ChannelHighlight = 8,
  166. Spell = 9,
  167. NpcFrom = 10,
  168. NpcTo = 11,
  169. GamemasterBroadcast = 12,
  170. GamemasterChannel = 13,
  171. GamemasterPrivateFrom = 14,
  172. GamemasterPrivateTo = 15,
  173. Login = 16,
  174. Warning = 17,
  175. Game = 18,
  176. Failure = 19,
  177. Look = 20,
  178. DamageDealed = 21,
  179. DamageReceived = 22,
  180. Heal = 23,
  181. Exp = 24,
  182. DamageOthers = 25,
  183. HealOthers = 26,
  184. ExpOthers = 27,
  185. Status = 28,
  186. Loot = 29,
  187. TradeNpc = 30,
  188. Guild = 31,
  189. PartyManagement = 32,
  190. Party = 33,
  191. BarkLow = 34,
  192. BarkLoud = 35,
  193. Report = 36,
  194. HotkeyUse = 37,
  195. TutorialHint = 38,
  196. Thankyou = 39,
  197. Market = 40,
  198. Mana = 41,
  199. BeyondLast = 42,
  200. MonsterYell = 43,
  201. MonsterSay = 44,
  202. Red = 45,
  203. Blue = 46,
  204. RVRChannel = 47,
  205. RVRAnswer = 48,
  206. RVRContinue = 49,
  207. GameHighlight = 50,
  208. NpcFromStartBlock = 51,
  209. Last = 52,
  210. Invalid = 255,
  211. }
  212. OTSERV_RSA = "1091201329673994292788609605089955415282375029027981291234687579" ..
  213. "3726629149257644633073969600111060390723088861007265581882535850" ..
  214. "3429057592827629436413108566029093628212635953836686562675849720" ..
  215. "6207862794310902180176810615217550567108238764764442605581471797" ..
  216. "07119674283982419152118103759076030616683978566631413"
  217. CIPSOFT_RSA = "1321277432058722840622950990822933849527763264961655079678763618" ..
  218. "4334395343554449668205332383339435179772895415509701210392836078" ..
  219. "6959821132214473291575712138800495033169914814069637740318278150" ..
  220. "2907336840325241747827401343576296990629870233111328210165697754" ..
  221. "88792221429527047321331896351555606801473202394175817"
  222. -- set to the latest Tibia.pic signature to make otclient compatible with official tibia
  223. PIC_SIGNATURE = 0x56C5DDE7
  224. OsTypes = {
  225. Linux = 1,
  226. Windows = 2,
  227. Flash = 3,
  228. OtclientLinux = 10,
  229. OtclientWindows = 11,
  230. OtclientMac = 12,
  231. }
  232. PathFindResults = {
  233. Ok = 0,
  234. Position = 1,
  235. Impossible = 2,
  236. TooFar = 3,
  237. NoWay = 4,
  238. }
  239. PathFindFlags = {
  240. AllowNullTiles = 1,
  241. AllowCreatures = 2,
  242. AllowNonPathable = 4,
  243. AllowNonWalkable = 8,
  244. }
  245. VipState = {
  246. Offline = 0,
  247. Online = 1,
  248. Pending = 2,
  249. }
  250. ExtendedIds = {
  251. Activate = 0,
  252. Locale = 1,
  253. Ping = 2,
  254. Sound = 3,
  255. Game = 4,
  256. Particles = 5,
  257. MapShader = 6,
  258. NeedsUpdate = 7
  259. }
  260. PreviewState = {
  261. Default = 0,
  262. Inactive = 1,
  263. Active = 2
  264. }
  265. Blessings = {
  266. None = 0,
  267. Adventurer = 1,
  268. SpiritualShielding = 2,
  269. EmbraceOfTibia = 4,
  270. FireOfSuns = 8,
  271. WisdomOfSolitude = 16,
  272. SparkOfPhoenix = 32
  273. }
  274. DeathType = {
  275. Regular = 0,
  276. Blessed = 1
  277. }
  278. ProductType = {
  279. Other = 0,
  280. NameChange = 1
  281. }
  282. StoreErrorType = {
  283. NoError = -1,
  284. PurchaseError = 0,
  285. NetworkError = 1,
  286. HistoryError = 2,
  287. TransferError = 3,
  288. Information = 4
  289. }
  290. StoreState = {
  291. None = 0,
  292. New = 1,
  293. Sale = 2,
  294. Timed = 3
  295. }
  296. AccountStatus = {
  297. Ok = 0,
  298. Frozen = 1,
  299. Suspended = 2,
  300. }
  301. SubscriptionStatus = {
  302. Free = 0,
  303. Premium = 1,
  304. }
  305. -- @}