Plus Emulator Fixes AKllX Revision 2

Rush

Member
Jul 5, 2013
35
0
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
____________________________________________________________
Fix 2: Hotel Alert
in ChatCommandHandler.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 GameClient.cs Find:
MiniMail.AppendInt32(1);
Change it to
MiniMail.AppendInt32(0);
__________________________________
Fix 4: Pet Fix
In ClientPacketHeader.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 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 :)
 
Last edited:

Rush

Member
Jul 5, 2013
35
0
There is way more fixes then this
There is but ill cant be on the check 24/7 there is comming fixes like all the time im updating when ill checked it all to see all the fixes and if the fixes works ill got my irl life too and my own stuff to do

THREAD Updated with newest fixes
 
Last edited:

bingxuan2009

Member
Nov 9, 2011
190
15
Give 100% credits to on RZ. You just copy and paste and too lazy to put the codes in a box.
 

jackk.k

New Member
Nov 4, 2011
16
2
Here is the emulator with all of the current fixes


Looks/By entering and within the game.
GiveCrystals ADD
RoomAlert
Override
Alert
MOD Tools + User info Fix
Minimail
Pets
Bots + Speeeches
ChatLog Corrected
HabboWay/Quiz 100% Fixed
Achievments
Unfavorited Room
Idle
MoodLightsFor noobs
 

Rush

Member
Jul 5, 2013
35
0
Give 100% credits to on RZ. You just copy and paste and too lazy to put the codes in a box.
First. Idk how to Make boxes 2 immanub didnt Make these fixed 3 where do u see credits to me ? 4 ill did this to help People's who dont use the rival forum 5 go away from nu thread if u dont know what you are takling about
 

bingxuan2009

Member
Nov 9, 2011
190
15
First. Idk how to Make boxes 2 immanub didnt Make these fixed 3 where do u see credits to me ? 4 ill did this to help People's who dont use the rival forum 5 go away from nu thread if u dont know what you are takling about
Not bad you edit your post whatever kid
 

Users who are viewing this thread

Top