Difference between revisions of "Lua:readStringLocal"
Jump to navigation
Jump to search
(→Related Functions) |
m (moved readStringLocal to Lua:readStringLocal) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | '''function''' readStringLocal(''Address'', ''Maxlength'', ''isWideString'') | + | [[Category:Lua]] |
+ | '''function''' readStringLocal(''Address'', ''Maxlength'', ''isWideString'') ''':''' string | ||
Reads the bytes at the given address, in Cheat Engine's memory, and interprets them as a string. | Reads the bytes at the given address, in Cheat Engine's memory, and interprets them as a string. | ||
Line 25: | Line 26: | ||
− | + | {{LuaSeeAlso}} | |
− | |||
− | |||
=== Related Functions === | === Related Functions === | ||
Line 33: | Line 32: | ||
* [[utf8ToAnsi]] | * [[utf8ToAnsi]] | ||
* [[translate]] | * [[translate]] | ||
− | + | {{ReadWriteMemory}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 00:03, 25 January 2018
function readStringLocal(Address, Maxlength, isWideString) : string
Reads the bytes at the given address, in Cheat Engine's memory, and interprets them as a string.
Note: The bytes read are from the Cheat Engine process instead of the targeted process.
Function Parameters[edit]
Parameter | Type | Description |
---|---|---|
Address | CEAddressString or Integer | The address to read |
Maxlength | Integer | The maximum number of characters to read. If the string does not have a 0-terminator this will be the length of the string returned |
isWideString | Boolean | Determines if this string is read out as a widestring or a normal ascii string |
See also[edit]
Related Functions[edit]
- ansiToUtf8
- utf8ToAnsi
- translate
- readBytes
- readSmallInteger
- readInteger
- readQword
- readPointer
- readFloat
- readDouble
- readString
- writeBytes
- writeSmallInteger
- writeInteger
- writeQword
- writeFloat
- writeDouble
- writeString
- readBytesLocal
- readIntegerLocal
- readQwordLocal
- readPointerLocal
- readFloatLocal
- readDoubleLocal
- readStringLocal
- writeBytesLocal
- writeIntegerLocal
- writeQwordLocal
- writeFloatLocal
- writeDoubleLocal
- writeStringLocal
- wordToByteTable
- dwordToByteTable
- qwordToByteTable
- floatToByteTable
- doubleToByteTable
- stringToByteTable
- wideStringToByteTable
- byteTableToWord
- byteTableToDword
- byteTableToQword
- byteTableToFloat
- byteTableToDouble
- byteTableToString
- byteTableToWideString