Difference between revisions of "Lua:autoAssemble"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | '''function''' autoAssemble(''AutoAssemblerScript'') | + | '''function''' autoAssemble(''AutoAssemblerScript'', ''TargetSelf'' OPTIONAL) |
Executes the given string by ce's auto assembler. | Executes the given string by ce's auto assembler. | ||
Line 29: | Line 29: | ||
|String | |String | ||
|The script to execute by the auto assembler | |The script to execute by the auto assembler | ||
+ | |- | ||
+ | |TargetSelf | ||
+ | |Boolean | ||
+ | |When set to true the autoassembler will assemble the given script in Cheat Engine's address space instead of the target process. | ||
|} | |} | ||
Revision as of 14:34, 12 April 2012
function autoAssemble(AutoAssemblerScript, TargetSelf OPTIONAL)
Executes the given string by ce's auto assembler.
tip: Use [[ ]] quotes for multiline script.
Example:
autoAssemble([[ alloc(myscript) label(returnhere) myscript: mov eax,123 jmp returnhere 00400500: jmp myscript returnhere: ]])
Function Parameters
Parameter | Type | Description |
---|---|---|
AutoAssemblerScript | String | The script to execute by the auto assembler |
TargetSelf | Boolean | When set to true the autoassembler will assemble the given script in Cheat Engine's address space instead of the target process. |