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 modify address list headers (THeaderSections)?

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

Joined: 22 Jun 2019
Posts: 13

PostPosted: Thu Jul 25, 2019 3:39 am    Post subject: How to modify address list headers (THeaderSections)? Reply with quote

Address list has sections in the header - Active, Description, Address, Type, Value.
Let's say I want to remove Address section or add some new one, how can I do it?
I tried to use functions and properties from THeaderSections documentation, but it seems they aren't published and inacessible from lua.
Code:

-- also, is there a better way to get address list headers?
-- it's not published property either, so I use .Control[1]
local headers = getAddressList().Control[1]
local props = getPropertyList(headers.Sections)
if props then
  for i=0,props.Count-1 do print(props[i]) end
else 
  print('no published properties')
end
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Thu Jul 25, 2019 5:19 am    Post subject: Reply with quote

it's not published. I'll add it for next version
(You could of course use low level method calls using assembly, but I don't recommend that way)

_________________
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
nexnex
Newbie cheater
Reputation: 0

Joined: 22 Jun 2019
Posts: 13

PostPosted: Thu Jul 25, 2019 5:58 am    Post subject: Reply with quote

Thank you.
I just realized that adding sections is much more involved process.
I can access values of the existing sections with memrec.Description, memrec.Value and such.
But how would I access newly created section values? That would require something like memrec.get/setCustomField(name, value) and code for displaying it in address list.
I'm not sure it's worth the trouble.

However, ability to hide existing sections would still be welcome.
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