Hello, today im gonna show you how to create a Flash Hack / Trainer . Its very simple, we will find the building code, the SWF code, and then we will get the variables set, and get on with the hacking.
What u will need :
1. [Only registered and activated users can see links. ] (Scroll down on the site to download Visual Basic 6)
2. [Only registered and activated users can see links. ]
Now, Lets start..
First of all u will find the flash trainer u wanna hack, in this guide i have chosen "Samurai Sam" (URL: [Only registered and activated users can see links. ])
also look at this : when games are from miniclip u just use the URL as SWF Code (But u will be needing to add a few things first) for samurai sam u will normally have "http://www.miniclip.com/games/samurai-sam/en/" but in the SWF file u will add "Gamename.SWF" so it will be "http://www.miniclip.com/games/samurai-sam/en/Samuraisam.swf" but, in some games u will need to find the information another way. First u access ur game, when its completely loaded (100% in the game) then i look at ur tab-bar (Internet Explorer Tab-bar) and look at the right of it. you will see buttons with "Home", "Print", "Page", and "Tools". We will need "Tools" press it, and take the lowest option (Internet Options) Now u see it all, under "Browsing History" (The Watch) u take "Settings" and now u take "View Files" now close those 2, and folder called "Temporary Internet Files" shows up, in this one there is all internet access u have ever had. set it to "Sort after latest used" and scroll to the bottom. Now minimize this, and open Visual Basic 6. Select "Standard EXE" and go to the toolbar (where u create buttons, and so) and now u rightclick and choose "Components" and press "S" so u get down to components that starts with "S", and choose "Shockwave Flash Object". Now the "Shockwave Flash Object" will be in the toolbar, now make a "Shockwave Flash Object" in ur "Form 1" and stretch it, so u have place in the bottom for a button and a textbox.
Make a Textbox and Button. now go to ur folder "Temporary Internet Files" and look at the ones called the game u are loaded to. (the game u have loaded 100%) and then when u find it, press Rightclick and "Properties" ur will now see a code that i marked. copy it. and go to Visual Basic 6. in the "Properties" in Visual Basic 6 (where u change text, caption, and all that, go down to "Movie". now enter in the code from the .SWF file (Copy - Paste) and test if works. if not. try a new .SWF File. now lets begin the Sothink SWF Decompiler, and coding.
Copy the correct game .SWF file to any folder u like, and open it via. Sothink SWF Decompiler from that folder. and in the side u see "Yourgame[1].swf" press the box with the "+" and now u will se some folders, choose Action. now u see "Main Movie" and alot of other "sprites" now choose Main Movie, and look for any text called _root."Something" that looks good. in this tut i have chosen "_root.ninja.health = "HP" now i go to Visual Basic 6 and press the Shockwave Flash Object and set the (Name) to Flash1 (Delete "Shockwave") and now i clear all the text in the Textbox and calls the button "Set HP" Double click button twice so u get to coding screen, in the "Command Button 1" code write
Code:
Flash1.SetVariable("Ninja.health", Text1.text)
Now i explain. "Flash1" is the ShockwaveFlash1 (becourse its the "1" [First] Shockwave Flash Object on the form, but we deleted teh "Shcokwave" so its called Flash1 now. Flash1. SetVariable makes the Variable of the code to something different. now well when u say "Flash1.SetVariable" then u add "("" becourse its the code, in here i chose the code "Ninja.health" so its "Flash1.SetVariable("Ninja.health". but then u make a value for it "Flash1.SetVarible("Ninja.health", Text1.text) the "Text1.text" does so the code get the value that is the "Text" of Text1 (The textbox) hope u learned something, this will also work for other games.
Its very hard to get Visual Basic 6 (or to find a download place) but i uploaded my own for u guys, on [Only registered and activated users can see links. ] i made some trainer and items i made in VB& (Visual Basic 6) u can test.