| View previous topic :: View next topic |
| Author |
Message |
coolman++ Advanced Cheater
Reputation: -1
Joined: 19 Jul 2012 Posts: 79 Location: Saudi Arabia
|
Posted: Thu Jul 19, 2012 6:18 am Post subject: need help making a trainer |
|
|
ok so i got the X Y Z coordinates of an fps game. they are fully editable and working. I've got the addresses but heres what I need to do:
When I press the jump button, the Z-coordinate address increases by a large number. In other words I want to create a fly hack. I tried the debugger but lots of addresses come up and it confuses me. I'll give more details if I get a response.
|
|
| Back to top |
|
 |
Csimbi I post too much
Reputation: 97
Joined: 14 Jul 2007 Posts: 3336
|
Posted: Thu Jul 19, 2012 4:47 pm Post subject: |
|
|
I'd advise you to follow up on it yourself - you'll benefit from the knowledge and the experience in the long run.
Focus on the code pieces that write the Z coordinate while the player is falling after a jump.
Then, you need to find either:
- a) a code piece that writes only the player's Z coordinate, or,
- b) one code piece that writes the Z coordinate while the player's addressed can be found in a register or at and address easily accessible.
If you found a), bingo. Add a hotkey of your own using GetAsyncKeyState and do whatever you want with the coordinate (freeze, increase, decrease, etc).
If you found b), you'll need to find another piece of code the retrieve the player's pointer - which should not be hard in FPS games. Store that pointer and compare it with the one in the Z coordinate update code. If they match, again, add your own code.
Good luck!
|
|
| Back to top |
|
 |
coolman++ Advanced Cheater
Reputation: -1
Joined: 19 Jul 2012 Posts: 79 Location: Saudi Arabia
|
Posted: Fri Jul 20, 2012 12:05 pm Post subject: .. |
|
|
thanks dude! the hotkey feature worked perfectly! i set a hotkey to move upon the vertical (y) axis and one for the horizontal (x) axis. As for the jump, i set an "increase by 300" hotkey. I don't have the skill for the Sync state thingy yet though. I killed two birds with one stone, as this helped me figure how to walk through walls as well
Theres only one small problem. For the jump, gravity pulls me back down. There are some maps like Fallen in which there is an invisible layer you can walk on that makes you look like you are floating. But on other maps, if you do a high enough jump (more than 300 float units), you take falling damage and die. I've found one work-around, to pause the game during your fall, then manually change Z's value to ground level. On the ps3 version of the game you can get a perk called Dead silence pro which comes with no falling damage but I can't do it on PC. I need to know how to find the value of gravity! Idk if this would require me to start a new topic. Thanks alot for your help!
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25831 Location: The netherlands
|
Posted: Fri Jul 20, 2012 1:15 pm Post subject: |
|
|
Most games store the acceleration vector near the position. Freezing the acceleration of the z axis might help
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
coolman++ Advanced Cheater
Reputation: -1
Joined: 19 Jul 2012 Posts: 79 Location: Saudi Arabia
|
Posted: Sat Jul 21, 2012 12:27 am Post subject: worked |
|
|
Cool a message from the site admin
found it! i jumped, paused the game when i was in mid air, clicked "find out what writes to this address", resumed game, paused right before i hit the ground, and YES! for the first time there was only ONE command thingy there, so i did "replace with code that does nothing", and now i can float like in the map Fallen!
In the trainer there's no option for "Replace with code that does nothing", only hotkeys. It seems I have to learn LUA for that :""(. Anyone got links for that?
Thanks guys, there have been many people requesting flyhack on youtube so i need the trainer for them (they're too stupid to do nop themselves)
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25831 Location: The netherlands
|
Posted: Sat Jul 21, 2012 5:01 am Post subject: |
|
|
Just use an auto assembler script
| Code: |
[enable]
address:
nop
nop
nop
nop
nop
nop
[disable]
address:
db 11 22 33 44 55 66
|
Add this to your cheat table, assign a hotkey to it, and the trainerscript generator will add it
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
coolman++ Advanced Cheater
Reputation: -1
Joined: 19 Jul 2012 Posts: 79 Location: Saudi Arabia
|
Posted: Sat Jul 21, 2012 8:41 am Post subject: .. |
|
|
Thanks dude.. The enable works fine, but the disable causes the game to crash. Here's what I got:
[enable]
0062AEAD:
nop
nop
nop
[disable]
0062AEAD:
db 11 22 33
Edit: never mind this is what i did and it worked!
[enable]
0062AEAD:
nop
nop
nop
[disable]
0062AEAD:
fstp dword ptr [ebx+08]
So... are you gonna lock this topic up or something now?
|
|
| Back to top |
|
 |
Csimbi I post too much
Reputation: 97
Joined: 14 Jul 2007 Posts: 3336
|
Posted: Sat Jul 21, 2012 10:09 am Post subject: |
|
|
Dark Byte gave you a skeleton to NOP out a certain instruction.
Make sure you add the right amount of NOPs on enable and restore all changed instructions on disable.
I have not seen topics being locked in the past just because they solved a problem. So, I guess the answer is no.
|
|
| Back to top |
|
 |
|