mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-16 06:12:52 -04:00
Reordered login packet sequence
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user