Difference between revisions of "Lua:readBytesLocal"

From Cheat Engine
Jump to navigation Jump to search
(Dilber)
m (Reverted edits by 107.20.118.123 (Talk) to last revision by Dark Byte)
Line 5: Line 5:
 
Note: The bytes read are from the Cheat Engine process instead of the targeted process
 
Note: The bytes read are from the Cheat Engine process instead of the targeted process
  
I don't think you can do it directly from a CSV. But, if you imorpt the whole CSV and save it as an HTML table, you can use that table as a Spry Data Source. Here are the steps:1. Import CSV into n HTML table following this tutorial2. Give the table an ID, i.e. id= data 3. Save the file. i.e data.html4. Create a new HTML file and go to Insert->Spry->Spry Data Set5. A three step wizard will launch that will help you with the rest.6. On the last step of the process make sure to click the  Set Up  button, which will help you pick the columns :)I know it's not as simple, but you may like the result!
+
===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
 +
|-
 +
|Address
 +
|[[CEAddressString]] or Integer
 +
|The address to read
 +
|-
 +
|Bytecount
 +
|Integer
 +
|The number of bytes to read
 +
|-
 +
|ReturnAsTable
 +
|Boolean
 +
|Returns a table object instead of multiple return values
 +
|}
 +
 
  
 
== See also ==
 
== See also ==
 
* [[readBytes]]
 
* [[readBytes]]
 
* [[Lua]]
 
* [[Lua]]

Revision as of 00:37, 13 May 2012

function readBytes(Address, Bytecount, ReturnAsTable )

Returns the bytes at the given address

Note: The bytes read are from the Cheat Engine process instead of the targeted process

Function Parameters

Parameter Type Description
Address CEAddressString or Integer The address to read
Bytecount Integer The number of bytes to read
ReturnAsTable Boolean Returns a table object instead of multiple return values


See also