mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Redid the initial handshake code to handle the found connection type field. Server should no longer create two player objects and code has been reduced. Removed instances of connection1/2 getters... server simply sends packets down zone connection. Fixed issue with world manager not zoning in player due to missing 0x2 packet.
This commit is contained in:
@@ -74,19 +74,23 @@ namespace FFXIVClassic_Lobby_Server
|
||||
String input = Console.ReadLine();
|
||||
String[] split = input.Split(' ');
|
||||
|
||||
if (split.Length >= 3)
|
||||
if (split.Length >= 2)
|
||||
{
|
||||
if (split[0].Equals("sendpacket"))
|
||||
{
|
||||
try{
|
||||
server.sendPacket("./packets/" + split[1], Int32.Parse(split[2]));
|
||||
try
|
||||
{
|
||||
server.sendPacket("./packets/" + split[1]);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Log.error("Could not load packet: " + e);
|
||||
}
|
||||
}
|
||||
else if (split[0].Equals("warp"))
|
||||
}
|
||||
else if (split.Length >= 3)
|
||||
{
|
||||
if (split[0].Equals("warp"))
|
||||
{
|
||||
server.doWarp(split[1], split[2], split[3], split[4]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user