mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 21:44:35 +02:00
Added some error checking to "sendpacket" command. Changed the packet processor to send correct packets when it receives 0x1CB, 0x1CE, and 0x1D3. Forgot to push latest project file.
This commit is contained in:
parent
fa3d69b8b3
commit
3a8d7a43e5
3 changed files with 44 additions and 14 deletions
|
@ -235,8 +235,14 @@ namespace FFXIVClassic_Lobby_Server
|
|||
SubPacket changePropertyPacket = changeProperty.buildPacket((entry.Value.actorID), (entry.Value.actorID));
|
||||
BasePacket packet = BasePacket.createPacket(changePropertyPacket, true, false);
|
||||
packet.debugPrintPacket();
|
||||
entry.Value.getConnection1().queuePacket(packet);
|
||||
entry.Value.getConnection2().queuePacket(packet);
|
||||
if (entry.Value.getConnection1() != null)
|
||||
entry.Value.getConnection1().queuePacket(packet);
|
||||
else
|
||||
Log.error("Connection was null");
|
||||
if (entry.Value.getConnection2() != null)
|
||||
entry.Value.getConnection2().queuePacket(packet);
|
||||
else
|
||||
Log.error("Connection was null");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue