From 6447563a28874d318c43d9f63e76c0396763196a Mon Sep 17 00:00:00 2001 From: Harmonic Date: Fri, 15 Apr 2022 06:29:44 -0700 Subject: [PATCH] Refactoring Outgoing Packet Composer Names Part 3 --- .../eu/habbo/messages/outgoing/Outgoing.java | 34 +++++++++---------- .../AchievementProgressComposer.java | 2 +- .../CameraPublishWaitMessageComposer.java | 2 +- .../MarketplaceBuyErrorComposer.java | 2 +- .../CraftingRecipesAvailableComposer.java | 2 +- .../alerts/MessagesForYouComposer.java | 2 +- .../guilds/GuildBuyRoomsComposer.java | 2 +- .../forums/GuildForumAddCommentComposer.java | 2 +- .../inventory/AddHabboItemComposer.java | 2 +- .../outgoing/inventory/AddPetComposer.java | 2 +- .../OpenRoomCreationWindowComposer.java | 2 +- .../rooms/RoomAddRightsListComposer.java | 2 +- .../outgoing/rooms/RoomModelComposer.java | 2 +- .../RentableSpaceUnknownComposer.java | 2 +- .../rooms/pets/RoomPetExperienceComposer.java | 2 +- .../rooms/users/RoomUserIgnoredComposer.java | 2 +- .../trading/TradeStartFailComposer.java | 2 +- .../unknown/WatchAndEarnRewardComposer.java | 2 +- 18 files changed, 34 insertions(+), 34 deletions(-) diff --git a/src/main/java/com/eu/habbo/messages/outgoing/Outgoing.java b/src/main/java/com/eu/habbo/messages/outgoing/Outgoing.java index d68a58ec..0094d101 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/Outgoing.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/Outgoing.java @@ -10,7 +10,7 @@ public class Outgoing { public final static int ShoutMessageComposer = 1036; public final static int UserUpdateComposer = 1640; public final static int RoomUserDataComposer = 3920; - public final static int RoomAddRightsListComposer = 2088; + public final static int FlatControllerAddedComposer = 2088; public final static int FlatControllerRemovedComposer = 1327; public final static int FlatControllersComposer = 1284; public final static int CarryObjectMessageComposer = 1474; @@ -19,7 +19,7 @@ public class Outgoing { public final static int GuildBoughtComposer = 2808; public final static int AddUserBadgeComposer = 2493; public final static int RecyclerCompleteComposer = 468; - public final static int GuildBuyRoomsComposer = 2159; + public final static int GuildCreationInfoMessageComposer = 2159; public final static int FriendsComposer = 3130; public final static int StalkErrorComposer = 3048; public final static int TradeCloseWindowComposer = 1001; @@ -32,11 +32,11 @@ public class Outgoing { public final static int HabboGroupDetailsMessageComposer = 1702; public final static int UserPermissionsComposer = 411; public final static int ApproveNameMessageComposer = 1503; - public final static int TradeStartFailComposer = 217; - public final static int AddHabboItemComposer = 2103; + public final static int TradingOpenFailedComposer = 217; + public final static int UnseenItemsComposer = 2103; public final static int InventoryBotsComposer = 3086; public final static int CanCreateRoomComposer = 378; - public final static int MarketplaceBuyErrorComposer = 2032; + public final static int MarketplaceBuyOfferResultComposer = 2032; public final static int BonusRareInfoMessageComposer = 1533; public final static int CloseConnectionMessageComposer = 122; public final static int UpdateFriendComposer = 2800; @@ -80,7 +80,7 @@ public class Outgoing { public final static int PetErrorComposer = 2913; public final static int TradingItemListComposer = 2024; public final static int PrivateRoomsComposer = 52; - public final static int RoomModelComposer = 2031; + public final static int RoomReadyMessageComposer = 2031; public final static int RoomScoreComposer = 482; public final static int DoorbellAddUserComposer = 2309; public final static int SecureLoginOKComposer = 2491; @@ -162,11 +162,11 @@ public class Outgoing { public final static int WiredConditionDataComposer = 1108; // PRODUCTION-201611291003-338511768 public final static int ModToolUserInfoComposer = 2866; // PRODUCTION-201611291003-338511768 public final static int UserWardrobeComposer = 3315; // PRODUCTION-201611291003-338511768 - public final static int RoomPetExperienceComposer = 2156; // PRODUCTION-201611291003-338511768 + public final static int PetExperienceComposer = 2156; // PRODUCTION-201611291003-338511768 public final static int NewConsoleMessageComposer = 1587; // PRODUCTION-201611291003-338511768 public final static int PetInformationComposer = 2901; // PRODUCTION-201611291003-338511768 public final static int RoomThicknessComposer = 3547; // PRODUCTION-201611291003-338511768 - public final static int AddPetComposer = 2101; // PRODUCTION-201611291003-338511768 + public final static int PetAddedToInventoryComposer = 2101; // PRODUCTION-201611291003-338511768 public final static int UpdateStackHeightComposer = 558; // PRODUCTION-201611291003-338511768 public final static int RemoveBotComposer = 233; // PRODUCTION-201611291003-338511768 public final static int RoomEnterErrorComposer = 899; // PRODUCTION-201611291003-338511768 @@ -203,7 +203,7 @@ public class Outgoing { public final static int ModToolReportReceivedAlertComposer = 3635; // PRODUCTION-201611291003-338511768 public final static int ModToolIssueResponseAlertComposer = 3796; // PRODUCTION-201611291003-338511768 public final static int AchievementListComposer = 305; // PRODUCTION-201611291003-338511768 - public final static int AchievementProgressComposer = 2107; // PRODUCTION-201611291003-338511768 + public final static int AchievementComposer = 2107; // PRODUCTION-201611291003-338511768 public final static int AchievementUnlockedComposer = 806; // PRODUCTION-201611291003-338511768 public final static int ClubGiftsComposer = 619; // PRODUCTION-201611291003-338511768 public final static int UniqueMachineIDComposer = 1488; // PRODUCTION-201611291003-338511768 @@ -220,7 +220,7 @@ public class Outgoing { public final static int MysticBoxCloseComposer = 596; // PRODUCTION-201611291003-338511768 public final static int MysticBoxPrizeComposer = 3712; // PRODUCTION-201611291003-338511768 public final static int RentableSpaceInfoComposer = 3559; // PRODUCTION-201611291003-338511768 - public final static int RentableSpaceUnknownComposer = 2046; // PRODUCTION-201611291003-338511768 + public final static int RentableSpaceRentOkMessageComposer = 2046; // PRODUCTION-201611291003-338511768 public final static int RentableSpaceRentFailedMessageComposer = 1868; // PRODUCTION-201611291003-338511768 public final static int GuildMemberFurniCountInHQMessageComposer = 1876; // PRODUCTION-201611291003-338511768 @@ -245,7 +245,7 @@ public class Outgoing { public final static int GuildForumsUnreadMessagesCountComposer = 2379; // PRODUCTION-201611291003-338511768 public final static int PostThreadMessageComposer = 1862; // PRODUCTION-201611291003-338511768 - public final static int GuildForumAddCommentComposer = 2049; // PRODUCTION-201611291003-338511768 + public final static int PostMessageMessageComposer = 2049; // PRODUCTION-201611291003-338511768 public final static int GuildForumDataComposer = 3011; // PRODUCTION-201611291003-338511768 public final static int GuildForumCommentsComposer = 509; // PRODUCTION-201611291003-338511768 public final static int UnknownGuildForumComposer6 = -1; // PRODUCTION-201611291003-338511768 @@ -292,13 +292,13 @@ public class Outgoing { public final static int RoomMessageNotificationMessageComposer = 1634; // PRODUCTION-201611291003-338511768 public final static int PetRespectFailedComposer = 1130; // PRODUCTION-201611291003-338511768 public final static int PetReceivedMessageComposer = 1111; // PRODUCTION-201611291003-338511768 - public final static int MessagesForYouComposer = 2035; // PRODUCTION-201611291003-338511768 + public final static int MOTDNotificationComposer = 2035; // PRODUCTION-201611291003-338511768 public final static int AccountSafetyLockStatusChangeMessageComposer = 1243; // PRODUCTION-201611291003-338511768 public final static int CloseWebPageComposer = 426; // PRODUCTION-201611291003-338511768 public final static int PickMonthlyClubGiftNotificationComposer = 2188; // PRODUCTION-201611291003-338511768 public final static int RemoveGuildFromRoomComposer = 3129; // PRODUCTION-201611291003-338511768 public final static int BannedUsersFromRoomComposer = 1869; // PRODUCTION-201611291003-338511768 - public final static int OpenRoomCreationWindowComposer = 2064; // PRODUCTION-201611291003-338511768 + public final static int NoOwnedRoomsAlertMessageComposer = 2064; // PRODUCTION-201611291003-338511768 public final static int ObjectsDataUpdateMessageComposer = 1453; // PRODUCTION-201611291003-338511768 public final static int WelcomeGiftComposer = 2707; // PRODUCTION-201611291003-338511768 public final static int SimplePollStartComposer = 2665; // PRODUCTION-201611291003-338511768 @@ -309,7 +309,7 @@ public class Outgoing { public final static int VerifyMobileNumberComposer = 3639; // PRODUCTION-201611291003-338511768 public final static int NewUserGiftComposer = 3575; // PRODUCTION-201611291003-338511768 public final static int UpdateUserLookComposer = 2429; // PRODUCTION-201611291003-338511768 - public final static int RoomUserIgnoredComposer = 207; // PRODUCTION-201611291003-338511768 + public final static int IgnoreResultMessageComposer = 207; // PRODUCTION-201611291003-338511768 public final static int ConfirmBreedingResultComposer = 1625; // PRODUCTION-201611291003-338511768 public final static int RoomUserNameChangedComposer = 2182; // PRODUCTION-201611291003-338511768 public final static int LoveLockFurniStartComposer = 3753; // PRODUCTION-201611291003-338511768 @@ -329,7 +329,7 @@ public class Outgoing { public final static int BullyReportClosedComposer = 2674; // PRODUCTION-201611291003-338511768 public final static int PromoteOwnRoomsListComposer = 2468; // PRODUCTION-201611291003-338511768 public final static int NotEnoughPointsTypeComposer = 3914; // PRODUCTION-201611291003-338511768 - public final static int WatchAndEarnRewardComposer = 2125; // PRODUCTION-201611291003-338511768 + public final static int OfferRewardDeliveredMessageComposer = 2125; // PRODUCTION-201611291003-338511768 public final static int NewYearResolutionComposer = 66; // PRODUCTION-201611291003-338511768 public final static int WelcomeGiftErrorComposer = 2293; // PRODUCTION-201611291003-338511768 public final static int RentableItemBuyOutPriceComposer = 35; // PRODUCTION-201611291003-338511768 @@ -351,7 +351,7 @@ public class Outgoing { public final static int GuildFavoriteRoomUserUpdateComposer = 3403; // PRODUCTION-201611291003-338511768 public final static int RoomAdErrorComposer = 1759; // PRODUCTION-201611291003-338511768 public final static int NewNavigatorSettingsComposer = 518; // PRODUCTION-201611291003-338511768 - public final static int CameraPublishWaitMessageComposer = 2057; // PRODUCTION-201611291003-338511768 + public final static int CameraPublishStatusMessageComposer = 2057; // PRODUCTION-201611291003-338511768 public final static int RoomInviteComposer = 3870; // PRODUCTION-201611291003-338511768 public final static int BullyReportRequestComposer = 3463; // PRODUCTION-201611291003-338511768 public final static int UnknownHelperComposer = 77; // PRODUCTION-201611291003-338511768 @@ -411,7 +411,7 @@ public class Outgoing { public final static int CraftableProductsComposer = 1000; // PRODUCTION-201611291003-338511768 public final static int CraftingRecipeComposer = 2774; // PRODUCTION-201611291003-338511768 public final static int CraftingResultComposer = 618; // PRODUCTION-201611291003-338511768 - public final static int CraftingComposerFour = 2124; // PRODUCTION-201611291003-338511768 + public final static int CraftingRecipesAvailableComposer = 2124; // PRODUCTION-201611291003-338511768 public final static int PetBreedingResultComposer = 1553; // PRODUCTION-201611291003-338511768 //PetBReedingResult public final static int ErrorReportComposer = 1004; // PRODUCTION-201611291003-338511768 diff --git a/src/main/java/com/eu/habbo/messages/outgoing/achievements/AchievementProgressComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/achievements/AchievementProgressComposer.java index 8cf649b7..1004f3db 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/achievements/AchievementProgressComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/achievements/AchievementProgressComposer.java @@ -19,7 +19,7 @@ public class AchievementProgressComposer extends MessageComposer { @Override protected ServerMessage composeInternal() { - this.response.init(Outgoing.AchievementProgressComposer); + this.response.init(Outgoing.AchievementComposer); int achievementProgress; AchievementLevel currentLevel; diff --git a/src/main/java/com/eu/habbo/messages/outgoing/camera/CameraPublishWaitMessageComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/camera/CameraPublishWaitMessageComposer.java index 9c012410..b5f49f07 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/camera/CameraPublishWaitMessageComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/camera/CameraPublishWaitMessageComposer.java @@ -17,7 +17,7 @@ public class CameraPublishWaitMessageComposer extends MessageComposer { @Override protected ServerMessage composeInternal() { - this.response.init(Outgoing.CameraPublishWaitMessageComposer); + this.response.init(Outgoing.CameraPublishStatusMessageComposer); this.response.appendBoolean(this.isOk); this.response.appendInt(this.cooldownSeconds); diff --git a/src/main/java/com/eu/habbo/messages/outgoing/catalog/marketplace/MarketplaceBuyErrorComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/catalog/marketplace/MarketplaceBuyErrorComposer.java index 800bd4ca..7a8f1c5e 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/catalog/marketplace/MarketplaceBuyErrorComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/catalog/marketplace/MarketplaceBuyErrorComposer.java @@ -24,7 +24,7 @@ public class MarketplaceBuyErrorComposer extends MessageComposer { @Override protected ServerMessage composeInternal() { - this.response.init(Outgoing.MarketplaceBuyErrorComposer); + this.response.init(Outgoing.MarketplaceBuyOfferResultComposer); this.response.appendInt(this.errorCode); //result this.response.appendInt(this.unknown); //newOfferId this.response.appendInt(this.offerId); //newPrice diff --git a/src/main/java/com/eu/habbo/messages/outgoing/crafting/CraftingRecipesAvailableComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/crafting/CraftingRecipesAvailableComposer.java index 5f0c7739..12ab408a 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/crafting/CraftingRecipesAvailableComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/crafting/CraftingRecipesAvailableComposer.java @@ -15,7 +15,7 @@ public class CraftingRecipesAvailableComposer extends MessageComposer { @Override protected ServerMessage composeInternal() { - this.response.init(Outgoing.CraftingComposerFour); + this.response.init(Outgoing.CraftingRecipesAvailableComposer); this.response.appendInt((this.found ? -1 : 0) + this.count); this.response.appendBoolean(this.found); return this.response; diff --git a/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/MessagesForYouComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/MessagesForYouComposer.java index 0003c638..d4602952 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/MessagesForYouComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/MessagesForYouComposer.java @@ -23,7 +23,7 @@ public class MessagesForYouComposer extends MessageComposer { @Override protected ServerMessage composeInternal() { - this.response.init(Outgoing.MessagesForYouComposer); + this.response.init(Outgoing.MOTDNotificationComposer); this.response.appendInt(this.messages.length + this.newMessages.size()); for (String s : this.messages) { diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildBuyRoomsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildBuyRoomsComposer.java index e55f9135..efa3a8a5 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildBuyRoomsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildBuyRoomsComposer.java @@ -16,7 +16,7 @@ public class GuildBuyRoomsComposer extends MessageComposer { @Override protected ServerMessage composeInternal() { - this.response.init(Outgoing.GuildBuyRoomsComposer); + this.response.init(Outgoing.GuildCreationInfoMessageComposer); this.response.appendInt(Emulator.getConfig().getInt("catalog.guild.price")); this.response.appendInt(this.rooms.size()); diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/GuildForumAddCommentComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/GuildForumAddCommentComposer.java index 3570f860..cb249521 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/GuildForumAddCommentComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/GuildForumAddCommentComposer.java @@ -14,7 +14,7 @@ public class GuildForumAddCommentComposer extends MessageComposer { @Override protected ServerMessage composeInternal() { - this.response.init(Outgoing.GuildForumAddCommentComposer); + this.response.init(Outgoing.PostMessageMessageComposer); this.response.appendInt(this.comment.getThread().getGuildId()); //guild_id this.response.appendInt(this.comment.getThreadId()); //thread_id this.comment.serialize(this.response); //Comment diff --git a/src/main/java/com/eu/habbo/messages/outgoing/inventory/AddHabboItemComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/inventory/AddHabboItemComposer.java index 266d413d..29a3700c 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/inventory/AddHabboItemComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/inventory/AddHabboItemComposer.java @@ -42,7 +42,7 @@ public class AddHabboItemComposer extends MessageComposer { @Override protected ServerMessage composeInternal() { - this.response.init(Outgoing.AddHabboItemComposer); + this.response.init(Outgoing.UnseenItemsComposer); if (this.ids != null) { this.response.appendInt(1); diff --git a/src/main/java/com/eu/habbo/messages/outgoing/inventory/AddPetComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/inventory/AddPetComposer.java index 150d6782..5d41e7df 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/inventory/AddPetComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/inventory/AddPetComposer.java @@ -14,7 +14,7 @@ public class AddPetComposer extends MessageComposer { @Override protected ServerMessage composeInternal() { - this.response.init(Outgoing.AddPetComposer); + this.response.init(Outgoing.PetAddedToInventoryComposer); this.pet.serialize(this.response); this.response.appendBoolean(false); return this.response; diff --git a/src/main/java/com/eu/habbo/messages/outgoing/navigator/OpenRoomCreationWindowComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/navigator/OpenRoomCreationWindowComposer.java index 1b84ba17..c76a615d 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/navigator/OpenRoomCreationWindowComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/navigator/OpenRoomCreationWindowComposer.java @@ -7,7 +7,7 @@ import com.eu.habbo.messages.outgoing.Outgoing; public class OpenRoomCreationWindowComposer extends MessageComposer { @Override protected ServerMessage composeInternal() { - this.response.init(Outgoing.OpenRoomCreationWindowComposer); + this.response.init(Outgoing.NoOwnedRoomsAlertMessageComposer); return this.response; } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomAddRightsListComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomAddRightsListComposer.java index 6829f5f8..fbe1a397 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomAddRightsListComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomAddRightsListComposer.java @@ -18,7 +18,7 @@ public class RoomAddRightsListComposer extends MessageComposer { @Override protected ServerMessage composeInternal() { - this.response.init(Outgoing.RoomAddRightsListComposer); + this.response.init(Outgoing.FlatControllerAddedComposer); this.response.appendInt(this.room.getId()); this.response.appendInt(this.userId); this.response.appendString(this.userName); diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomModelComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomModelComposer.java index d845f545..768d30bd 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomModelComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomModelComposer.java @@ -14,7 +14,7 @@ public class RoomModelComposer extends MessageComposer { @Override protected ServerMessage composeInternal() { - this.response.init(Outgoing.RoomModelComposer); + this.response.init(Outgoing.RoomReadyMessageComposer); this.response.appendString(this.room.getLayout().getName()); this.response.appendInt(this.room.getId()); return this.response; diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/rentablespaces/RentableSpaceUnknownComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/rentablespaces/RentableSpaceUnknownComposer.java index af042c18..247cf10e 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/rentablespaces/RentableSpaceUnknownComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/rentablespaces/RentableSpaceUnknownComposer.java @@ -13,7 +13,7 @@ public class RentableSpaceUnknownComposer extends MessageComposer { @Override protected ServerMessage composeInternal() { - this.response.init(Outgoing.RentableSpaceUnknownComposer); + this.response.init(Outgoing.RentableSpaceRentOkMessageComposer); this.response.appendInt(this.itemId); return this.response; } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/RoomPetExperienceComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/RoomPetExperienceComposer.java index 60983021..1bd70de4 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/RoomPetExperienceComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/RoomPetExperienceComposer.java @@ -16,7 +16,7 @@ public class RoomPetExperienceComposer extends MessageComposer { @Override protected ServerMessage composeInternal() { - this.response.init(Outgoing.RoomPetExperienceComposer); + this.response.init(Outgoing.PetExperienceComposer); this.response.appendInt(this.pet.getId()); this.response.appendInt(this.pet.getRoomUnit().getId()); this.response.appendInt(this.amount); diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserIgnoredComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserIgnoredComposer.java index 51f7482b..c7b28532 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserIgnoredComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserIgnoredComposer.java @@ -20,7 +20,7 @@ public class RoomUserIgnoredComposer extends MessageComposer { @Override protected ServerMessage composeInternal() { - this.response.init(Outgoing.RoomUserIgnoredComposer); + this.response.init(Outgoing.IgnoreResultMessageComposer); this.response.appendInt(this.state); this.response.appendString(this.habbo.getHabboInfo().getUsername()); return this.response; diff --git a/src/main/java/com/eu/habbo/messages/outgoing/trading/TradeStartFailComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/trading/TradeStartFailComposer.java index 1012e680..816e0c3f 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/trading/TradeStartFailComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/trading/TradeStartFailComposer.java @@ -26,7 +26,7 @@ public class TradeStartFailComposer extends MessageComposer { } protected ServerMessage composeInternal() { - this.response.init(Outgoing.TradeStartFailComposer); + this.response.init(Outgoing.TradingOpenFailedComposer); this.response.appendInt(this.code); this.response.appendString(this.username); return this.response; diff --git a/src/main/java/com/eu/habbo/messages/outgoing/unknown/WatchAndEarnRewardComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/unknown/WatchAndEarnRewardComposer.java index 06dd2b9d..da61d609 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/unknown/WatchAndEarnRewardComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/unknown/WatchAndEarnRewardComposer.java @@ -14,7 +14,7 @@ public class WatchAndEarnRewardComposer extends MessageComposer { @Override protected ServerMessage composeInternal() { - this.response.init(Outgoing.WatchAndEarnRewardComposer); + this.response.init(Outgoing.OfferRewardDeliveredMessageComposer); this.response.appendString(this.item.getType().code); this.response.appendInt(this.item.getId()); this.response.appendString(this.item.getName());