SolvedHow to create a RotMG hacked client?

Posts 16 of 6 · Page 1 of 1
How to create a RotMG hacked client?
Like, really, how the hell do i do it?
I can't find any tutorials, or even something talking about it.
I can only find a straight download to the client, but i want to make one, not download one that is already made.
Any help p10x ?
ty
I'll be as straight as possible...

To edit a client you'll need RABCDAsm (GitHub link please don't shoot me): download it and extract it somewhere. Now make a new notepad file, and paste this in:
Code:
swfdecompress client.swf
abcexport client.swf
rabcdasm client-1.abc
Save it as DISASSEMBLE.bat (just to remember what it does). Run it.
As soon as it finishes it will close itself (if it gives you an error about swfdecompress is because your client has already been edited, partially or not), remember to change "client.swf" with your client name. You can edit your files now(CLIENTNAME-1 folder). To reassemble it make another notepad file...
Code:
rabcasm client-1\client-1.main.asasm
abcreplace client.swf 1 client-1\client-1.main.abc
Save it as REASSEMBLE.bat and run it. Test the client.

PUT BOTH THE .bat IN THE SAME DIRECTORY WHERE YOU EXTRACTED RABCDASM

You are welcome.
Zasx Im trying to follow you directions but I dnt understand you part about renaming the client we have. Also why does you first disasemble code change client.swf to client-1.swf?

If I follow your directions exactly, what should I name the client to match your code?
Quote Originally Posted by HappyMan20 View Post
Zasx Im trying to follow you directions but I dnt understand you part about renaming the client we have. Also why does you first disasemble code change client.swf to client-1.swf?

If I follow your directions exactly, what should I name the client to match your code?
With the .bat I gave you the program will search for "client.swf" in the same folder. Either you change "client.swf" with your client name, or you rename your client "client".

Its not client-1.swf, its client-1.abc. The command "abcexport" will create 2 .abc files, you need to disassemble nr. 1.
Use this to disassemble your clients. It makes disassembling clients easy. Explaining how to hack clients would take awhile but basically you get a new client and an old unhacked client from a mod selector. Name them both client.swf and disassemble them with rabcdasm or that tool I linked. Each time you'll get a folder named client-1. Put the client-1 from the new client in a folder named "new" and put the client-1 from the old client in a folder named "old".

Then you go into the mods folder of a mod selector, open a hack folder then open a txt file with a version number using notepad++ and look at the top. You'll see stuff like #set charMaxHp "_-06W". Use a program like astrogrep to search in old\client-1 for _-06W. Open the class you found _-06W in with notepad++ then find a unique piece of code somewhere that only shows up in the class you found _-06W. Now search for that unique code or word in new\client-1 and you'll find the same class as in old\client-1.
Now all you do is see where _-06W is in the old class and compare until you see what it's called in the new class. You do this for all #set things at the top. You can compare the code side by side if it helps to find the same spot. Line numbers in the xml file you find in mod folders also need updating. You look where the code is added in the old client and go to that same spot in the new client and update the line number.

All of this might not make sense right now but there are tutorials scattered around the forum that could help you understand it better.
It'll start to make sense when you try it for yourself.
Answered , if you still don't understand make an addition thread for help

/close
Posts 16 of 6 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?