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 6.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  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. North = Directions.North
  42. East = Directions.East
  43. South = Directions.South
  44. West = Directions.West
  45. NorthEast = Directions.NorthEast
  46. SouthEast = Directions.SouthEast
  47. SouthWest = Directions.SouthWest
  48. NorthWest = Directions.NorthWest
  49. FightOffensive = 1
  50. FightBalanced = 2
  51. FightDefensive = 3
  52. DontChase = 0
  53. ChaseOpponent = 1
  54. PVPWhiteDove = 0
  55. PVPWhiteHand = 1
  56. PVPYellowHand = 2
  57. PVPRedFist = 3
  58. GameProtocolChecksum = 1
  59. GameAccountNames = 2
  60. GameChallengeOnLogin = 3
  61. GamePenalityOnDeath = 4
  62. GameNameOnNpcTrade = 5
  63. GameDoubleFreeCapacity = 6
  64. GameDoubleExperience = 7
  65. GameTotalCapacity = 8
  66. GameSkillsBase = 9
  67. GamePlayerRegenerationTime = 10
  68. GameChannelPlayerList = 11
  69. GamePlayerMounts = 12
  70. GameEnvironmentEffect = 13
  71. GameCreatureEmblems = 14
  72. GameItemAnimationPhase = 15
  73. GameMagicEffectU16 = 16
  74. GamePlayerMarket = 17
  75. GameSpritesU32 = 18
  76. GameChargeableItems = 19
  77. GameOfflineTrainingTime = 20
  78. GamePurseSlot = 21
  79. GameFormatCreatureName = 22
  80. GameSpellList = 23
  81. GameClientPing = 24
  82. GameExtendedClientPing = 25
  83. GameDoubleHealth = 28
  84. GameDoubleSkills = 29
  85. GameChangeMapAwareRange = 30
  86. GameMapMovePosition = 31
  87. GameAttackSeq = 32
  88. GameBlueNpcNameColor = 33
  89. GameDiagonalAnimatedText = 34
  90. GameLoginPending = 35
  91. GameNewSpeedLaw = 36
  92. GameForceFirstAutoWalkStep = 37
  93. GameMinimapRemove = 38
  94. GameDoubleShopSellAmount = 39
  95. GameContainerPagination = 40
  96. GameThingMarks = 41
  97. GameLooktypeU16 = 42
  98. GamePlayerStamina = 43
  99. GamePlayerAddons = 44
  100. GameMessageStatements = 45
  101. GameMesssageLevel = 46
  102. GameNewFluids = 47
  103. GamePlayerStateU16 = 48
  104. GameNewOutfitProtocol = 49
  105. GamePVPMode = 50
  106. GameWritableDate = 51
  107. GameAdditionalVipInfo = 52
  108. GameSpritesAlphaChannel = 56
  109. GamePremiumExpiration = 57
  110. GameBrowseField = 58
  111. GameEnhancedAnimations = 59
  112. GameOGLInformation = 60
  113. GameMessageSizeCheck = 61
  114. GamePreviewState = 62
  115. GameLoginPacketEncryption = 63
  116. GameClientVersion = 64
  117. GameContentRevision = 65
  118. GameExperienceBonus = 66
  119. GameAuthenticator = 67
  120. GameUnjustifiedPoints = 68
  121. GameSessionKey = 69
  122. GameDeathType = 70
  123. TextColors = {
  124. red = '#f55e5e', --'#c83200'
  125. orange = '#f36500', --'#c87832'
  126. yellow = '#ffff00', --'#e6c832'
  127. green = '#00EB00', --'#3fbe32'
  128. lightblue = '#5ff7f7',
  129. blue = '#9f9dfd',
  130. --blue1 = '#6e50dc',
  131. --blue2 = '#3264c8',
  132. --blue3 = '#0096c8',
  133. white = '#ffffff', --'#bebebe'
  134. }
  135. MessageModes = {
  136. None = 0,
  137. Say = 1,
  138. Whisper = 2,
  139. Yell = 3,
  140. PrivateFrom = 4,
  141. PrivateTo = 5,
  142. ChannelManagement = 6,
  143. Channel = 7,
  144. ChannelHighlight = 8,
  145. Spell = 9,
  146. NpcFrom = 10,
  147. NpcTo = 11,
  148. GamemasterBroadcast = 12,
  149. GamemasterChannel = 13,
  150. GamemasterPrivateFrom = 14,
  151. GamemasterPrivateTo = 15,
  152. Login = 16,
  153. Warning = 17,
  154. Game = 18,
  155. Failure = 19,
  156. Look = 20,
  157. DamageDealed = 21,
  158. DamageReceived = 22,
  159. Heal = 23,
  160. Exp = 24,
  161. DamageOthers = 25,
  162. HealOthers = 26,
  163. ExpOthers = 27,
  164. Status = 28,
  165. Loot = 29,
  166. TradeNpc = 30,
  167. Guild = 31,
  168. PartyManagement = 32,
  169. Party = 33,
  170. BarkLow = 34,
  171. BarkLoud = 35,
  172. Report = 36,
  173. HotkeyUse = 37,
  174. TutorialHint = 38,
  175. Thankyou = 39,
  176. Market = 40,
  177. BeyondLast = 41,
  178. MonsterYell = 42,
  179. MonsterSay = 43,
  180. Red = 44,
  181. Blue = 45,
  182. RVRChannel = 46,
  183. RVRAnswer = 47,
  184. RVRContinue = 48,
  185. Last = 49,
  186. Invalid = 255,
  187. }
  188. OTSERV_RSA = "1091201329673994292788609605089955415282375029027981291234687579" ..
  189. "3726629149257644633073969600111060390723088861007265581882535850" ..
  190. "3429057592827629436413108566029093628212635953836686562675849720" ..
  191. "6207862794310902180176810615217550567108238764764442605581471797" ..
  192. "07119674283982419152118103759076030616683978566631413"
  193. CIPSOFT_RSA = "1321277432058722840622950990822933849527763264961655079678763618" ..
  194. "4334395343554449668205332383339435179772895415509701210392836078" ..
  195. "6959821132214473291575712138800495033169914814069637740318278150" ..
  196. "2907336840325241747827401343576296990629870233111328210165697754" ..
  197. "88792221429527047321331896351555606801473202394175817"
  198. -- set to the latest Tibia.pic signature to make otclient compatible with official tibia
  199. PIC_SIGNATURE = 0x542100C1
  200. OsTypes = {
  201. Linux = 1,
  202. Windows = 2,
  203. Flash = 3,
  204. OtclientLinux = 10,
  205. OtclientWindows = 11,
  206. OtclientMac = 12,
  207. }
  208. PathFindResults = {
  209. Ok = 0,
  210. Position = 1,
  211. Impossible = 2,
  212. TooFar = 3,
  213. NoWay = 4,
  214. }
  215. PathFindFlags = {
  216. AllowNullTiles = 1,
  217. AllowCreatures = 2,
  218. AllowNonPathable = 4,
  219. AllowNonWalkable = 8,
  220. }
  221. VipState = {
  222. Offline = 0,
  223. Online = 1,
  224. Pending = 2,
  225. }
  226. ExtendedIds = {
  227. Activate = 0,
  228. Locale = 1,
  229. Ping = 2,
  230. Sound = 3,
  231. Game = 4,
  232. Particles = 5,
  233. MapShader = 6,
  234. NeedsUpdate = 7
  235. }
  236. PreviewState = {
  237. Default = 0,
  238. Inactive = 1,
  239. Active = 2
  240. }
  241. Blessings = {
  242. None = 0,
  243. Adventurer = 1,
  244. SpiritualShielding = 2,
  245. EmbraceOfTibia = 4,
  246. FireOfSuns = 8,
  247. WisdomOfSolitude = 16,
  248. SparkOfPhoenix = 32
  249. }
  250. DeathType = {
  251. Regular = 0,
  252. Blessed = 1
  253. }
  254. -- @}