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 


Address of value not shown in dissect structure

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
thefreestyle
Cheater
Reputation: 0

Joined: 29 Oct 2015
Posts: 35

PostPosted: Mon Dec 05, 2016 2:01 pm    Post subject: Address of value not shown in dissect structure Reply with quote

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,



ceData.PNG
 Description:
 Filesize:  111.6 KB
 Viewed:  7226 Time(s)

ceData.PNG


Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Mon Dec 05, 2016 7:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
thefreestyle
Cheater
Reputation: 0

Joined: 29 Oct 2015
Posts: 35

PostPosted: Wed Dec 14, 2016 1:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Wed Dec 14, 2016 1:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
thefreestyle
Cheater
Reputation: 0

Joined: 29 Oct 2015
Posts: 35

PostPosted: Sun Dec 25, 2016 12:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sun Dec 25, 2016 12:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
thefreestyle
Cheater
Reputation: 0

Joined: 29 Oct 2015
Posts: 35

PostPosted: Sun Dec 25, 2016 12:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sun Dec 25, 2016 9:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Mon Dec 26, 2016 2:45 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
thefreestyle
Cheater
Reputation: 0

Joined: 29 Oct 2015
Posts: 35

PostPosted: Mon Apr 29, 2019 11:08 am    Post subject: Reply with quote

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