Jump to content

[308][added in to branch] Fix Roster Arena packet


Guest Woweur

Recommended Posts

description:

My patch fix wowerror when character have arena team.

PS : Sorry i havn't git ^^

author:

Woweur

patch:

Index: game/ArenaTeam.cpp
===================================================================
--- game/ArenaTeam.cpp    (revision 11)
+++ game/ArenaTeam.cpp    (working copy)
@@ -306,6 +306,7 @@

    WorldPacket data(SMSG_ARENA_TEAM_ROSTER, 100);
    data << uint32(GetId());                                // arena team id
+    data << uint8(0);                                       // unknow 3.0.8
    data << uint32(GetMembersSize());                       // members count
    data << uint32(GetType());                              // arena team type?

@@ -325,6 +326,7 @@
        data << uint32(itr->wins_season);               // wins this season
        data << uint32(itr->personal_rating);           // personal rating
    }
+
    session->SendPacket(&data);
    sLog.outDebug("WORLD: Sent SMSG_ARENA_TEAM_ROSTER");
}

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use