Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Releases
Plus Emulator Fixes AKllX Revision 2
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Rush" data-source="post: 270725" data-attributes="member: 35226"><p>Since i couldn find any specific thread for plus emulator fixes ill make 1 <img src="/styles/default/xenforo/smilies/emojione/smile.png" class="smilie" loading="lazy" alt=":)" title="Smile :)" data-shortname=":)" /></p><p></p><p>Fix 1: bot speeches</p><p>The code is really long so ill made it pastebin <a href="http://pastebin.com/tVFZHfSK" target="_blank">http://pastebin.com/tVFZHfSK</a></p><p>____________________________________________________________</p><p>Fix 2: Hotel Alert</p><p>in <strong>ChatCommandHandler</strong>.cs add this</p><p>case "alert":</p><p>{</p><p>if (Session.GetHabbo().HasCmd("alert"))</p><p>{</p><p>if (Params[1] == null || Params[2] == null)</p><p>{</p><p>Session.SendNotif("You left something empty.");</p><p>return true;</p><p>}</p><p>string TargetUser = null;</p><p>GameClient TargetClient = null;</p><p></p><p>TargetUser = Params[1];</p><p>TargetClient = SilverwaveEnvironment.GetGame().GetClientManager().GetClientByUsername(TargetUser);</p><p>Room TargetRoom = TargetClient.GetHabbo().CurrentRoom;</p><p></p><p>if (TargetClient == null)</p><p>{</p><p>Session.SendNotif("User could not be found.");</p><p>return true;</p><p>}</p><p></p><p>TargetClient.SendNotif(Params[2] + " -" + Session.GetHabbo().Username);</p><p>}</p><p>return true;</p><p>}</p><p>And run this SQL:</p><p>INSERT INTO .`fuse_cmds` (`id`, `command`, `rank`, `params`, `description`) VALUES ('82', 'alert', '5', '%name% %message%', 'Alert a user with a specific message');</p><p>_______________________________________________________________________________________________________________________________</p><p>Fix 3: Remove the 1 minimail in the client</p><p>in <strong>GameClient</strong>.cs Find:</p><p>MiniMail.AppendInt32(1);</p><p>Change it to</p><p>MiniMail.AppendInt32(0);</p><p>__________________________________</p><p>Fix 4: Pet Fix</p><p>In <strong>ClientPacketHeader</strong>.cs Change:</p><p>Change public const int CheckPetNameMessageEvent = 2605;</p><p>to</p><p>public const int CheckPetNameMessageEvent = 3913; //akl</p><p>And</p><p>and change</p><p>public const int GetSellablePetBreedsMessageEvent = 1360;</p><p>to</p><p>public const int GetSellablePetBreedsMessageEvent = 3780; //akl</p><p></p><p>go to <a href="http://pastebin.com/2wXhG9G9" target="_blank">http://pastebin.com/2wXhG9G9</a> For the the fix for pets not dc u when u enter room with pets</p><p>__________________________________________________________________________________</p><p>Fix 5: Unfavorite Room</p><p>In ClientPacketHeader.cs Find:</p><p>public const int RemoveFavouriteRoomMessageEvent = 0;</p><p>change to</p><p>public const int RemoveFavouriteRoomMessageEvent = 81;</p><p>________________________________________________</p><p>Fix 6: Mod Tool</p><p>In GameClient.cs Find:</p><p>this.SendMessage(SilverwaveEnvironment.GetGame().GetModerationTool().SerializeTool());</p><p>Change to</p><p>response.appendResponse(SilverwaveEnvironment.GetGame().GetModerationTool().SerializeTool());</p><p></p><p>User info will disconnect people so add this to fix user info:</p><p>In ModerationTool.cs find:</p><p>Message.AppendString((string)User["ip_last"]); // last_purchase_txt</p><p>Message.AppendInt32(0); // identityinformationtool.url + this</p><p>Message.AppendInt32(0); // id_bans_txt</p><p>Message.AppendString((string)User["mail"]); // email_address_txt</p><p>Change to</p><p>Message.AppendInt32(0); // trading_lock_count_txt</p><p>Message.AppendString((string)User["ip_last"]); // last_purchase_txt</p><p>Message.AppendInt32(0); // identityinformationtool.url + this</p><p>Message.AppendInt32(0); // id_bans_txt</p><p>Message.AppendString((string)User["mail"]); // email_address_txt</p><p>____________________________________________________</p><p>Fix 7 User Chatlog:</p><p>internal static int UserChatlog = 0x777FF;//disabled</p><p>to</p><p>internal static int UserChatlog = 3791;</p><p>____________________________________________________</p><p>Fix 8 idle:</p><p>public const int SleepMessageComposer = 3474;</p><p>to</p><p>public const int SleepMessageComposer = 1644;</p><p>_____________________________________________________</p><p>Fix 9 Achievements Window:</p><p>internal static int AchievementList = 2328;//akl</p><p>to</p><p>internal static int AchievementList = 2134;//akl</p><p>_____________________________________________________</p><p>Fix 10 Moodlight:</p><p>case InteractionType.dimmer:</p><p>{</p><p>UserItem it = Session.GetHabbo().GetInventoryComponent().AddNewItem(0, Item.ItemId, ExtraData, 0, true, false, 0,0,0);</p><p>uint id = it.Id;</p><p>result.Add(it);</p><p>using (IQueryAdapter dbClient = SilverwaveEnvironment.GetDatabaseManager().getQueryreactor())</p><p>{</p><p>dbClient.runFastQuery("INSERT INTO room_items_moodlight (item_id,enabled,current_preset,preset_one,preset_two,preset_three) VALUES (" + id + ",'0',1,'#000000,255,0','#000000,255,0','#000000,255,0')");</p><p>// 0 changed to '0'</p><p>}</p><p>}</p><p>________________________________________________________________</p><p>Fix 11 duplicating Chatlogs:</p><p>Find this line :</p><p></p><p>RoomChat.Add(new Chatlog((uint)mRow[0], (string)mRow[1], Convert.ToDouble(mRow[2])));</p><p></p><p>Remove it and open your server and go on client and type something and shut it down then open your server again and type somthing again the first chatlogs that has been open on the first you open the emulator its not been duplicated but you cant see the list of chatlogs on the mod tool anyone should edit this because Im not on my PC yet I just saw this try it guys I didnt test it yet but im 100% Sure it will works but need to edit it </p><p>_____________________________________________________________________________________________</p><p>More fixes soon credits to people who made them <img src="/styles/default/xenforo/smilies/emojione/smile.png" class="smilie" loading="lazy" alt=":)" title="Smile :)" data-shortname=":)" /></p></blockquote><p></p>
[QUOTE="Rush, post: 270725, member: 35226"] Since i couldn find any specific thread for plus emulator fixes ill make 1 :) Fix 1: bot speeches The code is really long so ill made it pastebin [URL]http://pastebin.com/tVFZHfSK[/URL] ____________________________________________________________ Fix 2: Hotel Alert in [B]ChatCommandHandler[/B].cs add this case "alert": { if (Session.GetHabbo().HasCmd("alert")) { if (Params[1] == null || Params[2] == null) { Session.SendNotif("You left something empty."); return true; } string TargetUser = null; GameClient TargetClient = null; TargetUser = Params[1]; TargetClient = SilverwaveEnvironment.GetGame().GetClientManager().GetClientByUsername(TargetUser); Room TargetRoom = TargetClient.GetHabbo().CurrentRoom; if (TargetClient == null) { Session.SendNotif("User could not be found."); return true; } TargetClient.SendNotif(Params[2] + " -" + Session.GetHabbo().Username); } return true; } And run this SQL: INSERT INTO .`fuse_cmds` (`id`, `command`, `rank`, `params`, `description`) VALUES ('82', 'alert', '5', '%name% %message%', 'Alert a user with a specific message'); _______________________________________________________________________________________________________________________________ Fix 3: Remove the 1 minimail in the client in [B]GameClient[/B].cs Find: MiniMail.AppendInt32(1); Change it to MiniMail.AppendInt32(0); __________________________________ Fix 4: Pet Fix In [B]ClientPacketHeader[/B].cs Change: Change public const int CheckPetNameMessageEvent = 2605; to public const int CheckPetNameMessageEvent = 3913; //akl And and change public const int GetSellablePetBreedsMessageEvent = 1360; to public const int GetSellablePetBreedsMessageEvent = 3780; //akl go to [URL]http://pastebin.com/2wXhG9G9[/URL] For the the fix for pets not dc u when u enter room with pets __________________________________________________________________________________ Fix 5: Unfavorite Room In ClientPacketHeader.cs Find: public const int RemoveFavouriteRoomMessageEvent = 0; change to public const int RemoveFavouriteRoomMessageEvent = 81; ________________________________________________ Fix 6: Mod Tool In GameClient.cs Find: this.SendMessage(SilverwaveEnvironment.GetGame().GetModerationTool().SerializeTool()); Change to response.appendResponse(SilverwaveEnvironment.GetGame().GetModerationTool().SerializeTool()); User info will disconnect people so add this to fix user info: In ModerationTool.cs find: Message.AppendString((string)User["ip_last"]); // last_purchase_txt Message.AppendInt32(0); // identityinformationtool.url + this Message.AppendInt32(0); // id_bans_txt Message.AppendString((string)User["mail"]); // email_address_txt Change to Message.AppendInt32(0); // trading_lock_count_txt Message.AppendString((string)User["ip_last"]); // last_purchase_txt Message.AppendInt32(0); // identityinformationtool.url + this Message.AppendInt32(0); // id_bans_txt Message.AppendString((string)User["mail"]); // email_address_txt ____________________________________________________ Fix 7 User Chatlog: internal static int UserChatlog = 0x777FF;//disabled to internal static int UserChatlog = 3791; ____________________________________________________ Fix 8 idle: public const int SleepMessageComposer = 3474; to public const int SleepMessageComposer = 1644; _____________________________________________________ Fix 9 Achievements Window: internal static int AchievementList = 2328;//akl to internal static int AchievementList = 2134;//akl _____________________________________________________ Fix 10 Moodlight: case InteractionType.dimmer: { UserItem it = Session.GetHabbo().GetInventoryComponent().AddNewItem(0, Item.ItemId, ExtraData, 0, true, false, 0,0,0); uint id = it.Id; result.Add(it); using (IQueryAdapter dbClient = SilverwaveEnvironment.GetDatabaseManager().getQueryreactor()) { dbClient.runFastQuery("INSERT INTO room_items_moodlight (item_id,enabled,current_preset,preset_one,preset_two,preset_three) VALUES (" + id + ",'0',1,'#000000,255,0','#000000,255,0','#000000,255,0')"); // 0 changed to '0' } } ________________________________________________________________ Fix 11 duplicating Chatlogs: Find this line : RoomChat.Add(new Chatlog((uint)mRow[0], (string)mRow[1], Convert.ToDouble(mRow[2]))); Remove it and open your server and go on client and type something and shut it down then open your server again and type somthing again the first chatlogs that has been open on the first you open the emulator its not been duplicated but you cant see the list of chatlogs on the mod tool anyone should edit this because Im not on my PC yet I just saw this try it guys I didnt test it yet but im 100% Sure it will works but need to edit it _____________________________________________________________________________________________ More fixes soon credits to people who made them :) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Releases
Plus Emulator Fixes AKllX Revision 2
Top