| View previous topic :: View next topic |
| Author |
Message |
thefreestyle Cheater
Reputation: 0
Joined: 29 Oct 2015 Posts: 35
|
Posted: Mon Dec 05, 2016 2:01 pm Post subject: Address of value not shown in dissect structure |
|
|
Hi,
Probably stupid question but i cant figure it out ...
I found instruction i wish to modify and dissected memory address i found via "Found out what addresses this instruction accesses". But for some reason i can not see that address in the dissect structure window at the expected offset. And the specifics : the instruction is "add [eax+000001E7],edx",
the address this instruction modifies is "8B8314F" and the value is "0".
Im opening dissect structure window with value "08B82F68" (which is 8B8314F-1E7). Now my expectation is to scroll down to offset "1E7" and find the address "8B8314F" and value "0". Thing is there is no offset "1E7" and no address"8B8314F" .. there is an offset "1E4" and "1E8". What am i missing ??
Attaching pic with above example
Thanks,
| Description: |
|
| Filesize: |
111.6 KB |
| Viewed: |
7222 Time(s) |

|
|
|
| Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Mon Dec 05, 2016 7:24 pm Post subject: |
|
|
Structure dissect only does its best guess.
It doesn't actually know how the game uses each variable.
Press INSERT and add a new 1-byte entry for offset 1E7.
|
|
| Back to top |
|
 |
thefreestyle Cheater
Reputation: 0
Joined: 29 Oct 2015 Posts: 35
|
Posted: Wed Dec 14, 2016 1:10 pm Post subject: |
|
|
| Is there a way to make cheat engine to show offsets by steps of 1 and not by 4 in the data dissect window ? That way i could see all the offsets and will not need to add manually
|
|
| Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Wed Dec 14, 2016 1:35 pm Post subject: |
|
|
Do it once manually, then press INSERT and ENTER repeatedly.
Or, press Ctrl+Alt+L and execute this script first: | Code: | onAutoGuess(function(address, ceguess)
return vtByte
end) |
|
|
| Back to top |
|
 |
thefreestyle Cheater
Reputation: 0
Joined: 29 Oct 2015 Posts: 35
|
Posted: Sun Dec 25, 2016 12:18 pm Post subject: |
|
|
Hi Zanzer,
Thanks for help but i'm unable to execute the script you suggested. Could you please explain in more detail how it should be done ??
|
|
| Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Sun Dec 25, 2016 12:30 pm Post subject: |
|
|
Select the one entry that you manually changed to 1-byte.
Press CTRL+C to copy the entry.
Hold CTRL+V to paste it over and over as it automatically increments the address by 1.
|
|
| Back to top |
|
 |
thefreestyle Cheater
Reputation: 0
Joined: 29 Oct 2015 Posts: 35
|
Posted: Sun Dec 25, 2016 12:48 pm Post subject: |
|
|
Ok, managed that way.
But that raises another question ...
Can i do the same +1 offset but keep 4 Bytes type instead 1 ?
|
|
| Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Sun Dec 25, 2016 9:37 pm Post subject: |
|
|
That wouldn't be beneficial at all.
| Code: | 0A 01 00 00 01 02 03 04
+00 |_________| | | == 0000010A == 266
+01 |_________| | == 01000001 == 16777217
+02 |_________| == 02010000 == 33619968
|
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25812 Location: The netherlands
|
Posted: Mon Dec 26, 2016 2:45 am Post subject: |
|
|
you can also create and populate existing structures with lua and fill them any way you like. and then export them to disk and load them back any other day.
i can't currently post such a script as i'm on my phone for the next few days but perhaps someone here can do that
_________________
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 |
|
 |
thefreestyle Cheater
Reputation: 0
Joined: 29 Oct 2015 Posts: 35
|
Posted: Mon Apr 29, 2019 11:08 am Post subject: |
|
|
Hi everybody,
Im sorry to raise this post from the time ashes, but after all this time im still struggling with this issue, and its easier to reply to this post then explain all over.
Basically the problem is when im looking for human controlled unit while dissecting data structure in cheat engine. Many times my cheat wont work perfectly because i didn't find the correct offset that differentiates between human and ai. After looking in other cheat tables i see that the correct offset is between the offsets i presented by cheat engine's default 4 byte spacing, for example in data dissect i see +c4, +c8 etc and correct value was at +c5 which is not shown.
So how can i find those offsets ? how others do manage to find them ? How would you handle those situations ?
Any insights would be greatly appreciated !
|
|
| Back to top |
|
 |
|