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 


lua code of "show as hexadecimal"

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
Pharaoh_sxh
How do I cheat?
Reputation: 0

Joined: 14 Jul 2014
Posts: 5

PostPosted: Mon Jul 14, 2014 7:31 am    Post subject: lua code of "show as hexadecimal" Reply with quote

In my lua script I want to have such a function:

[code]
herohead=Rec_table.createMemoryRecord()
herohead.appendToEntry(herolabel) --chlid of herolabel
herohead.setDescription(hero_desc)
herohead.setAddress(addr_herolist[i])
herohead.Type=vtByteArray
herohead.Aob.Size=4
herohead.value.show = "hexadecimal" --Imaging code, not real
[/code]

I searched the whole forum, and didn't find solution. someone helps?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Mon Jul 14, 2014 7:38 am    Post subject: Reply with quote

it's an undocumented feature:
herohead.ShowAsHex=true

for those wondering about other undocumented stuff:
https://code.google.com/p/cheat-engine/source/browse/trunk/Cheat%20Engine/MemoryRecordUnit.pas#220
everything in the published section is accessible from lua

_________________
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
Pharaoh_sxh
How do I cheat?
Reputation: 0

Joined: 14 Jul 2014
Posts: 5

PostPosted: Tue Jul 15, 2014 3:33 pm    Post subject: Reply with quote

Thanks! CE is developed with delphi?
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8517
Location: 127.0.0.1

PostPosted: Tue Jul 15, 2014 3:54 pm    Post subject: Reply with quote

Pharaoh_sxh wrote:
Thanks! CE is developed with delphi?


Yes, it is also open source and can be found here:
https://code.google.com/p/cheat-engine/

_________________
- Retired.
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 Lua Scripting 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