mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-07-23 02:56:02 +02:00
Kicked/Promote leader added but broke login. D/Cing now.
This commit is contained in:
parent
e89b7557b3
commit
16c9b741bf
30 changed files with 1120 additions and 211 deletions
|
@ -212,13 +212,13 @@ namespace FFXIVClassic_World_Server
|
|||
|
||||
//Send party, retainer, ls groups
|
||||
Party pt = mPartyManager.GetParty(session.sessionId);
|
||||
mPartyManager.AddToParty(pt.groupIndex, 156);
|
||||
mPartyManager.AddToParty(pt.groupIndex, 157);
|
||||
mPartyManager.AddToParty(pt.groupIndex, 158);
|
||||
mPartyManager.AddToParty(pt.groupIndex, 159);
|
||||
mPartyManager.AddToParty(pt.groupIndex, 160);
|
||||
mPartyManager.AddToParty(pt.groupIndex, 161);
|
||||
mPartyManager.AddToParty(pt.groupIndex, 162);
|
||||
|
||||
|
||||
if (session.sessionId == 0x6c)
|
||||
{
|
||||
mPartyManager.AddToParty(pt.groupIndex, 156);
|
||||
}
|
||||
|
||||
pt.SendGroupPackets(session);
|
||||
SendPartySync(pt);
|
||||
mRetainerGroupManager.GetRetainerGroup(session.sessionId).SendGroupPackets(session);
|
||||
|
@ -238,12 +238,18 @@ namespace FFXIVClassic_World_Server
|
|||
}
|
||||
|
||||
public void SendPartySync(Party party)
|
||||
{
|
||||
{
|
||||
List<ZoneServer> alreadySent = new List<ZoneServer>();
|
||||
foreach (uint member in party.members)
|
||||
{
|
||||
Session session = Server.GetServer().GetSession(member);
|
||||
if (session == null)
|
||||
continue;
|
||||
|
||||
if (alreadySent.Contains(session.routing1))
|
||||
continue;
|
||||
|
||||
alreadySent.Add(session.routing1);
|
||||
SubPacket syncPacket = PartySyncPacket.BuildPacket(session, party);
|
||||
session.routing1.SendPacket(syncPacket);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue