How to make a hack

02/14/2013 07:43 dantekiva#1
can teach me how to make a hack and search hack id and material to make hack please?:handsdown::handsdown:
02/14/2013 13:03 DarkPantsu#2
Try using the search function.
02/14/2013 18:52 elmarcia#3
Okay i see no one answer so i am here to teach you with my little knowledge.

You need:
1._ Cheat Engine 6.2 try downloading from here --> [Only registered and activated users can see links. Click Here To Register...]
2._ bypass. Today there is no bypass working but it doesn't matter you only need a program that suspend s4 and hgwc to attach s4 process and the resume them. Try mine ---> [Only registered and activated users can see links. Click Here To Register...]
3._ autoit-- > [Only registered and activated users can see links. Click Here To Register...]

i choose autoit because is so simple to make a trainer and very useful



Steps to make a trainer:

Searching for values:
Open my bypass and press start, s4 patcher should come and you press "start" when the hgwc window disapear a msgbox should appear saying its time to open cheat engine ; if it didn't work at first try again..
Now open cheat engine and go to the icon that has a pc which is blinking red and green
select s4Client.exe and then press resume in the bypass window
When finish load you can now search for the values. i won't say how to search them because it's no my job.

Creating the trainer:

After installing autoit right click in elsewhere and new>autoItV3script rename as you want "My new Hack.au3" for example open it and delete the text inside

i will explain all the steps of the code
Quote:
#include <GUIConstants.au3> ;these are precreated functions which came with autoit except NomadMemory.au3 i will add to the answer.
#include <NomadMemory.au3>
#include <WinAPI.au3>


#Region
#RequireAdmin
#AutoIt3Wrapper_Icon= ;Your icon path
#AutoIt3Wrapper_Compile_both=y
#AutoIt3Wrapper_UseX64=y ; to make your trainer x64 bits too
#NoTrayIcon ; to hide the icon of the trainer from the task bar
#EndRegion

#Region Form ;it just to minimize space while typing your code because you can hide this section with -

GUICreate("My new Trainer",310,350) ; Title,width,height,left,top
GUICtrlCreatePic(@ScriptDir & "\image.jpg");just in case you want an image with your trainer if you want your image to load you must include with your exe the image both in the same folder
GUICtrlSetState(-1,$GUI_DISABLE) ; this is for prevent the image blocking your controls

$checkbox1 = GUICtrlCreateCheckbox("Cut Speed", 10, 60 )
$checkbox2 = GUICtrlCreateCheckbox("Godmode", 10, 20)
$checkbox3 = GUICtrlCreateCheckbox("Inf Ammo",10,100)
$checkbox4 = GUICtrlCreateCheckbox("1 Hit Kill",100,20)
$checkbox5 = GUICtrlCreateCheckbox("Sentry Range", 100,60)
$checkbox6 = GUICtrlCreateCheckbox("200 HP",100,100)
$checkbox7 = GUICtrlCreateCheckbox("Inf SP", 210,20)
$checkbox8 = GUICtrlCreateCheckbox("Low grativity", 210,60)
$checkbox9 = GUICtrlCreateCheckbox("Dodge Speed", 210,100)
$checkbox10 = GUICtrlCreateCheckbox("Speed Hack", 10,180)
$checkbox11 = GUICtrlCreateCheckbox("Fast Fire", 210,140)
$checkbox12 = GUICtrlCreateCheckbox("Inf Anchor", 100,140)
$checkbox13 = GUICtrlCreateCheckbox("Anchor Speed", 100,180)
$checkbox14 = GUICtrlCreateCheckbox("Wall jump Range", 10,220)
$checkbox15 = GUICtrlCreateCheckbox("Wall jump Height", 210,220)
$checkbox16 = GUICtrlCreateCheckbox("Ghost Mode", 10,140)
$checkbox17 = GUICtrlCreateCheckbox("Instant Respawn", 210,180)

;create checkboxes title,left,top,width,height
$btn = GUICtrlCreateButton("Hack",100,300,100,40) ;creates a button
GUISetState();shows the form


#EndRegion

;Now the hack

while 1
$msg = GUIGetMsg()
if $msg = $GUI_EVENT_CLOSE Then ExitLoop
if $msg = $btn then
GUISetState(@SW_HIDE); hides the form
hack()
EndIf
WEnd

Func hack()
Tooltip("Waiting for S4client") ; a msg appears in 0,0
$pid = ProcessWait("S4Client.exe")
$open = _MemoryOpen($pid) ; Open the memory

If GUICtrlRead($checkbox1) = 1 Then ;check if checkbox 1 is checked if it is then will do the hack
_memorywrite("adress", $open, "value", "long")
EndIf

If GUICtrlRead($checkbox2) = 1 Then
_memorywrite("adress", $open, "value", "long")
EndIf

If GUICtrlRead($checkbox3) = 1 Then
_memorywrite("adress", $open, "value", "long")
EndIf
Exit 0
;and that with all checkbox
EndFunc

#cs ################################
if you want an ingame trainer you will need a bypass and for this hack i think too

####################################
INGAME TRAINER
what to change?
while 1
If GUICtrlRead($checkbox1) = 1 Then
_memorywrite("adress", $open, "value", "long")
Else
_memorywrite("adress", $open, "value default", "long")
EndIf
$msg = GUIGetMsg()
if $msg = $GUI_EVENT_CLOSE Then ExitLoop
WEnd
No hack button
No hide the form
Just Run
#Ce
I include the Nomad Memory you have to paste the file in C:\Program Files\AutoIt3\Include

Thanks if it help ;)