View previous topic :: View next topic |
Author |
Message |
Golokopitenko Newbie cheater Reputation: 0
Joined: 29 Jan 2018 Posts: 18
|
Posted: Wed Jan 31, 2018 3:57 pm Post subject: How to highlight changed values in the memory viewer? |
|
|
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 |
|
|
FreeER Grandmaster Cheater Supreme Reputation: 53
Joined: 09 Aug 2013 Posts: 1091
|
Posted: Wed Jan 31, 2018 4:18 pm Post subject: |
|
|
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
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 |
|
|
OldCheatEngineUser Whateven rank Reputation: 20
Joined: 01 Feb 2016 Posts: 1587
|
Posted: Wed Jan 31, 2018 4:37 pm Post subject: |
|
|
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 |
|
|
Golokopitenko Newbie cheater Reputation: 0
Joined: 29 Jan 2018 Posts: 18
|
Posted: Wed Jan 31, 2018 4:45 pm Post subject: |
|
|
Thank you very much for these replies! This has made my work much easier!
|
|
Back to top |
|
|
OldCheatEngineUser Whateven rank Reputation: 20
Joined: 01 Feb 2016 Posts: 1587
|
Posted: Wed Jan 31, 2018 4:46 pm Post subject: |
|
|
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 |
|
|
FreeER Grandmaster Cheater Supreme Reputation: 53
Joined: 09 Aug 2013 Posts: 1091
|
Posted: Wed Jan 31, 2018 4:48 pm Post subject: |
|
|
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 |
|
|
OldCheatEngineUser Whateven rank Reputation: 20
Joined: 01 Feb 2016 Posts: 1587
|
Posted: Wed Jan 31, 2018 5:13 pm Post subject: |
|
|
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 |
|
|
Golokopitenko Newbie cheater Reputation: 0
Joined: 29 Jan 2018 Posts: 18
|
Posted: Thu Feb 01, 2018 5:49 am Post subject: |
|
|
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 |
|
|
OldCheatEngineUser Whateven rank Reputation: 20
Joined: 01 Feb 2016 Posts: 1587
|
Posted: Thu Feb 01, 2018 12:08 pm Post subject: |
|
|
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 |
|
|
|