Jump to content

Recommended Posts

Posted

I'm trying to read a proccess' memory using Autoit. This is my first time scripting with memory reading functions, so take it easy.

I'm trying to read from a game called Silkroad Online, and what I'm trying to read is the coordinates. Now, I've discovered the memory address with Cheat Engine, and the data type is Text. The only script i've found that can read text from a memory address is Cameri's version of Wouter's mem.au3. So my script looks like this:

$pid = WinGetProcess("SRO_Client")

$address=0x0A475942

Local $value

$value=string(4)

$Value =_ReadProcessMemory($pid,$address,'char',256)

MsgBox(0,"",$value)

When I try to compile using the Autoit3 beta compiler it gives me the following error:

DllStructDelete($v_struct)

^Error

Error: Unknown function name

I have the 3.1.1.127 Beta installed.

Help please

  • Developers
Posted

I'm trying to read a proccess' memory using Autoit. This is my first time scripting with memory reading functions, so take it easy.

I'm trying to read from a game called Silkroad Online, and what I'm trying to read is the coordinates. Now, I've discovered the memory address with Cheat Engine, and the data type is Text. The only script i've found that can read text from a memory address is Cameri's version of Wouter's mem.au3. So my script looks like this:

$pid = WinGetProcess("SRO_Client")

$address=0x0A475942

Local $value

$value=string(4)

$Value =_ReadProcessMemory($pid,$address,'char',256)

MsgBox(0,"",$value)

When I try to compile using the Autoit3 beta compiler it gives me the following error:

DllStructDelete($v_struct)

^Error

Error: Unknown function name

I have the 3.1.1.127 Beta installed.

Help please

Correct... DllStrucDelete() has been removed a while ago .......

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted

Instead of DllStructDelete($v_struct) use $v_struct=0


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Posted

Now, I've discovered the memory address with Cheat Engine, and the data type is Text. The only script i've found that can read text from a memory address is Cameri's version of Wouter's mem.au3.

Check my signature, those _Memory functions read any type of memory, correctly.

Nomad :D

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...