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 Tutorials
[FIX] - Room Map (:Floor)
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="Pollak" data-source="post: 436058" data-attributes="member: 77990"><p style="text-align: center">Today I'm going to give you a fix for your Habbo. What does it consist of?</p> <p style="text-align: center">On the floor <img src="/styles/default/xenforo/smilies/emojione/smile.png" class="smilie" loading="lazy" alt=":)" title="Smile :)" data-shortname=":)" /> floor) you can change, add, remove, climb, etc ... squares</p> <p style="text-align: center">of your room. Only when they have mobis and you run the floor command for editing</p> <p style="text-align: center">the mobis (all) are in the same form (1x1, following the print).</p> <p style="text-align: center">Then, you will have to have access to your emulator to follow the next steps.</p> <p style="text-align: center"><img src="https://4.bp.blogspot.com/-2oqFjr9Djv4/Wuor0-TfwiI/AAAAAAAAB_s/rlD1xO73Ixc1IAri5v9D6zYuHJa97cpmgCLcBGAs/s1600/Floor2.PNG" alt="" class="fr-fic fr-dii fr-draggable " style="" /> </p> <p style="text-align: center">Go to the folder: Plus> Communication> Packets> Incoming> Rooms> FloorPlan</p> <p style="text-align: center">and look for the file: FloorPlanEditorRoomPropertiesEvent.cs</p> <p style="text-align: center">Delete everything and enter this new code:</p><p>[CODE]</p><p>Código:</p><p>using System.Linq;</p><p>using System.Collections.Generic;</p><p>using Plus.HabboHotel.Rooms;</p><p>using Plus.HabboHotel.Items;</p><p>using Plus.Communication.Packets.Outgoing.Rooms.FloorPlan;</p><p>using Plus.Communication.Packets.Outgoing.Rooms.Engine;</p><p>using System.Drawing;</p><p></p><p>namespace Plus.Communication.Packets.Incoming.Rooms.FloorPlan</p><p>{</p><p> class FloorPlanEditorRoomPropertiesEvent : IPacketEvent</p><p> {</p><p> public void Parse(HabboHotel.GameClients.GameClient Session, ClientPacket Packet)</p><p> {</p><p> if (!Session.GetHabbo().InRoom)</p><p> return;</p><p></p><p> Room Room = Session.GetHabbo().CurrentRoom;</p><p> if (Room == null)</p><p> return;</p><p></p><p> if (Room.GetGameMap().Model == null)</p><p> return;</p><p></p><p> List<Point> Squares = new List<Point>();</p><p> Room.GetRoomItemHandler().GetFloor.ToList().ForEach(Item =></p><p> {</p><p> Item.GetCoords.ForEach(Point =></p><p> {</p><p> if (!Squares.Contains(Point))</p><p> Squares.Add(Point);</p><p> });</p><p> });</p><p></p><p> Session.SendMessage(new FloorPlanFloorMapComposer(Squares));</p><p> Session.SendMessage(new FloorPlanSendDoorComposer(Room.GetGameMap().Model.DoorX, Room.GetGameMap().Model.DoorY, Room.GetGameMap().Model.DoorOrientation));</p><p> Session.SendMessage(new RoomVisualizationSettingsComposer(Room.WallThickness, Room.FloorThickness, PlusEnvironment.EnumToBool(Room.Hidewall.ToString())));</p><p></p><p> Squares.Clear();</p><p> Squares = null;</p><p> }</p><p> }</p><p>}[/CODE]</p><p style="text-align: center">Then go to the folder: Plus> Communication> Packets> Outgoing> Rooms> FloorPlan</p> <p style="text-align: center">and look for the file: FloorPlanFloorMapComposer.cs</p> <p style="text-align: center">Delete everything and enter this new code:</p><p>[CODE]using System.Linq;</p><p>using System.Collections.Generic;</p><p>using Plus.HabboHotel.Items;</p><p>using System.Drawing;</p><p></p><p>namespace Plus.Communication.Packets.Outgoing.Rooms.FloorPlan</p><p>{</p><p> class FloorPlanFloorMapComposer : ServerPacket</p><p> {</p><p> public FloorPlanFloorMapComposer(List<Point> Items)</p><p> : base(ServerPacketHeader.FloorPlanFloorMapMessageComposer)</p><p> {</p><p> base.WriteInteger(Items.Count);</p><p> foreach (Point Item in Items.ToList())</p><p> {</p><p> base.WriteInteger(Item.X);</p><p> base.WriteInteger(Item.Y);</p><p> }</p><p> }</p><p> }</p><p>}</p><p>[/CODE]</p><p style="text-align: center">After inserting these two new codes, debug, one by one!</p> <p style="text-align: center">Then it will look like this (print below) and you will not have any more problems! : D</p> <p style="text-align: center"><img src="https://3.bp.blogspot.com/-CHkVSeHhOjA/WuoujYPZX2I/AAAAAAAAB_4/RCy5r-OVdmEb5TuQZY26BfV7sHP343m2QCLcBGAs/s1600/Floor1.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /> </p> <p style="text-align: center">* The furnis will occupy the right squares!</p> <p style="text-align: center"><span style="color: #0080ff">CREDITS</span>:</p> <p style="text-align: center"><span style="color: #ff0000">Snaiker (Pollak) - Fix complete</span></p> <p style="text-align: center"><span style="color: #ffff00">Devbest (45% to fix)</span></p> <p style="text-align: center"><img src="/styles/default/xenforo/smilies/emojione/smile.png" class="smilie" loading="lazy" alt=":)" title="Smile :)" data-shortname=":)" /></p></blockquote><p></p>
[QUOTE="Pollak, post: 436058, member: 77990"] [CENTER]Today I'm going to give you a fix for your Habbo. What does it consist of? On the floor (: floor) you can change, add, remove, climb, etc ... squares of your room. Only when they have mobis and you run the floor command for editing the mobis (all) are in the same form (1x1, following the print). Then, you will have to have access to your emulator to follow the next steps. [IMG]https://4.bp.blogspot.com/-2oqFjr9Djv4/Wuor0-TfwiI/AAAAAAAAB_s/rlD1xO73Ixc1IAri5v9D6zYuHJa97cpmgCLcBGAs/s1600/Floor2.PNG[/IMG] Go to the folder: Plus> Communication> Packets> Incoming> Rooms> FloorPlan and look for the file: FloorPlanEditorRoomPropertiesEvent.cs Delete everything and enter this new code:[/CENTER] [CODE] Código: using System.Linq; using System.Collections.Generic; using Plus.HabboHotel.Rooms; using Plus.HabboHotel.Items; using Plus.Communication.Packets.Outgoing.Rooms.FloorPlan; using Plus.Communication.Packets.Outgoing.Rooms.Engine; using System.Drawing; namespace Plus.Communication.Packets.Incoming.Rooms.FloorPlan { class FloorPlanEditorRoomPropertiesEvent : IPacketEvent { public void Parse(HabboHotel.GameClients.GameClient Session, ClientPacket Packet) { if (!Session.GetHabbo().InRoom) return; Room Room = Session.GetHabbo().CurrentRoom; if (Room == null) return; if (Room.GetGameMap().Model == null) return; List<Point> Squares = new List<Point>(); Room.GetRoomItemHandler().GetFloor.ToList().ForEach(Item => { Item.GetCoords.ForEach(Point => { if (!Squares.Contains(Point)) Squares.Add(Point); }); }); Session.SendMessage(new FloorPlanFloorMapComposer(Squares)); Session.SendMessage(new FloorPlanSendDoorComposer(Room.GetGameMap().Model.DoorX, Room.GetGameMap().Model.DoorY, Room.GetGameMap().Model.DoorOrientation)); Session.SendMessage(new RoomVisualizationSettingsComposer(Room.WallThickness, Room.FloorThickness, PlusEnvironment.EnumToBool(Room.Hidewall.ToString()))); Squares.Clear(); Squares = null; } } }[/CODE] [CENTER]Then go to the folder: Plus> Communication> Packets> Outgoing> Rooms> FloorPlan and look for the file: FloorPlanFloorMapComposer.cs Delete everything and enter this new code:[/CENTER] [CODE]using System.Linq; using System.Collections.Generic; using Plus.HabboHotel.Items; using System.Drawing; namespace Plus.Communication.Packets.Outgoing.Rooms.FloorPlan { class FloorPlanFloorMapComposer : ServerPacket { public FloorPlanFloorMapComposer(List<Point> Items) : base(ServerPacketHeader.FloorPlanFloorMapMessageComposer) { base.WriteInteger(Items.Count); foreach (Point Item in Items.ToList()) { base.WriteInteger(Item.X); base.WriteInteger(Item.Y); } } } } [/CODE] [CENTER]After inserting these two new codes, debug, one by one! Then it will look like this (print below) and you will not have any more problems! : D [IMG]https://3.bp.blogspot.com/-CHkVSeHhOjA/WuoujYPZX2I/AAAAAAAAB_4/RCy5r-OVdmEb5TuQZY26BfV7sHP343m2QCLcBGAs/s1600/Floor1.png[/IMG] * The furnis will occupy the right squares! [COLOR=#0080ff]CREDITS[/COLOR]: [COLOR=#ff0000]Snaiker (Pollak) - Fix complete[/COLOR] [COLOR=#ffff00]Devbest (45% to fix)[/COLOR] :)[/CENTER] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Tutorials
[FIX] - Room Map (:Floor)
Top