memory
Lets you read and write memory.
Last updated
Lets you read and write memory.
Last updated
memory.readFloat(address)
address
- The address you want to read from
Returns the value of the float at the given address.
Example:
memory.writeFloat(address, value)
address
- The address you want to write to
value
- The value you want to write
Writes the value at the given address.
Example:
memory.readInt(address)
address
- The address you want to read from
Returns the value of the int at the given address.
Example:
memory.writeInt(address, value)
address
- The address you want to write to
value
- The value you want to write
Writes the value at the given address.
Example:
memory.readBytes(address, count)
address
- The address you want to write to
value
- The value you want to write
Reads an amount of bytes specified by count from the given address. Will return a list of bytes.
Example:
memory.writeBytes(address, bytes)
address
- The address you want to write the bytes to
bytes
- The byes you want to write
Writes the given bytes to the address. Page protection is taken care of for you.
Example:
memory.findSignature(pattern, [module])
pattern
- The byte pattern to try to find. Wildcards in the form of ? are allowed.
module
- The module in which to search by name. Optional. Defaults to iw3mp.exe!
Try find the given byte pattern and returns the address if found, 0 otherwise.
Example: