For those having MySQL memory usage issues, using MariaDB would help a lot, in my experience it's much less of a resource hog than MySQL.
If you are a noob you don't even have to configure it to squeeze the best performance, it's configured for a production environment from the start.
https://downloads.mariadb.org/
https://downloads.mariadb.org/
https://downloads.mariadb.org/
https://downloads.mariadb.org/
https://downloads.mariadb.org/
https://downloads.mariadb.org/
https://downloads.mariadb.org/
https://downloads.mariadb.org/
P.S MariaDB is a fork of MySQL developed when MySQL was acquired by Oracle. Many of the original developers forked it to develop it as an open source, community driven project. It's as easy to setup as MySQL, simply take a database backup, uninstall MySQL, install MariaDB, configure and shizzle, restore backup... profit.
Bug:
Roll both dices really fast at the same time and the first dice will be the same as the 2nd dice.
Best to try it on a mouse instead of laptop mouse pad.
I changed the alert command somewhat:
Code:case "alert": { if (!Session.GetHabbo().HasCmd("alert")) { return false; } if (Params[1] == null || Params[2] == null) { Session.SendNotif("Invalid Parameters!"); return true; } string targetUsername = Params[1], message = Params[2]; if (string.IsNullOrEmpty(message)) { Session.SendNotif("Please give an valid message!"); return true; } GameClient targetClient = TargetClient = SilverwaveEnvironment.GetGame().GetClientManager().GetClientByUsername(targetUsername); if (targetClient == null) { Session.SendNotif(string.Format("User '{0}' is not found/online.", targetUsername)); return true; } targetClient.SendNotif(string.Format("{0}{1}-{2}", message, Environment.NewLine, Session.GetHabbo().Username)); return true; }
@Meik2010
If you are trying to enable :floor..
Edit this line.in userPerksComposer.cs
PHP Code:base.WriteString("HEIGHTMAP_EDITOR_BETA");
base.WriteString("");
base.WriteBoolean(true);//change from false to true trolol :floor
Here some fixes
Fly command
PHP Code:#region Fly (:fly)
case "fly":
{
if (Session.GetHabbo().HasCmd("fly"))
{
Room currentRoom = Session.GetHabbo().CurrentRoom;
RoomUser roomUserByHabbo = null;
currentRoom = HabboEmulatorEnvironment.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId);
if (currentRoom != null)
{
roomUserByHabbo = currentRoom.GetRoomUserManager().GetRoomUserByHabbo(Session.GetHabbo().Id);
if (roomUserByHabbo != null)
{
roomUserByHabbo.isFlying = true;
}
}
}
return true;
}
#endregion
And welcome message
Search
if (userData.user.HasFuse("fuse_mod")) in Gameclient.cs
replace withPHP Code:if (userData.user.HasFuse("fuse_mod"))
{
response.appendResponse(HabboEmulatorEnvironment.GetGame().GetModerationTool().SerializeTool());
HabboEmulatorEnvironment.GetGame().GetModerationTool().SerializeOpenTickets(ref response, userData.userID);
}
response.sendResponse();
SendBroadcastMessage((HabboEmulatorEnvironment.GetConfig().data["welcome_message"] + "\n\n "));
return true;
}
Add this to your Emu config
PHP Code:## Welcome Message
welcome_message=Welcome to Hebbo! We will be adding new furniture everyday!
ADD THIS!
Search
if (userData.user.HasFuse("fuse_mod")) in Gameclient.cs
Code:if (userData.user.HasFuse("fuse_mod")) { response.appendResponse(SilverwaveEnvironment.GetGame().GetModerationTool().SerializeTool()); SilverwaveEnvironment.GetGame().GetModerationTool().SerializeOpenTickets(ref response, userData.userID); } response.sendResponse(); SendBroadcastMessage((SilverwaveEnvironment.GetConfig().data["welcome_message"] + "\n\n ")); return true; }
Credits to @Rush Retros
Bugs:
1) FIXED - idk what ill did but its fixed lmao
2) FIXED - idk what ill did but its fixed lmao
3) avatar is dragged after horse when riding - Added Spot Ify's fix didnt fix it
4) :hal command dont show the more info part so you can go to the link
5) use command :deletegroup - Deletegroup yes, will bug the room and make room name and owner to " ... " only three dots
Also it would be totally awesome if some 1 could code freeze :) ^^
same with horse jumps ^^
Last edited by Rush Retros; 22-04-14 at 10:20 PM.
New bug;
Floors in the spaces do not work. http://prntscr.com/3cltth They simply show like that. Interaction = roomeffect Anyone any ideas?
OK i give the wired unload fix :)
PS 1 time asking is enough ;p ( this is also not fixed in tdits version)
ok search in RoomItemHandling.cs at line 308
and remove it because its loading before all items are loaded and wired needs the other items to work ;pPHP Code:if (item.IsWired)
{
room.GetWiredHandler().LoadWired(room.GetWiredHandler().GenerateNewItem(item));
}
ok and search in RoomItemHandling.cs at line 352
and replace it with:PHP Code:
foreach (RoomItem Item in mFloorItems.Values)
{
if (Item.IsRoller)
mGotRollers = true;
So here it is :) and check this screen omfg :OOOPHP Code:foreach (RoomItem Item in mFloorItems.Values)
{
if (Item.IsWired)
{
room.GetWiredHandler().LoadWired(room.GetWiredHandler().GenerateNewItem(Item));
}
if (Item.IsRoller)
mGotRollers = true;
the longest stairs ever :)
Last edited by Spot Ify; 28-04-14 at 04:04 PM.
I found no exploit, if there is one then it isn't obvious, I've been over every change with CodeCompare. I'm 80% certain there is none. the other 20% of uncertainty is because I haven't read every change thoroughly. (I'm not going to)
Makesay command,
thanks to Yadz for sayall command.
"if (Session.GetHabbo().Rank > 12)" determines what rank is allowed to use the command, currently it's set to be allowed to use for all ranks above 12. 13 and up.#region Makesay (:makesay)
case "makesay":
if (Session.GetHabbo().Rank > 12)
{
Room currentRoom2 = Session.GetHabbo().CurrentRoom;
if (currentRoom2 != null)
{
string Message3 = ChatCommandHandler.MergeParams(Params, 1);
if (Params.Length > 2)
{
GameClient Target = SilverwaveEnvironment.GetGame().GetClientManager().GetClientByUsername(Params[1]);
RoomUser TargetUser = currentRoom2.GetRoomUserManager().GetRoomUserByHabbo(Target.GetHabbo().Id);
TargetUser.Chat(TargetUser.GetClient(), MergeParams(Params, 2), false, 0);
}
}
}
return true;
#endregion
Change the condition to whatever you please.
Code should be added to "chatcommandhandler.cs"
Last edited by Thewicard; 25-04-14 at 11:49 AM.
I made 2 new commands.
1. Habnam (latest Habbo effects required)
Add this in ChatCommandHandler.cs in the VIP area:
2. Kiss command (:kissed)PHP Code:#region Habnam (:habnam)
case "habnam":
{
if (Session.GetHabbo().HasCmd("habnam"))
{
Room Room = PlusEnvironment.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId);
RoomUser User = Room.GetRoomUserManager().GetRoomUserByHabbo(Session.GetHabbo().Id);
User.ApplyEffect(140);
}
return true;
}
#endregion
PHP Code:#region Kissed (:kissed) case "kissed": { if (Session.GetHabbo().HasFuse("fuse_cmd_kiss")) { Room roomKiss = Session.GetHabbo().CurrentRoom; RoomUser roomUser = roomKiss.GetRoomUserManager().GetRoomUserByHabbo(Session.GetHabbo().Id); GameClient clientByUsername = null; clientByUsername = PlusEnvironment.GetGame().GetClientManager().GetClientByUsername(Params[1]);
if (clientByUsername == null) { SendChatMessage(Session, "User doesn't exist"); } else { if (clientByUsername.GetHabbo().Username == Session.GetHabbo().Username) { SendChatMessage(Session, "You can not kiss yourself!"); } else { roomKiss.SendMessage(new ChatComposer(roomUser.VirtualId, "*" + Session.GetHabbo().Username + " has kissed " + clientByUsername.GetHabbo().Username + "*", 0, roomUser.LastBubble, -1)); } } } return true; } #endregion
Last edited by xGamer1337; 26-04-14 at 12:05 AM.