Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


trying to hack walls collision detection

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
mbabo
Advanced Cheater
Reputation: 0

Joined: 30 Jul 2016
Posts: 74

PostPosted: Sat Sep 10, 2016 2:54 am    Post subject: trying to hack walls collision detection Reply with quote

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 Sad

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 Smile



QB.png
 Description:
 Filesize:  569.75 KB
 Viewed:  12085 Time(s)

QB.png


Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25788
Location: The netherlands

PostPosted: Sat Sep 10, 2016 3:14 am    Post subject: Reply with quote

go to checkwall+0 and try this code:
Code:
 
xor rax. rax
ret

_________________
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
View user's profile Send private message MSN Messenger
mbabo
Advanced Cheater
Reputation: 0

Joined: 30 Jul 2016
Posts: 74

PostPosted: Sat Sep 10, 2016 3:34 am    Post subject: Reply with quote

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 Laughing thank you

i attached the code from the start



2.png
 Description:
 Filesize:  516.18 KB
 Viewed:  12072 Time(s)

2.png


Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25788
Location: The netherlands

PostPosted: Sat Sep 10, 2016 4:43 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
mbabo
Advanced Cheater
Reputation: 0

Joined: 30 Jul 2016
Posts: 74

PostPosted: Sat Sep 10, 2016 4:59 am    Post subject: Reply with quote

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
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Sat Sep 10, 2016 10:12 am    Post subject: Reply with quote

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
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sat Sep 10, 2016 12:48 pm    Post subject: Reply with quote

I'm curious if he even noticed the RET command after the XOR.
Code:
xor rax,rax
ret

Anyway, do a break and trace on that function and show us the code at the end.
Back to top
View user's profile Send private message
akumakuja28
Master Cheater
Reputation: 16

Joined: 28 Jun 2015
Posts: 432

PostPosted: Sat Sep 10, 2016 8:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
mbabo
Advanced Cheater
Reputation: 0

Joined: 30 Jul 2016
Posts: 74

PostPosted: Sun Sep 11, 2016 12:21 pm    Post subject: Reply with quote

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 Shocked but it gets the job done .

thanks again .
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites