Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/server/game/Guilds/Guild.cpp b/src/server/game/Guilds/Guild.cpp
- index 02fdebc..1dd7fa9 100644
- --- a/src/server/game/Guilds/Guild.cpp
- +++ b/src/server/game/Guilds/Guild.cpp
- @@ -3601,14 +3601,16 @@ void Guild::GiveXP(uint32 xp, Player* source)
- ++oldLevel;
- }
- +
- + SendGuildXP(source->GetSession());
- }
- void Guild::SendGuildXP(WorldSession* session) const
- {
- - WorldPacket data(SMSG_GUILD_XP, 40);
- - data << uint64(GetExperience());
- + WorldPacket data(SMSG_GUILD_XP, 32); // 40??
- + data << uint64(0); // unk
- data << uint64(sGuildMgr->GetXPForGuildLevel(GetLevel()) - GetExperience()); // XP missing for next level
- - data << uint64(0); // fucking unknow
- + data << uint64(GetExperience()); // fucking unknow
- data << uint64(GetTodayExperience());
- session->SendPacket(&data);
- }
Add Comment
Please, Sign In to add comment