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/Cloud/Osore] HideWired Command
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="HTheAlexitoH" data-source="post: 437462" data-attributes="member: 70830"><p>Hi, I bring the HideWired code. In the steps that from one emu to another change anything, I will put different spoilers to facilitate everything.</p><p></p><p>The command hides the wireds of the room. If they enter a room with activated hirewired they will appear hidden. If someone does reload in the room, hidewired is set to 0 and the furnis will be visible. If someone does Floor, it will be the same.</p><p></p><p><em><<<<< This paragraph is explained in the second answer, there is a translation error.</em></p><p></p><p><strong>-All this in the emu, with the Microsoft Visual Studio program (latest versions recommended)-</strong></p><p></p><p>1- <strong>Go to emu\HabboHotel\Rooms\Chat\Commands\User and we created a file called HideWiredCommand.cs with the following code:</strong></p><p></p><p>[spoiler=Cloud/Osore][/spoiler]</p><p>[spoiler=Plus][/spoiler]</p><p></p><p>2- <strong>In the previous folder, we opened CommandMananger.cs. </strong></p><p></p><p>We look for the next line:</p><p></p><p></p><p>and below it we add:</p><p></p><p></p><p>3- <strong>We search the file 'GetRoomEntryDataEvent.cs' situated in emu\Communication\Packets\Incoming\Rooms\Engine</strong></p><p></p><p>We look for the following code:</p><p></p><p></p><p></p><p>and below it, we add:</p><p></p><p></p><p></p><p>4-<strong> Go to emu\Communication\Packets\Incoming\Rooms\Furni\Wired and open SaveWiredConfigEvent.cs</strong></p><p></p><p>We are looking for:</p><p></p><p></p><p></p><p>We add below:</p><p></p><p></p><p></p><p>5- <strong>Go to ObjetsComposer.cs emu\Communication\Packets\Outgoing\Rooms\Engine</strong></p><p></p><p>Look:</p><p></p><p></p><p></p><p>Add below:</p><p></p><p><em><em></em></em></p><p><em><em></em></em></p><p><em><em>6- <strong>Go to emu\Communication\Packets\Outgoing\Rooms\Furni\Wired and we created a file called 'HideWiredConfigComposer.cs' whose code is:</strong></em></em></p><p><em><em></em></em></p><p><em><em>[spoiler=Cloud/Osore]using System;</em></em></p><p><em><em>using System.Collections.Generic;</em></em></p><p><em><em>using System.Linq;</em></em></p><p><em><em>using System.Text;</em></em></p><p><em><em>using System.Threading.Tasks;</em></em></p><p><em><em></em></em></p><p><em><em>namespace Cloud.Communication.Packets.Outgoing.Rooms.Furni.Wired</em></em></p><p><em><em>{</em></em></p><p><em><em> class HideWiredConfigComposer : ServerPacket</em></em></p><p><em><em> {</em></em></p><p><em><em> public HideWiredConfigComposer()</em></em></p><p><em><em> : base(ServerPacketHeader.HideWiredConfigMessageComposer)</em></em></p><p><em><em> {</em></em></p><p><em><em> }</em></em></p><p><em><em> }</em></em></p><p><em><em>}[/spoiler]</em></em></p><p><em><em></em></em></p><p><em><em>[spoiler=Plus]using System;</em></em></p><p><em><em>using System.Collections.Generic;</em></em></p><p><em><em>using System.Linq;</em></em></p><p><em><em>using System.Text;</em></em></p><p><em><em>using System.Threading.Tasks;</em></em></p><p><em><em></em></em></p><p><em><em>namespace Plus.Communication.Packets.Outgoing.Rooms.Furni.Wired</em></em></p><p><em><em>{</em></em></p><p><em><em> class HideWiredConfigComposer : ServerPacket</em></em></p><p><em><em> {</em></em></p><p><em><em> public HideWiredConfigComposer()</em></em></p><p><em><em> : base(ServerPacketHeader.HideWiredConfigMessageComposer)</em></em></p><p><em><em> {</em></em></p><p><em><em> }</em></em></p><p><em><em> }</em></em></p><p><em><em>}[/spoiler]</em></em></p><p><em><em></em></em></p><p><em><em>7- <strong>Go to emu\HabboHotel\Rooms and open room.cs</strong></em></em></p><p><em><em></em></em></p><p><em><em>Search:</em></em></p><p><em><em></em></em></p><p><em><em></em></em></p><p><em><em></em></em></p><p><em><em>and we add below:</em></em></p><p><em><em></em></em></p><p><em><em></em></em></p><p><em><em></em></em></p><p><em><em>We are looking for:</em></em></p><p><em><em></em></em></p><p><em><em></em></em></p><p><em><em></em></em></p><p><em><em>Below, we add:</em></em></p><p><em><em></em></em></p><p><em><em></em></em></p><p><em><em></em></em></p><p><em><em>Look for:</em></em></p><p><em><em></em></em></p><p><em><em></em></em></p><p><em><em></em></em></p><p><em><em><strong>Above</strong> of that code, we add:</em></em></p><p><em><em></em></em></p><p><em><em><em><em></em></em></em></em></p><p><em><em><em><em></em></em></em></em></p><p><em><em><em><em>8- <strong>In that same folder, we open RoomData.cs</strong></em></em></em></em></p><p><em><em><em><em></em></em></em></em></p><p><em><em><em><em>Search:</em></em></em></em></p><p><em><em><em><em></em></em></em></em></p><p><em><em><em><em></em></em></em></em></p><p><em><em><em><em></em></em></em></em></p><p><em><em><em><em>Below, add:</em></em></em></em></p><p><em><em><em><em></em></em></em></em></p><p><em><em><em><em></em></em></em></em></p><p><em><em><em><em></em></em></em></em></p><p><em><em><em><em>Search:</em></em></em></em></p><p><em><em><em><em></em></em></em></em></p><p><em><em><em><em></em></em></em></em></p><p><em><em><em><em></em></em></em></em></p><p><em><em><em><em>Below, we add:</em></em></em></em></p><p><em><em><em><em></em></em></em></em></p><p><em><em><em><em></em></em></em></em></p><p><em><em><em><em></em></em></em></em></p><p><em><em><em><em>9- <strong>In that same folder, we open RoomItemHandling.cs</strong></em></em></em></em></p><p><em><em><em><em></em></em></em></em></p><p><em><em><em><em>Look for:</em></em></em></em></p><p><em><em><em><em></em></em></em></em></p><p><em><em><em><em></em></em></em></em></p><p><em><em><em><em></em></em></em></em></p><p><em><em><em><em>Below, we add:</em></em></em></em></p><p><em><em><em><em></em></em></em></em></p><p><em><em><em><em></em></em></em></em></p><p><em><em><em><em></em></em></em></em></p><p><em><em><em><em>10- <strong>We go to our database and execute the following SQL code:</strong></em></em></em></em></p><p><em><em><em><em><strong></strong></em></em></em></em></p><p><em><em><em><em></em></em></em></em></p><p><em><em><em><em></em></em></em></em></p><p><em><em><em><em>Once ready, we compile and it should work. All the credits of codes to their respective authors (I do not know authorship).</em></em></em></em></p><p><em><em><em><em></em></em></em></em></p><p><em><em><em><em>If it has served you, all comments are useful to continue contributing things to this community ^^</em></em></em></em></p></blockquote><p></p>
[QUOTE="HTheAlexitoH, post: 437462, member: 70830"] Hi, I bring the HideWired code. In the steps that from one emu to another change anything, I will put different spoilers to facilitate everything. The command hides the wireds of the room. If they enter a room with activated hirewired they will appear hidden. If someone does reload in the room, hidewired is set to 0 and the furnis will be visible. If someone does Floor, it will be the same. [I]<<<<< This paragraph is explained in the second answer, there is a translation error.[/I] [B]-All this in the emu, with the Microsoft Visual Studio program (latest versions recommended)-[/B] 1- [B]Go to emu\HabboHotel\Rooms\Chat\Commands\User and we created a file called HideWiredCommand.cs with the following code:[/B] [spoiler=Cloud/Osore][/spoiler] [spoiler=Plus][/spoiler] 2- [B]In the previous folder, we opened CommandMananger.cs. [/B] We look for the next line: and below it we add: 3- [B]We search the file 'GetRoomEntryDataEvent.cs' situated in emu\Communication\Packets\Incoming\Rooms\Engine[/B] We look for the following code: and below it, we add: 4-[B] Go to emu\Communication\Packets\Incoming\Rooms\Furni\Wired and open SaveWiredConfigEvent.cs[/B] We are looking for: We add below: 5- [B]Go to ObjetsComposer.cs emu\Communication\Packets\Outgoing\Rooms\Engine[/B] Look: Add below: [I][I] 6- [B]Go to emu\Communication\Packets\Outgoing\Rooms\Furni\Wired and we created a file called 'HideWiredConfigComposer.cs' whose code is:[/B] [spoiler=Cloud/Osore]using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Cloud.Communication.Packets.Outgoing.Rooms.Furni.Wired { class HideWiredConfigComposer : ServerPacket { public HideWiredConfigComposer() : base(ServerPacketHeader.HideWiredConfigMessageComposer) { } } }[/spoiler] [spoiler=Plus]using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Plus.Communication.Packets.Outgoing.Rooms.Furni.Wired { class HideWiredConfigComposer : ServerPacket { public HideWiredConfigComposer() : base(ServerPacketHeader.HideWiredConfigMessageComposer) { } } }[/spoiler] 7- [B]Go to emu\HabboHotel\Rooms and open room.cs[/B] Search: and we add below: We are looking for: Below, we add: Look for: [B]Above[/B] of that code, we add: [I][I] 8- [B]In that same folder, we open RoomData.cs[/B] Search: Below, add: Search: Below, we add: 9- [B]In that same folder, we open RoomItemHandling.cs[/B] Look for: Below, we add: 10- [B]We go to our database and execute the following SQL code: [/B] Once ready, we compile and it should work. All the credits of codes to their respective authors (I do not know authorship). If it has served you, all comments are useful to continue contributing things to this community ^^[/i][/i][/i][/i] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Releases
[Plus/Cloud/Osore] HideWired Command
Top