Please help with AutoIt + multilvlpointer (I use an interpreter)

02/21/2010 21:14 matiszon#1
I have found a pointer in cheatengine.

[Only registered and activated users can see links. Click Here To Register...]

What is the code in AutoIt using nomadmemory
02/22/2010 22:53 matiszon#2
Code:
#include <string.au3>
$file = "func.au3"
$tabelka = ClipGet()
$x = 0
If StringInStr($tabelka, "<CheatTable>") Then
$baseaddress = _StringBetween($tabelka, "<Address>", "</Address>")
$baseaddress = $baseaddress[1]

$desc = _StringBetween($tabelka, "<Description>", "</Description>")

$offset = _StringBetween($tabelka, "<Offset>", "</Offset>")


FileDelete($file)
FileWriteLine($file, "Func Read_"&$desc[0]&"($pid)")
FileWriteLine($file, "	Global $Offset1["&UBound($offset) + 1&"]")
FileWriteLine($file, "	$Offset1[0] = 0")
For $s=UBound($offset) - 1 to 0 Step -1
$x += 1
FileWriteLine($file, "	$Offset1["&$x&"] = Dec('"&$offset[$s]&"')")
Next
FileWriteLine($file, "	$openmem = _MemoryOpen($pid)")
FileWriteLine($file, "	$Value = _MemoryPointerRead("&"0x"&$baseaddress&", $openmem, $Offset1)")
FileWriteLine($file, "	_MemoryClose($openmem)")
FileWriteLine($file, "	Return $Value[1]")
FileWriteLine($file, "EndFunc")
Else
	MsgBox(0, "Błąd!", "W schowku nie ma tabeli cheatengine!")
EndIf
I make this script.
This convert cheattable to nomadmemory script ;)