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
How to add custom exchange [Noob Friendly]
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="Ellu" data-source="post: 430117" data-attributes="member: 79951"><p><strong>Hey, </strong>I haven't seen many clear threads about this subject. When i didn't know how to add custom exchange into my hotel, i was struggling with that issue for so long. Now that i know how to do it, i made an noob friendly tutorial for the people who don't know! So this tutorial is teaching you, that how to change the value of your bar, and how to add it into your hotel! Enjoy.</p><p></p><p>So first of all, you will need an SWF file. The one i am going to use is called CF_50000_gbar (<img src="https://i.imgur.com/K5XLAzl.png" alt="" class="fr-fic fr-dii fr-draggable " style="" />). Depending on your habbo retro emulator, the SWF file HAS to start with <strong>CF</strong> or <strong>CFC</strong>, or it will not work. Anyway, my gold bar is worth 50k coins, but i wanna change the value to one coin.</p><p></p><p>So first thing we want to do, is to change the SWF file name, and all the names that are in the scripts inside of the SWF.</p><p>To edit the scripts, we are going to need to download HxD editor, which can be downloaded from here: mh-nexus.de/en/. This edtor lets us to see the scripts inside the swf, and will help us to replace all the names into the new name.</p><p></p><p>Now we have to come up with a new name. The name HAS to be as long as the old name. The value of the exchange item is depending from the SWF file name. I want my Goldbar to be worth 1 coin, so this is how it looks like: <strong>CF_1_goldbaar</strong>. Once again, <strong>remember that the name has to be long as the old one or the SWF scripts will get ruined when we replace the names!</strong></p><p><strong></strong></p><p>So now that we have the new name, we have to edit the names from the scripts. Drag your SWF into HxD editor.</p><p></p><p>When your SWF file is opened, click Search and <strong>Replace</strong>.</p><p></p><p><img src="https://i.imgur.com/dGQhVM1.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p>Then just replace all the old names with the new ones like this:</p><p></p><p><img src="https://i.imgur.com/nkFHvql.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p>Now your exchange items value is changed! <strong>Good job!</strong> There is still one more thing to do.</p><p>The Exchange value is claiming to be 50k on this info box when you double click the item.</p><p> </p><p> <img src="https://i.imgur.com/nipWBgM.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p>To fix that, search from the HxD editor for ''value="AMOUNT".''</p><p>For me it is value="50000". I have to replace that with value="1" , like this:</p><p></p><p><img src="https://i.imgur.com/KO901EJ.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /> </p><p></p><p>Now thats it! Your custom exchange item is ready to use!</p><p>Now you add it in your hotel like you would add an normal item, expect that you would have to edit</p><p>the interaction_type to <strong>exchange</strong>, Behaviour_data <strong>as the amount you would redeem</strong> for it and the interaction_modes_count as <strong>1 </strong>from your database.</p><p><img src="https://i.imgur.com/SwhUQHO.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p><u>Thank you for reading this! Let me know if this was noob friendly enough!</u></p></blockquote><p></p>
[QUOTE="Ellu, post: 430117, member: 79951"] [B]Hey, [/B]I haven't seen many clear threads about this subject. When i didn't know how to add custom exchange into my hotel, i was struggling with that issue for so long. Now that i know how to do it, i made an noob friendly tutorial for the people who don't know! So this tutorial is teaching you, that how to change the value of your bar, and how to add it into your hotel! Enjoy. So first of all, you will need an SWF file. The one i am going to use is called CF_50000_gbar ([IMG]https://i.imgur.com/K5XLAzl.png[/IMG]). Depending on your habbo retro emulator, the SWF file HAS to start with [B]CF[/B] or [B]CFC[/B], or it will not work. Anyway, my gold bar is worth 50k coins, but i wanna change the value to one coin. So first thing we want to do, is to change the SWF file name, and all the names that are in the scripts inside of the SWF. To edit the scripts, we are going to need to download HxD editor, which can be downloaded from here: mh-nexus.de/en/. This edtor lets us to see the scripts inside the swf, and will help us to replace all the names into the new name. Now we have to come up with a new name. The name HAS to be as long as the old name. The value of the exchange item is depending from the SWF file name. I want my Goldbar to be worth 1 coin, so this is how it looks like: [B]CF_1_goldbaar[/B]. Once again, [B]remember that the name has to be long as the old one or the SWF scripts will get ruined when we replace the names! [/B] So now that we have the new name, we have to edit the names from the scripts. Drag your SWF into HxD editor. When your SWF file is opened, click Search and [B]Replace[/B]. [IMG]https://i.imgur.com/dGQhVM1.png[/IMG] Then just replace all the old names with the new ones like this: [IMG]https://i.imgur.com/nkFHvql.png[/IMG] Now your exchange items value is changed! [B]Good job![/B] There is still one more thing to do. The Exchange value is claiming to be 50k on this info box when you double click the item. [IMG]https://i.imgur.com/nipWBgM.png[/IMG] To fix that, search from the HxD editor for ''value="AMOUNT".'' For me it is value="50000". I have to replace that with value="1" , like this: [IMG]https://i.imgur.com/KO901EJ.png[/IMG] Now thats it! Your custom exchange item is ready to use! Now you add it in your hotel like you would add an normal item, expect that you would have to edit the interaction_type to [B]exchange[/B], Behaviour_data [B]as the amount you would redeem[/B] for it and the interaction_modes_count as [B]1 [/B]from your database. [IMG]https://i.imgur.com/SwhUQHO.png[/IMG] [U]Thank you for reading this! Let me know if this was noob friendly enough![/U] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Tutorials
How to add custom exchange [Noob Friendly]
Top