Bonjour à toutes et à tous.
Voilà je vous poste aujourd'hui la source d'un de mes mini-trainers s4 league. En espérant vous aider.
Voilà pour vous :)
merci ? :lol:
Voilà je vous poste aujourd'hui la source d'un de mes mini-trainers s4 league. En espérant vous aider.
#RequireAdmin
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <NomadMemory.au3>
#Region ### START Koda GUI section ### Form=
$Form1_1 = GUICreate("mini-trainer by djockers", 260, 112, 300, 145)
$Button1 = GUICtrlCreateButton("Sart", 16, 56, 99, 41, $WS_GROUP)
$Checkbox1 = GUICtrlCreateCheckbox("fake shop", 32, 24, 97, 17)
$Checkbox2 = GUICtrlCreateCheckbox("no fog", 160, 24, 97, 17)
$Button2 = GUICtrlCreateButton("Quitter", 144, 56, 89, 41, $WS_GROUP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$NMSG = GUIGetMsg()
Switch $NMSG
Case $GUI_EVENT_CLOSE
Exit
Case $Button1 ; case start
cheat() ; Func cheat
Exit ; ferme le cheat
Case $Button2
Exit
EndSwitch
WEnd ; fin de while 1
Func cheat()
ToolTip("En Attente De S4 League...", 0, 0) ; attend S4Client.exe
$PID = ProcessWait("S4Client.exe") ; attend que s4 s'ouvre
ToolTip("Cheat en cours...", 0, 0) ; dès que s4 c''est ouvert cheat en cours.. s'affiche
Sleep(400)
$CHANGE = _MEMORYOPEN($PID) ; ouvre la memoire
Sleep(700)
If GUICtrlRead($Checkbox1) = 1 Then
_MEMORYWRITE(0x********, $CHANGE, "********", "********")
EndIf
If GUICtrlRead($Checkbox2 ) = 1 Then
_MEMORYWRITE(0x********, $CHANGE, "********", "********")
EndIf
EndFunc
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <NomadMemory.au3>
#Region ### START Koda GUI section ### Form=
$Form1_1 = GUICreate("mini-trainer by djockers", 260, 112, 300, 145)
$Button1 = GUICtrlCreateButton("Sart", 16, 56, 99, 41, $WS_GROUP)
$Checkbox1 = GUICtrlCreateCheckbox("fake shop", 32, 24, 97, 17)
$Checkbox2 = GUICtrlCreateCheckbox("no fog", 160, 24, 97, 17)
$Button2 = GUICtrlCreateButton("Quitter", 144, 56, 89, 41, $WS_GROUP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$NMSG = GUIGetMsg()
Switch $NMSG
Case $GUI_EVENT_CLOSE
Exit
Case $Button1 ; case start
cheat() ; Func cheat
Exit ; ferme le cheat
Case $Button2
Exit
EndSwitch
WEnd ; fin de while 1
Func cheat()
ToolTip("En Attente De S4 League...", 0, 0) ; attend S4Client.exe
$PID = ProcessWait("S4Client.exe") ; attend que s4 s'ouvre
ToolTip("Cheat en cours...", 0, 0) ; dès que s4 c''est ouvert cheat en cours.. s'affiche
Sleep(400)
$CHANGE = _MEMORYOPEN($PID) ; ouvre la memoire
Sleep(700)
If GUICtrlRead($Checkbox1) = 1 Then
_MEMORYWRITE(0x********, $CHANGE, "********", "********")
EndIf
If GUICtrlRead($Checkbox2 ) = 1 Then
_MEMORYWRITE(0x********, $CHANGE, "********", "********")
EndIf
EndFunc
Voilà pour vous :)
merci ? :lol: