Hello, in this tutorial ill teach you how to create your own s4-league trainer, it will be fully explained, and also ill show you how to add picture in it and how to make other people see it, finally also an audio [Song]
Notice that this tutorial is for the very beginners it contains a lot of stuff with very easy explanation, every step by step, so it may take time from you but I am sure you will learn from this post how to create your first Hack, and if you got any question do not be shy to post it!
After reading the post and making your hack, so you prevent decompiling read
So we need Koda, Autoit, and NomadMemory download them from here :
Koda :
Autoit :
Nomad Memory : you can find it in the attachments!!!
How to download them :
Autoit :
Koda :
Open koda
Before anything you should put the Nomad Memory in the include folder!
Q :Where I can find it?
A : It should be here C:\Program Files (x86)\AutoIt3\Include
If not, you should know where you have installed Autoit, open the folder of AUtoit you will find the Include folder, just put the Nomad Memory in it!
Notice that this tutorial is for the very beginners it contains a lot of stuff with very easy explanation, every step by step, so it may take time from you but I am sure you will learn from this post how to create your first Hack, and if you got any question do not be shy to post it!
After reading the post and making your hack, so you prevent decompiling read
So we need Koda, Autoit, and NomadMemory download them from here :
Koda :
Autoit :
Nomad Memory : you can find it in the attachments!!!
How to download them :
Autoit :
Koda :
Open koda
Before anything you should put the Nomad Memory in the include folder!
Q :Where I can find it?
A : It should be here C:\Program Files (x86)\AutoIt3\Include
If not, you should know where you have installed Autoit, open the folder of AUtoit you will find the Include folder, just put the Nomad Memory in it!
Lesson 1 :
#1 Simple Trainer :
Section 1 "Koda" :
1-Now first we need to change its name from Form to what ever you like,
if you want to change it, change it from here :
2-Second we will add check boxes/buttons/labels.
To add Btns/lbls/chk bxs, you gotta press on the icons in the picture [The Icon underlined with black is the Check box, the one underlined with red is the Label, and finally the one underlined with blue is the button!]
After you click on one of the icon, you should go into the form and click anywhere, and it will appear.
Now click once on every icon and click in the form after clickin' every icon, you should have this [It shouldn't be in the same place but you should have the same stuff] :
3-Third Now arrange the Label/Button/Check box in the right place as you wish,
to do that you just click on one of them and after clicking once press and hold it with the left mouse button and move it where you would like, do that for the three things.
4-We are going to rename them.
To do this, click on the box beside caption in the object inspector and delete[/B] [Backspace][B]The word CheckBox1 and then type what ever you like after clicking one time on the thing you wanna rename for example the checkbox.
Do that for the button too.
But for the label there is something different, the place of the caption is not like in the button and the checkbox, instead of finding it the first one, it will be the third one.
5-Re size the Form by clicking here :
Now do same thing from down
6-We are going to copy the codes, how?
Simple click the icon in the picture below :
After clickin' it, another box will pop-up, you gonna highlight EVERYTHING and then right click -> Copy Selected.
Now we are done with Koda!
Section 2 "Autoit" [Adding Pictures and more help soon!] :
1)How to make an Autoit script :
1-Go to the Desktop or anywhere you would like to make one.
2-Right click anywhere.
3-Go to the "NEW" section.
4-Fifth one from up is called "AutoitV3 Script".
5-Just click on it.
2)Coding :
1-You gonna press right click on the script on the DESKTOP and click on fifth down from down "Edit Script".
2-Delete everything written if there is anything, and paste the codes that you've copied.
Should look like this
Now these codes are just the design of the hack, we need to add function for the checkbox and button.
#0 Nomad Memory : in the includes in the script which are these :
You do not have nomad memory you should add it and it will be like this ->
#1 Button function : If you press on the button, it will not do anything, what I mean it may sends you an error, and if not it will not do anything, so here what are we going to do :
After addin' it, it should look like this :
#2 Function of the _Hack() : We are done with the _Hack(), but what does that mean, I mean does the program knows what is the meaning of HACK, no you need to add function for this word, if you did not it will send you an error, so here what we will do :
1-Under WEnd put these codes :
#3 Check Box Function : We added fully function for the button, but how to make the hack you like, I mean if you chose Inf sp, in the previous functions we didn't mention anything about that, now you will do it follow these steps :
1-Under the last code which is this $OPEN = _MemoryOpen ($PID)
Type this code :
If you just want to make all of them in one short code you can use this one [Thanks to lolkop] :
# Address/Value/Type :
#What should I write in the Address/Value/Type :
You should Get Address and Values by Cheat Engine, but most of you wouldn't understand that so just use address searcher you will find it , every thing is explained there [How to use it] and after you open the table of it you will find the address/value/type.
Now our final code should look like :
Or in lolkop's way :
#4 Compilation [Final Part] : After you are done with your script you going to compile it.
How : close the script.
2-Right click on the .au3 [The script on the desktop]
3-You will find Compile script under Start script.
4-Click on it.
If you have compile (x86) I recommend to use this kind of compilation.
Cause it will make it work for every kind of bits!
#5 How to change the Icon [New] :
1-Right click on your .au3.
2-Stand on open with.
3-Choose a Default program.
4-Browse.
5-In the autoit folder, you will find Aut2Exe folder.
6-Click on the .exe Aut2Exe.
7-A msg box will pop-up press ok.
8-In first browse, choose your location of ur source.
9-In options section, Browse your .ico (Icon).
10-x64 (Check it).
11-Click on convert.
12-Delete the new .exe.
13-Right click on the .au3.
14-Compile x86.
15-Enjoy!
Didn't understand my explanation and pics?
Then here is another tut in another way :
#6 How to make it undetected [Not memory Detection bypassed!] - [New] :
1.Download "PE Explorer"
2. Install it, Then run it.
Now click on "Open File" and select our compiled script.
Then Click on this button:
Version -> Right Click on "1" -> Edit Resource
Now Change Compiled Script and FileVersion to anything you want.
Done
#1 Simple Trainer :
Section 1 "Koda" :
1-Now first we need to change its name from Form to what ever you like,
if you want to change it, change it from here :
2-Second we will add check boxes/buttons/labels.
To add Btns/lbls/chk bxs, you gotta press on the icons in the picture [The Icon underlined with black is the Check box, the one underlined with red is the Label, and finally the one underlined with blue is the button!]
After you click on one of the icon, you should go into the form and click anywhere, and it will appear.
Now click once on every icon and click in the form after clickin' every icon, you should have this [It shouldn't be in the same place but you should have the same stuff] :
3-Third Now arrange the Label/Button/Check box in the right place as you wish,
to do that you just click on one of them and after clicking once press and hold it with the left mouse button and move it where you would like, do that for the three things.
4-We are going to rename them.
To do this, click on the box beside caption in the object inspector and delete[/B] [Backspace][B]The word CheckBox1 and then type what ever you like after clicking one time on the thing you wanna rename for example the checkbox.
Do that for the button too.
But for the label there is something different, the place of the caption is not like in the button and the checkbox, instead of finding it the first one, it will be the third one.
5-Re size the Form by clicking here :
Now do same thing from down
6-We are going to copy the codes, how?
Simple click the icon in the picture below :
After clickin' it, another box will pop-up, you gonna highlight EVERYTHING and then right click -> Copy Selected.
Now we are done with Koda!
Section 2 "Autoit" [Adding Pictures and more help soon!] :
1)How to make an Autoit script :
1-Go to the Desktop or anywhere you would like to make one.
2-Right click anywhere.
3-Go to the "NEW" section.
4-Fifth one from up is called "AutoitV3 Script".
5-Just click on it.
2)Coding :
1-You gonna press right click on the script on the DESKTOP and click on fifth down from down "Edit Script".
2-Delete everything written if there is anything, and paste the codes that you've copied.
Should look like this
Now these codes are just the design of the hack, we need to add function for the checkbox and button.
#0 Nomad Memory : in the includes in the script which are these :
Code:
#include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3>
Code:
#include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #include <NomadMemory.au3>
Code:
Case $Button1 _Hack()
Code:
While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 _Hack() EndSwitch WEnd
#2 Function of the _Hack() : We are done with the _Hack(), but what does that mean, I mean does the program knows what is the meaning of HACK, no you need to add function for this word, if you did not it will send you an error, so here what we will do :
1-Under WEnd put these codes :
Code:
Func _Hack() GUISetState(@SW_HIDE) MsgBox ( 0, "title", "text" ) ; [B]This is a message box which will appear after pressing hack button you can change the title to what you like also the text[/B] $WAIT = ProcessWait("S4Client.exe"); [B]This will make the hack search for s4League[/B] $PID = ProcessExists("S4Client.exe"); [B]This means he Found S4League[/B] Sleep(500);[B]This means that after short time he will start[/B] $OPEN = _MemoryOpen ($PID); [B]This makes the function work[/B]
1-Under the last code which is this $OPEN = _MemoryOpen ($PID)
Type this code :
Code:
If GUICtrlRead($Checkbox1) = 1 Then _MemoryWrite(Address,$OPEN,"Value","Type") EndIf Exit EndFunc
Code:
Func _Hack() If GUICtrlRead($Checkbox1) = 1 Then _MemoryWrite(Address,_MemoryOpen(ProcessWait("S4Client.exe")),"Value","Type") Exit EndFunc
#What should I write in the Address/Value/Type :
You should Get Address and Values by Cheat Engine, but most of you wouldn't understand that so just use address searcher you will find it , every thing is explained there [How to use it] and after you open the table of it you will find the address/value/type.
Now our final code should look like :
Code:
#include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #include <NomadMemory.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("[S4LT]V.1", 117, 100, 218, 128) $Label1 = GUICtrlCreateLabel("Siktor", 64, 72, 31, 17) $Button1 = GUICtrlCreateButton("Hack", 8, 40, 75, 25) $Checkbox1 = GUICtrlCreateCheckbox("Inf Sp", 8, 8, 57, 17) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 _Hack() EndSwitch WEnd Func _Hack() GUISetState(@SW_HIDE) MsgBox ( 0, "title", "text" ) ; This is a message box which will appear after pressing hack button you can change the title to what you like also the text $WAIT = ProcessWait("S4Client.exe"); This will make the hack search for s4League $PID = ProcessExists("S4Client.exe"); This means he Found S4League Sleep(500);This means that after short time he will start $OPEN = _MemoryOpen ($PID); This makes the function work If GUICtrlRead($Checkbox1) = 1 Then _MemoryWrite(Address,$OPEN,"Value","Type") EndIf Exit EndFunc
#4 Compilation [Final Part] : After you are done with your script you going to compile it.
How : close the script.
2-Right click on the .au3 [The script on the desktop]
3-You will find Compile script under Start script.
4-Click on it.
If you have compile (x86) I recommend to use this kind of compilation.
Cause it will make it work for every kind of bits!
#5 How to change the Icon [New] :
1-Right click on your .au3.
2-Stand on open with.
3-Choose a Default program.
4-Browse.
5-In the autoit folder, you will find Aut2Exe folder.
6-Click on the .exe Aut2Exe.
7-A msg box will pop-up press ok.
8-In first browse, choose your location of ur source.
9-In options section, Browse your .ico (Icon).
10-x64 (Check it).
11-Click on convert.
12-Delete the new .exe.
13-Right click on the .au3.
14-Compile x86.
15-Enjoy!
Didn't understand my explanation and pics?
Then here is another tut in another way :
#6 How to make it undetected [Not memory Detection bypassed!] - [New] :
1.Download "PE Explorer"
2. Install it, Then run it.
Now click on "Open File" and select our compiled script.
Then Click on this button:
Version -> Right Click on "1" -> Edit Resource
Now Change Compiled Script and FileVersion to anything you want.
Done
So we finished our first simple Trainer, but in koda we didn't add cool design or anything but 1 checkbox and 1 button 1 label no pictures nothing cool in it, so now lets see how to add Pictures and not only that also how to add sound!
Lesson 2 :
How to add a Picture?
#1 Picture Function : So many users know how to add a picture, but doesn't know that you need to add "Function" for it, if you just put a picture in koda it will just appear for you, so now we will see how to make it appear for you and other users.
Section 1 "Koda" :
1-In koda go to additional tab.
2-Click on the second icon [It looks like a photo]
3-Go in the form, press and hold the left mouse button, and drag the picture where you would like.
4-Double click on the highlighted box.
5-Click on the button "Load" beside button "Clear".
6-Get the destination of your pic and click open.
7-Copy the codes [You should have learnt that if you've read the first koda section in simple trainer]
Section 2 "Autoit" :
#1 Pasting the Codes :
1-Make a new Autoit script.
2-Right click -> Edit.
3-Delete everything if written anything.
4-Paste your codes.
(You should have learnt that if you've read the first Autoit section in Simple Trainer)
This code :
Code:
$Pic1 = GUICtrlCreatePic("C:\Users\user\Desktop\Hack Not finished\pic.jpg", 8, 8, 449, 129)
Code:
$Pic1 = GUICtrlCreatePic(@ScriptDir & "\yourpicture.jpg", 8, 8, 345, 137) GUISetState(@SW_SHOW)
Code:
"\yourpicture.jpg",
so make it like this ->
Code:
"\pic.jpg",
Final script should be like this :
Code:
#include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 467, 319, 192, 124) $Pic1 = GUICtrlCreatePic(@ScriptDir & "\pic.jpg", 8, 8, 345, 137) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd
Lesson 3 :
How to add Audio (Sound)?
In this Lesson, we won't need KODA, just Autoit, so just follow these steps :
1-Get the project that you want to add audio for it. E.x [The one you've added in it picture]
2-Edit script.
3-You should add a new Include and it is
Code:
#include <Sound.au3>
Code:
#Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 467, 319, 192, 124) $Pic1 = GUICtrlCreatePic(@ScriptDir & "\pic.jpg", 8, 8, 345, 137) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ###
Code:
$handle = _SoundOpen(@ScriptDir & "\yoursound.mp3") _SoundPlay($handle)
Code:
#include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #include <Sound.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 467, 319, 192, 124) $Pic1 = GUICtrlCreatePic(@ScriptDir & "\pic.jpg", 8, 8, 345, 137) GUISetState(@SW_SHOW) $handle = _SoundOpen(@ScriptDir & "\yoursong.mp3") _SoundPlay($handle) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd
and instead of yoursong.mp3 instead of yoursong into the name of the song you want, mine is called Dreaming so make it :
Code:
$handle = _SoundOpen(@ScriptDir & "\Dreaming.mp3") _SoundPlay($handle)
So final code will be :
Code:
#include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #include <Sound.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 467, 319, 192, 124) $Pic1 = GUICtrlCreatePic(@ScriptDir & "\pic.jpg", 8, 8, 345, 137) GUISetState(@SW_SHOW) $handle = _SoundOpen(@ScriptDir & "\Dreaming.mp3") _SoundPlay($handle) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd
Special thanks to : FullMetal
»FlutterShy™
lolkop
timiostimio
For the help!
Anything that you do not understand, please post the question you like and if I made any mistake please say to me and do not flame
Press thanks button if this helped you in anything, it really took a lot of time writing it all by my self, maybe I've copied small stuff but not much.
If you need any help add me on skype siktor199
That is it!
Regards,
That is it!
Regards,