Go Back   FileForums > Games > Game Trainers

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-04-2009, 00:45
DABhand DABhand is offline
Banned
 
Join Date: Nov 2004
Location: Near my PC
Posts: 5,406
Thanks: 0
Thanked 3 Times in 3 Posts
DABhand is on a distinguished road
Some games share the opcodes responsible for the players health, if you can find where your own health routine is then breakpoint on that opcode and hit an enemy keep an eye on the registers, also check on yourself when hit.

For example,

The player when hit may have a constant value in EAX perhaps for example say 0023FF1A

If that is so, then you code inject.. ((this is an example not the same for all games))

code cave:

CMP EAX,0023FF1A --- check that eax contains this value
JE <address for working out player health> -- if so jump to the address for our players forced value, if not then...
MOV [EBX+13],00 --- force a zero value into the pointer, i.e. non players will have 0 health ((beware incase you have party members also in some games))
JMP <address to go back to game> --- back to the game coding ((after the jmp you made there))
MOV [EBX+13],FFFFFFFFF --- if EAX equals that value, force this value into pointer making players health huge constantly
JMP <address to go back to game> - back to the game.

game code:
JMP <code cave>


Again this may not be for the game your working on, but it could be similar..

There is a chance that registers wont have this kind of check, to which you will have to find the Player Structure and from there where it works out enemy health.


Remember JMP's are usually 5 bytes in size, so if you have to destroy 2 op codes to do so, then you will have to replace those opcodes in your own code cave.. And always write your code cave first before setting the jmp in the game code or else you will crash :P

Last edited by DABhand; 05-04-2009 at 00:47.
Reply With Quote
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Are there any professional crack makers out there?? Slipknot666 PC Games 12 14-06-2005 02:42
crack makers please help me with championship manager 01-02 demo (it has a time restricition on it) imlost PC Games 2 07-09-2002 16:29



All times are GMT -7. The time now is 22:33.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com