Hi guys i am trying to read this static address:74EB4720 with this offset:264 i have them saved to a INI. My script for some reason it only returns a 0. Please take a look for me ty
By the way im using autoit so i dont want to hear you trolls talking shit against autoit.
By the way im using autoit so i dont want to hear you trolls talking shit against autoit.
C++:
#RequireAdmin
#include "[Includes]\NomadMemory.au3"
$INI=@ScriptDir&"\options.ini"
$StaticAddress =IniRead($INI,"GameClient","BaseAddress",0);read and declare Static Address from ini
$ProcName=IniRead($INI,"GameClient","ProcName",0);read and declare Proc Full Name from ini
$ClientName=StringSplit($ProcName,".");read and declare Proc short name from ini
$Value=IniRead($INI,"GameClient","AddValue",0);read and declare Value from ini
$Offset=IniRead($INI,"GameClient","Offset",0);read and declare offset from ini
SetPrivilege("SeDebugPrivilege", 1);set Privileges
$PID = ProcessExists($ProcName);get PID for program
Global $Offset[1] = ["0x" & dec($Offset)]; declare offset and or offset
$StaticAddress = "0x"&$StaticAddress;Static address Offsets
$openmem = _MemoryOpen($PID);Open PID memory
$baseADDR = _MemoryGetBaseAddress($openmem, 1);Recover PID Base Address
$finalADDR = "0x" & Hex($baseADDR + $StaticAddress);Get final read addresss
$Mread = _MemoryPointerRead($finalADDR, $openmem, $Offset, 'dword');Read pointer $StaticAddress w/ $Offset added
_MemoryClose($openmem);Close Memory
MsgBox(0, "Result", "My HP = "&$Mread[1],-1,"");Display Results of pointer