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:
Filip Maj 2016-09-24 14:17:31 -04:00
parent d931f71b06
commit 5370f13b2b
8 changed files with 20 additions and 13 deletions

View file

@ -31,12 +31,9 @@ namespace FFXIVClassic_Map_Server
}
public void ProcessPacket(ZoneConnection client, SubPacket subpacket)
{
{
Session session = mServer.GetSession(subpacket.header.targetId);
subpacket.DebugPrintSubPacket();
//Normal Game Opcode
switch (subpacket.gameMessage.opcode)
{
@ -57,6 +54,8 @@ namespace FFXIVClassic_Map_Server
client.QueuePacket(_0x2Packet.BuildPacket(session.id), true, false);
Server.GetWorldManager().DoLogin(session.GetActor());
client.FlushQueuedSendPackets();
break;
//Chat Received