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:
Once you have downloaded them, extract them to your desktop. You should see these files:
The first thing that you are going to need to do is copy your Habbo.SWF file to this folder.
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:
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:
You want to open "SocketConnection.class" in Notepad++
When it has opened, search for "xmlsocket" (without the "")
Something like this should appear:
You want to scroll up to the next "callpropvoid", and add some lines..
Replacing localhost with your hotel's IP address.
You should end up with something like this:
(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!
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!
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)
You must be registered for see links
!Once you have downloaded them, extract them to your desktop. You should see these files:
The first thing that you are going to need to do is copy your Habbo.SWF file to this folder.
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:
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:
You want to open "SocketConnection.class" in Notepad++
When it has opened, search for "xmlsocket" (without the "")
Something like this should appear:
You want to scroll up to the next "callpropvoid", and add some lines..
Code:
pushstring "localhost"
setlocal1
You should end up with something like this:
(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!
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!