Post: [Tutorial] How to make a flash game trainer
05-12-2008, 09:58 AM #1
Oc
****ING NINJA SHIT
(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

The following 9 users say thank you to Oc for this useful post:

BA-SHELLEY, beane13, Faux Power, George, NGU_AcEsUpMaSlEeVe, Rhys22, shadeyb, Surikizu, TheDee1992
05-12-2008, 09:58 PM #2
NGU_AcEsUpMaSlEeVe
Guilty UNTIL Innocent
Great tutorial, I may actually have to play around with it and attempt to do so.
05-13-2008, 06:21 AM #3
Oc
****ING NINJA SHIT
thanks! and if you try be sure to post your result!
05-13-2008, 03:01 PM #4
NGU_AcEsUpMaSlEeVe
Guilty UNTIL Innocent
Originally posted by Oc
thanks! and if you try be sure to post your result!


lol of course. Im just tryin to find the time to play with it haha. lol Happy
05-13-2008, 07:10 PM #5
BA-SHELLEY
NGU Oringnal
Nice job OC LOG
05-13-2008, 07:36 PM #6
Oc
****ING NINJA SHIT
thanks ba-shelly,if you make a trainer, please post your result Happy
06-17-2008, 10:08 PM #7
ShadyDa1NOnly
Who’s Jim Erased?
Pretty cool.
06-23-2008, 12:23 PM #8
shadeyb
bury me a G
its worth having a go ! sweet dude
06-23-2008, 05:04 PM #9
A©ID
< ^ > < ^ >
ill try it. its my dream that a would make something useful for games. thanks oc log
08-11-2008, 08:33 PM #10
su1c1d3al
Do a barrel roll!
can you post the trainer you made

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo