Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 08:11

  • Please register to post and access all features, it's quick, easy and FREE!

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.

Reply
 
Old   #1
 
Trahison's Avatar
 
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"625443192124)
$Checkbox1 GUICtrlCreateCheckbox("Camhack"136249717)
$Button1 GUICtrlCreateButton("Start"152647525$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:

PHP Code:
#RequireAdmin 
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"625443192124)
$Checkbox1 GUICtrlCreateCheckbox("Camhack"136249717)
$Button1 GUICtrlCreateButton("Start"152647525$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"00)
 
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"625443192124)
$Checkbox1 GUICtrlCreateCheckbox("Camhack"136249717)
$Button1 GUICtrlCreateButton("Start"152647525$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"00)
 
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
PHP Code:
Endfunc 
at the end of the fuction.

That give you:

PHP Code:
Func cheat()
 
ToolTip("Waiting S4League"00)
 
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"625443192124) ; titre du cheat
$Checkbox1 
GUICtrlCreateCheckbox("camhack"136249717) ; chexkbox
$Button1 
GUICtrlCreateButton("Start"152647525$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"00)
 
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"625443192124
$Checkbox1 GUICtrlCreateCheckbox("camhack"136249717
$Button1 GUICtrlCreateButton("Start"152647525$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"00)
 
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_SUCESSThen
   
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"625443192124
$Checkbox1 GUICtrlCreateCheckbox("camhack"136249717
$Button1 GUICtrlCreateButton("Start"152647525$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"00)
 
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_SUCESSThen
   
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"625443192124
$Checkbox1 GUICtrlCreateCheckbox("camhack"136249717
$Button1 GUICtrlCreateButton("Start"152647525$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"00)
 
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_SUCESSThen
   
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_SUCESSThen
   
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"625443192124
$Checkbox1 GUICtrlCreateCheckbox("camhack"136249717
$Button1 GUICtrlCreateButton("Start"152647525$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"00)
 
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_SUCESSThen
   
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_SUCESSThen
   
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.
Trahison is offline  
Thanks
3 Users
Old 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
Daawi' is offline  
Old 07/05/2012, 16:57   #3
 
Trahison's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 10
Received Thanks: 3
I can't post into this parts of forum... :-/

Trahison.
Trahison is offline  
Old 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 View Post
I can't post into this parts of forum... :-/

Trahison.
Ok and why you can't post it there?
Daawi' is offline  
Old 07/05/2012, 17:03   #5
 
Trahison's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 10
Received Thanks: 3
I don't know...
Trahison is offline  
Old 07/05/2012, 18:38   #6
 
elite*gold: 370
Join Date: Mar 2011
Posts: 2,339
Received Thanks: 672
Quote:
Originally Posted by Trahison View Post
I can't post into this parts of forum... :-/

Trahison.
Because this :
StylerYo is offline  
Thanks
1 User
Old 07/05/2012, 19:04   #7
 
Trahison's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 10
Received Thanks: 3
Thank you for the information!

Trahison.
Trahison is offline  
Old 07/05/2012, 21:09   #8
 
Der-Eddy's Avatar
 
elite*gold: 205
Join Date: Nov 2008
Posts: 67,906
Received Thanks: 19,505
Arrow S4 League -> AutoIt

/moved
Der-Eddy is offline  
Old 07/05/2012, 22:51   #9
 
Logtetsch's Avatar
 
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.
Logtetsch is offline  
Reply


Similar Threads 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 +1. The time now is 08:12.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.