mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Kicked/Promote leader added but broke login. D/Cing now.
This commit is contained in:
@@ -199,7 +199,25 @@ namespace FFXIVClassic_World_Server
|
||||
GetWorldManager().DoZoneServerChange(session, zoneChangePacket.destinationZoneId, "", zoneChangePacket.destinationSpawnType, zoneChangePacket.destinationX, zoneChangePacket.destinationY, zoneChangePacket.destinationZ, zoneChangePacket.destinationRot);
|
||||
}
|
||||
|
||||
break;
|
||||
break;
|
||||
//Change leader or kick
|
||||
case 0x1020:
|
||||
PartyModifyPacket partyModifyPacket = new PartyModifyPacket(subpacket.data);
|
||||
|
||||
Party pt = mWorldManager.GetPartyManager().GetParty(subpacket.header.targetId);
|
||||
|
||||
if (pt.GetMemberCount() <= 1)
|
||||
return;
|
||||
|
||||
if (partyModifyPacket.command == PartyModifyPacket.MODIFY_LEADER)
|
||||
pt.SetLeaderPlayerRequest(GetSession(subpacket.header.sourceId), partyModifyPacket.name);
|
||||
else if (partyModifyPacket.command == PartyModifyPacket.MODIFY_KICKPLAYER)
|
||||
pt.KickPlayerRequest(GetSession(subpacket.header.sourceId), partyModifyPacket.name);
|
||||
|
||||
break;
|
||||
//Party Resign or Disband
|
||||
case 0x1021:
|
||||
break;
|
||||
//Linkshell create request
|
||||
case 0x1025:
|
||||
CreateLinkshellPacket createLinkshellPacket = new CreateLinkshellPacket(subpacket.data);
|
||||
|
||||
Reference in New Issue
Block a user