mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-10 14:34:32 +02:00
Fixed login not working, was due to packets that got queued not flushing. !!!Need to find solution!!! Added a optimization: Actors with 0 battle args are now concidered "static" and will not send their position updates. Removed some debug print statements.
This commit is contained in:
parent
d931f71b06
commit
5370f13b2b
8 changed files with 20 additions and 13 deletions
|
@ -136,14 +136,16 @@ namespace FFXIVClassic_World_Server
|
|||
|
||||
public void OnReceiveSubPacketFromZone(ZoneServer zoneServer, SubPacket subpacket)
|
||||
{
|
||||
subpacket.DebugPrintSubPacket();
|
||||
//subpacket.DebugPrintSubPacket();
|
||||
uint sessionId = subpacket.header.targetId;
|
||||
|
||||
if (mZoneSessionList.ContainsKey(sessionId))
|
||||
{
|
||||
ClientConnection conn = mZoneSessionList[sessionId].clientConnection;
|
||||
conn.QueuePacket(subpacket, true, false);
|
||||
conn.FlushQueuedSendPackets();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public WorldManager GetWorldManager()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue