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 highlight changed values in the memory viewer?

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

Joined: 29 Jan 2018
Posts: 18

PostPosted: Wed Jan 31, 2018 3:57 pm    Post subject: How to highlight changed values in the memory viewer? Reply with quote

The game I'm editing is in fullscreen, so I have to alt+tab every time to check which values change in the Cheat Engine. The memory viewer highlights in red the values that have changed in real time, but the problem is, after I alt+tab the highlight quickly fades out and I'm unable to see which values have changed.

Is there any way to make the highlights permanent, or to make them flash again somehow?
Back to top
View user's profile Send private message
FreeER
Grandmaster Cheater Supreme
Reputation: 53

Joined: 09 Aug 2013
Posts: 1091

PostPosted: Wed Jan 31, 2018 4:18 pm    Post subject: Reply with quote

Right click "change fade timer", max is 2147483647 / 0x7FFFFFFF (anything larger becomes negative) but that's still 24.85 days if I did the math right Laughing

Though one thing I noticed was that if you let it fade and then increase the timer the faded highlights will return...closing the window and reopening it seems to clear the history though. edit: hm, so does scrolling, not what I would have expected.
Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1587

PostPosted: Wed Jan 31, 2018 4:37 pm    Post subject: Reply with quote

as the user above mentioned change the fade time, default is 1000ms which is 1 second.

but if you mean like you wanna see the previous value and the current value, then you might need a script for that.

see whats writing to that address, hook that instruction and add this:

Code:
script removed sorry, ill add it once its fixed.


and now its fixed, check it.

_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.


Last edited by OldCheatEngineUser on Wed Jan 31, 2018 5:16 pm; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website
Golokopitenko
Newbie cheater
Reputation: 0

Joined: 29 Jan 2018
Posts: 18

PostPosted: Wed Jan 31, 2018 4:45 pm    Post subject: Reply with quote

Thank you very much for these replies! This has made my work much easier!
Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1587

PostPosted: Wed Jan 31, 2018 4:46 pm    Post subject: Reply with quote

wait dont use it, ill fix it .. there is an issue with it.
_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
Back to top
View user's profile Send private message Visit poster's website
FreeER
Grandmaster Cheater Supreme
Reputation: 53

Joined: 09 Aug 2013
Posts: 1091

PostPosted: Wed Jan 31, 2018 4:48 pm    Post subject: Reply with quote

For just a before and after you could also use the data dissector by putting the address twice and then locking one of them so that it's copied to another place in memory.

Could also do that manually in several ways (including saving to a file).

To actually record all the changes that occur... that I'm not sure how to do, beyond 4 bytes anyways (<=4 and it can be done with a breakpoint and some lua code).

Most of those avoid changing code which could be detected by anti-cheats (or simply be difficult to due to the code accessing multiple values), or just accidentally forgetting something when making the hook and crashing the game lol
Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1587

PostPosted: Wed Jan 31, 2018 5:13 pm    Post subject: Reply with quote

i agree with Free, you can use dissect data / structure and add the address twice.

- first to be locked
- second to compare

ok here is the fixed script:

Code:
newmem:
push edx
mov edx,[dest] // replace dest with the original instruction destination parameter
mov [PreviousValue],edx
pop edx
// put the original instruction here
push edx
mov edx,[dest] // replace dest with the original instruction destination
cmp [PreviousValue],edx
jnz ChangedValue
pop edx
jmp return

ChangedValue:
mov [NewValue],edx
pop edx
jmp return

PreviousValue:
dd 0

NewValue:
dd 0


you might wish to registersymbol NewValue & PreviousValue and add them to your address-list.

_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
Back to top
View user's profile Send private message Visit poster's website
Golokopitenko
Newbie cheater
Reputation: 0

Joined: 29 Jan 2018
Posts: 18

PostPosted: Thu Feb 01, 2018 5:49 am    Post subject: Reply with quote

Ummm... To be honest I've no idea how to use scripts in CE. Could you point me to some tutorial? And what does your script do, exactly?
Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1587

PostPosted: Thu Feb 01, 2018 12:08 pm    Post subject: Reply with quote

see cheat engine wiki
_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
Back to top
View user's profile Send private message Visit poster's website
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