Jump to content
Sign in to follow this  

Script always returns a 0 value

Recommended Posts

Hello fellow members,

Today I finally took the time to get into memory reading using AutoIT, but for some reason I keep getting a 0 value as result.

Since I thought I probably did something wrong I decided to watch a tutorial and did exactly what the guy in the video did, but I kept getting the 0 value.

I'm actually starting to believe that it's OS related, since I use windows 8.

This is the script I tried:

#include <NomadMemory.au3> ;because you need this for _memread functions

$Address = 0x00690380
Dim $Offset[2] = [0, 0x0]

while 1
$Process = _MemoryOpen(ProcessExists('Tutorial-i386.exe'))
If Not @error Then
$Value = _MemoryPointerRead($Address, $Process, $Offset)
If Not @error Then ToolTip($Value[1],0,0)



If anyone experienced the same issue and found a fix for this I would really appreciate if you could share it :D

Thanks in advance,


Edited by verminor

Share this post

Link to post
Share on other sites


I have never used this udf but the following seems pertinent.

I don't see any verification that

will return a pid and how do you know that
$Address = 0x00690380
is within this address space, assuming that it exists?


edit: spelling

Edited by kylomas

Forum Rules         Procedure for posting code

"I like pigs.  Dogs look up to us.  Cats look down on us.  Pigs treat us as equals."

- Sir Winston Churchill

Share this post

Link to post
Share on other sites

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...