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 


How to prevent assess violation when cmp

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
fffffaaaaa
How do I cheat?
Reputation: 0

Joined: 20 Nov 2012
Posts: 7

PostPosted: Wed Nov 02, 2016 9:55 am    Post subject: How to prevent assess violation when cmp Reply with quote

I'm trying to test the following for a game built with some script engine

cmp dword ptr [edi+890], 0x89A3

but the address sometimes is unaccessible, and causes violation crash. is there a way to prevent such violation and skip the code in assembly? thanks!
Back to top
View user's profile Send private message
STN
I post too much
Reputation: 43

Joined: 09 Nov 2005
Posts: 2676

PostPosted: Wed Nov 02, 2016 1:42 pm    Post subject: Reply with quote

Check if the address is correct before accessing?
_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
Back to top
View user's profile Send private message
fffffaaaaa
How do I cheat?
Reputation: 0

Joined: 20 Nov 2012
Posts: 7

PostPosted: Wed Nov 02, 2016 2:50 pm    Post subject: Reply with quote

The address is valid, just not accessible, i.e. [edi+890] shown as ?? in memory view, so the game crashes.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming 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