diff --git a/src/resources/common/Opcodes.java b/src/resources/common/Opcodes.java index 4075d7e2..f9284c25 100644 --- a/src/resources/common/Opcodes.java +++ b/src/resources/common/Opcodes.java @@ -32,8 +32,9 @@ public class Opcodes { public static int ChatRequestRoomList = 0x4C3D2CFA; public static int ChatSystemMessage = CRC.StringtoCRC("ChatSystemMessage"); public static int ClientOpenContainerMessage = 0x2D2D6EE1; - public static int CommodotiesItemTypeListRequest = 0x48F493C5; // needs catching - public static int NewbieTutorialResponse = 0xCA88FBAD; // needs catching + public static int CommodotiesItemTypeListRequest = 0x48F493C5; + public static int CommoditiesResourceTypeListRequest = 0xCB1AE82D; + public static int NewbieTutorialResponse = 0xCA88FBAD; public static int CmdSceneReady = 0x43FD1C22; public static int ConnectPlayerMessage = 0x2E365218; public static int ClientCreateCharacter = 0xB97F3074; @@ -66,4 +67,12 @@ public class Opcodes { public static int PlayerMoneyRequest = CRC.StringtoCRC("PlayerMoneyRequest"); public static int LagReport = CRC.StringtoCRC("LagReport"); public static int GetSpecificMapLocationsMessage = CRC.StringtoCRC("GetSpecificMapLocationsMessage"); + public static int SetCombatSpamFilter = CRC.StringtoCRC("SetCombatSpamFilter"); + public static int SetCombatSpamRangeFilter = CRC.StringtoCRC("SetCombatSpamRangeFilter"); + public static int SetLfgInterests = CRC.StringtoCRC("SetLfgInterests"); + public static int SetFurnitureRoationDegree = CRC.StringtoCRC("SetFurnitureRotationDegree"); + public static int SetJediSlotInfo = CRC.StringtoCRC("SetJediSlotInfo"); + public static int CollectionServerFirstListRequest = CRC.StringtoCRC("CollectionServerFirstListRequest"); + + public static int Unknown = 0x173B91C2; // packet sent to server on every character load-in } diff --git a/src/services/CharacterService.java b/src/services/CharacterService.java index ee2140cc..249b8c55 100644 --- a/src/services/CharacterService.java +++ b/src/services/CharacterService.java @@ -344,6 +344,24 @@ public class CharacterService implements INetworkDispatch { } }); + + swgOpcodes.put(Opcodes.NewbieTutorialResponse, new INetworkRemoteEvent() { + + @Override + public void handlePacket(IoSession session, IoBuffer buffer) throws Exception { + + } + + }); + + swgOpcodes.put(Opcodes.SetJediSlotInfo, new INetworkRemoteEvent() { + + @Override + public void handlePacket(IoSession session, IoBuffer buffer) throws Exception { + + } + + }); } diff --git a/src/services/PlayerService.java b/src/services/PlayerService.java index 1b05cd37..ec2610a1 100644 --- a/src/services/PlayerService.java +++ b/src/services/PlayerService.java @@ -309,6 +309,79 @@ public class PlayerService implements INetworkDispatch { } }); + + swgOpcodes.put(Opcodes.SetCombatSpamFilter, new INetworkRemoteEvent() { + + @Override + public void handlePacket(IoSession session, IoBuffer buffer) throws Exception { + + } + + }); + + swgOpcodes.put(Opcodes.SetCombatSpamRangeFilter, new INetworkRemoteEvent() { + + @Override + public void handlePacket(IoSession session, IoBuffer buffer) throws Exception { + + } + + }); + + swgOpcodes.put(Opcodes.SetLfgInterests, new INetworkRemoteEvent() { + + @Override + public void handlePacket(IoSession session, IoBuffer buffer) throws Exception { + + } + + }); + + swgOpcodes.put(Opcodes.CommodotiesItemTypeListRequest, new INetworkRemoteEvent() { + + @Override + public void handlePacket(IoSession session, IoBuffer buffer) throws Exception { + + } + + }); + + swgOpcodes.put(Opcodes.SetFurnitureRoationDegree, new INetworkRemoteEvent() { + + @Override + public void handlePacket(IoSession session, IoBuffer buffer) throws Exception { + + } + + }); + + swgOpcodes.put(Opcodes.CommoditiesResourceTypeListRequest, new INetworkRemoteEvent() { + + @Override + public void handlePacket(IoSession session, IoBuffer buffer) throws Exception { + + } + + }); + + swgOpcodes.put(Opcodes.CollectionServerFirstListRequest, new INetworkRemoteEvent() { + + @Override + public void handlePacket(IoSession session, IoBuffer buffer) throws Exception { + + } + + }); + + swgOpcodes.put(Opcodes.Unknown, new INetworkRemoteEvent() { + + @Override + public void handlePacket(IoSession session, IoBuffer buffer) throws Exception { + + } + + }); + swgOpcodes.put(Opcodes.CmdSceneReady, new INetworkRemoteEvent() { @Override