Hey E*PvP,
ich hab ein Problem...
Ich denke das die memory richtig ist , aber er gibt mir immer nur 0 aus....
Egal ob ich 0, 1, 1000 oder 9million punkte hab ...
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <nomadmemory.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Sol loger", 201, 64, 324, 280)
GUISetFont(9, 800, 0, "MS Sans Serif")
$Label1 = GUICtrlCreateLabel("Score Addy", 8, 16, 69, 17)
$Label2 = GUICtrlCreateLabel("0x000000", 88, 16, 59, 17)
$Label3 = GUICtrlCreateLabel("Bitte starte Solitär",8, 40, 180, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
call("Game")
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Func Game()
ProcessWait("sol.exe")
If ProcessExists("sol.exe") Then
GUICtrlSetData($Label3, "Game found")
EndIf
call("Read")
EndFunc
Func Read()
$99 = WinGetProcess("sol.exe")
$100 = _MemoryOpen($99)
$1 = "6E 00 00 00 00 00 00 00 28 00 00 00 03 00 00 00"
$2 = _MemoryRead($1,$100)
Guictrlsetdata($Label2,$2)
EndFunc
THX!