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 


Is there a method to force stop an address write?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Autem
Expert Cheater
Reputation: 1

Joined: 30 Jan 2023
Posts: 118

PostPosted: Thu May 11, 2023 7:29 pm    Post subject: Is there a method to force stop an address write? Reply with quote

I've run into one of those situations where I want to manipulate an address but it gets written to and access by a LOT of instructions constantly. Those instructions also access a lot of other addresses.

I need this address to stay a specific number I decide.

Attempts to make AA scripts with compares that only let my change kick in when an offset reliably matches the exact address I want, make the game either crash or slow down to a crawl, depending on the manner in which I try. I guess because there's SO many addresses all going thru at once.

What should I be trying to do at this point? Normally I can at least get some kind of compare to weed out the unwanted addresses being sent through but this one I guess is wayyy too many?

Any way to FORCE stop a specific address from accepting a write? Something constant, not just a freeze which still temporarily accepts the unwanted write for a few milliseconds.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Fri May 12, 2023 12:04 am    Post subject: Reply with quote

code injection and just compare if the address being written is the address you want to block writing and if so skip the write
_________________
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
Autem
Expert Cheater
Reputation: 1

Joined: 30 Jan 2023
Posts: 118

PostPosted: Fri May 12, 2023 12:42 am    Post subject: Reply with quote

Dark Byte wrote:
code injection and just compare if the address being written is the address you want to block writing and if so skip the write


But it seems so much info is going thru it, when I tried compares, I had mixed results of either a crash or the game slowing down to a crawl because so much is thru it. Similar to how if you check to see what addresses an instruction accesses and if it has a ton, the whole system slows down while it's reading them.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Fri May 12, 2023 2:50 am    Post subject: Reply with quote

Check your code, as a compare like this will hardly cause any slowdown or crash
Code:

push rax
lea rax,[addresspart]
cmp rax,[addresstocomparewith]
pop rax
je skip
....

skip:

_________________
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
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