Lua:writeBytesLocal
Jump to navigation
Jump to search
function writeBytesLocal(Address, Byte1, Byte2, Byte3, ... )
function writeBytesLocal(Address, Table, Count )
Write the bytes to the given address in Cheat Engine's memory.
Note: The value written will be in the Cheat Engine process instead of the targeted process.
Function Parameters
function writeBytes(Address, Byte1, Byte2, Byte3, ... )
| Parameter | Type | Description |
|---|---|---|
| Address | CEAddressString or Integer | The address to write to |
| Byte1 | Integer | The first byte |
| Byte2 | Integer | The second byte |
| ... | Integer | All the other bytes (Max around 20) |
function writeBytes(Address, Table) Warning: Bugged in CE 6.1
| Parameter | Type | Description |
|---|---|---|
| Address | CEAddressString or Integer | The address to write to |
| Table | Table | A table consisting of integers to be written to |
See also
| Lua |
| Script Engine |
Related Functions
| Read Functions |
|---|
| readBytes |
| readSmallInteger |
| readInteger |
| readQword |
| readPointer |
| readFloat |
| readDouble |
| readString |
| Read Functions (Local Process) |
| readBytesLocal |
| readIntegerLocal |
| readQwordLocal |
| readPointerLocal |
| readFloatLocal |
| readDoubleLocal |
| readStringLocal |
| Write Functions |
| writeBytes |
| writeSmallInteger |
| writeInteger |
| writeQword |
| writeFloat |
| writeDouble |
| writeString |
| Write Functions (Local Process) |
| writeBytesLocal |
| writeIntegerLocal |
| writeQwordLocal |
| writeFloatLocal |
| writeDoubleLocal |
| writeStringLocal |
| Byte Table Conversions (Value → Byte Table) |
| wordToByteTable |
| dwordToByteTable |
| qwordToByteTable |
| floatToByteTable |
| doubleToByteTable |
| stringToByteTable |
| wideStringToByteTable |
| Byte Table Conversions (Byte Table → Value) |
| byteTableToWord |
| byteTableToDword |
| byteTableToQword |
| byteTableToFloat |
| byteTableToDouble |
| byteTableToString |
| byteTableToWideString |