mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 05:24:34 +02: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:
parent
3fcc9eea49
commit
02b90edd3f
7 changed files with 78 additions and 16 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue