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 Range Freeze

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
KianBrose
Newbie cheater
Reputation: 0

Joined: 14 May 2021
Posts: 14
Location: Sweden

PostPosted: Tue Sep 14, 2021 9:58 am    Post subject: How to Range Freeze Reply with quote

I am currently facing a problem where I need to freeze a value between a specific range, I have found how to allow freezing in a single direction but not in a range. Has this been implemented?
Back to top
View user's profile Send private message
DanyDollaro
Master Cheater
Reputation: 3

Joined: 01 Aug 2019
Posts: 334

PostPosted: Tue Sep 14, 2021 10:29 am    Post subject: Reply with quote

You can freez a big buffer using an array of bytes:


FreezBuffers.png
 Description:
 Filesize:  2.39 KB
 Viewed:  1168 Time(s)

FreezBuffers.png


Back to top
View user's profile Send private message
KianBrose
Newbie cheater
Reputation: 0

Joined: 14 May 2021
Posts: 14
Location: Sweden

PostPosted: Tue Sep 14, 2021 10:48 am    Post subject: Reply with quote

Could you describe how this could be used to freeze a single normal address in between a range?
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 140

Joined: 06 Jul 2014
Posts: 4289

PostPosted: Tue Sep 14, 2021 11:38 am    Post subject: Reply with quote

Well, I guess you could freeze individual bytes with that, but you can't exactly customize the range that much and saturating arithmetic won't work.

Use a Lua timer. Read the value, check lower/upper bounds, and write a new value if necessary.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
DanyDollaro
Master Cheater
Reputation: 3

Joined: 01 Aug 2019
Posts: 334

PostPosted: Tue Sep 14, 2021 11:54 am    Post subject: Reply with quote

Oh! Sorry! Now I understand what you mean, I thought you meant freeze a range of addresses.

As far as I know there is no builtin option that allows you to do this, but these are things you could implement in assembly and probably lua as well.

One of the easiest and crudest methods to implement would be to inject some code in order to detour any thread of the process and make them carry out the routine of reading and writing the value, and after doing that, put it back in the place where you got it (a simple code injection).

I apologize again for misunderstanding your request.
Back to top
View user's profile Send private message
KianBrose
Newbie cheater
Reputation: 0

Joined: 14 May 2021
Posts: 14
Location: Sweden

PostPosted: Tue Sep 14, 2021 12:09 pm    Post subject: Reply with quote

Oh alright, I assumed it already existed and I was just unable to find it. I'll use the lua method ParkourPenguin suggested while I wait for the range freeze to be implemented if it ever does get implemented
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