[Performance] Have World Send Smarter Guild Updates (#4796)

* [Performance] Have World Send Smarter Guild Updates

* Updates to correct incorrect guild window details (permissions, etc) not being sent on guild creation.

---------

Co-authored-by: Mitch Freeman <65987027+neckkola@users.noreply.github.com>
This commit is contained in:
Chris Miles
2025-03-29 14:27:49 -05:00
committed by GitHub
parent bb70850421
commit 937b947597
8 changed files with 85 additions and 26 deletions
+2 -2
View File
@@ -7980,7 +7980,7 @@ void Client::Handle_OP_GuildCreate(const EQApplicationPacket *app)
}
SetGuildID(new_guild_id);
SendGuildList();
UpdateWho();
guild_mgr.MemberAdd(new_guild_id, CharacterID(), GetLevel(), GetClass(), GUILD_LEADER, GetZoneID(), GetName());
guild_mgr.SendGuildRefresh(new_guild_id, true, true, true, true);
guild_mgr.SendToWorldSendGuildList();
@@ -8149,7 +8149,7 @@ void Client::Handle_OP_GuildInvite(const EQApplicationPacket *app)
if (!invitee) {
Message(
Chat::Red,
"Prospective guild member %s must be in zone to preform guild operations on them.",
"Prospective guild member %s must be in zone to perform guild operations on them.",
gc->othername
);
return;