mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Updated lobby code for new Subpacket type.
This commit is contained in:
@@ -90,14 +90,15 @@ namespace FFXIVClassic_Lobby_Server
|
||||
|
||||
if (userId == 0)
|
||||
{
|
||||
ErrorPacket errorPacket = new ErrorPacket(sessionPacket.sequence, 0, 0, 13001, "Your session has expired, please login again.");
|
||||
SubPacket subpacket = errorPacket.BuildPacket();
|
||||
BasePacket errorBasePacket = BasePacket.CreatePacket(subpacket, true, false);
|
||||
BasePacket.EncryptPacket(client.blowfish, errorBasePacket);
|
||||
client.QueuePacket(errorBasePacket);
|
||||
ErrorPacket errorPacket = new ErrorPacket(sessionPacket.sequence, 0, 0, 13001, "Your session has expired, please login again.");
|
||||
SubPacket subpacket = errorPacket.BuildPacket();
|
||||
subpacket.SetTargetId(0xe0006868);
|
||||
BasePacket errorBasePacket = BasePacket.CreatePacket(subpacket, true, false);
|
||||
BasePacket.EncryptPacket(client.blowfish, errorBasePacket);
|
||||
client.QueuePacket(errorBasePacket);
|
||||
|
||||
Program.Log.Info("Invalid session, kicking...");
|
||||
return;
|
||||
Program.Log.Info("Invalid session, kicking...");
|
||||
return;
|
||||
}
|
||||
|
||||
Program.Log.Info("USER ID: {0}", userId);
|
||||
|
||||
Reference in New Issue
Block a user