hey kann mir vllt jemand ein beispiel geben wie man einen wert den man mit memorypointerread in einem laben anzeigen lässt :D ?
Quote:
hey kann mir vllt jemand ein beispiel geben wie man einen wert den man mit memorypointerread in einem laben anzeigen lässt :D ?
$pAttackspeed = _MemoryPointerRead($attackspeedPointer, $Open, $attackspeedOffset)
If $pAttackspeed[1] <> GUICtrlRead($AttachSpeedActuell) Then GUICtrlSetData($AttachSpeedActuell, $pAttackspeed[1])
$livee = _MemoryPointerRead($Pointer, $Open, $Offlive)
If $livee[1] <> GUICtrlRead($meinlebenanzeige) Then GUICtrlSetData($$meinlebenanzeige, $livee[1])
$livee = _MemoryPointerRead($Pointer, $Open, $Offlive)
If $livee[1] <> GUICtrlRead($meinlebenanzeige) Then GUICtrlSetData($meinlebenanzeige, $livee[1])
#RequireAdmin
#Include <Pointer.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form2 = GUICreate("Form1", 300, 230, 206, 145)
$Label1 = GUICtrlCreateLabel("Label1", 144, 120, 36, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
Global $Open = ProcessExists("test.exe")
Global $Pointer = 0x6Ed41C
Global $Offlive [3] = [0, 0x1f0,0x214]
$seetlive = _MemoryPointerRead ($Pointer,$Open,$Offlive)
GUICtrlSetData($label1 , $seetlive)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Guck dir doch wenigstens mal die Funktion an, die du benutzen möchtest. "_MemoryPointerRead" gibt einen Array zurück. "[0]" beinhaltet den Wert und "[1]" die Adresse.Quote:
hm geht leider nicht :D
kanns dir ja mal alles angucken
PHP Code:#RequireAdmin
#Include <Pointer.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form2 = GUICreate("Form1", 300, 230, 206, 145)
$Label1 = GUICtrlCreateLabel("Label1", 144, 120, 36, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
Global $Open = ProcessExists("test.exe")
Global $Pointer = 0x6Ed41C
Global $Offlive [3] = [0, 0x1f0,0x214]
$seetlive = _MemoryPointerRead ($Pointer,$Open,$Offlive)
GUICtrlSetData($label1 , $seetlive)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
#RequireAdmin
#Include <Pointer.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
;Globals
Global $Open = ProcessExists("test.exe")
Global $seetlive
Global $Pointer = 0x6Ed41C
Global $Offlive[3] = [0,0x1f0,0x214]
;
;
#Region ### START Koda GUI section ### Form=
$seetlive = _MemoryPointerRead ($Pointer,$Open,$Offlive)
;
$Form2 = GUICreate("Form1", 300, 230, 206, 145)
GUICtrlCreateLabel("Life:", 115, 120, 36, 17)
$Label1 = GUICtrlCreateLabel("Label1", 144, 120, 36, 17)
;
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
;
;
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
update()
WEnd
func update()
GUICtrlSetData($label1,$seetlive)
sleep(50)
endfunc
Mathe 5. Klasse (?)Quote:
weiß vll einer wie man das macht das er in die progressbar als lebensanzeige nimmt also das sobald das vieh life verliert das dann die progressbar sinkt pls pn an mich oder in thread