| View previous topic :: View next topic |
| Author |
Message |
mbabo Advanced Cheater
Reputation: 0
Joined: 30 Jul 2016 Posts: 74
|
Posted: Sat Sep 10, 2016 2:54 am Post subject: trying to hack walls collision detection |
|
|
hello , i have been using ultimap to find wich code executes when i try to go an touch a wall .
i found the following in the attachment there ware 4 codes and named by wall
check
i tried to nop them 1 by 1 but there is still collision i cant go through walls
and if i nop them all at once the game crashes
am doing this to increase my learning in CE please anybody help ??
i tried also finding player Z,X,Y and i tried to find out what accesses them
and not yet i cant to go through walls
please help  |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25819 Location: The netherlands
|
Posted: Sat Sep 10, 2016 3:14 am Post subject: |
|
|
go to checkwall+0 and try this code:
_________________
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 |
|
 |
mbabo Advanced Cheater
Reputation: 0
Joined: 30 Jul 2016 Posts: 74
|
Posted: Sat Sep 10, 2016 3:34 am Post subject: |
|
|
i tried there is no checkwall+0 there is only check wall and afterwards +7
i dont know if it makes any diffrance i tried the code but cheat engine gave me a massage "i dont understand what you mean xor rax. rax "
could you please explain more thank you
i attached the code from the start |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25819 Location: The netherlands
|
Posted: Sat Sep 10, 2016 4:43 am Post subject: |
|
|
Sorry, should be xor rax,rax
What it does is make that function return false
But more may be needed. It depends on the parsmetets to that function. (E.g could have an out parameter instead of a return value) _________________
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 |
|
 |
mbabo Advanced Cheater
Reputation: 0
Joined: 30 Jul 2016 Posts: 74
|
Posted: Sat Sep 10, 2016 4:59 am Post subject: |
|
|
| Dark Byte wrote: | Sorry, should be xor rax,rax
What it does is make that function return false
But more may be needed. It depends on the parsmetets to that function. (E.g could have an out parameter instead of a return value) |
I TRIED xor rax,rax BUT THE GAME CRASHES AFTER MOVING THE PLAYER :/
OMG I FEEL DISSY ITS BEEN 5 HOURS OF TRAIL AND ERROR LOL
IS THERE ANY OTHER WAY TO DISABLE COLLISION ? |
|
| Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Sat Sep 10, 2016 10:12 am Post subject: |
|
|
Your original idea should work. Find player coordinates and NOP all instructions that access them, one-by-one, until you find what you're looking for. You may fall through the floor while doing this, so set up hotkeys to freeze Y axis as needed.
If you are not able to find it, be sure that you have the correct addresses for coordinates. |
|
| Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Sat Sep 10, 2016 12:48 pm Post subject: |
|
|
I'm curious if he even noticed the RET command after the XOR.
Anyway, do a break and trace on that function and show us the code at the end. |
|
| Back to top |
|
 |
akumakuja28 Master Cheater
Reputation: 16
Joined: 28 Jun 2015 Posts: 432
|
Posted: Sat Sep 10, 2016 8:54 pm Post subject: |
|
|
1 and 0 is best bet for a search.
Stand away from a wall search 0.
Walk into a wall and search 1.
Back track the flag. _________________
|
|
| Back to top |
|
 |
mbabo Advanced Cheater
Reputation: 0
Joined: 30 Jul 2016 Posts: 74
|
Posted: Sun Sep 11, 2016 12:21 pm Post subject: |
|
|
ok guys thank you all , i have managed to hack walls after finding the Z axis
dissecting structure the +20 offset of the Z axis adresss found out to be float
with fixed value of 0.0125..... very small number if i set it to 0 it will allow me to dive slowly while walking LOL but it gets the job done .
thanks again . |
|
| Back to top |
|
 |
|