Ich wollte für S4 League ein Hack mit AutoIT erstellen und hoffe einfach mal das ich hier richtig bin. Meine Frage ist einfach nur ob das so richtig ist o: Ich bekomme auch einen Error von X-Trap der mein abnormal Memory usw.
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <NomadMemory.au3>
#RequireAdmin
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Made by [AmaZiing-*", 237, 172, 191, 120)
GUISetBkColor(0x0066CC)
$Checkbox1 = GUICtrlCreateCheckbox("Inf Ammo", 8, 8, 105, 25)
$Checkbox2 = GUICtrlCreateCheckbox("Damage x2", 8, 40, 105, 25)
$Checkbox3 = GUICtrlCreateCheckbox("Hitrange", 8, 72, 105, 25)
$Checkbox4 = GUICtrlCreateCheckbox("200 HP", 8, 104, 105, 25)
$Checkbox5 = GUICtrlCreateCheckbox("Schnell Feuer", 128, 72, 105, 25)
$Checkbox6 = GUICtrlCreateCheckbox("1 Hit", 128, 40, 105, 25)
$Checkbox7 = GUICtrlCreateCheckbox("Instand Respawn", 128, 8, 105, 25)
$Checkbox8 = GUICtrlCreateCheckbox("Block HP", 128, 104, 105, 25)
$Button1 = GUICtrlCreateButton("Start", 8, 144, 105, 25)
$Button2 = GUICtrlCreateButton("Stop", 128, 144, 105, 25)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button2
Exit
Case $Button1
start()
EndSwitch
WEnd
Func Start()
ToolTip("Wartet auf S4league...", "0,0")
ProcessWait("S4Client.exe")
$pid = ProcessExists("S4Client.exe")
ToolTip("", 0, 0)
Sleep(900)
$open = _memoryopen($pid)
If GUICtrlRead($checkbox1) = 1 Then
_memorywrite(0x00784541, $open, "0", "float")
EndIf
If GUICtrlRead($checkbox2) = 1 Then
_memorywrite(0x004B0A9B, $open, "0", "float")
EndIf
If GUICtrlRead($checkbox3) = 1 Then
_memorywrite(0x012512E8, $open, "0", "float")
EndIf
If GUICtrlRead($checkbox4) = 1 Then
_memorywrite(0x00527924, $open, "0", "float")
EndIf
If GUICtrlRead($checkbox5) = 1 Then
_memorywrite(0x0056F5B9, $open, "0", "float")
EndIf
If GUICtrlRead($checkbox6) = 1 Then
_memorywrite(0x00528679, $open, "0", "float")
EndIf
If GUICtrlRead($checkbox7) = 1 Then
_memorywrite(0x005F6FE3, $open, "0", "float")
EndIf
If GUICtrlRead($checkbox8) = 1 Then
_memorywrite(0x0078CB5D, $open, "0", "float")
EndIf
_memoryclose($pid)
Exit
EndFunc
Wie gesagt ich hoffe ich bin in der richtigen Abteilung und wenn nicht dann sorry...