mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-08-04 00:31:55 +02:00
Random work.
This commit is contained in:
parent
fd2df829de
commit
6c409e93a9
13 changed files with 284 additions and 115 deletions
|
@ -173,6 +173,12 @@ namespace FFXIVClassic_World_Server
|
|||
if (zs == null)
|
||||
return;
|
||||
|
||||
session.currentZoneId = destinationZoneId;
|
||||
|
||||
//Intrazone change, just update the id
|
||||
if (zs.Equals(session.routing1))
|
||||
return;
|
||||
|
||||
if (zs.isConnected)
|
||||
session.routing1.SendSessionEnd(session, destinationZoneId, destinationPrivateArea, spawnType, spawnX, spawnY, spawnZ, spawnRotation);
|
||||
else if (zs.Connect())
|
||||
|
@ -184,7 +190,7 @@ namespace FFXIVClassic_World_Server
|
|||
//Login Zone In
|
||||
public void DoLogin(Session session)
|
||||
{
|
||||
session.routing1 = GetZoneServer(Database.GetCurrentZoneForSession(session.sessionId));
|
||||
session.routing1 = GetZoneServer(session.currentZoneId);
|
||||
session.routing1.SendSessionStart(session);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue