[Question] Autoit Memory

06/04/2008 00:55 hok30#1
Hey everyone,
I just started learning about how to do memory in AutoIt.
I made this simple script but for some reason would not work.

------CODE START----------
#Include<NomadMemory.au3>
$ProcessID = WinGetProcess("[Conquer2.0]","")
$DllInformation = _MemoryOpen($ProcessID)
$CharName=_MemoryOpen(0x56BC64,$DllInformation)

MsgBox(0, "Welcome", "Welcome to the twilight zone " &$CharName)

------CODE END---------------
06/04/2008 09:06 Jalan_Jalan#2
Try this:


#Include<NomadMemory.au3>; or whatever the file is callled, mine is memory2.au3

$ProcessID = WinGetProcess("[Conquer2.0]")
$DllInformation = _MemoryOpen($ProcessID)
$CharName=_MemoryRead(0x0056BC64,$DllInformation); The command to read from an address is _MemoryRead


MsgBox(0, "Welcome", "Welcome to the twilight zone " & $CharName)


There are also different versions of NomadMemory.au3 files around. I had troubles with some of them. Atm, I'm doing fine with this one:
06/04/2008 12:22 hok30#3
ok that semi works- Now instead of the char name I am getting a string of random numbers.
06/04/2008 13:04 IAmHawtness#4
Quote:
Originally Posted by hok30 View Post
ok that semi works- Now instead of the char name I am getting a string of random numbers.
$CharName=_MemoryOpen(0x56BC64,$DllInformation, "char[16]")
06/04/2008 14:05 emmanication#5
#include <NomadMemory.au3>
$Process = WinGetProcess ("[Conquer2.0")
$Open = _MemoryOpen($Process)
$Read = _MemoryRead(0x0056BC64, $Open, 'char[16]')
_MemoryClose($Open)
MsgBox(0, "Welcome", $Read)

thx appreciated
06/04/2008 14:12 IAmHawtness#6
Quote:
Originally Posted by emmanication View Post
#include <NomadMemory.au3>
= WinGetProcess ("[Conquer2.0")
= _MemoryOpen()
= _MemoryRead(0x0056BC64, , 'char[16]')
_MemoryClose()
MsgBox(0, "Welcome", )

thx appreciated
Read my post please.
06/04/2008 16:08 emmanication#7
Quote:
Originally Posted by IAmHawtness View Post
Read my post please.
try to test his combined with urs. i read ur post
06/04/2008 17:42 hok30#8
Tyvm I knew it had to do with the type :p