(adsbygoogle = window.adsbygoogle || []).push({});
hello guys,
i will learn you how to make a basic trainer for flash games,
things you need:
-Visual Basic 6 (just look around on youtube you'll find a link)
-SWF decompiler (just download sothinks swf decompiler)
-a flash game (duh)... the game i used it a flash game called counter-strike
-the flash url
Ok, let's start with opening VB6 (click .exe) and sothink swf decompiler and open your flash game in the decompiler
You must login or register to view this content.
now go back to VB6 and right click on the toolbox
You must login or register to view this content.
go to components and choose Shockwave Flash
You must login or register to view this content.
press apply and then OK
now click the icon that just appeared and make a square with it
You must login or register to view this content.
name that white square Flash
You must login or register to view this content.
now take your Flash url (.swf) mine is:
You must login or register to view this content.
and go to the categorized tab, now under Misc you see Movie and Movie Data
paste the url in the Movie box
You must login or register to view this content.
now you should see the game appear in the white box
now we go to our swf decompiler to search for variables
You must login or register to view this content.
go to the right of the screen and click on the little pointer,
now there should appear some documents click the pointer at "Actions"
now you see all the variables
You must login or register to view this content.
in this case s is score so:
go back to VB6 and make a button and text
You must login or register to view this content.
now doubleclick on the button, an actionscript wil popup write there:
Call Flash.setvariable ("yourvariablehere", Text1.text)
You must login or register to view this content.
now lets make one for health
You must login or register to view this content.
make a new button and name the caption 1000000 life
the variable for health is shield, so we write:
Call Flash.setvariable ("Shield", 1000000)
You must login or register to view this content.
now let's test the game if everything is working fine...
now export it to .exe and it's done!
well done you made your first trainer!
have fun making more!
-Oc