mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 13:34:38 +02:00
Reworked zones to allow for isolated zones (IE Opening Zone) and private area instances.
This commit is contained in:
parent
c83b4a12b9
commit
42ba95b69d
14 changed files with 482 additions and 317 deletions
|
@ -429,7 +429,12 @@ namespace FFXIVClassic_Lobby_Server
|
|||
{
|
||||
Log.info(String.Format("Got request to reset zone: {0}", client.getActor().zoneId));
|
||||
if (client != null)
|
||||
{
|
||||
client.getActor().zone.clear();
|
||||
client.getActor().zone.addActorToZone(client.getActor());
|
||||
client.getActor().sendInstanceUpdate();
|
||||
client.queuePacket(BasePacket.createPacket(SendMessagePacket.buildPacket(client.actorID, client.actorID, SendMessagePacket.MESSAGE_TYPE_GENERAL_INFO, "", String.Format("Resting zone {0}...", client.getActor().zoneId)), true, false));
|
||||
}
|
||||
mWorldManager.reloadZone(client.getActor().zoneId);
|
||||
}
|
||||
}
|
||||
|
@ -462,7 +467,7 @@ namespace FFXIVClassic_Lobby_Server
|
|||
doWarp(client, split[1]);
|
||||
}
|
||||
}
|
||||
if (split.Length >= 3)
|
||||
if (split.Length >= 5)
|
||||
{
|
||||
if (split[0].Equals("warp"))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue