You last visited: Today at 01:17
Advertisement
Hüber TuT: Creat a Trainer [ENG]
Discussion on Hüber TuT: Creat a Trainer [ENG] within the AutoIt forum part of the Coders Den category.
07/05/2012, 16:51
#1
elite*gold: 0
Join Date: Nov 2011
Posts: 10
Received Thanks: 3
Hüber TuT: Creat a Trainer [ENG]
This topic is made for learning... Don't Copy/Paste without autorisation..
If you see an error, report him please.
A thanks cost nothing.
♣Contents♣
-Chapter 1 => Koda
-Chapter 2 => Values
-Chapter 3 => Create a Cheat
-Chapter 4 => Anti-detect
-Chapter 5 => Finish the Trainer
♣Needed♣
-
-
-
-
(to be add into AutoIt3\Include )
-
-YourBrain.exe
†Koda†
Open a new .au3 script
Open the script and click "Tool => Koda(from designer)
When koda is open, click at the blocked square, do a checkbox and click OK.
Press F9 => insert into scite
†Values†
start undeteced tool (Admin)
Press "Abrir Archivo"
choose s4tomate and press open
Press OK now
Launch S4League, When HGWC is at 99%, press susped.
Search values for Camhack (90 Float)
Select Values (90 Float) and copy them to Notepad
†Creat a cheat†
Now, you need to use your brain!
First, open your .au3 script
Source code is:
PHP Code:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate ( "Form1" , 625 , 443 , 192 , 124 )
$Checkbox1 = GUICtrlCreateCheckbox ( "Camhack" , 136 , 24 , 97 , 17 )
$Button1 = GUICtrlCreateButton ( "Start" , 152 , 64 , 75 , 25 , $WS_GROUP )
GUISetState (@ SW_SHOW )
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg ()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Add this line:
PHP Code:
#include <NomadMemory.au3>
If you want your cheat auto-launch into admin mode, add:
That give us:
PHP Code:
#RequireAdmin
#include <NomadMemory.au3>
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate ( "Form1" , 625 , 443 , 192 , 124 )
$Checkbox1 = GUICtrlCreateCheckbox ( "Camhack" , 136 , 24 , 97 , 17 )
$Button1 = GUICtrlCreateButton ( "Start" , 152 , 64 , 75 , 25 , $WS_GROUP )
GUISetState (@ SW_SHOW )
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg ()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Now While:
PHP Code:
While 1
$nMsg = GUIGetMsg ()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Add this:
PHP Code:
Case $Button1
cheat ()
Exit
That give us:
PHP Code:
While 1
$nMsg = GUIGetMsg ()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
cheat ()
Exit
EndSwitch
WEnd
Now we add:
PHP Code:
Func cheat ()
ToolTip ( "Waiting S4League" , 0 , 0 )
ProcessWait ( "S4Client.exe" )
$PID = ProcessExists ( "S4Client.exe" )
Sleep ( 500 )
$OPEN = _MEMORYOPEN ( $PID )
Sleep ( 2000 )
Func cheat() allow Start button to work.
ToolTip("Waiting S4League", 0, 0) told to user where is the cheat (here, he wait..)
ProcessWait("S4Client.exe") The cheat wait S4Client.exe to be opened.
$PID = ProcessExists("S4Client.exe") Start
Sleep(500) Wait 0,5 seconds
$OPEN = _MEMORYOPEN($PID) Open PID Memory.
Sleep(2000) Wait 2 seconds
Now we have that:
PHP Code:
#RequireAdmin
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <NomadMemory.au3>
$Form1 = GUICreate ( "Form1" , 625 , 443 , 192 , 124 )
$Checkbox1 = GUICtrlCreateCheckbox ( "Camhack" , 136 , 24 , 97 , 17 )
$Button1 = GUICtrlCreateButton ( "Start" , 152 , 64 , 75 , 25 , $WS_GROUP )
GUISetState (@ SW_SHOW )
While 1
$NMSG = GUIGetMsg ()
Switch $NMSG
Case $GUI_EVENT_CLOSE
Exit
Case $Bbutton 1
cheat ()
Exit
EndSwitch
WEnd
Func cheat ()
ToolTip ( "Wainting S4League" , 0 , 0 )
ProcessWait ( "S4Client.exe" )
$PID = ProcessExists ( "S4Client.exe" )
Sleep ( 500 )
$OPEN = _MEMORYOPEN ( $PID )
Sleep ( 2000 )
Now we add:
PHP Code:
If GUICtrlRead ( $Camhack ) = 1 Then
_MEMORYWRITE ( 0xADREES , $OPEN , "564" , "Float" )
EndIf
At the place of ADRSS you'll write the adress of the camhack: 00EBD28C
/!\DON'T FORGET 0x BEFORE NEW ADRESS/!\
$CHANGE, "564" Change the first adress (90) into 564.
Add
at the end of the fuction.
That give you:
PHP Code:
Func cheat ()
ToolTip ( "Waiting S4League" , 0 , 0 )
ProcessWait ( "S4Client.exe" )
$PID = ProcessExists ( "S4Client.exe" )
Sleep ( 500 )
$OPEN = _MEMORYOPEN ( $PID )
Sleep ( 2000 )
If GUICtrlRead ( $checkbox1 ) = 1 Then
_MEMORYWRITE ( 0x00EBD28C , $OPEN , "564" , "Float" )
EndIf
Endfunc
†Anti-Detect†
That's your code now:
PHP Code:
#RequireAdmin
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <NomadMemory.au3>
$Form1 = GUICreate ( "Form1" , 625 , 443 , 192 , 124 ) ; titre du cheat
$Checkbox1 = GUICtrlCreateCheckbox ( "camhack" , 136 , 24 , 97 , 17 ) ; chexkbox
$Button1 = GUICtrlCreateButton ( "Start" , 152 , 64 , 75 , 25 , $WS_GROUP ) ; le start
GUISetState (@ SW_SHOW )
While 1
$NMSG = GUIGetMsg ()
Switch $NMSG
Case $GUI_EVENT_CLOSE
Exit
Case $Button1 ; case start
cheat () ; Func cheat
Exit ; ferme le cheat
EndSwitch
WEnd
Func cheat ()
ToolTip ( "Waiting S4League" , 0 , 0 )
ProcessWait ( "S4Client.exe" )
$PID = ProcessExists ( "S4Client.exe" )
Sleep ( 500 )
$OPEN = _MEMORYOPEN ( $PID )
Sleep ( 2000 )
If GUICtrlRead ( $checkbox1 ) = 1 Then
_MEMORYWRITE ( 0x00EBD28C , $OPEN , "564" , "Float" )
EndIf
Endfunc
For XTrap, you add:
PHP Code:
$OPEN = _MEMORYOPEN ( $PID )
_processsuspend ( "Aegis.exe" ) ; Suspend Aegis
_processsuspend ( "Aegis64.exe" ) ; Suspend Aegis64
_processsuspend ( "HGWC.exe" ) ; Suspend HGWC
_processsuspend ( "S4Client.exe" ) ; Suspend S4League
_processsuspend ( "XTrap.xt" ) ; Suspend Xtrap
Sleep ( 2000 ) ; Waiting 2seconds ...
That give us:
PHP Code:
#RequireAdmin
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <NomadMemory.au3>
$Form1 = GUICreate ( "Form1" , 625 , 443 , 192 , 124 )
$Checkbox1 = GUICtrlCreateCheckbox ( "camhack" , 136 , 24 , 97 , 17 )
$Button1 = GUICtrlCreateButton ( "Start" , 152 , 64 , 75 , 25 , $WS_GROUP )
GUISetState (@ SW_SHOW )
While 1
$NMSG = GUIGetMsg ()
Switch $NMSG
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
cheat ()
Exit
EndSwitch
WEnd
Func cheat ()
ToolTip ( "Wainting S4League" , 0 , 0 )
ProcessWait ( "S4Client.exe" )
$PID = ProcessExists ( "S4Client.exe" )
Sleep ( 500 )
$OPEN = _MEMORYOPEN ( $PID )
_processsuspend ( "Aegis.exe" )
_processsuspend ( "Aegis64.exe" )
_processsuspend ( "HGWC.exe" )
_processsuspend ( "S4Client.exe" )
_processsuspend ( "XTrap.xt" )
Sleep ( 2000 )
If GUICtrlRead ( $checkbox1 ) = 1 Then
_MEMORYWRITE ( 0x00EBD28C , $OPEN , "564" , "Float" )
EndIf
Endfunc
But..
_processsuspend donc work without this:
PHP Code:
Func _processsuspend ( $PROCESS )
$PROCESSID = ProcessExists ( $PROCESS )
If $PROCESSID Then
$AI_HANDLE = DllCall ( "kernel32.dll" , "int" , "OpenProcess" , "int" , 2035711 , "int" , False , "int" , $PROCESSID )
$I_SUCESS = DllCall ( "ntdll.dll" , "int" , "NtSuspendProcess" , "int" , $AI_HANDLE [ 0 ])
DllCall ( "kernel32.dll" , "ptr" , "CloseHandle" , "ptr" , $AI_HANDLE )
If IsArray ( $I_SUCESS ) Then
Return 1
Else
SetError ( 1 )
Return 0
EndIf
Else
SetError ( 2 )
Return 0
EndIf
EndFunc
Now we are here:
PHP Code:
#RequireAdmin
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <NomadMemory.au3>
$Form1 = GUICreate ( "Form1" , 625 , 443 , 192 , 124 )
$Checkbox1 = GUICtrlCreateCheckbox ( "camhack" , 136 , 24 , 97 , 17 )
$Button1 = GUICtrlCreateButton ( "Start" , 152 , 64 , 75 , 25 , $WS_GROUP )
GUISetState (@ SW_SHOW )
While 1
$NMSG = GUIGetMsg ()
Switch $NMSG
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
cheat ()
Exit
EndSwitch
WEnd
Func cheat ()
ToolTip ( "Waiting S4League" , 0 , 0 )
ProcessWait ( "S4Client.exe" )
$PID = ProcessExists ( "S4Client.exe" )
Sleep ( 500 )
$OPEN = _MEMORYOPEN ( $PID )
_processsuspend ( "Aegis.exe" )
_processsuspend ( "Aegis64.exe" )
_processsuspend ( "HGWC.exe" )
_processsuspend ( "S4Client.exe" )
_processsuspend ( "XTrap.xt" )
Sleep ( 2000 )
If GUICtrlRead ( $checkbox1 ) = 1 Then
_MEMORYWRITE ( 0x00EBD28C , $OPEN , "564" , "Float" )
EndIf
Endfun
Func _processsuspend ( $PROCESS )
$PROCESSID = ProcessExists ( $PROCESS )
If $PROCESSID Then
$AI_HANDLE = DllCall ( "kernel32.dll" , "int" , "OpenProcess" , "int" , 2035711 , "int" , False , "int" , $PROCESSID )
$I_SUCESS = DllCall ( "ntdll.dll" , "int" , "NtSuspendProcess" , "int" , $AI_HANDLE [ 0 ])
DllCall ( "kernel32.dll" , "ptr" , "CloseHandle" , "ptr" , $AI_HANDLE )
If IsArray ( $I_SUCESS ) Then
Return 1
Else
SetError ( 1 )
Return 0
EndIf
Else
SetError ( 2 )
Return 0
EndIf
EndFunc
Now:
PHP Code:
#RequireAdmin
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <NomadMemory.au3> ; ouvrir la memoire
$Form1 = GUICreate ( "Form1" , 625 , 443 , 192 , 124 )
$Checkbox1 = GUICtrlCreateCheckbox ( "camhack" , 136 , 24 , 97 , 17 )
$Button1 = GUICtrlCreateButton ( "Start" , 152 , 64 , 75 , 25 , $WS_GROUP )
GUISetState (@ SW_SHOW )
While 1
$NMSG = GUIGetMsg ()
Switch $NMSG
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
cheat ()
Exit
EndSwitch
WEnd
Func cheat ()
ToolTip ( "Waiting S4League" , 0 , 0 )
ProcessWait ( "S4Client.exe" )
$PID = ProcessExists ( "S4Client.exe" )
Sleep ( 500 )
$OPEN = _MEMORYOPEN ( $PID )
_processsuspend ( "Aegis.exe" )
_processsuspend ( "Aegis64.exe" )
_processsuspend ( "HGWC.exe" )
_processsuspend ( "S4Client.exe" )
_processsuspend ( "XTrap.xt" )
Sleep ( 2000 )
If GUICtrlRead ( $checkbox1 ) = 1 Then
_MEMORYWRITE ( 0x00EBD28C , $OPEN , "564" , "Float" )
EndIf
_memoryclose ( ProcessExists ( "S4Client.exe" ))
_processresume ( "Aegis.exe" )
_processresume ( "Aegis64.exe" )
_processresume ( "HGWC.exe" )
_processresume ( "S4Client.exe" )
_processresume ( "XTrap.xt" )
Exit 0
Endfunc
Func _processsuspend ( $PROCESS )
$PROCESSID = ProcessExists ( $PROCESS )
If $PROCESSID Then
$AI_HANDLE = DllCall ( "kernel32.dll" , "int" , "OpenProcess" , "int" , 2035711 , "int" , False , "int" , $PROCESSID )
$I_SUCESS = DllCall ( "ntdll.dll" , "int" , "NtSuspendProcess" , "int" , $AI_HANDLE [ 0 ])
DllCall ( "kernel32.dll" , "ptr" , "CloseHandle" , "ptr" , $AI_HANDLE )
If IsArray ( $I_SUCESS ) Then
Return 1
Else
SetError ( 1 )
Return 0
EndIf
Else
SetError ( 2 )
Return 0
EndIf
EndFunc
Add that for Func:
PHP Code:
Func _PROCESSRESUME ( $PROCESS )
$PROCESSID = ProcessExists ( $PROCESS )
If $PROCESSID Then
$AI_HANDLE = DllCall ( "kernel32.dll" , "int" , "OpenProcess" , "int" , 2035711 , "int" , False , "int" , $PROCESSID )
$I_SUCESS = DllCall ( "ntdll.dll" , "int" , "NtResumeProcess" , "int" , $AI_HANDLE [ 0 ])
DllCall ( "kernel32.dll" , "ptr" , "CloseHandle" , "ptr" , $AI_HANDLE )
If IsArray ( $I_SUCESS ) Then
Return 1
Else
SetError ( 1 )
Return 0
EndIf
Else
SetError ( 2 )
Return 0
EndIf
EndFunc
Finally we have:
PHP Code:
#RequireAdmin
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <NomadMemory.au3> ; ouvrir la memoire
$Form1 = GUICreate ( "Form1" , 625 , 443 , 192 , 124 )
$Checkbox1 = GUICtrlCreateCheckbox ( "camhack" , 136 , 24 , 97 , 17 )
$Button1 = GUICtrlCreateButton ( "Start" , 152 , 64 , 75 , 25 , $WS_GROUP )
GUISetState (@ SW_SHOW )
While 1
$NMSG = GUIGetMsg ()
Switch $NMSG
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
cheat ()
Exit
EndSwitch
WEnd
Func cheat ()
ToolTip ( "Waiting S4League" , 0 , 0 )
ProcessWait ( "S4Client.exe" )
$PID = ProcessExists ( "S4Client.exe" )
Sleep ( 500 )
$OPEN = _MEMORYOPEN ( $PID )
_processsuspend ( "Aegis.exe" )
_processsuspend ( "Aegis64.exe" )
_processsuspend ( "HGWC.exe" )
_processsuspend ( "S4Client.exe" )
_processsuspend ( "XTrap.xt" )
Sleep ( 2000 )
If GUICtrlRead ( $checkbox1 ) = 1 Then
_MEMORYWRITE ( 0x00EBD28C , $OPEN , "564" , "Float" )
EndIf
_memoryclose ( ProcessExists ( "S4Client.exe" ))
_processresume ( "Aegis.exe" )
_processresume ( "Aegis64.exe" )
_processresume ( "HGWC.exe" )
_processresume ( "S4Client.exe" )
_processresume ( "XTrap.xt" )
Exit 0
Endfunc
Func _PROCESSSUSPEND ( $PROCESS )
$PROCESSID = ProcessExists ( $PROCESS )
If $PROCESSID Then
$AI_HANDLE = DllCall ( "kernel32.dll" , "int" , "OpenProcess" , "int" , 2035711 , "int" , False , "int" , $PROCESSID )
$I_SUCESS = DllCall ( "ntdll.dll" , "int" , "NtSuspendProcess" , "int" , $AI_HANDLE [ 0 ])
DllCall ( "kernel32.dll" , "ptr" , "CloseHandle" , "ptr" , $AI_HANDLE )
If IsArray ( $I_SUCESS ) Then
Return 1
Else
SetError ( 1 )
Return 0
EndIf
Else
SetError ( 2 )
Return 0
EndIf
EndFunc
; tuto by 0cheatero0
Func _PROCESSRESUME ( $PROCESS )
$PROCESSID = ProcessExists ( $PROCESS )
If $PROCESSID Then
$AI_HANDLE = DllCall ( "kernel32.dll" , "int" , "OpenProcess" , "int" , 2035711 , "int" , False , "int" , $PROCESSID )
$I_SUCESS = DllCall ( "ntdll.dll" , "int" , "NtResumeProcess" , "int" , $AI_HANDLE [ 0 ])
DllCall ( "kernel32.dll" , "ptr" , "CloseHandle" , "ptr" , $AI_HANDLE )
If IsArray ( $I_SUCESS ) Then
Return 1
Else
SetError ( 1 )
Return 0
EndIf
Else
SetError ( 2 )
Return 0
EndIf
EndFunc
†Finish the Trainer†
Now, I'll learn you how to compile your script.
Open your script, press Tool => Compile
What about an icon?
32Bits => "Compile X86 Version"
64Bits => "Compile X64 Version"
Now, we compile...
GOOD WORK!!
Trahison.
07/05/2012, 16:55
#2
Trade Restricted
elite*gold: 4
Join Date: Dec 2009
Posts: 4,159
Received Thanks: 948
Leider ist das hier die falsche Section. Gehört hier rein
.
copy&paste?
#moverequest
07/05/2012, 16:57
#3
elite*gold: 0
Join Date: Nov 2011
Posts: 10
Received Thanks: 3
I can't post into this parts of forum... :-/
Trahison.
07/05/2012, 17:02
#4
Trade Restricted
elite*gold: 4
Join Date: Dec 2009
Posts: 4,159
Received Thanks: 948
Quote:
Originally Posted by
Trahison
I can't post into this parts of forum... :-/
Trahison.
Ok and why you can't post it there?
07/05/2012, 17:03
#5
elite*gold: 0
Join Date: Nov 2011
Posts: 10
Received Thanks: 3
I don't know...
07/05/2012, 18:38
#6
elite*gold: 370
Join Date: Mar 2011
Posts: 2,339
Received Thanks: 672
Quote:
Originally Posted by
Trahison
I can't post into this parts of forum... :-/
Trahison.
Because this :
07/05/2012, 19:04
#7
elite*gold: 0
Join Date: Nov 2011
Posts: 10
Received Thanks: 3
Thank you for the information!
Trahison.
07/05/2012, 21:09
#8
elite*gold: 205
Join Date: Nov 2008
Posts: 67,906
Received Thanks: 19,506
S4 League -> AutoIt
/moved
07/05/2012, 22:51
#9
elite*gold: 192
Join Date: May 2009
Posts: 2,227
Received Thanks: 3,262
Das ist doch der größte Müll nach
.
Quote:
Func cheat() allow Start button to work.
ToolTip("Waiting S4League", 0, 0) told to user where is the cheat (here, he wait..)
ProcessWait("S4Client.exe") The cheat wait S4Client.exe to be opened.
$PID = ProcessExists("S4Client.exe") Start
Sleep(500) Wait 0,5 seconds
$OPEN = _MEMORYOPEN($PID) Open PID Memory.
Sleep(2000) Wait 2 seconds
Ich glaube, er weiss selber nicht, was er da schreibt. Hauptsache er bekommt seinen Thread voll. Ab dahin habe ich aufgehört weiter zu lesen, weil das mir zu blöd wurde.
Similar Threads
[TUTORIAL]How to Create Your First S4League Trainer {AutoIt}
02/16/2014 - S4 League Hacks, Bots, Cheats & Exploits - 28 Replies
Hi all! I write a tutorial for create your first trainer with autoit!
1) Download NomadMemory.au3 (Download at the end of the tutorial) and put it in AutoIt/Include
2) Download KODA Form Designer
3) Open KODA
4) Create an Form (Example:)
http://img703.imageshack.us/img703/5475/kodag.jpg
How create a trainer in cheat engine, and how to create autoassemble scripts [16 June
06/17/2012 - Facebook - 3 Replies
Many people asked me that...
Maybe some of these people are from here.. or maybe not..
Anyway.. heres 25 minutes video ;D which should help?
How create a trainer in cheat engine, and how to create autoassemble scripts - YouTube
And yea..
I noticed that there 360p and 720p only.. no idea where the 460p gone... :x
put 720p and full screen, otherwise in normal size its looks crappy
How to create a S&D Tutorial
06/30/2011 - CrossFire - 3 Replies
hello com, how it´s possible to create a room with S&D Tutorial? can somebody pm me pls or post it here, cause i dont find it under the options!
thanks very much :handsdown:
All times are GMT +2. The time now is 01:17 .