Hey everyone.
I am attempting to use NomadMemory UDF to obtain some memory address values via a pointer found in the SWTOR section.
So... if I use just the dynamic address that is current, it works perfect like so:
HTML Code:
#include <NomadMemory.au3>
#RequireAdmin
$ID=_MemoryOpen(ProcessExists("swtor.exe"))
$Address=0xF4082830
$value=_MemoryRead($Address,$ID ,"float")
sleep(1000)
MsgBox(0,"Value", $value*10)
Now i wanted to try to get the same value using the pointer address + offsets... this is only returning 0
I have looked everywhere for some help with this and i can't find any working solution.
HTML Code:
#include <NomadMemory.au3>
#RequireAdmin
SetPrivilege("SeDebugPrivilege", 1) ;before you do anything else
$ID = ProcessExists("swtor.exe")
Global $Offset[6] = [0, Dec(798), Dec(504), Dec(14), Dec(8), Dec(100)] ; your multilevel offsets -- enter hex here
$StaticOffset = 0x00027E8C ;your static offset or green address
$openmem = _MemoryOpen($ID)
$baseADDR = _MemoryGetBaseAddress($openmem, 1)
$finalADDR = "0x" & Hex($baseADDR + $StaticOffset) ;this gives you "app.exe+941318"
$r = _MemoryPointerRead($finalADDR, $openmem, $Offset, "float") ;this gives you the final address to read from
_MemoryClose($openmem)
;Test if value is correct
MsgBox(0, "Info", $r[1])
MsgBox(0, "Info", $finalADDR) ;check what the address is pointing to right now, & check if its same w/ CE