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
08-11-2008, 09:36 PM #11
nz_punjabi_unit
Do a barrel roll!
anything 4 Call of duty 4
08-26-2008, 04:43 PM #12
JonnehBoi
Vault dweller
Whats A "Trainer" ?
08-26-2008, 07:38 PM #13
Fuse
Banned
Great tut OC-Log!
08-26-2008, 08:15 PM #14
beane13
Splicer
wow this is cool, i will have to try this later thx
08-26-2008, 10:33 PM #15
fraz422
PS3 Guru
sweet man good job
08-26-2008, 11:28 PM #16
ill try to try it
08-27-2008, 03:51 AM #17
Surikizu
GUMI fanboy
good one oc log, your getting good at posting cool stuff Happy
08-27-2008, 09:39 AM #18
Oc
****ING NINJA SHIT
-.-, this was posted when NGU started :P
10-21-2008, 08:36 PM #19
Iconnor12
Do a barrel roll!
i use vb 2008.net i think its better nicer layout

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo