2 Plusemu fixes.

Brad

Well-Known Member
Jun 5, 2012
2,320
993
Fly Command fix!
Add this to chatcommandhandler.cs
PHP:
#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

Welcome message fix
search if (userData.user.HasFuse("fuse_mod")) in gameclient.cs

Replace with
PHP:
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;

            }
And add this in your emulator config

Code:
## Welcome Message
welcome_message=Welcome to Hebbo! We will be adding new furniture everyday!
thanks!
 

Jerry

not rly active lol
Jul 8, 2013
1,957
522
Thanks for this and I see nothing different compared to the fly command I'd converted to Plus, only change I've see is the "HabboEmulatorEnvironment".
 

ptimmaq2

We all make mistakes
Aug 7, 2013
283
33
Gonna test this out, if i get this work.... i love you (no homo) ... been wanting this for a while!
 

ptimmaq2

We all make mistakes
Aug 7, 2013
283
33
Am i onlyone having a problem even if i add these clear cache and restart emu, nothing changed :S please help?
 

Users who are viewing this thread

Top