Originally Posted by
asadadsad
sorry for beeing a noob.. but where do you put the code:O?
Everyone has to start somewhere. You have to decompile the swf client with rabcdasm (you can download a dupe client in this forum, it's clean).
If you don't know how to decompile with rabcdasm your client, you have to search rabcdasm for win on google, than put everything in a folder, client too, it's better if you rename the swf client in "client.swf".
once in the folder make 2 txt files:
one with these:
Code:
swfdecompress client.swf
abcexport client.swf
rabcdasm client-1.abc
save it as decompile.bat
an the other with these
Code:
rabcasm client-1\client-1.main.asasm
abcreplace client.swf 1 client-1\client-1.main.abc
and rename it with recompile.bat
(notice to change the extension and if you don't see myfile.txt, you have to right click and properties, than change extension from there)
if you have changed client name, no problem, if you didn't than you have to replace all "client" part with the name of your client.
double click decompile.bat and wait untill cmd close
now you will have the folder client-1, go to
client-1\com\company\assembleegameclient\objects
open player.class with notepad or else, search function update (it starts with trait, and end with end trait), and just before the the end, before returnvalue, copy the first parte of code.
the second one, same file, go down to the end of file, and above the last line copy the second part of code.
Done.
now double click recompile.bat, good game with the new client
---------- Post added at 05:19 AM ---------- Previous post was at 05:14 AM ----------
the function start extactly so:
Code:
trait method QName(PackageNamespace(""), "update") flag OVERRIDE
and end excvtaly
Code:
returnvalue
end ; code
end ; body
end ; method
end ; trait
and the place for first code is just above returnvalue.