Implemented MotD. Groups are now sent from world server to client, and also initialized. Retainers finished and are also sent.

This commit is contained in:
Filip Maj 2016-12-18 09:50:23 -05:00
parent 31446f37fa
commit 7036ef363d
18 changed files with 309 additions and 74 deletions

View file

@ -218,7 +218,9 @@ namespace FFXIVClassic_World_Server
//Linkshell modify request
case 0x1024:
ModifyLinkshellPacket modifyLinkshellpacket = new ModifyLinkshellPacket(subpacket.data);
mWorldManager.GetLinkshellManager().ModifyLinkshell();
if (modifyLinkshellpacket.argCode == 0)
mWorldManager.GetLinkshellManager().ChangeLinkshellCrest(modifyLinkshellpacket.currentName, modifyLinkshellpacket.crestid);
break;
//Group Add/Remove Member
case 0x1022:
@ -226,17 +228,6 @@ namespace FFXIVClassic_World_Server
break;
}
}
//Special case for groups. If it's a world group, send values, else send to zone server
else if (subpacket.gameMessage.opcode == 0x133)
{
GroupCreatedPacket groupCreatedPacket = new GroupCreatedPacket(subpacket.data);
if (!mWorldManager.SendGroupInit(session, groupCreatedPacket.groupId))
{
ClientConnection conn = mZoneSessionList[sessionId].clientConnection;
conn.QueuePacket(subpacket, true, false);
conn.FlushQueuedSendPackets();
}
}
else if (mZoneSessionList.ContainsKey(sessionId))
{
ClientConnection conn = mZoneSessionList[sessionId].clientConnection;