da ich sehr viele PNs bekommen habe und auch sehr viele in Topics gefragt haben wie man einen Trainer mit AutoIT erstellt, stelle ich hier ein kleines Tutorial zur Verfügung!
Ich bin nicht daran gewillt iwelche Beleidigungen gegen mich bzw. dieses Topic zu beantworten! Für Fragen bin ich sehr gerne offen!
Was benötigen wir?
- AutoIT - Script Editor
- SPRegeneration - 0x00C4C5E8
- NomadMemory.au3
- Ein kleines bischen Verstand und Zeit
Wenn ihr die NomadMemory.au3 nicht habt könnt ihr den folgenden Code kopieren, in ein .au3 Script packen und in den Ordner C:/Programme/AutoIt3/Include kopieren!
Der Code:
Die Vorgehensweiße
Da dieser Trainer sehr einfach ist, poste ich immer Beispiel Scripts mit!
- Wir öffnen den AutoIT Script Editor, erstellen ein neues File und löschen alles was da steht! (strg + a / entf)
- Nun fügen wir erstmal die Includes ein! Diese benötigt ihr für unseren Trainer:
Code:
#Require Admin #include <GUIConstantsEx.au3> #include <GDIPlus.au3> #include <WinAPI.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <NomadMemory.au3> #include <ButtonConstants.au3> #include <ComboConstants.au3> #include <EditConstants.au3> #include <WindowsConstants.au3>
Als nächtes benötigen wir eine GUI,diese ist mit Koda sehr leicht zu erstellen, allerdings kann man auch die AutoIT-GUI nehmen!
Ich habe für euch eine Bearbeitbare einfache, schlichte Guide mit Koda erstellt! Folgenden Code müsst ihr nun an euer AutoIT Script Anfügen:
Code:
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("SPRegeneration Hack by YOURNAME", 246, 295, 192, 124)
GUISetFont(8, 400, 0, "Neuropol")
GUISetBkColor(0x000000)
$Label1 = GUICtrlCreateLabel("SP-Regeneration", 24, 24, 199, 27)
GUICtrlSetFont(-1, 16, 400, 0, "Neuropol")
GUICtrlSetColor(-1, 0x00FF00)
$Group1 = GUICtrlCreateGroup("", 8, 8, 225, 121)
GUICtrlSetColor(-1, 0x00FF00)
$Input1 = GUICtrlCreateInput("7,5", 32, 64, 169, 19)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Button1 = GUICtrlCreateButton("Start", 40, 152, 145, 25, $WS_GROUP)
GUICtrlSetFont(-1, 14, 400, 0, "Neuropol")
GUICtrlSetColor(-1, 0x00FF00)
GUICtrlSetBkColor(-1, 0xA0A0A4)
$Label2 = GUICtrlCreateLabel("YourName", 88, 240, 143, 29)
GUICtrlSetFont(-1, 18, 400, 0, "Neuropol")
GUICtrlSetColor(-1, 0x00FF00)
;$Icon1 = GUICtrlCreateIcon("C:\Users\MCNihilus\Documents\Auto IT Script Shit\Alien-Box.ico", -1, ;16, 200, 64, 64, BitOR($SS_NOTIFY,$WS_GROUP))
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
- Nun fügen wir einen Global Red hinzu!
Diese sieht so aus:
Code:
Global $readSPReg=GUICtrlRead($SPReginput)
Code:
If FileExists(@ScriptDir&"\Configs.ini") = True Then
$read1HitHackini=IniRead("Configs.ini","Inputs","SPReg",$readSPReg)
GUICtrlSetData($SPReginput,$readSPRegini)
EndIf
Für all die, die es nicht ganz haben, unser code müsste nun wie folgt aussehen:
Code:
#RequireAdmin
#include <GDIPlus.au3>
#include <WinAPI.au3>
#include <GUIConstantsEx.au3>
#include <NomadMemory.au3>
#include <StaticConstants.au3>
#include <ButtonConstants.au3>
#include <ComboConstants.au3>
#include <EditConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("SPRegeneration Hack by YOURNAME", 246, 295, 192, 124)
GUISetFont(8, 400, 0, "Neuropol")
GUISetBkColor(0x000000)
$Label1 = GUICtrlCreateLabel("SP-Regeneration", 24, 24, 199, 27)
GUICtrlSetFont(-1, 16, 400, 0, "Neuropol")
GUICtrlSetColor(-1, 0x00FF00)
$SPReg = GUICtrlCreateGroup("", 8, 8, 225, 121)
GUICtrlSetColor(-1, 0x00FF00)
$SPReginput = GUICtrlCreateInput("7,5", 32, 64, 169, 19)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Button1 = GUICtrlCreateButton("Start", 40, 152, 145, 25, $WS_GROUP)
GUICtrlSetFont(-1, 14, 400, 0, "Neuropol")
GUICtrlSetColor(-1, 0x00FF00)
GUICtrlSetBkColor(-1, 0xA0A0A4)
$Label2 = GUICtrlCreateLabel("YourName", 88, 240, 143, 29)
GUICtrlSetFont(-1, 18, 400, 0, "Neuropol")
GUICtrlSetColor(-1, 0x00FF00)
$Icon1 = GUICtrlCreateIcon("C:\Users\MCNihilus\Documents\Auto IT Script Shit\Alien-Box.ico", -1, 16, 200, 64, 64, BitOR($SS_NOTIFY,$WS_GROUP))
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
Global $readSPReg=GUICtrlRead($SPReginput)
If FileExists(@ScriptDir&"\Configs.ini") = True Then
$read1HitHackini=IniRead("Configs.ini","Inputs","SPReg",$readSPReg)
GUICtrlSetData($SPReginput,$readSPRegini)
EndIf
Code:
While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit
Code:
Case $Button1
ToolTip("S4 League starten ...",0,0)
$wait = ProcessWait("S4Client.exe")
Sleep(500)
$PID = ProcessExists("S4Client.exe")
$Open = _MemoryOpen($PID)
Code:
$SPReg = 0x00C4C5E8
Code:
Global $readSPReg=GUICtrlRead($SPReginput)
Code:
$WriteSPReg=_MemoryWrite($SPReg,$Open,$SPReginput)
Code:
EndSwitch WEnd Exit
Am ganzen Ende der fertige Script:
Code:
#RequireAdmin
#include <GDIPlus.au3>
#include <WinAPI.au3>
#include <GUIConstantsEx.au3>
#include <NomadMemory.au3>
#include <StaticConstants.au3>
#include <ButtonConstants.au3>
#include <ComboConstants.au3>
#include <EditConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("SPRegeneration Hack by YOURNAME", 246, 295, 192, 124)
GUISetFont(8, 400, 0, "Neuropol")
GUISetBkColor(0x000000)
$Label1 = GUICtrlCreateLabel("SP-Regeneration", 24, 24, 199, 27)
GUICtrlSetFont(-1, 16, 400, 0, "Neuropol")
GUICtrlSetColor(-1, 0x00FF00)
$SPReg = GUICtrlCreateGroup("", 8, 8, 225, 121)
GUICtrlSetColor(-1, 0x00FF00)
$SPReginput = GUICtrlCreateInput("7,5", 32, 64, 169, 19)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Button1 = GUICtrlCreateButton("Start", 40, 152, 145, 25, $WS_GROUP)
GUICtrlSetFont(-1, 14, 400, 0, "Neuropol")
GUICtrlSetColor(-1, 0x00FF00)
GUICtrlSetBkColor(-1, 0xA0A0A4)
$Label2 = GUICtrlCreateLabel("YourName", 88, 240, 143, 29)
GUICtrlSetFont(-1, 18, 400, 0, "Neuropol")
GUICtrlSetColor(-1, 0x00FF00)
$Icon1 = GUICtrlCreateIcon("C:\Users\MCNihilus\Documents\Auto IT Script Shit\Alien-Box.ico", -1, 16, 200, 64, 64, BitOR($SS_NOTIFY,$WS_GROUP))
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
Global $readSPReg=GUICtrlRead($SPReginput)
If FileExists(@ScriptDir&"\Configs.ini") = True Then
$read1HitHackini=IniRead("Configs.ini","Inputs","SPReg",$readSPReg)
GUICtrlSetData($SPReginput,$readSPRegini)
EndIf
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
ToolTip("S4 League starten ...",0,0)
$wait = ProcessWait("S4Client.exe")
Sleep(500)
$PID = ProcessExists("S4Client.exe")
$Open = _MemoryOpen($PID)
$SPReg=0x00C4C5E8
Global $readSPReg=GUICtrlRead($SPReginput)
EndSwitch
WEnd
Exit
Ihr müsst Funktionsweiße sogar nur die Adresse in eine andere bsp. von FlyRange ändern und schon ist euer SP-Hack ein FlyRange Hack!
Ich hoffe dieses Tut hilft euch etwas!
-MCNihilus







