Advertisement
Guest User

schlumpf

a guest
Jul 29th, 2009
732
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 32.87 KB | None | 0 0
  1. 0x015 SMSG_CHECK_FOR_BOTS
  2.     uint8[16]
  3.    
  4. 0x017 CMSG_BOT_DETECTED2            // sent in reply to SMSG_CHECK_FOR_BOTS if scan was a success.
  5.     uint32 0x7634287D
  6.    
  7. 0x01B SMSG_FORCEACTIONSHOW
  8.     uint32
  9.     uint32
  10.  
  11. 0x01D SMSG_PETGODMODE               // prints "Pet Godmode enabled" or "Pet Godmode disabled" to the console.
  12.     uint8 enabled
  13.  
  14. 0x01E SMSG_REFER_A_FRIEND_EXPIRED
  15.     GUID friend
  16.  
  17. 0x023 SMSG_GODMODE                  // prints "Godmode enabled" or "Godmode disabled" to the console.
  18.     uint8 enabled
  19.    
  20. 0x032 SMSG_DESTRUCTIBLE_BUILDING_DAMAGE
  21.     PackedGUID
  22.     PackedGUID damager?
  23.     PackedGUID building
  24.     uint32 damage
  25.     uint32 spell
  26.    
  27. 0x043 SMSG_GAMETIME_UPDATE
  28.     uint32 gametime
  29.  
  30. 0x045 SMSG_GAMETIME_SET
  31.     uint32 gametime
  32.    
  33. 0x047 SMSG_GAMESPEED_SET
  34.     float speed
  35.  
  36. 0x049 SMSG_SERVERTIME
  37.     uint32 time
  38.     uint32 lasttick
  39.    
  40. 0x059 SMSG_ITEM_QUERY_MULTIPLE_RESPONSE
  41.     uint8 icanhazdata                       // set this to 0 to make the packet useless.
  42.     uint32[icanhazdata] data
  43.    
  44. 0x064 CMSG_WHOIS
  45.     char[] charactername
  46.    
  47. 0x065 SMSG_WHOIS
  48.     char[256] account
  49.    
  50. 0x071 SMSG_GROUP_CANCEL                     // this just fires EVENT_PARTY_INVITE_CANCEL
  51.     uint8[48] unused
  52.  
  53. 0x077 SMSG_GROUP_UNINVITE                   // "you have been removed from the group", fires EVENT_CANCEL_SUMMON
  54.     void
  55.    
  56. 0x0AF SMSG_READ_ITEM_FAILED
  57.     GUID item?
  58.     uint8 what
  59.     {
  60.         uint32 translation              // 0-100
  61.     } what = 1
  62.    
  63.     /* what
  64.         EVERYTHING_OKAY = 0,
  65.         TRANSLATION_IN_PROGRESS = 1,
  66.         CLOSE_THAT_SHIT = 2,
  67.     */
  68.    
  69. 0x0B0 SMSG_ITEM_COOLDOWN
  70.     GUID unit
  71.     uint32 spell
  72.    
  73. 0x0E1 CMSG_MOVE_SET_RAW_POSITION            // console: setrawpos
  74.     float x
  75.     float y
  76.     float z
  77.     float r
  78.  
  79. 0x0F1 MSG_MOVE_KNOCK_BACK
  80.     PackedGUID unit
  81.     ...
  82.     float[4] data
  83.  
  84. 0x0F7 MSG_MOVE_HOVER
  85.     PackedGUID unit
  86.     ...
  87.    
  88. 0x0F9 CMSG_OPENING_CINEMATIC
  89. 0x0FB CMSG_NEXT_CINEMATIC_CAMERA
  90.     void
  91.  
  92. 0x102 CMSG_EMOTE                    // sent in reply to SMSG_AUCTION_COMMAND_RESULT when a bid was placed with value 3 ("ONESHOT_WAVE(DNR)")
  93.     int emote                       // as in emote.dbc
  94.    
  95. 0x107 CMSG_AUTOSTORE_GROUND_ITEM
  96.     GUID item                       // or ITEM_FIELD_CONTAINED? i guess not.
  97.  
  98. 0x109 CMSG_STORE_LOOT_IN_SLOT       // LUA::PickupContainerItem(index, slot)
  99.     uint8 slot?
  100.     uint8 unk
  101.     uint8 unk
  102.    
  103. 0x10F CMSG_AUTOEQUIP_ITEM_SLOT
  104.     GUID item
  105.     uint8 paperdollslot             // as found in paperdollframe.dbc.2
  106.    
  107. 0x113 SMSG_OPEN_CONTAINER
  108.     GUID container                  // player GUID for backpack
  109.    
  110. 0x115 SMSG_INSPECT
  111.     GUID playertobeinspected        // handled by client, but unused. Oo
  112.    
  113. 0x138 SMSG_PET_CAST_FAILED
  114.     uint8 unk                       // written to (pendingspellcast + 36)
  115.     uint32 spell                    // as in spell.dbc
  116.     uint8 reason                    // as defined in SpellCastError (SpellFailure.h)
  117.     {
  118.         uint32 additional_1
  119.         uint32 additional_2
  120.     } optional. if not sent: -1
  121.    
  122.     /*
  123.         SPELL_FAILED_CUSTOM_ERROR: additional_1: error to be displayed. See GlobalStrings.lua: "SPELL_FAILED_CUSTOM_ERROR_2 = "Alex broke the quest [...]"; -- AAA - Used for Furbolg Quest Test" etc.
  124.         SPELL_FAILED_PREVENTED_BY_MECHANIC: additional_1: SpellMechanic.dbc row.
  125.         SPELL_FAILED_REQUIRES_AREA: additional_1: AreaTable.dbc row.
  126.         SPELL_FAILED_REQUIRES_SPELL_FOCUS: additional_1: SpellFocusObject.dbc row.
  127.         SPELL_FAILED_EQUIPPED_ITEM_CLASS*:
  128.             additional_1: ItemSubClassMask.dbc.1 or ItemSubClass.dbc.1 row.
  129.             additional_2: ItemSubClassMask.dbc.2 or ItemSubClass.dbc.2 row.
  130.     */
  131.  
  132. 0x148 SMSG_ATTACKSWING_DEADTARGET
  133.     void
  134.    
  135. 0x149 SMSG_ATTACKSWING_CANT_ATTACK
  136.     void
  137.    
  138. 0x14F SMSG_SPELLBREAKLOG
  139.     PackedGUID caster?
  140.     PackedGUID target?
  141.     uint32 spellid
  142.     uint8 unk
  143.     uint32 count
  144.     {
  145.         uint32 unk
  146.         uint8 unk
  147.     } data[count]
  148.    
  149. 0x152 SMSG_BREAK_TARGET
  150.     PackedGUID target
  151.    
  152. 0x157 SMSG_BINDZONEREPLY
  153.     uint32 unk
  154.     uint32 unk
  155.    
  156. 0x164 SMSG_LOOT_ITEM_NOTIFY
  157.     GUID item
  158.     uint8 unk
  159.     uint8 unk
  160.     uint32 unk
  161.     char[64] unk
  162.    
  163. 0x16E SMSG_MOUNTRESULT
  164.     uint32 error
  165.    
  166.     /* error
  167.         E_ERR_MOUNT_INVALIDMOUNTEE = 0,
  168.         E_ERR_MOUNT_TOOFARAWAY = 1,
  169.         E_ERR_MOUNT_ALREADYMOUNTED = 2,
  170.         E_ERR_MOUNT_NOTMOUNTABLE = 3,
  171.         E_ERR_MOUNT_NOTYOURPET = 4,
  172.         E_ERR_MOUNT_OTHER = 5,
  173.         E_ERR_MOUNT_LOOTING = 6,
  174.         E_ERR_MOUNT_RACECANTMOUNT = 7,
  175.         E_ERR_MOUNT_SHAPESHIFTED = 8,
  176.         E_ERR_MOUNT_FORCEDDISMOUNT = 9,
  177.         TOTAL_ERR_FIELDS = 10 // DND
  178.     */ 
  179.    
  180. 0x16F SMSG_DISMOUNTRESULT
  181.     uint32 error
  182.    
  183.     /* error
  184.          E_ERR_DISMOUNT_NOPET = 0,
  185.          E_ERR_DISMOUNT_NOTMOUNTED = 1,
  186.          E_ERR_DISMOUNT_NOTYOURPET = 2,
  187.          TOTAL_ERR_FIELDS = 3 // DND
  188.     */
  189.  
  190. 0x173 SMSG_PET_TAME_FAILURE
  191.     uint8 error
  192.    
  193.     /* error
  194.         PETTAME_UNKNOWNERROR  = 0,  // and all others
  195.         PETTAME_INVALIDCREATURE  = 1,
  196.         PETTAME_TOOMANY  = 2,
  197.         PETTAME_CREATUREALREADYOWNED  = 3,
  198.         PETTAME_NOTTAMEABLE  = 4,
  199.         PETTAME_ANOTHERSUMMONACTIVE  = 5,
  200.         PETTAME_UNITSCANTTAME  = 6,
  201.         PETTAME_NOPETAVAILABLE  = 7,
  202.         PETTAME_INTERNALERROR  = 8,
  203.         PETTAME_TOOHIGHLEVEL  = 9,
  204.         PETTAME_DEAD     = 10,
  205.         PETTAME_NOTDEAD  = 11,
  206.         PETTAME_CANTCONTROLEXOTIC  = 12
  207.     */
  208.    
  209. 0x178 SMSG_PET_NAME_INVALID
  210.     uint32 reason
  211.     char[80] name
  212.     uint8 forcenamedeclension           // welcome to russia
  213.     {
  214.         char[96] declension_1
  215.         char[96] declension_2
  216.         char[96] declension_3
  217.         char[96] declension_4
  218.         char[96] declension_5
  219.     } forcenamedeclension != 0
  220.        
  221.     /* reason
  222.         E_ERR_NAME_INVALID = 0,     // and all others
  223.         E_ERR_NAME_NO_NAME = 2,
  224.         E_ERR_NAME_TOO_SHORT = 3,
  225.         E_ERR_NAME_TOO_LONG = 4,
  226.         E_ERR_NAME_MIXED_LANGUAGES = 6,
  227.         E_ERR_NAME_PROFANE = 7,
  228.         E_ERR_NAME_RESERVED = 8,
  229.         E_ERR_NAME_THREE_CONSECUTIVE = 11,
  230.         E_ERR_NAME_INVALID_SPACE = 12,
  231.         E_ERR_NAME_CONSECUTIVE_SPACES = 13,
  232.         E_ERR_NAME_RUSSIAN_CONSECUTIVE_SILENT_CHARACTERS = 14,
  233.         E_ERR_NAME_RUSSIAN_SILENT_CHARACTER_AT_BEGINNING_OR_END = 15
  234.         E_ERR_NAME_DECLENSION_DOESNT_MATCH_BASE_NAME = 16
  235.     */
  236.  
  237. 0x17A SMSG_PET_MODE
  238.     GUID pet
  239.     uint32 mode                         // i guess ..
  240.    
  241. 0x19B CMSG_QUEST_CONFIRM_ACCEPT             // LUA::ConfirmAcceptQuest, Accept an escort quest being started by a player nearby.
  242.     uint32 questid?
  243.    
  244. 0x19C SMSG_QUEST_CONFIRM_ACCEPT )
  245.     uint32 questid?
  246.     char[1024] text
  247.     GUID starter?
  248.  
  249. 0x1B4 SMSG_TRAINER_BUY_FAILED
  250.     GUID trainer
  251.     uint32 service 
  252.     uint32 problem
  253.    
  254.     /* problem
  255.         SERVICE_UNAVAILABLE = 0,
  256.         NOT_ENOUGH_MONEY = 1,
  257.         NOT_ENOUGH_SKILLPOINTS = 2,
  258.     */
  259.    
  260. 0x1B6 SMSG_PLAYERBINDERROR                  // displays E_ERR_DEATHBINDALREADYBOUND (already bound here)
  261.     void
  262.    
  263. 0x1B9 CMSG_BUY_BANK_SLOT                    // add the banker here.. check the flags.  
  264.     GUID banker
  265.    
  266. 0x1BA SMSG_BUY_BANK_SLOT_RESULT
  267.     uint32 reason
  268.    
  269.     /* reason
  270.         E_ERR_BANKSLOT_FAILED_TOO_MANY = 0,
  271.         E_ERR_BANKSLOT_INSUFFICIENT_FUNDS = 1,
  272.         E_ERR_BANKSLOT_NOTBANKER = 2
  273.     */
  274.  
  275. 0x1C2 MSG_PETITION_DECLINE                  // ERR_PETITION_DECLINED_S (%s declined to sign your petition.)
  276.     GUID who
  277.    
  278. 0x1D7 SMSG_ENCHANTMENTLOG
  279.     PackedGUID caster?
  280.     PackedGUID target?
  281.     uint32 unk
  282.     uint32 SpellItemEnchantmentID           // SpellItemEnchantment.dbc..
  283.    
  284. 0x1DA SMSG_PAUSE_MIRROR_TIMER
  285.     uint32 type                             // EXHAUSTION = 0, BREATH = 1, FEIGNDEATH = 2
  286.     uint8 do                                // 0 to resume, >0 to pause
  287.    
  288. 0x1DF SMSG_GAMEOBJECT_PAGETEXT
  289.     GUID gameobject
  290.    
  291. 0x1E1 SMSG_COOLDOWN_CHEAT
  292.     GUID unit
  293.    
  294. 0x1E7 SMSG_INVALID_PROMOTION_CODE           // shows E_ERR_INVALID_PROMOTION_CODE
  295.     void
  296.    
  297. 0x1EA SMSG_ITEM_TIME_UPDATE
  298.     GUID item
  299.     uint32 time
  300.    
  301. 0x1F7 SMSG_PLAY_SPELL_IMPACT
  302.     GUID object
  303.     uint32 visual                           // SpellVisualKit.dbc
  304.    
  305. 0x1FE SMSG_RWHOIS:                          // CMSG_RWHOIS is never sent. ._. i guess, you could still use.
  306.     int naccounts
  307.     char[640] account
  308.     {
  309.         int ncharacters
  310.         int highlighted?                    // this changes the second argument of Console::Write to 4 instead of 0, if the index of the character and this is the same.
  311.         {
  312.             char[48] character
  313.         } array[ncharacters]                // contains all character names
  314.     } array[naccounts]                      // contains all accounts matching the search
  315.    
  316. 0x20D SMSG_CLEAR_FAR_SIGHT_IMMEDIATE
  317.     void
  318.    
  319. 0x219 SMSG_CHAT_WRONG_FACTION               // displays C_ERR_CHAT_WRONG_FACTION
  320.     void
  321.    
  322. 0x21F CMSG_SKILL_BUY_STEP                   // LUA::BuySkillTier
  323.     uint32 SkillLineInfo
  324.    
  325. 0x220 CMSG_SKILL_BUY_RANK                   // LUA::AcceptSkillUps
  326.     uint32 null                             // this is null when sent from AcceptSkillUps. always.
  327.     {
  328.         uint32 SkillLineInfo
  329.         uint32 SkillLineInfo.something
  330.     } information[]
  331.    
  332. 0x225 CMSG_CHAT_IGNORED
  333.     GUID who
  334.     uint8 unk                               // 0 or 1.
  335.    
  336. 0x25F SMSG_AUCTION_OWNER_NOTIFICATION       // i'm too lazy right now.
  337.     uint32 AHid?
  338.     uint32 auctionId?
  339.     uint32 unk
  340.     GUID item?
  341.     uint32 unk
  342.     uint32 unk
  343.    
  344. 0x260 SMSG_PROCRESIST
  345.     GUID caster?
  346.     GUID target?
  347.     uint32 spellid
  348.     uint8 unk
  349.    
  350. 0x262 SMSG_DISPEL_FAILED
  351.     GUID caster?
  352.     GUID target?
  353.     uint32 spellid
  354.    
  355. 0x263 SMSG_SPELLORDAMAGE_IMMUNE
  356.     GUID caster?
  357.     GUID target?
  358.     uint32 spellid
  359.     uint8 wasspellordamage
  360.    
  361. 0x267 SMSG_SET_PCT_SPELL_MODIFIER
  362.     uint8 group
  363.     uint8 type
  364.     int32 value
  365.    
  366. 0x26B CMSG_PET_CANCEL_AURA
  367.     GUID pet
  368.     uint32 aura?
  369.    
  370. 0x277 SMSG_PLAY_MUSIC
  371.     int id
  372.  
  373. 0x27A CMSG_FAR_SIGHT
  374.     uint32 enable
  375.    
  376. 0x27C SMSG_DAMAGE_CALC_LOG
  377.     GUID caster
  378.     GUID target
  379.     uint32 sourceType
  380.     uint32 spellid
  381.     uint32 entries
  382.     {
  383.         char[30] type           // can be "val" for validated data.
  384.         uint32 type
  385.         float old
  386.         float new
  387.     } data[entries]
  388.    
  389.     /* type
  390.         "Base" = 0,
  391.         "DPS Scaler"
  392.         "Chain Reduction"
  393.         "Combo Point Damage"
  394.         "School Damage Done"
  395.         "Creature Damage Done"
  396.         "Creature Weapon Damage Done"
  397.         "Weapon Effect"
  398.         "Weapon Effect"
  399.         "Spell Modifier"
  400.         "Spell Modifier"
  401.         "Offhand Penalty"
  402.         "Attack Power Damage"
  403.         "Creature Multiplier"
  404.         "School Damage Done"
  405.         "Weapon Multiplier"
  406.         "School Damage Taken"
  407.         "Source Damage Taken"
  408.         "School Damage Taken"
  409.         "Source Damage Taken"
  410.         "Crit Damage Multiplier"
  411.         "Crit Damage"
  412.         "Resistance Coefficient"
  413.         "Bonus Coefficient"
  414.         "Critical Chance"
  415.         "Critical Roll"
  416.         "Seed For Rounding"
  417.         "Fraction Adjust"
  418.         "Resilience Modifier"
  419.         "Armor Factor"
  420.         "Armor Reduction"
  421.         "Shield Block"
  422.         "Melee Crit/Glance/Crush"
  423.         "Pet Happiness Mult"
  424.         "Creature Damage Done"
  425.         "Maximum Attacker Damage"
  426.         "Number of Targets"
  427.         "Crowd Damage"
  428.         "Mechanic Modifier"
  429.         "Bonus From Attack Power Coefficient" = 39
  430.     */
  431.    
  432. 0x280 CMSG_GROUP_SWAP_SUB_GROUP             // LUA::SwapRaidSubgroup(index1, index2)
  433.     char[] a
  434.     char[] b
  435.    
  436. 0x28C SMSG_PVP_CREDIT
  437.     uint32 honorpoints
  438.     GUID victim
  439.     uint32 rank
  440.    
  441. 0x28D SMSG_AUCTION_REMOVED_NOTIFICATION
  442.     uint32 unk
  443.     uint32 item
  444.     uint32 randomsuffixid
  445.    
  446. 0x295 SMSG_MEETINGSTONE_SETQUEUE
  447.     uint32 dungeon
  448.     uint8 wat
  449.     {
  450.         uint8 madeleader                // you're the new leader of the group
  451.     } wat = 5
  452.    
  453.     /* wat
  454.         ERR_MEETING_STONE_LEFT_QUEUE = 0,
  455.         ERR_MEETING_STONE_IN_QUEUE = 1,
  456.         ERR_MATCHMAKING_OTHER_MEMBER_LEFT = 2,
  457.         ERR_MATCHMAKING_PARTY_KICKED_FROM_QUEUE = 3,
  458.         ERR_MATCHMAKING_MEMBER_STILL_IN_QUEUE = 4,
  459.         MATCHMAKING_MATCH = 5
  460.     */
  461.    
  462. 0x296 CMSG_MEETINGSTONE_INFO
  463.     void
  464.    
  465. 0x297 SMSG_MEETINGSTONE_COMPLETE            // display ERR_MATCHMAKING_SUCCESS ( and clean things up in the client )
  466.     void
  467.    
  468. 0x298 SMSG_MEETINGSTONE_IN_PROGRESS         // display ERR_MATCHMAKING_IN_PROGRESS
  469.     void
  470.    
  471. 0x299 SMSG_MEETINGSTONE_MEMBER_ADDED        // display ERR_MATCHMAKING_MEMBER_ADDED
  472.     GUID member
  473.    
  474. 0x29B CMSG_CANCEL_GROWTH_AURA
  475.     void
  476.    
  477. 0x2A7 SMSG_GAMEOBJECT_RESET_STATE
  478.     GUID gameobject
  479.    
  480. 0x2AF SMSG_PET_BROKEN                       // display ERR_PET_BROKEN (pet has run away)
  481.     void
  482.    
  483. 0x2B4 SMSG_FEIGN_DEATH_RESISTED             // display ERR_FEIGN_DEATH_RESISTED (this is just "resist" but may be localized somehow.)
  484.     void
  485.    
  486. 0x2BB SMSG_MEETINGSTONE_JOINFAILED
  487.     uint8 reason
  488.    
  489.     /* reason
  490.         ERR_MATCHMAKING_MUST_BE_LEADER = 1,
  491.         ERR_MATCHMAKING_NO_RAID_GROUP = 3
  492.     */
  493. 0x2C6 SMSG_PET_ACTION_FEEDBACK
  494.     uint8 reason
  495.    
  496.     /* reason
  497.         E_ERR_PET_SPELL_DEAD = 1,
  498.         E_ERR_NO_ATTACK_TARGET = 2,
  499.         E_ERR_INVALID_ATTACK_TARGET = 3,
  500.         E_ERR_PET_SPELL_NOPATH = 4
  501.     */
  502.  
  503. 0x2CB SMSG_UPDATE_LAST_INSTANCE_CREATED     // display "you've been saved for this instance"
  504.     uint32 debug                            // will add "(Debug-Only Lock Notice) " in front of the message. use this for testing, like they did. : D
  505.    
  506. 0x2EA CMSG_PET_STOP_ATTACK
  507.     GUID pet
  508.    
  509. 0x2F3 CMSG_PET_SPELL_AUTOCAST
  510.     GUID pet
  511.     uint32 petaction
  512.     uint8 unkflag                           // petaction.something >> 3
  513.    
  514. 0x2F5 SMSG_PLAY_TIME_WARNING:
  515.     uint32 flags
  516.     uint32 remainingtime
  517.    
  518.     /* flags
  519.         0x1000 - APPROACHING_PARTIAL_PLAY_TIME
  520.         0x2000 - APPROACHING_NO_PLAY_TIME
  521.         0x20000000 - APPROACHING_NO_PLAY_TIME_2
  522.         0x40000000 - APPROACHING_PARTIAL_PLAY_TIME_2
  523.         0x80000000 - UNHEALTHY_TIME
  524.     */
  525.  
  526.     /// These are only used with clientside modifications. The minigame UI is disabled by default and will show a lot of missing textures and therefore is unusable.
  527. 0x2F6 SMSG_MINIGAME_SETUP
  528.     GUID partner?
  529.     uint8 gametype      // TicTacToe = 1
  530.     uint8 flags         // fill with zero.
  531.     GUID unk1           // fill with zeros.
  532.     GUID unk2           // fill with zeros.
  533.     uint8 state[64]     // fill with zeros.
  534.     {
  535.         uint8 unk4
  536.     } flags = 2
  537.    
  538. 0x2F7 SMSG_MINIGAME_STATE
  539.     uint8 state[9]
  540.     uint8 player
  541.  
  542. 0x2F8 CMSG_MINIGAME_MOVE
  543.     GUID partner?
  544.     uint8 gametype
  545.     int32 where
  546.    
  547. 0x2FA SMSG_RAID_INSTANCE_MESSAGE:
  548.     int type
  549.     int mapid
  550.     int nextreset
  551.    
  552.     /* type
  553.         RAID_INSTANCE_WARNING_HOURS = 1,
  554.         RAID_INSTANCE_WARNING_MIN = 2,
  555.         RAID_INSTANCE_WARNING_MIN_SOON = 3,
  556.         RAID_INSTANCE_WELCOME = 4
  557.     */
  558.    
  559. 0x2FD SMSG_CHAT_RESTRICTED
  560.     uint8 reason
  561.    
  562.     /* reason
  563.         C_ERR_CHAT_RESTRICTED = 0,
  564.         C_ERR_CHAT_THROTTLED = 1,
  565.         C_ERR_USER_SQUELCHED = 2
  566.     */
  567.    
  568. 0x313 SMSG_SET_FACTION_ATWAR
  569.     uint32 faction
  570.     uint8 modify                        // only &2 is needed. this will set it. if !&2, it will turn it off.
  571.    
  572. 0x317 CMSG_SET_FACTION_INACTIVE
  573.     uint32 faction
  574.     uint8 isinactive                    // bool.
  575.    
  576. 0x319 MSG_MOVE_TIME_SKIPPED
  577.     PackedGUID unit
  578.     uint32 timeskipped
  579.    
  580. 0x31C SMSG_INVALIDATE_PLAYER
  581.     /* 3.0.9:
  582.       CDataStore__GetGUID(this, &ip);
  583.       if ( (ip.High & 0xF0000000) != 0x10000000 || (ip.High & 0xFF00000) != 0xFF00000 )
  584.       {
  585.         unk_11AF470->sub_5C9600(ip.Low, ip.High);
  586.         sub_530AF0(ip.Low, ip.High);
  587.         sub_521850(ip.Low, ip.High);
  588.       }
  589.       else
  590.         sub_5C97C0((int)&unk_11AF4F8, ip.Low);*/
  591.  
  592. 0x31F SMSG_INSTANCE_RESET_FAILED
  593.     uint32 reason
  594.     uint32 map
  595.    
  596.     /* reason
  597.         INSTANCE_RESET_FAILED = 0,
  598.         INSTANCE_RESET_FAILED_OFFLINE = 1,
  599.         INSTANCE_RESET_FAILED_ZONING = 2,
  600.     */
  601.    
  602. 0x320 SMSG_UPDATE_LAST_INSTANCE
  603.     uint32 map
  604.  
  605. 0x328 SMSG_GM_TICKET_STATUS_UPDATE
  606.     uint32 wat
  607.    
  608.     /* wat
  609.         SEND_CMSG_GMTICKET_GETTICKET = 1,
  610.         EVENT_UPDATE_TICKET = 2,
  611.         EVENT_GMSURVEY_DISPLAY = 3,
  612.     */
  613.    
  614. 0x32A CMSG_GMSURVEY_SUBMIT
  615.     uint32 currentsurveyid
  616.     {
  617.         uint32 questionid               // GMSurveyQuestions.dbc
  618.         uint8 unk
  619.         char[] additionaltext
  620.     } answers[10]
  621.     char[] comment
  622.    
  623. 0x330 SMSG_SPELL_UPDATE_CHAIN_TARGETS
  624.     GUID caster
  625.     uint32 spellid
  626.     uint32 nUnits
  627.     GUID[nUnits] units
  628.    
  629. 0x331 CMSG_CHAT_FILTERED
  630.     GUID who
  631.    
  632. 0x332 SMSG_EXPECTED_SPAM_RECORDS
  633.     uint32 number
  634.     {
  635.         char[] regex
  636.     } patterns[number]
  637.  
  638. 0x333 SMSG_SPELLSTEALLOG
  639.     PackedGUID caster?
  640.     PackedGUID target?
  641.     uint32 spellid
  642.     uint8 unk
  643.     uint32 count
  644.     {
  645.         uint32 unk
  646.         uint8 unk
  647.     } data[count]
  648.    
  649. 0x33B SMSG_INSTANCE_DIFFICULTY
  650.     uint32 difflevel
  651.    
  652. 0x349 SMSG_ARENA_TEAM_COMMAND_RESULT
  653.     uint32 type_a
  654.     char[96] teamname
  655.     char[48] playername
  656.     uint32 type_b
  657.    
  658.     /*  type_a      type_b
  659.         0           0       C_ERR_ARENA_TEAM_CREATE_S, playername
  660.         1           0       C_ERR_ARENA_TEAM_INVITE_SS, teamname, playername
  661.         3           0       C_ERR_ARENA_TEAM_QUIT_S, playername
  662.         14          0       C_ERR_ARENA_TEAM_FOUNDER_S, playername
  663.         *           1       C_ERR_ARENA_TEAM_INTERNAL
  664.         *           2       C_ERR_ALREADY_IN_ARENA_TEAM
  665.         *           3       C_ERR_ALREADY_IN_ARENA_TEAM_S, playername
  666.         *           4       C_ERR_INVITED_TO_ARENA_TEAM
  667.         *           5       C_ERR_ALREADY_INVITED_TO_ARENA_TEAM_S, playername
  668.         *           6       C_ERR_ARENA_TEAM_NAME_INVALID
  669.         *           7       C_ERR_ARENA_TEAM_NAME_EXISTS_S, teamname
  670.         3           8       C_ERR_ARENA_TEAM_LEADER_LEAVE_S
  671.         !3          8       C_ERR_ARENA_TEAM_PERMISSIONS
  672.         *           9       C_ERR_ARENA_TEAM_PLAYER_NOT_IN_TEAM
  673.         *           10      C_ERR_ARENA_TEAM_PLAYER_NOT_IN_TEAM_SS, playername, teamname
  674.         *           11      C_ERR_ARENA_TEAM_PLAYER_NOT_FOUND_S, playername
  675.         *           12      C_ERR_ARENA_TEAM_NOT_ALLIED
  676.         *           19      C_ERR_IGNORING_YOU_S, playername
  677.         *           21      C_ERR_ARENA_TEAM_TARGET_TOO_LOW_S, playername
  678.         *           22      C_ERR_ARENA_TEAM_TARGET_TOO_HIGH_S, playername
  679.         *           23      C_ERR_ARENA_TEAM_TOO_MANY_MEMBERS_S, teamname
  680.         *           27      C_ERR_ARENA_TEAM_NOT_FOUND
  681.         *           30      C_ERR_ARENA_TEAMS_LOCKED
  682.     */
  683.  
  684. 0x357 SMSG_ARENA_TEAM_EVENT
  685.     uint8 reason
  686.     uint8 args
  687.     {
  688.         char[256] strings
  689.     } array[args]
  690.    
  691.     /* reason
  692.         C_ERR_GUILD_INTERNAL = 0,                   // 0 args
  693.         C_ERR_ARENA_TEAM_JOIN = 3,                  // 2 args
  694.         C_ERR_ARENA_TEAM_LEAVE_SS = 4,              // 2 args
  695.         C_ERR_ARENA_TEAM_REMOVE_SSS = 5,            // 3 args
  696.         C_ERR_ARENA_TEAM_LEADER_IS_SS = 6,          // 2 args
  697.         C_ERR_ARENA_TEAM_LEADER_CHANGED_SSS = 7,    // 3 args
  698.         C_ERR_ARENA_TEAM_DISBANDED_S = 8            // 1 arg
  699.     */
  700.    
  701. 0x360 CMSG_ACCEPT_LFG_MATCH                             // LUA::AcceptLFGMatch called from popup on event LFG_MATCH_REQUEST
  702.     void
  703.    
  704. 0x361 CMSG_DECLINE_LFG_MATCH                            // LUA::DeclineLFGMatch called from popup on event LFG_MATCH_REQUEST
  705.     void
  706.    
  707. 0x362 CMSG_CANCEL_PENDING_LFG                           // LUA::CancelPendingLFG
  708.     void
  709.    
  710. 0x364 CMSG_CLEAR_LOOKING_FOR_MORE                       // LUA::ClearLookingForMore
  711.     void
  712.    
  713. 0x367 SMSG_LFG_TIMEDOUT                                 // displays ERR_MATCHMAKING_TIMEDOUT and broadcasts EVENT_LFG_MATCH_CANCEL
  714.     void
  715.    
  716. 0x368 SMSG_LFG_TIMEDOUT                                 // displays ERR_MATCHMAKING_OTHER_TIMEDOUT and broadcasts EVENT_LFG_PENDING_CANCEL
  717.     void
  718.    
  719. 0x36B SMSG_LFG_LEADER_IS_LFM                            // byte_1175A17 = 0; byte_1175A18 = 1; used for LUA::IsInLFGQueue (you're in it if your leader is..)
  720.     void
  721.  
  722. 0x36D SMSG_LFG_UPDATE_LFM
  723.     uint8 isLFMing?
  724.     uint32 unk
  725.    
  726. 0x36E SMSG_LFG_UPDATE_LFG
  727.     uint32 lfg1
  728.     uint32 lfg2
  729.     uint32 lfg3
  730.    
  731. 0x36F SMSG_LFG_UPDATE_QUEUED
  732.     uint8 isQueued?
  733.  
  734. 0x370 SMSG_LFG_PENDING_INVITE                   // displays ERR_MATCHMAKING_PENDING_INVITE_S and broadcasts EVENT_LFG_MATCH_REQUEST
  735.     uint32 LfgDungeon                           // LfgDungeons.dbc
  736.    
  737. 0x371 SMSG_LFG_PENDING_MATCH                    // displays ERR_MATCHMAKING_PENDING_MATCH_S
  738.     uint32 LfgDungeon                           // LfgDungeons.dbc
  739.  
  740. 0x372 SMSG_LFG_PENDING_MATCH_DONE               // broadcasts EVENT_LFG_PENDING_CANCEL
  741.     void
  742.    
  743. 0x376 SMSG_ARENA_ERROR
  744.     uint32 error
  745.     {
  746.         uint8 numplayers
  747.     } error = 0
  748.    
  749.     /* error
  750.         E_ERR_ARENA_NO_TEAM_II = 0,
  751.         E_ERR_ARENA_EXPIRED_CAIS = 1,
  752.     */
  753.  
  754. 0x37A SMSG_FORCED_DEATH_UPDATE
  755.     void
  756.    
  757. 0x388 SMSG_FLIGHT_SPLINE_SYNC
  758.     float unk
  759.     PackedGUID unit
  760.    
  761. 0x389 CMSG_SET_TAXI_BENCHMARK_MODE
  762.     uint8 on
  763.    
  764. 0x38F SMSG_OFFER_PETITION_ERROR                 // display ERR_ALREADY_IN_ARENA_TEAM_S, name
  765.     GUID player
  766.    
  767. 0x391 CMSG_TIME_SYNC_RESP
  768.     uint32 unk
  769.     uint32 unk
  770.    
  771. 0x396 SMSG_RESET_FAILED_NOTIFY                  // display RESET_FAILED_NOTIFY
  772.     void
  773.    
  774. 0x397 SMSG_REAL_GROUP_UPDATE
  775.     uint8 isRaid
  776.     uint32 numMembers
  777.     GUID realLeader
  778.    
  779. 0x398 SMSG_LFG_DISABLED                         // display E_ERR_SYSTEM_DISABLED, broadcasts EVENT_LFG_UPDATE; disables the system..
  780.     void
  781.    
  782. 0x39E SMSG_VOICE_SESSION_ROSTER_UPDATE
  783.     GUID sessionguid
  784.     uint16
  785.     uint8 type
  786.     char[] channelname
  787.     uint8[16]
  788.     uint32 ip
  789.     uint16 port
  790.     uint8 member
  791.     GUID
  792.     uint8
  793.     uint8
  794.     {
  795.         GUID memberguid
  796.         uint8
  797.         uint8
  798.         uint8
  799.     } array[members]
  800.  
  801. 0x39F SMSG_VOICE_SESSION_LEAVE
  802.     GUID sessionguid
  803.     GUID member
  804.    
  805. 0x3A2 SMSG_VOICE_SET_TALKER_MUTED
  806.     GUID member
  807.     uint8 state
  808.    
  809. 0x3AC SMSG_DISMOUNT
  810.     GUID unit
  811.    
  812. 0x3B1 SMSG_VOICE_PARENTAL_CONTROLS
  813.     uint8 EnableVoiceChat
  814.     uint8 EnableMicrophone
  815.  
  816. 0x3B5 CMSG_COMMENTATOR_ENABLE
  817.     uint32 enabled
  818.    
  819. 0x3B6 SMSG_COMMENTATOR_STATE_CHANGED
  820.     GUID commentator
  821.     uint32 enabled
  822.    
  823. 0x3B7 CMSG_COMMENTATOR_GET_MAP_INFO
  824.     char[] map
  825.    
  826. 0x3B8 SMSG_COMMENTATOR_MAP_INFO
  827.     uint32 numInstanceInfo
  828.     GUID commentator?
  829.     {
  830.         {
  831.             uint32 unk
  832.             uint32 unk
  833.             uint32 unk
  834.             uint32 unk
  835.             {
  836.                 uint32 unk
  837.                 uint32 unk
  838.                 GUID unk
  839.                 uint32 unk
  840.             } unk[unk]
  841.         } InstanceInfo[numInstanceInfo]
  842.     } numInstanceInfo > 0
  843.  
  844. 0x3B9 CMSG_COMMENTATOR_GET_PLAYER_INFO
  845.     uint32 unk
  846.     uint32 unk
  847.    
  848. 0x3BB SMSG_COMMENTATOR_PLAYER_INFO
  849.     uint32 unk                  // used for getting the player in the array.
  850.     uint32 unk
  851.     GUID player
  852.     uint32 nunk
  853.     {
  854.         GUID
  855.         char[]
  856.         uint8
  857.         uint8
  858.         uint8
  859.         uint32
  860.         uint32
  861.         uint32
  862.         uint32
  863.         uint32
  864.         uint32
  865.         uint32
  866.         uint32
  867.         uint32
  868.         uint32
  869.         uint32
  870.         uint8
  871.     } unk[nunk]
  872.    
  873. 0x3BC CMSG_COMMENTATOR_ENTER_INSTANCE           // LUA::CommentatorEnterInstance
  874.     uint32
  875.     GUID instance?
  876.  
  877. 0x3BD CMSG_COMMENTATOR_EXIT_INSTANCE            // LUA::CommentatorExitInstance
  878.     void
  879.    
  880. 0x3BE CMSG_COMMENTATOR_INSTANCE_COMMAND         // multipurpose: adding, removing players. starting instances
  881.     GUID                                        // 0 for start, instanceinfo
  882.     GUID player                                 // 0 for start, the targeted player
  883.     GUID Battlemaster
  884.     uint32 action                               // 0 for start, 1 for add, 2 for remove
  885.     uint32                                      // instanceinfo
  886.     uint32                                      // instanceinfo
  887.     uint32                                      // instanceinfo
  888.     uint32                                      // instanceinfo
  889.     uint32 playerindex?                         // 0 for start
  890.    
  891. 0x3BF SMSG_CLEAR_TARGET                         // will trigger a CMSG_SET_SELECTION
  892.     GUID target
  893.    
  894. 0x3C0 CMSG_BOT_DETECTED
  895.     uint8[3] unk                                // i guess, an identifier for which one. or results of the scandll scans (there are 3! oha!)
  896.    
  897. 0x3C1 SMSG_CROSSED_INEBRIATION_THRESHOLD
  898.     GUID player
  899.     uint32 drunklevel                           // 0-3
  900.     uint32 itemid                               // my beer!
  901.    
  902. 0x3C5 SMSG_KICK_REASON
  903.     uint8
  904.     char[16]
  905.    
  906. 0x3C6 MSG_RAID_READY_CHECK_FINISHED             // in AND out. // SMSG broadcasts EVENT_READY_CHECK_FINISHED
  907.     void
  908.    
  909. 0x3CC CMSG_CHANNEL_SILENCE_VOICE
  910. 0x3CD CMSG_CHANNEL_SILENCE_ALL
  911. 0x3CE CMSG_CHANNEL_UNSILENCE_VOICE
  912. 0x3CF CMSG_CHANNEL_UNSILENCE_ALL
  913.     char[] channel
  914.     char[] name
  915.    
  916. 0x3D6 CMSG_CHANNEL_VOICE_ON
  917. 0x3D7 CMSG_CHANNEL_VOICE_OFF
  918. 0x410 CMSG_DECLINE_CHANNEL_INVITE
  919.     char[] channel
  920.    
  921. 0x3DA SMSG_AVAILABLE_VOICE_CHANNEL
  922.     GUID
  923.     uint8 type
  924.     char[] name
  925.     GUID
  926.    
  927. 0x3DB CMSG_ADD_VOICE_IGNORE                     // LUA::AddOrDelMute
  928.     char[] player
  929.    
  930. 0x3DC CMSG_DEL_VOICE_IGNORE                     // LUA::AddOrDelMute
  931.     GUID player
  932.    
  933. 0x3DD CMSG_PARTY_SILENCE
  934. 0x3DE CMSG_PARTY_UNSILENCE
  935.     GUID player
  936.     uint8 notpvparea
  937.    
  938. 0x3DF MSG_NOTIFY_PARTY_SQUELCH:         // echo for victim
  939.     uint32 silence
  940.    
  941. 0x3E0 SMSG_COMSAT_RECONNECT_TRY                 // ERR_COMSAT_RECONNECT_ATTEMPT
  942.     void
  943.    
  944. 0x3E1 SMSG_COMSAT_DISCONNECT                    // ERR_COMSAT_DISCONNECT
  945.     void
  946.    
  947. 0x3E2 SMSG_COMSAT_CONNECT_FAIL                  // ERR_COMSAT_CONNECT_FAIL
  948.     void
  949.    
  950. 0x3E3 SMSG_VOICE_CHAT_STATUS
  951.     uint8 status
  952.  
  953. 0x3E4 CMSG_REPORT_PVP_AFK
  954.     GUID player
  955.    
  956. 0x3E5 CMSG_REPORT_PVP_AFK_RESULT
  957.     uint8 result
  958.     uint8 unk           // they seem to be all unused. Oo
  959.     uint8 unk
  960.     GUID unk
  961.  
  962.     /* result
  963.         PVP_REPORT_AFK_SYSTEM_ENABLED = 5
  964.         PVP_REPORT_AFK_SYSTEM_DISABLED = 6
  965.     */
  966.  
  967. 0x3EF CMSG_SET_CHANNEL_WATCH
  968.     char[] channel?                         // idk.
  969.    
  970. 0x3F0 SMSG_USERLIST_ADD
  971.     GUID user
  972.     uint8 unk
  973.     uint8 channelflags
  974.     uint32 unused?
  975.     char[128] channelnameiguess
  976.  
  977. 0x3F1 SMSG_USERLIST_REMOVE
  978.     GUID user
  979.     uint8 channelflags
  980.     uint32 unused?
  981.     char[128] channelnameiguess
  982.  
  983. 0x3F2 SMSG_USERLIST_UPDATE
  984.     GUID user
  985.     uint8 unk
  986.     uint8 channelflags
  987.     uint32 unused?
  988.     char[128] channelnameiguess
  989.    
  990. 0x3F3 CMSG_CLEAR_CHANNEL_WATCH                  // LUA::ClearChannelWatch
  991.     void
  992.    
  993. 0x3F6 SMSG_ECHO_PARTY_SQUELCH:          // echo for leader
  994.     GUID who
  995.     int silence                     // 0 for unsilence
  996.  
  997. 0x3F9 SMSG_LOOT_LIST
  998.     GUID unit
  999.     PackedGUID unk
  1000.     PackedGUID unk
  1001.    
  1002. 0x3FC SMSG_VOICESESSION_FULL                    // displays ERR_VOICESESSION_FULL
  1003.     void
  1004.    
  1005. 0x401 CMSG_GET_MIRRORIMAGE_DATA
  1006.     GUID unit
  1007.    
  1008. 0x402 SMSG_MIRRORIMAGE_DATA
  1009.     GUID unit
  1010.     uint32 displayid?                           // has to be == *(_DWORD *)(*(_DWORD *)(Unit + 264) + 240) )
  1011.     uint8 displaydata                           // not sure about all this .__.
  1012.     {
  1013.         uint8[7]
  1014.         uint32 unk
  1015.         uint32[11] items
  1016.     } displaydata != 0
  1017.    
  1018. 0x403 SMSG_FORCE_DISPLAY_UPDATE
  1019.     PackedGUID unit
  1020.  
  1021. 0x407 CMSG_KEEP_ALIVE                           // seems to be used for streaming trials..
  1022.     void
  1023.    
  1024. 0x408 SMSG_RAID_READY_CHECK_ERROR               // display EVENT_ARENA_TEAM_ROSTER_UPDATE
  1025.     void
  1026.    
  1027. 0x40A MSG_QUERY_GUILD_BANK_TEXT
  1028.     // CMSG:
  1029.     uint8 tab
  1030.     // SMSG:
  1031.     uint8 tab
  1032.     char[8192] text
  1033.    
  1034. 0x40B CMSG_SET_GUILD_BANK_TEXT
  1035.     uint8 tab
  1036.     char[] text
  1037.  
  1038.    
  1039. 0x40D CMSG_GRANT_LEVEL
  1040.     GUID to
  1041.    
  1042. 0x411 CMSG_GROUPACTION_THROTTLED                    // display C_ERR_GROUP_ACTION_THROTTLED
  1043.     void
  1044.    
  1045. 0x412 SMSG_OVERRIDE_LIGHT
  1046.     uint32 light                                    // Lights.dbc
  1047.     uint32 light2                                   // can be zero
  1048.     uint32 time?
  1049.    
  1050. 0x419 CMSG_SET_PLAYER_DECLINED_NAMES
  1051.     GUID character
  1052.     char[] name
  1053.     {
  1054.         char[] declension
  1055.     } declined[5]
  1056.    
  1057. 0x41A SMSG_SET_PLAYER_DECLINED_NAMES_RESULT
  1058.     uint32 result                                   // 1: failed (EVENT_FORCE_DECLINE_CHARACTER: CHAR_DECLINE_FAILED), 0: proceed to entering world
  1059.     {
  1060.         GUID character
  1061.     } result == 0
  1062.    
  1063. 0x41E SMSG_SEND_UNLEARN_SPELLS
  1064.     uint32 nspells
  1065.     uint32[nspells] spell
  1066.    
  1067. 0x41F SMSG_PROPOSE_LEVEL_GRANT
  1068.     GUID from
  1069.  
  1070. 0x420 CMSG_ACCEPT_LEVEL_GRANT
  1071.     GUID from
  1072.    
  1073. 0x421 SMSG_REFER_A_FRIEND_FAILURE
  1074.     int type
  1075.     {
  1076.         string player
  1077.     } type == 9 / 13
  1078.    
  1079.     /* type
  1080.          1:  E_ERR_REFER_A_FRIEND_NOT_REFERRED_BY
  1081.          2:  E_ERR_REFER_A_FRIEND_TARGET_TOO_HIGH
  1082.          3:  E_ERR_REFER_A_FRIEND_INSUFFICIENT_GRANTABLE_LEVELS
  1083.          4:  E_ERR_REFER_A_FRIEND_TOO_FAR
  1084.          5:  E_ERR_REFER_A_FRIEND_DIFFERENT_FACTION
  1085.          6:  E_ERR_REFER_A_FRIEND_NOT_NOW
  1086.          7:  E_ERR_REFER_A_FRIEND_GRANT_LEVEL_MAX_I, 60
  1087.          8:  E_ERR_GENERIC_NO_TARGET
  1088.          9:  C_ERR_TARGET_NOT_IN_GROUP_S, player
  1089.          10:  E_ERR_REFER_A_FRIEND_SUMMON_LEVEL_MAX_I, 60
  1090.          11:  E_ERR_REFER_A_FRIEND_SUMMON_COOLDOWN
  1091.          13:  E_ERR_REFER_A_FRIEND_SUMMON_OFFLINE_S, player
  1092.          12:  E_ERR_REFER_A_FRIEND_INSUF_EXPAN_LVL
  1093.      */
  1094.      
  1095. 0x424 SMSG_SUMMON_CANCEL                            // fire EVENT_CANCEL_SUMMON
  1096.     void
  1097.  
  1098. 0x429 CMSG_CALENDAR_GET_CALENDAR
  1099.     void
  1100.    
  1101. 0x42A CMSG_CALENDAR_GET_EVENT
  1102.     GUID
  1103.    
  1104. 0x42B CMSG_CALENDAR_GUILD_FILTER
  1105.     uint32 minLevel
  1106.     uint32 maxLevel
  1107.     uint32 minRank
  1108.    
  1109. 0x42C CMSG_CALENDAR_ARENA_TEAM
  1110.     uint32 id
  1111.    
  1112. 0x42D CMSG_CALENDAR_ADD_EVENT
  1113.     char[] title
  1114.     char[] description?
  1115.     uint8
  1116.     uint8
  1117.     uint32 invites?
  1118.     uint32
  1119.     uint32
  1120.     uint32
  1121.     uint32
  1122.     uint32 v1
  1123.     {
  1124.         uint32 count
  1125.         {
  1126.             PackedGUID
  1127.             uint8
  1128.             uint8
  1129.         } invites[count]
  1130.     } !(((v1 >> 6) & 1)
  1131.    
  1132. 0x42E CMSG_CALENDAR_UPDATE_EVENT
  1133.     GUID
  1134.     GUID
  1135.     char[] title
  1136.     char[] description?
  1137.     uint8
  1138.     uint8
  1139.     uint32
  1140.     uint32
  1141.     uint32
  1142.     uint32
  1143.     uint32
  1144.    
  1145. 0x42F CMSG_CALENDAR_REMOVE_EVENT
  1146.     GUID
  1147.     GUID
  1148.     uint8
  1149.    
  1150. 0x430 CMSG_CALENDAR_COPY_EVENT
  1151. 0x432 CMSG_CALENDAR_EVENT_RSVP
  1152.     GUID
  1153.     GUID
  1154.     uint32
  1155.  
  1156. 0x431 CMSG_CALENDAR_EVENT_INVITE
  1157.     GUID
  1158.     GUID
  1159.     char[]
  1160.     uint8
  1161.    
  1162. 0x433 CMSG_CALENDAR_EVENT_REMOVE_INVITE
  1163.     PackedGUID
  1164.     GUID
  1165.     GUID
  1166.     GUID
  1167.    
  1168. 0x434 CMSG_CALENDAR_EVENT_STATUS
  1169. 0x435 CMSG_CALENDAR_EVENT_MODERATOR_STATUS
  1170.     PackedGUID
  1171.     GUID
  1172.     GUID
  1173.     GUID
  1174.     uint32
  1175.    
  1176. 0x436 SMSG_CALENDAR_SEND_CALENDAR
  1177.     uint32 a
  1178.     {
  1179.         GUID[2]
  1180.         uint8[2]
  1181.         PackedGUID
  1182.     } array[a]
  1183.     uint32 b
  1184.     {
  1185.         GUID
  1186.         char[128]
  1187.         uint32[4]
  1188.         PackedGUID
  1189.     } array2[b]
  1190.     uint32[2]
  1191.     uint32 c
  1192.     {
  1193.         uint32[3]
  1194.         GUID
  1195.     } array3[c]
  1196.     uint32
  1197.     uint32 d
  1198.     {
  1199.         uint32[3]
  1200.     } array4[d]
  1201.     uint32 e
  1202.     {
  1203.         uint32[5]                   // no, i'm not stupid. they actually are like this..
  1204.         uint32[26]
  1205.         uint32[10]
  1206.         uint32[10]
  1207.         char[]
  1208.     } array5[e]
  1209.    
  1210. 0x437 SMSG_CALENDAR_SEND_EVENT
  1211.     uint8
  1212.    
  1213. 0x438 SMSG_CALENDAR_FILTER_GUILD
  1214.     uint32 a
  1215.     {
  1216.         PackedGUID
  1217.         uint8
  1218.     } array[a]
  1219.    
  1220. 0x439 SMSG_CALENDAR_ARENA_TEAM
  1221.     uint32 team?
  1222.     uint32 a
  1223.     {
  1224.         PackedGUID
  1225.         uint8
  1226.     } array[a]
  1227.    
  1228. 0x43A SMSG_CALENDAR_EVENT_INVITE
  1229.     PackedGUID
  1230.     GUID[2]
  1231.     uint8[2]
  1232.    
  1233. 0x43B SMSG_CALENDAR_EVENT_INVITE_REMOVED
  1234.     PackedGUID
  1235.     GUID
  1236.     uint8
  1237.    
  1238. 0x43C SMSG_CALENDAR_EVENT_STATUS
  1239.     PackedGUID
  1240.     GUID
  1241.     uint32[2]
  1242.     uint8[2]
  1243.  
  1244. 0x43D SMSG_CALENDAR_COMMAND_RESULT
  1245.     uint32 unused
  1246.     char[128] unused
  1247.     char[48] event
  1248.     uint32 result
  1249.    
  1250.     /* result
  1251.       1: "CALENDAR_ERROR_GUILD_EVENTS_EXCEEDED", 30
  1252.       2: "CALENDAR_ERROR_EVENTS_EXCEEDED", 30
  1253.       3: "CALENDAR_ERROR_SELF_INVITES_EXCEEDED"
  1254.       4: "CALENDAR_ERROR_OTHER_INVITES_EXCEEDED", event
  1255.       5: "CALENDAR_ERROR_PERMISSIONS"
  1256.       6: "CALENDAR_ERROR_EVENT_INVALID"
  1257.       7: "CALENDAR_ERROR_NOT_INVITED"
  1258.       8: "CALENDAR_ERROR_INTERNAL"
  1259.       9: "ERR_GUILD_PLAYER_NOT_IN_GUILD"
  1260.       10: "CALENDAR_ERROR_ALREADY_INVITED_TO_EVENT_S", event
  1261.       11: "PLAYER_NOT_FOUND", 0
  1262.       12: "CALENDAR_ERROR_NOT_ALLIED"
  1263.       13: "ERR_IGNORING_YOU_S", event
  1264.       14: "CALENDAR_ERROR_INVITES_EXCEEDED", 100
  1265.       16: "CALENDAR_ERROR_INVALID_DATE"
  1266.       17: "CALENDAR_ERROR_INVALID_TIME"
  1267.       19: "CALENDAR_ERROR_NEEDS_TITLE"
  1268.       20: "CALENDAR_ERROR_EVENT_PASSED"
  1269.       21: "CALENDAR_ERROR_EVENT_LOCKED"
  1270.       22: "CALENDAR_ERROR_DELETE_CREATOR_FAILED"
  1271.       24: "ERR_SYSTEM_DISABLED"
  1272.       25: "ERR_RESTRICTED_ACCOUNT"
  1273.       26: "CALENDAR_ERROR_ARENA_EVENTS_EXCEEDED"
  1274.       27: "CALENDAR_ERROR_RESTRICTED_LEVEL"
  1275.       28: "ERR_USER_SQUELCHED"
  1276.       29: "CALENDAR_ERROR_NO_INVITE"
  1277.       36: "CALENDAR_ERROR_EVENT_WRONG_SERVER"
  1278.       37: "CALENDAR_ERROR_INVITE_WRONG_SERVER"
  1279.     */
  1280.  
  1281. 0x43E SMSG_CALENDAR_RAID_LOCKOUT_ADDED
  1282.     uint32[4]
  1283.     GUID
  1284.    
  1285. 0x43F SMSG_CALENDAR_RAID_LOCKOUT_REMOVED
  1286.     uint32 a
  1287.     {
  1288.         uint32
  1289.         uint32
  1290.         GUID
  1291.     } a >= 0
  1292.    
  1293. 0x440 SMSG_CALENDAR_EVENT_INVITE_ALERT
  1294.     GUID
  1295.     char[128]
  1296.     uint32[4]
  1297.     GUID
  1298.     uint8[2]
  1299.     PackedGUID[2]
  1300.  
  1301. 0x441 SMSG_CALENDAR_EVENT_INVITE_REMOVED_ALERT
  1302.     GUID
  1303.     uint32[2]
  1304.    
  1305. 0x442 SMSG_CALENDAR_EVENT_INVITE_STATUS_ALERT
  1306.     GUID
  1307.     uint32[2]
  1308.     uint8
  1309.    
  1310. 0x443 SMSG_CALENDAR_EVENT_REMOVED_ALERT
  1311.     uint8
  1312.     GUID
  1313.     uint32
  1314.    
  1315. 0x444 SMSG_CALENDAR_EVENT_UPDATED_ALERT
  1316.     uint8
  1317.     GUID
  1318.     uint32
  1319.     uint32[2]
  1320.     uint8
  1321.     uint32
  1322.     char[128]
  1323.  
  1324. 0x445 SMSG_CALENDAR_EVENT_MODERATOR_STATUS_ALERT
  1325.     PackedGUID
  1326.     GUID
  1327.     uint8[2]
  1328.    
  1329.  
  1330. 0x446 CMSG_CALENDAR_COMPLAIN
  1331.     GUID[3]
  1332.    
  1333. 0x447 CMSG_CALENDAR_GET_NUM_PENDING
  1334.     void
  1335.    
  1336. 0x448 SMSG_CALENDAR_SEND_NUM_PENDING
  1337.     uint32 pending
  1338.  
  1339. 0x44A SMSG_NOTIFY_DANCE
  1340.     uint32 flags
  1341.     {
  1342.         uint32 reason
  1343.     } flags & 8
  1344.     else {
  1345.         uint32 unk
  1346.         char[] nameofthedance?
  1347.         uint32 unk
  1348.     }
  1349.    
  1350.     /* flags
  1351.         &8: fail                                    // should not be combined with other flags!
  1352.     */
  1353.     /* reason
  1354.         C_ERR_DANCE_CREATE_DUPLICATE = 0,
  1355.         C_ERR_DANCE_SAVE_FAILED = 1,
  1356.         C_ERR_DANCE_DELETE_FAILED = 2
  1357.     */
  1358.  
  1359. 0x44B CMSG_PLAY_DANCE                               // LUA::PlayDance(name)
  1360.     uint32
  1361.     uint32
  1362.  
  1363. 0x44C SMSG_PLAY_DANCE
  1364.     GUID unit
  1365.     uint32 unk
  1366.     uint32 unk
  1367.     uint32 seed
  1368.     uint32 unk
  1369.  
  1370. 0x44E CMSG_STOP_DANCE
  1371.     uint8 wat                                       // is always 0. stop that dance!
  1372.  
  1373. 0x44F SMSG_STOP_DANCE
  1374.     GUID unit
  1375.  
  1376. 0x450 CMSG_SYNC_DANCE
  1377.     void
  1378.  
  1379. 0x452 SMSG_DANCE_QUERY_RESPONSE
  1380.     uint32
  1381.     PackedGUID
  1382.     char[128]
  1383.     uint32 x
  1384.     char[4 * x]
  1385.     uint32
  1386.  
  1387. 0x453 SMSG_INVALIDATE_DANCE
  1388.     uint32 danceid
  1389.  
  1390. 0x455 SMSG_LEARNED_DANCE_MOVES
  1391.     GUID unit?                                      // its just stored, not directely used.
  1392.  
  1393. 0x462 CMSG_UPDATE_MISSILE_TRAJECTORY
  1394.     GUID
  1395.     uint32
  1396.  
  1397. 0x463 SMSG_UPDATE_ACCOUNT_DATA_COMPLETE
  1398.     uint32
  1399.     uint32
  1400.  
  1401. 0x464 SMSG_TRIGGER_MOVIE
  1402.     uint32 movieid                                  // Movie.DBC
  1403.  
  1404. 0x465 CMSG_COMPLETE_MOVIE                           // sent when the movie is over
  1405.     void
  1406.  
  1407. 0x46F SMSG_QUESTUPDATE_ADD_PVP_KILL                 // updates "killed * of * players", displays ERR_QUEST_ADD_PLAYER_KILL_SII
  1408.     uint32 killsdone
  1409.  
  1410. 0x471 SMSG_GROUP_SWAP_FAILED                        // displays ERR_GROUP_SWAP_FAILED, broadcasts EVENT_RAID_ROSTER_UPDATE
  1411.     void
  1412.  
  1413. 0x473 CMSG_CHAR_CUSTOMIZE
  1414.     GUID character
  1415.     char[] charactername
  1416.     uint8[6] customization
  1417.  
  1418. 0x474 SMSG_CHAR_CUSTOMIZE
  1419.     uint8 result
  1420.     GUID character
  1421.     char[] charactername
  1422.     uint8[6] customization
  1423.    
  1424.     /* result
  1425.         EVERYTHING_RIGHT = 0,
  1426.         CHAR_CREATE_FAILED = 50,
  1427.         CHAR_CUSTOMIZE_FAILED = everythingelse
  1428.     */
  1429.  
  1430. 0x475 SMSG_PET_RENAMEABLE                           // fires EVENT_PET_RENAMEABLE
  1431.     void
  1432.  
  1433. 0x477 CMSG_REQUEST_VEHICLE_PREV_SEAT
  1434. 0x478 CMSG_REQUEST_VEHICLE_NEXT_SEAT
  1435.     void
  1436.  
  1437. 0x47A CMSG_PET_LEARN_TALENT
  1438.     GUID pet
  1439.     uint32[2]                                       // same as in CMSG_LEARN_TALENT ...
  1440.  
  1441. 0x47C SMSG_SET_PHASE_SHIFT                          // This is used for worldstates. you really should send this.
  1442.     int phase
  1443.  
  1444. 0x47F SMSG_HEALTH_UPDATE
  1445.     PackedGUID Unit
  1446.     uint32 health
  1447.  
  1448. 0x481 CMSG_GAMEOBJ_REPORT_USE
  1449.     GUID gameobject
  1450.  
  1451. 0x482 SMSG_HIGHEST_THREAT_UPDATE
  1452.     PackedGUID unit
  1453.     PackedGUID highest
  1454.     uint32 number
  1455.     {
  1456.         PackedGUID attacker
  1457.         uint32 threat
  1458.     } information[number]
  1459.  
  1460. 0x483 SMSG_THREAT_UPDATE
  1461.     PackedGUID unit
  1462.     uint32 number
  1463.     {
  1464.         PackedGUID attacker
  1465.         uint32 threat
  1466.     } information[number]
  1467.    
  1468. 0x484 SMSG_THREAT_REMOVE
  1469.     PackedGUID unit
  1470.     PackedGUID toberemoved
  1471.    
  1472. 0x485 SMSG_THREAT_CLEAR
  1473.     PackedGUID unit
  1474.    
  1475. 0x487 SMSG_RESYNC_RUNES                         // god, what do I know? i haven't played since years and never touched a DK but in F&F alpha ..
  1476.     uint32 numrunes?
  1477.     {
  1478.         uint8
  1479.         uint8
  1480.     } array[numrunes?]
  1481.  
  1482. 0x488 SMSG_ADD_RUNE_POWER
  1483.     uint32 bitmask
  1484.    
  1485. 0x48D CMSG_DISMISS_CRITTER
  1486.     GUID critter
  1487.  
  1488. 0x48E SMSG_NOTIFY_DEST_LOC_SPELL_CAST
  1489.     uint8[56] data                                  // i don't even know what that package is supposed to do, so ..xD
  1490.  
  1491. 0x48F CMSG_AUCTION_LIST_PENDING_SALES
  1492.     GUID auctioneer
  1493.  
  1494. 0x490 SMSG_AUCTION_LIST_PENDING_SALES
  1495.     uint32 count
  1496.     {
  1497.         char[256]
  1498.         char[256]                                   // should match "%16I64X:%d:%d:%d:%d" or it will fuck up
  1499.         uint32
  1500.         uint32
  1501.         float
  1502.     } data[count]
  1503.  
  1504. 0x491 SMSG_MODIFY_COOLDOWN
  1505.     uint32 spellid
  1506.     GUID guid
  1507.     uint32 addition
  1508.    
  1509. 0x492 SMSG_PET_UPDATE_COMBO_POINTS
  1510.     PackedGUID pet?
  1511.     PackedGUID target?
  1512.     uint8 combopoints
  1513.  
  1514. 0x494 SMSG_PRE_RESURRECT
  1515.     PackedGUID unit
  1516.    
  1517. 0x49A SMSG_PET_UNLEARNED_SPELL
  1518.     uint16 spellid
  1519.  
  1520. 0x49C CMSG_HEARTH_AND_RESURRECT                     // LUA::HearthAndResurrectFromArea; check for flags&0x8000000 in areatable.1 serverside.
  1521.     void
  1522.  
  1523. 0x49E SMSG_CRITERIA_DELETED
  1524.     uint32 criteria
  1525.    
  1526. 0x49F SMSG_ACHIEVEMENT_DELETED
  1527.     uint32 achivement
  1528.  
  1529. 0x4A5 SMSG_PET_GUIDS
  1530.     uint32 number
  1531.     GUID[number] guid
  1532.    
  1533. 0x4A6 SMSG_CLIENTCACHE_VERSION                      // you maybe can use that to get the client throw away all cache files when entering an offical realm again.
  1534.     uint32 version
  1535.  
  1536.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement