Difference between revisions of "Lua:writeBytesLocal"

From Cheat Engine
Jump to navigation Jump to search
(no need to warn for obsolete CE builds)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
[[Category:Lua]]
 
'''function''' writeBytesLocal(''Address'', ''Byte1'', ''Byte2'', ''Byte3'', ... )
 
'''function''' writeBytesLocal(''Address'', ''Byte1'', ''Byte2'', ''Byte3'', ... )
  
Line 32: Line 33:
 
|}
 
|}
 
<br>
 
<br>
'''function''' writeBytes(''Address'', ''Table'') <span style="color:#ff0000">Warning: Bugged in CE 6.1</span>
+
'''function''' writeBytes(''Address'', ''Table'')  
 
{|width="85%" cellpadding="10%" cellpadding="5%" cellspacing="0" border="1"
 
{|width="85%" cellpadding="10%" cellpadding="5%" cellspacing="0" border="1"
 
!align="left"|Parameter
 
!align="left"|Parameter
Line 47: Line 48:
 
|}
 
|}
  
== See also ==
+
{{LuaSeeAlso}}
* [[Lua]]
 
* [[Help_File:Script engine|Script engine]]
 
  
 
=== Related Functions ===
 
=== Related Functions ===
* [[readBytes]]
+
{{ReadWriteMemory}}
* [[readInteger]]
 
* [[readQword]]
 
* [[readPointer]]
 
* [[readFloat]]
 
* [[readDouble]]
 
* [[readString]]
 
* [[writeBytes]]
 
* [[writeInteger]]
 
* [[writeQword]]
 
* [[writeFloat]]
 
* [[writeDouble]]
 
* [[writeString]]
 
* [[readBytesLocal]]
 
* [[readIntegerLocal]]
 
* [[readQwordLocal]]
 
* [[readPointerLocal]]
 
* [[readFloatLocal]]
 
* [[readDoubleLocal]]
 
* [[readStringLocal]]
 
* [[writeIntegerLocal]]
 
* [[writeQwordLocal]]
 
* [[writeFloatLocal]]
 
* [[writeDoubleLocal]]
 
* [[writeStringLocal]]
 
* [[wordToByteTable]]
 
* [[dwordToByteTable]]
 
* [[qwordToByteTable]]
 
* [[floatToByteTable]]
 
* [[doubleToByteTable]]
 
* [[stringToByteTable]]
 
* [[wideStringToByteTable]]
 
* [[byteTableToWord]]
 
* [[byteTableToDword]]
 
* [[byteTableToQword]]
 
* [[byteTableToFloat]]
 
* [[byteTableToDouble]]
 
* [[byteTableToString]]
 
* [[byteTableToWideString]]
 

Latest revision as of 10:04, 20 April 2018

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[edit]

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)

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[edit]

Related Functions[edit]