Difference between revisions of "Lua:autoAssemble"
Jump to navigation
Jump to search
(OAuKhhMzodBlHWoEp) |
m (Reverted edits by 84.243.24.18 (Talk) to last revision by Dark Byte) |
||
| Line 1: | Line 1: | ||
| − | + | '''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=== | ||
| + | {|width="85%" cellpadding="10%" cellpadding="5%" cellspacing="0" border="0" | ||
| + | !align="left"|Parameter | ||
| + | !align="left"|Type | ||
| + | !style="width: 80%;background-color:white;" align="left"|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. | ||
| + | |} | ||
| + | |||
| + | |||
| + | == See also == | ||
| + | * [[Lua]] | ||
Revision as of 18:49, 15 May 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. |