Sign in to follow this  
Followers 0
Qvintus

_MemoryRead always 0

1 post in this topic

#1 ·  Posted (edited)

Hello I'm trying to let a autoIt script read whenever someone has buffs on

#include "NomadMemory.au3"
Global $pid = _MemoryOpen("TRose.exe")
if @error Then
    MsgBox(0, "", "Error couldn't Open application")
    Exit
EndIf
While 1
    $check = _MemoryRead(0x0079802C, $pid, 'dword')
    if @error Then
        MsgBox(0, "", "Error couldn't Read Address")
        Exit
    EndIf   
    MsgBox(0, "", $check)
    Exit
WEnd

This is just a sample script, thou it ALWAYS returns 0 either way I can see in CE that it's suppost to say 1

Oh woaw this fixed it:

Local $ProcessID = ProcessExists('TRose.exe')
SetPrivilege("SeDebugPrivilege", 1)
Global $pid = _MemoryOpen($ProcessID)

Edited by Qvintus

Share this post


Link to post
Share on other sites



Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0