Added new packets for controlling BG objects. Added group delete packet. Fixed crash if tried to warp to non-existent zone. Added a create LS db method.

This commit is contained in:
Filip Maj 2016-12-11 23:31:13 -05:00
parent feb73a8444
commit b2c1c2895d
6 changed files with 145 additions and 0 deletions

View file

@ -169,6 +169,10 @@ namespace FFXIVClassic_World_Server
public void DoZoneServerChange(Session session, uint destinationZoneId, string destinationPrivateArea, byte spawnType, float spawnX, float spawnY, float spawnZ, float spawnRotation)
{
ZoneServer zs = GetZoneServer(destinationZoneId);
if (zs == null)
return;
if (zs.isConnected)
session.routing1.SendSessionEnd(session, destinationZoneId, destinationPrivateArea, spawnType, spawnX, spawnY, spawnZ, spawnRotation);
else if (zs.Connect())