danke ...
PHP Code:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <NomadMemory.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Metin2 test hack", 281, 249, 412, 444)
$Label1 = GUICtrlCreateLabel("Attackspeed", 16, 80, 49, 17)
$Label2 = GUICtrlCreateLabel("Nebelhack", 16, 144, 56, 17)
$Button1 = GUICtrlCreateButton("ON", 80, 72, 65, 33, $WS_GROUP)
$Button2 = GUICtrlCreateButton("OFF", 152, 72, 65, 33, $WS_GROUP)
$Button3 = GUICtrlCreateButton("ON", 80, 136, 65, 33, $WS_GROUP)
$Button4 = GUICtrlCreateButton("OFF", 152, 136, 65, 33, $WS_GROUP)
$Graphic1 = GUICtrlCreateGraphic(232, 72, 33, 33)
GUICtrlSetBkColor(-1,16711680)
$Graphic2 = GUICtrlCreateGraphic(232, 136, 33, 33)
GUICtrlSetBkColor(-1,16711680)
$Label3 = GUICtrlCreateLabel("Metin2 nicht gefunden!", 16, 16, 239, 34)
GUICtrlSetFont(-1, 16, 800, 0, "Comic Sans MS")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
while ProcessExists("mc.exe") = False
sleep(5000)
WEnd
GUICtrlSetColor($Label3,0x00FF00)
GUICtrlSetData($Label3,"Metin2 gefunden!")
$open = _MemoryOpen(ProcessExists("mc.exe"))
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
_MemoryWrite (0x58C97C5E,$open,1,"dword")
GUICtrlSetBkColor($Graphic1,65280)
Case $Button2
_MemoryWrite (0x58EC71B6,$open,0,"dword")
GUICtrlSetBkColor($Graphic1,16711680)
Case $Button3
_MemoryWrite (0x001D54A1,$open,0,"dword")
GUICtrlSetBkColor($Graphic2,65280)
Case $Button4
_MemoryWrite (0x001D2FA6,$open,1,"dword")
GUICtrlSetBkColor($Graphic2,16711680)
EndSwitch
WEnd