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 


Dissect Structures Lua Scripting (new feature)

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source
View previous topic :: View next topic  
Author Message
tfigment
Advanced Cheater
Reputation: 2

Joined: 12 Oct 2012
Posts: 93

PostPosted: Tue Apr 07, 2015 1:27 am    Post subject: Dissect Structures Lua Scripting (new feature) This post has 2 review(s) Reply with quote

So I decided to hack on CE because I wanted a few features. Hopefully these will be sufficient.

Changes:
  1. Added LuaStructuresFrm for wrapping Dissect Structures Dialog
  2. Added enough methods to create and populate a new dialog
  3. Change how AutoStructures are populated for mono to allow lookups for child pointers when unknown and are mono related.

Source Patch file:
http://www.mediafire.com/download/robv4nay3nsuua4/Cheat_Engine-DissectStructuresLua-v1.patch

Please let me know if source files instead of a patch is better and if there is a better way of contributing code.

Testing Binaries and Table:
http://www.mediafire.com/download/c49172gld8u92ot/test.CT
http://www.mediafire.com/download/wlzsd03506fjgul/test-Game32-v1.7z

The test game is just a quick and dirty unity game using some free examples and some custom classes I added for testing mono quickly.

The CT file has 2 scripts. The first will use a simplified createstructuredialog with group and structure prefilled in. The second is more explicit and populates each piece using lua including the structure assignment. The structures are in the table and equal the test code in the binary linked.

These sort of go with my other changer in the monocollector thread:
http://forum.cheatengine.org/viewtopic.php?p=5587497#5587497
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Tue Apr 07, 2015 4:57 am    Post subject: Reply with quote

thanks. i'll check it out and will probably implement it assuming not too many conflicts (i havn't done much on this part the last few month except some removal of generic support, which fpc crashes too often on,so should be fine)

there's two thing i wish to get functional on android first(aarch64 and local debugging) but then i'll continue with the main ce and work towards a release

_________________
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
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Fri Jun 26, 2015 4:31 pm    Post subject: Reply with quote

I've applied this patch after doing quite some changes to it. (No methods for properties, fixed inheritance so no need to implement inherited methods, and properties are published so no need for extra code for 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
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source 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