Random work.

This commit is contained in:
Filip Maj 2016-12-13 15:02:28 -05:00
parent fd2df829de
commit 6c409e93a9
13 changed files with 284 additions and 115 deletions

View file

@ -110,6 +110,7 @@ namespace FFXIVClassic_World_Server
//Check destination, if != 0, update route and start new session
if (endConfirmPacket.destinationZone != 0)
{
session.currentZoneId = endConfirmPacket.destinationZone;
session.routing1 = Server.GetServer().GetWorldManager().GetZoneServer(endConfirmPacket.destinationZone);
session.routing1.SendSessionStart(session);
}
@ -122,7 +123,7 @@ namespace FFXIVClassic_World_Server
else
Program.Log.Error("Session {0} had an error ending session.", endConfirmPacket.sessionId);
break;
break;
//Zone Change Request
case 0x1002:
WorldRequestZoneChangePacket zoneChangePacket = new WorldRequestZoneChangePacket(packet.data);