Danke.Quote:
Die Adresse von $memdeath gibt 1 Zurück wenn er tot ist, und 0 wenn er lebt.PHP Code:#include <NomadMemory.au3>
$hWnd = WinGetHandle("Guild Wars")
Func _Dcheck()
Const $memdeath = 0xa056d4
$PID = WinGetProcess($hWnd)
Global $hprocess = _MemoryOpen($PID)
If _memoryread($memdeath, $hprocess) = 1 Then
'resign'
EndIf
EndFunc
Ich meinte aber eigentlich, das er zu dem NPC hin läuft ;)^^