mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-07-25 03:48:23 +02:00
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:
parent
feb73a8444
commit
b2c1c2895d
6 changed files with 145 additions and 0 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue