mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 14:04:41 +02:00
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:
parent
31446f37fa
commit
7036ef363d
18 changed files with 309 additions and 74 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue