justAfaker CT Info & LUA Scripts

A section for guides, manuals, and walkthroughs on how to use Cheat Engine functions and advanced features.


Post Reply
User avatar
justAfaker
Table Maker
Table Maker
Novice Hacker
Novice Hacker
Posts: 28
Joined: Mon Oct 24, 2022 8:52 pm
x 13

justAfaker CT Info & LUA Scripts

Post by justAfaker »

== Color Style
White = Folder/info/other
Orange = Script
Pink = Script Folder
Blue = Enable-only Script
Green = Pointer/value
Red = Broken/unstable

== Assembly Scripts

  • Open in assembly (Ctrl + Alt + A) and save to table (File → Assign to current cheat table)

autoAttach.LUA
(535 Bytes) Downloaded 10 times

Change PROCESS = ".exe" to name in process list
If using Unity, uncomment LaunchMonoDataCollector()

== Autorun Scripts

  • Save to Cheat Engine autorun directory (C:\Program Files\Cheat Engine 7.4\autorun)

  • Relaunch Cheat Engine

  • Note: Put {$lua} for LUA functions, and end with {$asm}

getMethodBySignature.LUA
(795 Bytes) Downloaded 10 times

getMethodBySignature(className: string OR number, methodName: string, signature: string): any
Use for methods that share the same name. Note: Does not need the full signature, only needs the differences.
Signatures are the value types of the function in the () in Dissect mono. EX: OpenDoor(front: bool, delay: single)
EX: getInventoryMethod = getMethodBySignature("Inventory", ".ctor", "InventoryType, single, single")

fireMonoMethod.LUA
(908 Bytes) Downloaded 10 times

fireMonoMethod(className: string, methodName: string, args: table{any}): any
Easier way to call functions.
EX: valueReturned = fireMonoMethod("SaveManager", "get_playerData", {100, true})

fireMonoMethodBySignature.LUA
(1018 Bytes) Downloaded 8 times

fireMonoMethodBySignature(className: string, methodName: string, args: table{any}, signature: string): any
Ditto above but with signature.
EX: valueReturned = fireMonoMethodBySignature("SaveManager", "get_playerData", {100, true}, "bool, single")


Tags:
Moved from General Discussions to Guides & Manuals on Sun Oct 30, 2022 2:40 am by Marcus101RR

Post Reply