Reordered login packet sequence

This commit is contained in:
Obique PSWG
2016-04-28 10:25:26 -05:00
parent 72af851ce2
commit d294059c19
5 changed files with 6 additions and 13 deletions
+2 -2
View File
@@ -71,7 +71,7 @@ public enum PacketType {
REQUEST_EXTENDED_CLUSTERS (RequestExtendedClusters.CRC, RequestExtendedClusters.class),
OFFLINE_SERVERS_MESSAGE (OfflineServersMessage.CRC, OfflineServersMessage.class),
SERVER_NOW_EPOCH_TIME (ServerNowEpochTime.CRC, ServerNowEpochTime.class),
CONNECTION_SERVER_LAG_RESPONSE (ConnectionServerLagResponse.CRC,ConnectionServerLagResponse.class),
GAME_SERVER_LAG_RESPONSE (GameServerLagResponse.CRC, GameServerLagResponse.class),
// Post-Login
LOGIN_CLIENT_ID (LoginClientId.CRC, LoginClientId.class),
@@ -97,7 +97,7 @@ public enum PacketType {
DELETE_CHARACTER_REQUEST (DeleteCharacterRequest.CRC, DeleteCharacterRequest.class),
// Zone
GAME_SERVER_LAG_RESPONSE (GameServerLagResponse.CRC, GameServerLagResponse.class),
CONNECTION_SERVER_LAG_RESPONSE (ConnectionServerLagResponse.CRC, ConnectionServerLagResponse.class),
COMMAND_QUEUE_ENQUEUE (0x00000116, CommandQueueEnqueue.class),
SELECT_CHARACTER (SelectCharacter.CRC, SelectCharacter.class),
CMD_SCENE_READY (CmdSceneReady.CRC, CmdSceneReady.class),
@@ -47,7 +47,7 @@ public class ConnectionServerLagResponse extends SWGPacket {
public ByteBuffer encode() {
ByteBuffer data = ByteBuffer.allocate(6);
addShort(data, 2);
addShort(data, 1);
addInt( data, CRC);
return data;
}
@@ -34,7 +34,7 @@ import network.packets.swg.SWGPacket;
public class RequestExtendedClusters extends SWGPacket {
public static final int CRC = 0x8E33ED05;
public static final int CRC = resources.common.CRC.getCrc("RequestExtendedClusterInfo");
public RequestExtendedClusters() {
@@ -47,7 +47,7 @@ public class GameServerLagResponse extends SWGPacket {
public ByteBuffer encode() {
ByteBuffer data = ByteBuffer.allocate(6);
addShort(data, 2);
addShort(data, 1);
addInt( data, CRC);
return data;
}