Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Official PlusEMU - Help Thread

Status
Not open for further replies.
◝(⁰▿⁰)◜Smile◝ (⁰▿⁰)◜
Developer
Joined
May 29, 2007
Messages
2,167
Reaction score
899
Post your help requests related to the PlusEMU emulator here.

Please use the SPOILER tags if you're going to post screenshots or a large chunk of code.
Also make sure your code is between the CODE tags to make it easier to read.

WARNING:
When replying to a post, QUOTE the post. There's a link under the user's post "Reply With Quote" - use it. If you're not replying to a question with quote, it will be considered as Spam.

Edit 01/05/16: Please! Make sure to add your emulator version, if it's either Habboon or any other edit, or original PlusEMU. There's a lot of PlusEmu edits out there, and we would like the questions get to be made in only one thread.
 
Last edited by a moderator:
Newbie Spellweaver
Joined
Aug 2, 2009
Messages
76
Reaction score
2
Can someone help me to achive this?:
Taiga - Official PlusEMU - Help Thread - RaGEZONE Forums

I think all I did was enable diamonds in ext vars and ext override vars to get that.

How do I extend this
1e44c0486b9d5c14cbf118220d6098c5 - Official PlusEMU - Help Thread - RaGEZONE Forums
to see the full amount of diamonds/credits/pixels I have?
 

Attachments

You must be registered for see attachments list
Last edited:
Upvote 0
Newbie Spellweaver
Joined
Jan 29, 2014
Messages
38
Reaction score
0
My client reaches 100% and restarted again help so took 2 days and I can not find solution
 
Upvote 0
Newbie Spellweaver
Joined
Dec 17, 2015
Messages
30
Reaction score
4
Re: PlusEMU - Habboon Edit - PRODUCTION-201601012205-226667486

eG8Rkj2 - Official PlusEMU - Help Thread - RaGEZONE Forums


tjzBhst - Official PlusEMU - Help Thread - RaGEZONE Forums




Sql Badge_Definitions =
+10,000 badges ADD!
Hey man, file removed... can you please reupload? :(
 

Attachments

You must be registered for see attachments list
Upvote 0
Junior Spellweaver
Joined
Jul 31, 2012
Messages
188
Reaction score
5
Okay, I've the same error about moodlights of Matthew Carter
I try with a breakpoint the interaction and I think it depends from:
Code:
 case InteractionType.MOODLIGHT:
                    {
                        MoodlightData moodData = Room.MoodlightData;
                        if (moodData != null && Room.GetRoomItemHandler().GetItem(moodData.ItemId) != null)
                        {
                            Session.SendNotification("You can only have one background moodlight per room!");
                            return;
                        }
                        break;
                    }

I don't know. I'm looking for a solution.

Or it depends from:
Code:
  if (Item.GetBaseItem().InteractionType == InteractionType.MOODLIGHT)
            {
                if (_room.MoodlightData == null)
                {
                    _room.MoodlightData = new MoodlightData(Item.Id);
                    Item.ExtraData = _room.MoodlightData.GenerateExtraData();
                }
            }

            using (IQueryAdapter dbClient = PlusEnvironment.GetDatabaseManager().GetQueryReactor())
            {
                dbClient.SetQuery("UPDATE `items` SET `room_id` = '" + _room.RoomId + "', `x` = '" + Item.GetX + "', `y` = '" + Item.GetY + "', `z` = '" + Item.GetZ + "', `rot` = '" + Item.Rotation + "', `wall_pos` = [USER=1333411810]WAL[/USER]lPos WHERE `id` = '" + Item.Id + "' LIMIT 1");
                dbClient.AddParameter("WallPos", Item.wallCoord);
                dbClient.RunQuery();
            }

            _wallItems.TryAdd(Item.Id, Item);

            _room.SendMessage(new ItemAddComposer(Item));
 
Last edited:
Upvote 0
Newbie Spellweaver
Joined
Dec 25, 2015
Messages
56
Reaction score
27
I think all I did was enable diamonds in ext vars and ext override vars to get that.

How do I extend this
1e44c0486b9d5c14cbf118220d6098c5 - Official PlusEMU - Help Thread - RaGEZONE Forums
to see the full amount of diamonds/credits/pixels I have?


I didn't mean "how to enable diamonds". What I want is quite the same as that what you want and it is that the "Join" is disabled, see my screenshot (that screen is from a german retro)..
 

Attachments

You must be registered for see attachments list
Upvote 0
Newbie Spellweaver
Joined
Jan 7, 2016
Messages
85
Reaction score
8
Okay, I've the same error about moodlights of @Matthew Carter
I try with a breakpoint the interaction and I think it depends from:
Code:
 case InteractionType.MOODLIGHT:
                    {
                        MoodlightData moodData = Room.MoodlightData;
                        if (moodData != null && Room.GetRoomItemHandler().GetItem(moodData.ItemId) != null)
                        {
                            Session.SendNotification("You can only have one background moodlight per room!");
                            return;
                        }
                        break;
                    }

I don't know. I'm looking for a solution.

Or it depends from:
Code:
  if (Item.GetBaseItem().InteractionType == InteractionType.MOODLIGHT)
            {
                if (_room.MoodlightData == null)
                {
                    _room.MoodlightData = new MoodlightData(Item.Id);
                    Item.ExtraData = _room.MoodlightData.GenerateExtraData();
                }
            }

            using (IQueryAdapter dbClient = PlusEnvironment.GetDatabaseManager().GetQueryReactor())
            {
                dbClient.SetQuery("UPDATE `items` SET `room_id` = '" + _room.RoomId + "', `x` = '" + Item.GetX + "', `y` = '" + Item.GetY + "', `z` = '" + Item.GetZ + "', `rot` = '" + Item.Rotation + "', `wall_pos` = @[I][B][URL="http://forum.ragezone.com/members/1333411810.html"]WAL[/URL][/B][/I]lPos WHERE `id` = '" + Item.Id + "' LIMIT 1");
                dbClient.AddParameter("WallPos", Item.wallCoord);
                dbClient.RunQuery();
            }

            _wallItems.TryAdd(Item.Id, Item);

            _room.SendMessage(new ItemAddComposer(Item));

Glad that i'm not the only one who has this problem. If you find a fix, please post it. Thanks!
 
Upvote 0
Junior Spellweaver
Joined
Jul 31, 2012
Messages
188
Reaction score
5
Glad that i'm not the only one who has this problem. If you find a fix, please post it. Thanks!

obv. I'm trying some change.. However depends from the second code tag.

Ok. I edit this in Emulator\HabboHotel\Rooms\RoomItemHandling.cs
Code:
     if (Item.GetBaseItem().InteractionType == InteractionType.MOODLIGHT)
            {
                if (_room.MoodlightData == null)
                {
                    _room.MoodlightData = new MoodlightData(Item.Id);
                    Item.ExtraData = _room.MoodlightData.GenerateExtraData();
                }
            }

I edit the string
Code:
if(_room.MoodlightData == null)
to
Code:
_room.MoodlightData != null)
and I can put on the wall moodlight, but I can't use.



I will see if I must change the interaction type in db. Matthew Carter

Okay, the interaction type is set to dimmer and it's ok. Mh... any help from someone?
 
Last edited:
Upvote 0
Newbie Spellweaver
Joined
Dec 1, 2014
Messages
98
Reaction score
4
How can i give mod tools to another rank?
I have add RANK 10, how can i give a mod tools?

-----------------

How to Allow DIAMOND on Client:
81ab026b532556a8e1b80ace2709e3a9 - Official PlusEMU - Help Thread - RaGEZONE Forums


Is so Simply.
Going on external_override_variables.txt and go on diamonds.enabled and make true.
Clear Cache of browser and u can see the diamond on the Client.
 

Attachments

You must be registered for see attachments list
Last edited:
Upvote 0
Newbie Spellweaver
Joined
Jan 7, 2016
Messages
85
Reaction score
8
Floor editor doesn't work for me, does it work for anybody else? Whenever I save it, it just goes to black screen. Any fix?

I get these errors:

Error in packet [407] BODY: [0][0][0][0][0]????:
System.NullReferenceException: Object reference not set to an instance of an object.
at Plus.HabboHotel.Rooms.Gamemap.GenerateMaps(Boolean checkLines) in C:\Users\Admin\Desktop\Emulator\HabboHotel\Rooms\GameMap.cs:line 223
at Plus.HabboHotel.Rooms.Room..ctor(RoomData Data) in C:\Users\Admin\Desktop\Emulator\HabboHotel\Rooms\Room.cs:line 162
at Plus.HabboHotel.Rooms.RoomManager.LoadRoom(Int32 Id) in C:\Users\Admin\Desktop\Emulator\HabboHotel\Rooms\RoomManager.cs:line 419
at Plus.HabboHotel.Users.Habbo.PrepareRoom(Int32 Id, String Password) in C:\Users\Admin\Desktop\Emulator\HabboHotel\Users\Habbo.cs:line 1168
at Plus.Communication.Packets.Incoming.Rooms.Connection.OpenFlatConnectionEvent.Parse(GameClient Session, ClientPacket Packet) in C:\Users\Admin\Desktop\Emulator\Communication\Packets\Incoming\Rooms\Connection\OpenFlatConnectionEvent.cs:line 18
at Plus.Communication.Packets.PacketManager.TryExecutePacket(GameClient Session, ClientPacket Packet) in C:\Users\Admin\Desktop\Emulator\Communication\Packets\PacketManager.cs:line 153
at Plus.HabboHotel.GameClients.GameClient.parser_onNewPacket(ClientPacket Message) in C:\Users\Admin\Desktop\Emulator\HabboHotel\GameClients\GameClient.cs:line 73

Error in query:
INSERT INTO `room_models` (`id`,`door_x`,`door_y`, `door_z`, `door_dir`,`heightmap`,`custom`,`wall_height`) VALUES (@ModelName, @DoorX, @DoorY, @DoorZ, @DoorDirection, @Map,'1',@WallHeight)
MySql.Data.MySqlClient.MySqlException (0x80004005): Field 'public_items' doesn't have a default value
at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()
at Plus.Database.Adapter.QueryAdapter.RunQuery() in C:\Users\Admin\Desktop\Emulator\Database\Adapter\QueryAdapter.cs:line 177
 
Last edited:
Upvote 0
Newbie Spellweaver
Joined
Dec 1, 2014
Messages
98
Reaction score
4
Hello guys!
How can i give mod tools to new rank?
I have add rank 10 but i no have Mod Tools how can i add it?
 
Upvote 0
Experienced Elementalist
Joined
Oct 5, 2010
Messages
260
Reaction score
109
Floor editor doesn't work for me, does it work for anybody else? Whenever I save it, it just goes to black screen. Any fix?

I get these errors:

FIX:

Go to your phpMyAdmin, to the room_models table.
Go to the structure of the room_models table, and change the 'public_items' predefined to NULL!
 
Upvote 0
Newbie Spellweaver
Joined
Dec 1, 2014
Messages
98
Reaction score
4
FIX:

Go to your phpMyAdmin, to the room_models table.
Go to the structure of the room_models table, and change the 'public_items' predefined to NULL!

You know how can i add mod tools to another ranks?
 
Upvote 0
Newbie Spellweaver
Joined
Dec 17, 2015
Messages
30
Reaction score
4
I didn't mean "how to enable diamonds". What I want is quite the same as that what you want and it is that the "Join" is disabled, see my screenshot (that screen is from a german retro)..
Xairon send me this retro URL and I'll check their vars...
 
Upvote 0
Newbie Spellweaver
Joined
Dec 1, 2014
Messages
98
Reaction score
4
Ok thanks for the support.
I need the help only on this problem, after i have fix all problem.
My problem is:

2e02b8c313f36b5e25f9d73f8cb97bc6 - Official PlusEMU - Help Thread - RaGEZONE Forums

I have try to modify my web.config with the code on this topic:
Code is this:

Code:
<rule name="Habbo Imaging Group Badges">
        <match url="^habbo-imaging/badge/([^/]+)" ignoreCase="false" />
        <action type="Rewrite" url="/habbo-imaging/badge.php?badge={R:1}"         appendQueryString="false" />
</rule>
<rule name="Habbo Imaging Avatarimage 1">
        <match url="^habbo-imaging/avatar/([^/]+)" ignoreCase="false" />
        <action type="Rewrite" url="habbo-imaging/avatarimage.php?figure={R:1}" appendQueryString="false" />
</rule>
<rule name="Habbo Imaging Avatar Image 2">
       <match url="^habbo-imaging/avatarimage/([^/]+)" ignoreCase="false" />
       <action type="Rewrite" url="habbo-imaging/avatarimage.php?username={R:1}" appendQueryString="false" />
</rule>
<rule name="Habbo Imaging Avatar Head">
        <match url="^habbo-imaging/head/([^/]+)" ignoreCase="false" />
        <action type="Rewrite" url="habbo-imaging/head.php?figure={R:1}" appendQueryString="false" />
 </rule>

But nothing! How can i fix this problem?!
 

Attachments

You must be registered for see attachments list
Upvote 0
Status
Not open for further replies.
Back
Top