Help with my trainer please!

06/03/2010 02:06 Javierz#1
Hello !

I made my own trainer, but 'dont work'!




Quote:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <NomadMemory.au3>
#RequireAdmin

#Region ### START Koda GUI section ### Form=C:\Program Files\koda_1.7.2.0\Forms\S4Trainer.kxf
$Form1 = GUICreate("S4League Trainer", 241, 214, 192, 124)
$pushbackinput = GUICtrlCreateInput("3000", 96, 24, 129, 21)
$Label1 = GUICtrlCreateLabel("Pushback", 8, 24, 64, 20)
GUICtrlSetFont(-1, 10, 400, 0, "MS Sans Serif")
$Label2 = GUICtrlCreateLabel("Critical DMG", 8, 56, 78, 20)
GUICtrlSetFont(-1, 10, 400, 0, "MS Sans Serif")
$criticalinput = GUICtrlCreateInput("2.5", 96, 56, 129, 21)
$cutspeedinput = GUICtrlCreateInput("0.8", 96, 88, 129, 21)
$Label3 = GUICtrlCreateLabel("CutSpeed", 8, 88, 64, 20)
GUICtrlSetFont(-1, 10, 400, 0, "MS Sans Serif")
$Label4 = GUICtrlCreateLabel("Sp Reg", 8, 120, 50, 20)
GUICtrlSetFont(-1, 10, 400, 0, "MS Sans Serif")
$spreginput = GUICtrlCreateInput("7.5", 96, 120, 129, 21)
$Button1 = GUICtrlCreateButton("Start Hack", 8, 160, 225, 25, $WS_GROUP)
$Label5 = GUICtrlCreateLabel("Javierz Creation", 80, 192, 80, 19)
GUICtrlSetFont(-1, 10, 400, 2, "Monotype Corsiva")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
exit
Case $Button1
$valcriticalinput = GUICtrlRead($criticalinput)
$valcutspeed = GUICtrlRead($cutspeedinput)
$valpushback = GUICtrlRead($pushbackinput)
Start()
Exit


EndSwitch
WEnd

Func Start()
ToolTip("Waiting for S4Client.exe ...", 0, 0)
$READCRIT = GUICtrlRead($criticalinput)
$READCUT = GUICtrlRead($cutspeedinput)
$READPUSH = GUICtrlRead($pushbackinput)
$READSP = GUICtrlRead($spreginput)

$EXISTS = ProcessWait("S4Client.exe")
Sleep(500)
$OPEN = _MEMORYOPEN(ProcessExists("S4Client.exe"))
$CRIT = 0x0C709CC
$CUT = 0x0C50718
$PUSH = 0x0C4C5E0
$SP = 0x0C4C5E8



$READ1 = _MEMORYREAD($CRIT, $OPEN, "float")
$READ2 = _MEMORYREAD($CUT, $OPEN, "float")
$READ3 = _MEMORYREAD($PUSH, $OPEN, "float")
$READ4 = _MEMORYREAD($SP, $OPEN, "float")


$WRITE1 = _MEMORYWRITE($CRIT, $OPEN, $READCRIT, "float")
$WRITE2 = _MEMORYWRITE($CUT, $OPEN, $READCUT, "float")
$WRITE3 = _MEMORYWRITE($PUSH, $OPEN, $READPUSH, "float")
$WRITE4 = _MEMORYWRITE($SP, $OPEN, $READSP, "float")

Exit
EndFunc

I open the trainer (as admin), I press the start button (Start Hack) will show the tooltip
Run S4Lauch
Press Start
running the game tooltip is closed


But the hack does not do its function
once inside the game

Help me please?




















(I Speak Spanish, I understand a little English and German. English bad :rtfm:)

Thanks,
Javierz
06/03/2010 17:05 Smincke2#2
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <NomadMemory.au3>
#RequireAdmin
SetPrivilege("SeDebugPrivilege", 1)
#Region ### START Koda GUI section ### Form=C:\Program Files\koda_1.7.2.0\Forms\S4Trainer.kxf
$Form1 = GUICreate("S4League Trainer", 241, 214, 192, 124)
$pushbackinput = GUICtrlCreateInput("3000", 96, 24, 129, 21)
$Label1 = GUICtrlCreateLabel("Pushback", 8, 24, 64, 20)
GUICtrlSetFont(-1, 10, 400, 0, "MS Sans Serif")
$Label2 = GUICtrlCreateLabel("Critical DMG", 8, 56, 78, 20)
GUICtrlSetFont(-1, 10, 400, 0, "MS Sans Serif")
$criticalinput = GUICtrlCreateInput("2.5", 96, 56, 129, 21)
$cutspeedinput = GUICtrlCreateInput("0.8", 96, 88, 129, 21)
$Label3 = GUICtrlCreateLabel("CutSpeed", 8, 88, 64, 20)
GUICtrlSetFont(-1, 10, 400, 0, "MS Sans Serif")
$Label4 = GUICtrlCreateLabel("Sp Reg", 8, 120, 50, 20)
GUICtrlSetFont(-1, 10, 400, 0, "MS Sans Serif")
$spreginput = GUICtrlCreateInput("7.5", 96, 120, 129, 21)
$Button1 = GUICtrlCreateButton("Start Hack", 8, 160, 225, 25, $WS_GROUP)
$Label5 = GUICtrlCreateLabel("Javierz Creation", 80, 192, 80, 19)
GUICtrlSetFont(-1, 10, 400, 2, "Monotype Corsiva")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
exit
Case $Button1
$valcriticalinput = GUICtrlRead($criticalinput)
$valcutspeed = GUICtrlRead($cutspeedinput)
$valpushback = GUICtrlRead($pushbackinput)
Start()
Exit


EndSwitch
WEnd

Func Start()
ToolTip("Waiting for S4Client.exe ...", 0, 0)
$READCRIT = GUICtrlRead($criticalinput)
$READCUT = GUICtrlRead($cutspeedinput)
$READPUSH = GUICtrlRead($pushbackinput)
$READSP = GUICtrlRead($spreginput)

$EXISTS = ProcessWait("S4Client.exe")
Sleep(500)
$OPEN = _MEMORYOPEN(ProcessExists("S4Client.exe"))
$CRIT = 0x0C709CC
$CUT = 0x0C50718
$PUSH = 0x0C4C5E0
$SP = 0x0C4C5E
Sleep(500)
Do
$WRITE1 = _MEMORYWRITE($CRIT, $OPEN, $READCRIT, "float")
$WRITE2 = _MEMORYWRITE($CUT, $OPEN, $READCUT, "float")
$WRITE3 = _MEMORYWRITE($PUSH, $OPEN, $READPUSH, "float")
$WRITE4 = _MEMORYWRITE($SP, $OPEN, $READSP, "float")
Until _MEMORYREAD($CRIT, $OPEN, "float") = $CRIT
Exit
EndFunc


;Diese Script sieht aus als ob du es Decompliert hättest weil alle variablen groß geschrieben sind
06/04/2010 02:59 ZzcarloszZ#3
Te aparece error porque tienes ejecutado en procesos "EmptyProcess.exe"(Finalizalo)


If sirvio my Help Please Presses the Button of Thanks!
06/05/2010 01:58 ZzcarloszZ#4
Finaliza report, googlecrash,jusched, ssscheduler, y otros que crees que afecte S4Client.exe

Quote:
$CRIT = 0x0C709CC
$CUT = 0x0C50718
$PUSH = 0x0C4C5E0
$SP = 0x0C4C5E
pon la andress asi por ejem: 00FD45564, EN AUTOLOIT ES 0X00FD45564
06/05/2010 02:40 Tischbein.#5
Do it like this:
PHP Code:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <NomadMemory.au3>
#RequireAdmin

#Region ### START Koda GUI section ### Form=C:\Program Files\koda_1.7.2.0\Forms\S4Trainer.kxf
$Form1 = GUICreate("S4League Trainer", 241, 214, 192, 124)
$pushbackinput = GUICtrlCreateInput("3000", 96, 24, 129, 21)
$Label1 = GUICtrlCreateLabel("Pushback", 8, 24, 64, 20)
GUICtrlSetFont(-1, 10, 400, 0, "MS Sans Serif")
$Label2 = GUICtrlCreateLabel("Critical DMG", 8, 56, 78, 20)
GUICtrlSetFont(-1, 10, 400, 0, "MS Sans Serif")
$criticalinput = GUICtrlCreateInput("2.5", 96, 56, 129, 21)
$cutspeedinput = GUICtrlCreateInput("0.8", 96, 88, 129, 21)
$Label3 = GUICtrlCreateLabel("CutSpeed", 8, 88, 64, 20)
GUICtrlSetFont(-1, 10, 400, 0, "MS Sans Serif")
$Label4 = GUICtrlCreateLabel("Sp Reg", 8, 120, 50, 20)
GUICtrlSetFont(-1, 10, 400, 0, "MS Sans Serif")
$spreginput = GUICtrlCreateInput("7.5", 96, 120, 129, 21)
$Button1 = GUICtrlCreateButton("Start Hack", 8, 160, 225, 25, $WS_GROUP)
$Label5 = GUICtrlCreateLabel("Javierz Creation", 80, 192, 80, 19)
GUICtrlSetFont(-1, 10, 400, 2, "Monotype Corsiva")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
$nMsg 
= GUIGetMsg()
Switch 
$nMsg
    
Case $Button1
    Start
()
Case 
$GUI_EVENT_CLOSE
exit
EndSwitch
WEnd

Func Start
()
ToolTip("Waiting for S4Client.exe ...", 0, 0)
$READCRIT = GUICtrlRead($criticalinput)
$READCUT = GUICtrlRead($cutspeedinput)
$READPUSH = GUICtrlRead($pushbackinput)
$READSP = GUICtrlRead($spreginput)

$EXISTS = ProcessWait("S4Client.exe")
Sleep(500)
$OPEN = _MemoryOpen(ProcessExists("S4Client.exe"))
$CRIT = 0x00C709CC
$CUT 
= 0x00C50718
$PUSH 
= 0x00C4C5E0
$SP 
= 0x00C4C5E8

$WRITE1 
= _MemoryWrite($CRIT, $OPEN, $READCRIT, "float")
$WRITE2 = _MemoryWrite($CUT, $OPEN, $READCUT, "float")
$WRITE3 = _MemoryWrite($PUSH, $OPEN, $READPUSH, "float")
$WRITE4 = _MemoryWrite($SP, $OPEN, $READSP, "float")

$READ1 = _MemoryRead($CRIT, $OPEN, "float")
$READ2 = _MemoryRead($CUT, $OPEN, "float")
$READ3 = _MemoryRead($PUSH, $OPEN, "float")
$READ4 = _MemoryRead($SP, $OPEN, "float")

Exit
EndFunc