mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Added two new commands; warp by zone entrance and a getpos command. Fixed character actor not appearing on zone... 0x2 packet only sent on login. Added spawnType to getSpawnPackets.
This commit is contained in:
@@ -74,6 +74,20 @@ namespace FFXIVClassic_Lobby_Server
|
||||
String input = Console.ReadLine();
|
||||
String[] split = input.Split(' ');
|
||||
|
||||
if (split.Length >= 1)
|
||||
{
|
||||
if (split[0].Equals("mypos"))
|
||||
{
|
||||
try
|
||||
{
|
||||
server.printPos();
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Log.error("Could not load packet: " + e);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (split.Length >= 2)
|
||||
{
|
||||
if (split[0].Equals("sendpacket"))
|
||||
@@ -98,6 +112,10 @@ namespace FFXIVClassic_Lobby_Server
|
||||
Log.error("Could not change music: " + e);
|
||||
}
|
||||
}
|
||||
else if (split[0].Equals("warp"))
|
||||
{
|
||||
server.doWarp(split[1]);
|
||||
}
|
||||
}
|
||||
if (split.Length >= 3)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user