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!

[TUT] How to add IP to Habbo.SWF

Status
Not open for further replies.
Newbie Spellweaver
Joined
Apr 19, 2013
Messages
8
Reaction score
2
Hello!
Today I am going to explain how you add your emulator's IP to the SWF, so that it doesn't have to be shown in client.
This tutorial requires you to have:

  • WinRAR
  • Habbo.SWF
  • Notepad++ (Or some other text editor)
First of all, we are going to need !
Once you have downloaded them, extract them to your desktop. You should see these files:
ZhJdf - [TUT] How to add IP to Habbo.SWF - RaGEZONE Forums


The first thing that you are going to need to do is copy your Habbo.SWF file to this folder.
tLWL8 - [TUT] How to add IP to Habbo.SWF - RaGEZONE Forums


Now, you want to run the "DECOMPILER.bat". It could take some time, so don't stop it if it doesn't appear to be doing anything.
After it has decompiled, you should see 2 folders, named "Habbo-0" and "Habbo-1" appear. You want to navigate into the "Habbo-1" folder.
Inside this folder you should see lots of folders/files:
74No6 - [TUT] How to add IP to Habbo.SWF - RaGEZONE Forums

and the list goes on..


You want to find the folder called "comsulakecorecommunicationconnection" and open it.
If you do not see this folder, then you have done something wrong!

The contents of this folder should be:
eYGTG - [TUT] How to add IP to Habbo.SWF - RaGEZONE Forums


You want to open "SocketConnection.class" in Notepad++

When it has opened, search for "xmlsocket" (without the "")
Something like this should appear:
EBRLo - [TUT] How to add IP to Habbo.SWF - RaGEZONE Forums


You want to scroll up to the next "callpropvoid", and add some lines..
Code:
[/COLOR][COLOR=#141414]   pushstring          "localhost"[/COLOR]
[COLOR=#141414]      setlocal1[/COLOR][COLOR=#141414]
Replacing localhost with your hotel's IP address.
You should end up with something like this:
U7ZT9 - [TUT] How to add IP to Habbo.SWF - RaGEZONE Forums

(Some of the code might be different depending on the SWF build)

Once this is done, click save and then run "RECOMPILER.bat" TWO times (It never seams to work the first ever time you do it)
Once this is done, you can open your SWF in Sothink SWF decompiler, navigate to "com > sulake > core > communication > connection" and search for xmlsocket. You should see your IP set as param1!
Fl2h8 - [TUT] How to add IP to Habbo.SWF - RaGEZONE Forums


Upload this SWF to your hotel, remembering you take a backup first! You may also want to change the path to the SWF so that no one has to clear their cache in your hotel.
Thanks for reading!
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Apr 16, 2013
Messages
23
Reaction score
7
Nice, sounds like "extra" work for me! (I'd use this If I was serious about opening a hotel, currently only doing developing)
 
Newbie Spellweaver
Joined
Apr 28, 2013
Messages
28
Reaction score
4
Great, thank you! I don't know how many who really uses this way to add an IP adress to their Habbo.SWF. But it's kinda nice, cause you will need this if you rip someones Habbo.SWF.
 
Status
Not open for further replies.
Back
Top