Changed isEncrypted to isCompressed in basepacket. After speaking with another dev, game packets are not encrypted... just compressed. Figured out that byte 3 of basepacket is the connection type when handshaking with the map server.

This commit is contained in:
Filip Maj 2016-01-19 13:31:24 -05:00
parent a640e08fe1
commit 5d11a0b356
2 changed files with 9 additions and 9 deletions

View file

@ -67,7 +67,7 @@ namespace FFXIVClassic_Lobby_Server
if (client.owner != 0 && mPlayers.ContainsKey(client.owner))
player = mPlayers[client.owner];
if (packet.header.isEncrypted == 0x01)
if (packet.header.isCompressed == 0x01)
BasePacket.decryptPacket(client.blowfish, ref packet);
// packet.debugPrintPacket();