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 


Cheat Engine Forum Index
PostGo back to topic
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)

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
Post reviews:   Approve 2
Author Review
justa_dude
Review: Approve
Post reference:
ReviewPosted: Tue Apr 07, 2015 5:50 am

I'm not a huge Lua fan, but this sounds great!
Back to top
View user's profile Send private message
mgr.inz.Player
Review: Approve
Post reference:
ReviewPosted: Tue Apr 07, 2015 1:13 pm

like it
Back to top
View user's profile Send private message MSN Messenger
Display:  
Cheat Engine Forum Index


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites