S4League when you open my hack closes immediately
The hack is done in AutoIt and this is the code:
Code:
#cs ----------------------------------------------------------------------------
AutoIt Version: 3.3.10.2
Author: Papera
Script Function:
Template AutoIt script.
#ce ----------------------------------------------------------------------------
; Script Start - Add your code below here
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <Nomadmemory.au3>
$GUI1 = GUICreate("Papera's Trainer", 400, 200)
$Label = GUICtrlCreateLabel("Papera :=)", 350, 170)
$Checkbox1 = GUICtrlCreateCheckbox("Inf SP", 15, 50)
$Button1 = GUICtrlCreateButton("START", 180, 140)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
_hack()
EndSwitch
WEnd
Func _hack()
GUISetState(@SW_HIDE)
MsgBox(0,"Attezione!","Divertitevi :=)")
$WAIT = ProcessWait("S4Client.exe")
MsgBox(0,"Attenzione!","In attesa di S4Client.exe")
$PID = ProcessExists("S4Client.exe")
MsgBox(0,"Attenzione!","Processo esistente")
Sleep(500)
_MemoryWrite(0x0052F0C5,_MemoryOpen(ProcessWait("S4Client.exe")),"0","long")
Exit
EndFunc
"0","long") instead of the zero I put the value hacked?
Thanks and sorry for my bad english






