Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 8.98 KB | None | 0 0
  1. /*
  2. Copyright (C) 2008-2010 Vana Development Team
  3.  
  4. This program is free software; you can redistribute it and/or
  5. modify it under the terms of the GNU General Public License
  6. as published by the Free Software Foundation; version 2
  7. of the License.
  8.  
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12. GNU General Public License for more details.
  13.  
  14. You should have received a copy of the GNU General Public License
  15. along with this program; if not, write to the Free Software
  16. Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  17. */
  18. #pragma once
  19.  
  20. #define IV_NO_PATCH_LOCATION 0x0d
  21. #define IV_PATCH_LOCATION 0x0e
  22.  
  23. #define SMSG_AUTHENTICATION 0x00
  24. #define SMSG_WORLD_STATUS 0x03
  25. #define SMSG_ACCOUNT_GENDER_DONE 0x04
  26. #define SMSG_MESSAGE_TRY_AGAIN 0x05 // Shows a popup with "Try again!" :P
  27. #define SMSG_PIN 0x06
  28. #define SMSG_PIN_ASSIGNED 0x07
  29. #define SMSG_PLAYER_GLOBAL_LIST 0x08
  30. #define SMSG_WORLD_LIST 0x0a
  31. #define SMSG_PLAYER_LIST 0x0b
  32. #define SMSG_CHANNEL_CONNECT 0x0c
  33. #define SMSG_PLAYER_NAME_CHECK 0x0d
  34. #define SMSG_PLAYER_CREATE 0x0e
  35. #define SMSG_PLAYER_DELETE 0x0f
  36. #define SMSG_CHANNEL_CHANGE 0x10
  37. #define SMSG_PING 0x11
  38. #define SMSG_CHANNEL_SELECT 0x14
  39. #define SMSG_LOGIN_RETURN 0x16
  40.  
  41. #define SMSG_INVENTORY_ITEM_MOVE 0x1a
  42. #define SMSG_INVENTORY_SLOT_UPDATE 0x1b
  43. #define SMSG_PLAYER_UPDATE 0x1c
  44. #define SMSG_SKILL_USE 0x1d
  45. #define SMSG_SKILL_CANCEL 0x1e
  46. #define SMSG_TEMP_STATS 0x1f // This beauty can change your stats and it won't change back until you restart your client or send the packet 0x20 :D
  47. #define SMSG_TEMP_STATS_RESET 0x20 // Bui thinks it's from Balrog (setting your stats to 1 thing)
  48. #define SMSG_SKILL_ADD 0x21
  49. #define SMSG_FAME 0x23
  50. #define SMSG_NOTICE 0x24 // Bottom-right corner notice
  51. #define SMSG_CLIENT_UPDATE 0x25 // This thing takes the client to the gamepatches page @ the nexon page
  52. #define SMSG_NOTE 0x26 // The real note system.
  53. #define SMSG_TELEPORT_ROCK 0x27 // Teleport Rock, VIP Teleport Rock
  54. #define SMSG_ANTI_MACRO 0x28
  55. #define SMSG_REPORT_MORE 0x2a // More report shit >_>
  56. #define SMSG_QUEST_COMPLETED 0x2e
  57. #define SMSG_PLAYER_STORE_MESSAGE 0x2f
  58. #define SMSG_SKILLBOOK 0x30
  59. #define SMSG_REPORT_USER 0x34
  60. #define SMSG_REACHED_TRADE_MESOS_LIMIT 0x36 // "Players that are Level 15 and below may only trade 1 million mesos per day. You have reached the limit today, please try again tomorrow"
  61. #define SMSG_BBS 0x38
  62. #define SMSG_PLAYER_INFO 0x3a
  63. #define SMSG_PARTY 0x3b
  64. #define SMSG_BUDDY 0x3c
  65. #define SMSG_GUILD 0x3e
  66. #define SMSG_ALLIANCE 0x3f
  67. #define SMSG_PORTAL_ACTION 0x40
  68. #define SMSG_MESSAGE 0x41
  69. #define SMSG_OWL_OF_MINERVA 0x43
  70. #define SMSG_WEDDING_PROPOSAL_WHISHLIST 0x45 // Holds both whishlist and proposal
  71. #define SMSG_WEDDING 0x46 // Holds wedding and proposal things like "You are now engaged."...
  72. #define SMSG_WEDDING_MORE 0x47 // Holds wedding stuff too.....
  73. #define SMSG_YELLOW_MESSAGE 0x4a // Used by bosses like Stumpy and Mano
  74. #define SMSG_ARIANT_CATCH_RESULT 0x4c // Used by the Ariant match when using the Element Rock
  75. #define SMSG_PLAYER_NPC_SHOW 0x4e
  76. #define SMSG_MONSTER_BOOK_ADD 0x4f
  77. #define SMSG_MONSTER_BOOK_COVER 0x50
  78. #define SMSG_PLAYER_LEVEL_UPDATE 0x63 // Byte after it: 2 = guild, everything else = family
  79. #define SMSG_POPUP_MESSAGE 0x65 // I don't know where it is used, but it's like the admin warning? Might be part of megaphone
  80. #define SMSG_MEGAPHONE_MESSAGES 0x66 // Wait line shit and such? Megaphone message too... (when byte is not 0x46 or 0x47)
  81. #define SMSG_AVATAR_MEGAPHONE 0x67
  82. #define SMSG_NAME_CANCELLATION_REQUEST 0x69 // It's gone before you know it (when it was successfull)
  83. #define SMSG_TRANSFER_CANCELLATION_REQUEST 0x6a // It's gone before you know it (when it was successfull)
  84. #define SMSG_GM_BAN 0x6c // GMMapleStory with it's HACK reason bans
  85. #define SMSG_SILVER_BOX_REWARD 0x6d // Silver Box event?
  86. #define SMSG_NEWYEAR_CARDS 0x6e // I want to code this!
  87. #define SMSG_RANDOM_TRANSFORMATION_POTION 0x6f
  88. #define SMSG_NAME_CANCELLATION_REQUEST_NOT_REQUESTED 0x70 // 1 thing, 1 whole header
  89. #define SMSG_MACRO_LIST 0x71
  90. #define SMSG_CHANGE_MAP 0x72
  91. #define SMSG_CONNECT_CASHSHOP 0x74
  92. #define SMSG_PORTAL_BLOCKED 0x77
  93. #define SMSG_CHANNEL_BLOCKED 0x78 // For messages like 'This server is unavailable'
  94. #define SMSG_MAP_FORCE_EQUIPMENT 0x79 // Wear apple suit on training maps, all equips except bathrobe off for Showa spa, etc.
  95. #define SMSG_MESSAGE_GROUP 0x7a // Groups like party, buddies and guild
  96. #define SMSG_COMMAND 0x7b // Respond to / commands i.e. "/find"
  97. #define SMSG_SPOUSE_CHAT 0x7c // Some weird colored chat... Sources say Spouse chat.
  98. #define SMSG_MESSAGE_CANNOT_USE 0x7d // "You can't use it here in this map." Note: it needs a byte after it of '0'.
  99. #define SMSG_MAP_EFFECT 0x7e // Change Music/Boss HP Bars
  100. #define SMSG_MAP_WEATHER_EFFECT 0x82 // Used by weather NX items
  101. #define SMSG_CASH_SONG 0x83 // Used for cash items only, plays a song... :D
  102. #define SMSG_GM 0x84 // Hide, other miscellaneous junk
  103. #define SMSG_OX_QUIZ_QUESTION 0x85 // Shows the OX quiz question (with a timer)
  104. #define SMSG_EVENT_INSTRUCTION 0x86 // GM event instructions - Ola Ola, etc.
  105. #define SMSG_TIMER 0x87 // For places with clock i.e. ship station
  106. #define SMSG_SHIP 0x88 // Showing or removing (balrog) ships. Only works for maps with ships (else you'll only hear the horn)
  107. #define SMSG_GM_WARNING 0x8c // Shows a popup with the message from a GM/an Admin
  108. #define SMSG_TIMER_OFF 0x8e // Makes timer disappear from map
  109. #define SMSG_MAP_PLAYER_SPAWN 0x91
  110. #define SMSG_MAP_PLAYER_DESPAWN 0x92
  111. #define SMSG_PLAYER_CHAT 0x93
  112. #define SMSG_CHALKBOARD 0x95
  113. #define SMSG_SCROLL_USE 0x98
  114. #define SMSG_PET_SUMMON 0x99
  115. #define SMSG_PET_MOVEMENT 0x9b
  116. #define SMSG_PET_MESSAGE 0x9c
  117. #define SMSG_PET_NAME_CHANGE 0x9d
  118. #define SMSG_PET_SHOW 0x9e
  119. #define SMSG_PET_ANIMATION 0x9f
  120. #define SMSG_SUMMON_SPAWN 0xa0
  121. #define SMSG_SUMMON_DESPAWN 0xa1
  122. #define SMSG_SUMMON_MOVEMENT 0xa2
  123. #define SMSG_SUMMON_ATTACK 0xa3
  124. #define SMSG_SUMMON_DAMAGE 0xa4
  125. #define SMSG_PLAYER_MOVEMENT 0xa7
  126. #define SMSG_ATTACK_MELEE 0xa8
  127. #define SMSG_ATTACK_RANGED 0xa9
  128. #define SMSG_ATTACK_MAGIC 0xaa
  129. #define SMSG_ATTACK_ENERGYCHARGE 0xab
  130. #define SMSG_SPECIAL_SKILL 0xac
  131. #define SMSG_SPECIAL_SKILL_END 0xad
  132. #define SMSG_PLAYER_DAMAGE 0xae
  133. #define SMSG_EMOTE 0xaf
  134. #define SMSG_ITEM_EFFECT 0xb0
  135. #define SMSG_CHAIR_SIT 0xb2
  136. #define SMSG_PLAYER_CHANGE_LOOK 0xb3
  137. #define SMSG_SKILL_SHOW 0xb4
  138. #define SMSG_3RD_PARTY_SKILL 0xb5 // From other player
  139. #define SMSG_3RD_PARTY_BUFF_END 0xb6 // From other player
  140. #define SMSG_PARTY_HP_DISPLAY 0xb7
  141. #define SMSG_GUILD_NAME 0xb8 // Updates guildname from character :D
  142. #define SMSG_GUILD_EMBLEM 0xb9 // Updates guildemblem from character :D
  143. #define SMSG_PIRATE_BOMB 0xba // Drops the bomb of the pirate skill at pos 0,0. The client disconnects right after it landed...
  144. #define SMSG_CHAIR 0xbb
  145. #define SMSG_THEATRICS 0xbc // Gain item notice in chat
  146. #define SMSG_MAP_TELEPORT 0xbd // Instantaneous transfer
  147. #define SMSG_MESOBAG_SUCCESS 0xbf // "You recieved ... mesos from mesobag"
  148. #define SMSG_MESOBAG_FAILURE 0xc0 // If the mesobag has failed?
  149. #define SMSG_QUEST_UPDATE 0xc1
  150. #define SMSG_BUBBLE 0xc4
  151. #define SMSG_SOUND 0xc6
  152. #define SMSG_EVENT_BOARD 0xc9 // Korean event board :D
  153. #define SMSG_SKILL_COOLDOWN 0xce // Skill cooldown
  154. #define SMSG_MOB_SHOW 0xd0
  155. #define SMSG_MOB_DEATH 0xd1
  156. #define SMSG_MOB_CONTROL 0xd2
  157. #define SMSG_MOB_CONTROL_MOVEMENT 0xd3
  158. #define SMSG_MOB_MOVEMENT 0xd4
  159. #define SMSG_MOB_STATUS_ADDITION 0xd6
  160. #define SMSG_MOB_STATUS_REMOVE 0xd7
  161. #define SMSG_MOB_DAMAGE 0xda
  162. #define SMSG_MOB_HP_DISPLAY 0xde
  163. #define SMSG_MOB_DRAGGED 0xdf // New in .56, Monster Magnet'd mobs get their own packet
  164. #define SMSG_NPC_SHOW 0xe3
  165. #define SMSG_NPC_CONTROL 0xe5
  166. #define SMSG_NPC_ANIMATE 0xe6
  167. #define SMSG_NPC_SHOW_EFFECT 0xe7
  168. #define SMSG_DROP_ITEM 0xee
  169. #define SMSG_DROP_PICKUP 0xef
  170. #define SMSG_MESSAGE_FLY_DISABLED 0xf0 // "You can't fly it here" O.o Might be from these kites
  171. #define SMSG_MIST_SPAWN 0xf3
  172. #define SMSG_MIST_DESPAWN 0xf4
  173. #define SMSG_MYSTIC_DOOR_SPAWN 0xf5
  174. #define SMSG_MYSTIC_DOOR_DESPAWN 0xf6
  175. #define SMSG_REACTOR_TRIGGER 0xf7
  176. #define SMSG_REACTOR_SPAWN 0xf9
  177. #define SMSG_REACTOR_DESPAWN 0xfa
  178. #define SMSG_HORNTAIL_CAVE 0x10c // Horntail Cave close warning. [0D 01] [SPAWNED (byte)] [TIME (int)] . If SPAWNED = 0 and TIME = 0 then cave is closed
  179. #define SMSG_ZAKUM_SHRINE 0x10d // Zakum Shrine close warning. See SMSG_HORNTAIL_CAVE
  180. #define SMSG_NPC_TALK 0x10e
  181. #define SMSG_SHOP 0x10f
  182. #define SMSG_ITEM_PURCHASED 0x110
  183. #define SMSG_STORAGE 0x113
  184. #define SMSG_MESSENGER_ROOM 0x117 // Chatroom / Maple Messenger
  185. #define SMSG_PLAYER_ROOM 0x118 // Trades, player shops, minigames
  186. #define SMSG_PACKAGE_DELIVERY 0x120 // Duey :D
  187. #define SMSG_CASHSHOP_NX 0x122
  188. #define SMSG_CASHSHOP_OPERATION 0x123
  189. #define SMSG_CASHSHOP_NAMECHANGE_RESULT 0x125
  190. #define SMSG_KEYMAP 0x12a
  191. #define SMSG_MAPLETV_ON 0x130
  192. #define SMSG_MAPLETV_OFF 0x131
  193. #define SMSG_HAMMER 0x13d
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement