Difference between revisions of "Lua:readBytesLocal"

From Cheat Engine
Jump to navigation Jump to search
(Dilber)
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
  
===Function Parameters===
+
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!
{|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 22:29, 12 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

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!

See also