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 


[HELP] having trouble with movzx

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

Joined: 17 May 2016
Posts: 95
Location: orderandhacks

PostPosted: Sat Dec 03, 2016 1:30 am    Post subject: [HELP] having trouble with movzx Reply with quote

im dealing with a movzx which is controlling a Boolean for built in god mode

Example:
movzx eax,byte ptr [eax+11]

Whenever I change it to mov [eax+11],1 it doesn't work I can activate it no problem but there's no effect at all

_________________
Another Day, Another Hack.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mgr.inz.Player
I post too much
Reputation: 222

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Sat Dec 03, 2016 4:13 am    Post subject: Reply with quote

Code:
mov byte ptr [eax+11],1
movzx eax,byte ptr [eax+11]

_________________
Back to top
View user's profile Send private message MSN Messenger
johnkittz
Advanced Cheater
Reputation: 0

Joined: 17 May 2016
Posts: 95
Location: orderandhacks

PostPosted: Sat Dec 03, 2016 4:24 am    Post subject: Reply with quote

Still Won't work i know for a FACT i have the right address....Could there be anything stopping it from being set to 1?
_________________
Another Day, Another Hack.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Sat Dec 03, 2016 4:38 am    Post subject: Reply with quote

check the code after it. perhaps it writes right after that read
_________________
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
johnkittz
Advanced Cheater
Reputation: 0

Joined: 17 May 2016
Posts: 95
Location: orderandhacks

PostPosted: Sat Dec 03, 2016 7:28 pm    Post subject: Reply with quote

The Instruction after the movzx is a leave


_________________
Another Day, Another Hack.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sat Dec 03, 2016 7:38 pm    Post subject: Reply with quote

The code is movzx eax,byte ptr [eax+0E]
Why are you using eax+11?
Back to top
View user's profile Send private message
johnkittz
Advanced Cheater
Reputation: 0

Joined: 17 May 2016
Posts: 95
Location: orderandhacks

PostPosted: Sat Dec 03, 2016 8:15 pm    Post subject: Reply with quote

i used 11 as an example
_________________
Another Day, Another Hack.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sat Dec 03, 2016 8:35 pm    Post subject: Reply with quote

Well there are only so many possibilities.

You wrote the code wrong in your injection.
The game doesn't execute that instruction anyway.
Some other code is changing the value back.

Show us your actual code.
Debug the instruction. Is it executing?
Debug the 1-byte variable. Is something accessing it?
Back to top
View user's profile Send private message
johnkittz
Advanced Cheater
Reputation: 0

Joined: 17 May 2016
Posts: 95
Location: orderandhacks

PostPosted: Sat Dec 03, 2016 9:00 pm    Post subject: Reply with quote

when i found it in DNSpy and Turned it to True it worked, i'm almost 100% positive it executes


_________________
Another Day, Another Hack.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sat Dec 03, 2016 9:58 pm    Post subject: Reply with quote

Right-click the instruction and find out what addresses this instruction accesses.
Anything popping up when you get attacked?

For all we know, the game has some other instruction within some DoDamage() function that checks this value.
Just because you set it to 1 and it worked, doesn't mean the game is running DeviceSettings:get_DebugGodMode()
Back to top
View user's profile Send private message
mgr.inz.Player
I post too much
Reputation: 222

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Sun Dec 04, 2016 4:10 am    Post subject: Reply with quote

Any other methods (or variables) which name contains "godmode" string?
_________________
Back to top
View user's profile Send private message MSN Messenger
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