Jump to content
Sign in to follow this  
Hiyoal

NomadMemory. HELP ME PLZ

Recommended Posts

Hiyoal

Hey guys,

I play this game, Conquer Online, and I am trying to read my health.

I use this code,

#include <nomadmemory.au3>
$PID=WinGetHandle("[Conquer2.0]","")
$ID=_MemoryOpen($PID)
$Address="010DB3D0"
$CurrentHP=_MemoryRead($Address,$ID)
msgbox(0,"CurrentHP",$CurrentHP)oÝ÷ ØZ½æ¥²kçm+ºÚ"µÍÚ[ÛYH  ÛÛXYY[[ÜK]LÉÝÂÌÍÔQTØÙÜÑ^ÝÊ   ][ÝÐÛÛ]Y^I][ÝÊBÌÍÒQWÓY[[ÜSÜ[    ÌÍÔQ
BÌÍÐYÜÏI][ÝÌLÑ  ][ÝÂÌÍÐÝ[WÓY[[ÜTXY
    ÌÍÐYÜË ÌÍÒQ
BÙØÞ
    ][ÝÐÝ[   ][ÝË  ÌÍÐÝ[

When it goes to _MemoryOpen, the return value is always 0. Why is this???

Please help me.

Ive attached nomadmemory.au3 if something is wrong inside that.

Hiyoal

NomadMemory.au3

Share this post


Link to post
Share on other sites
PsaltyDS

The _MemoryOpen() function returns an array with a DLL handle in [0] and the process handle in [1]. If you don't know what that means...

Dabble not in the affairs of Wizards, mortal!

:D


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites
Hiyoal

Where can I go to be able to learn what this means then???

Hiyoal

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  

×