Code:
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <MsgBoxConstants.au3>
#include <NomadMemory.au3>
#RequireAdmin
SetPrivilege("SetDebugPrivilege", 1)
Opt("GUIOnEventMode", 1)
Global $PID
Global $sModule = "MemoryMan.dll"
$Form1 = GUICreate("Form1", 125, 106, 192, 124)
$Label1 = GUICtrlCreateLabel("Label1", 8, 8, 36, 17)
$Label2 = GUICtrlCreateLabel("Label2", 8, 32, 36, 17)
$Label3 = GUICtrlCreateLabel("Label3", 8, 56, 36, 17)
$Label4 = GUICtrlCreateLabel("Label4", 8, 80, 36, 17)
GUISetState(@SW_SHOW)
$RunOnce = 1
While 1
Sleep(500)
While $RunOnce = 1
Call(_SearchHP())
$RunOnce = 0
WEnd
WEnd
Func _SearchHP()
$PID = _MemoryOpen(ProcessExists("client.exe")
If $PID = 0 Then
MsgBox(4096, "Error", "Talisman is not running!", 20)
Return
EndIf
HpAddy = "28644C98"
$MyHp = _MemoryRead($HpAddy, $PID, "int")
GUICtrlSetData($Label1, $MyHp)
EndFunc