ساخت ترینر برای انرژی بار ها
خودم
------------------------------
کد:How to create a trainer for energy bars using GameHack and Master Cheater
I'm using Virtua Fighter to demonstrate how the creation works but I think it can be generalized so that nearly every game with energy bars can be cheated using that method...
First of all you should start Virtua Fighter, then ALT-TAB to your desktop and load GameHack.
Now select the process you wanna cheat (in that case 'Virtua Fighter PC') by clicking on the cog-wheel button and seearching the process.
Done ? Allright, let's continue.
Get back to the game (I think you know how to do that...). It's much easier to find the offsets you are searching for (the ones of the energy bar) if you select a two-player game now. It could be helpful to turn off the timer as well since the cheating process will take a lot of time...
Once inside the game ALT-TAB (or CTRL-F12) to GameHack. Press that binoculars- button (start search) and start an advanced search using the type: '1 byte'. Why ? That's easy ... most of the games with energy bars use the value '255' as the maximum of the bar. In hex that's 'FF' which is one byte.
Click on OK and return to your game.
As the second player hit player 1 one time and go back to GameHack.
Click on 'Next search andsearch for a 'decreased' value now. GameHack finds a lot of those offsets, so go back to the game, hit player 1 another time and switch to GameHack. Search for a 'decreased' value again. Continue that procedure until there are only a few offsets left. If player 1 looses a match (because player two striked him down too often) and reappears for the next round (with a full energy bar!), get back to GameHack and choose an 'increased' value since the bar has been filled. It can be that a lot of adresses are left at the end, so use the 'Trial-and-error' method and try to freeze every single offset one after another. That takes quite a long time, so go through the list and search for a value that could be THE ONE AND ONLY. :)
I think those negative values are complete bulls**t, so (in my case) 008E3710 is the right offset (for VF). Let's experiment a bit with it.
Try to enter '255' as the value and go back to the game. Whew, the energy bar looks quite strange, so VF doesn't use the '255-is-maximum'-algorithm (cool word...).
Type in '200' and get back to VF. Allright ... everything's normal and click on the square next to 'Description' (in GameHack of course) and freeze the value.
Try to hit player 1 in the game ... the energy fills up everytime he's hit.
GREAT ! Now let's create the trainer using Master Cheater !
STAY INSIDE OF THE GAME, IT WILL MAKE THE PROCESS HANDLE EASIER LATER !! Umm ... use the Hotkey you've chosen to start Master Cheater (should be a CTRL-?? combination). Type 'TMLIST' and insert 'Energy' as description and the offset you've found as address (008E3710). Master Cheater wants the value to enter in hex, so we've got to convert the 200 into hex. There are enough (free!) calculators to do this on the net, so here's the hex value: C8.
Enter that C8 (Beware ! This is for Virtua Fighter ! This value may not work on other games as well as the address !!!) into the value field (the buttons to do this are displayed at the bottom of Master Cheater) and press ESC. The list needs to be saved, so enter TMSAVE [name] on the input field. [Name] can be anything you like, I choose 'vfenergy'. -> TMSAVE vfenergy
The program creates a file called vfenergy.mct in its directory which is important ! Type TMBUTTONS now to create the outfit of the trainer.
The BUTTONS TITLE should be 'Energy P1' so that the end user knows what'll happen if he pushes the button. Press your right cursor key now to change to the ON-row. Press L now and select the file you've just saved (vfenergy.mct). The OFF-field should stay EMPTY since nothing shall happen if the freeze-option is turned off. Since we want to have unlimited energy for player 1, the STATUS should be 'FREEZED' (press C a couple of times to do that). Now we're ready to build our trainer ! Type TMBUILD into the input field and choose the options that will fulfill your needs (About-Screen, Title-Screen, Filename of the trainer). Hopfully you did the whole process inside of the game (I warned you!), so the process name of the game (in my case VFPC.EXE) should be in the process window. If not, type it in (you can use the windows explorer to find out which is the starting exe). After you pushed the N button the last time, the specified trainer will be created in your Master Cheater directory. Start it, minimise it, press CTRL-T inside the game, freeze your energy bar and try it out (mark EXIT and press ENTER to return to your game)! __________________