coding S4 trainer

02/28/2012 14:28 giniyat202#1
as the title says.. i want to know how to make a trainer for S4

note iam good at autoit.. and i know how to use ollydbg and CE etc

just tell me how to make a simple 200 HP hack or any other feature and i will be thankful :D
02/28/2012 18:03 K1ramoX#2
Quote:
Originally Posted by Applecode View Post
Code:
#RequireAdmin
#NoTrayIcon

#include <NomadMemory.au3>

Global $count = 1

AdlibRegister("_Tooltip", 1000)
AdlibRegister("_S4Check", 100)
HotKeySet("{ESC}", "_Exit")

While True
	Sleep(50)
WEnd

Func _S4Check()
	If ProcessExists("S4Client.exe") <> 0 Then
		_Change()
	EndIf
EndFunc   ;==>_S4Check

Func _Change()
	AdlibUnRegister("_Tooltip")
	AdlibUnRegister("_S4Check")

	$ProcessID = ProcessExists("S4Client.exe")
	$MemoryHandle = _MemoryOpen($ProcessID)

	$MemoryWrite = _MemoryWrite(0x00000000, $MemoryHandle, "123456789", "long")
	;here you must put in your adress and your value to chang
	;in this example i use 4 bytes

	If $MemoryWrite = 1 Then
		ToolTip("Done!", 0, 0)
		_MemoryClose($MemoryHandle)
		Exit
	Else
		MsgBox(0, "Error", "Error")
		_MemoryClose($MemoryHandle)
		Exit
	EndIf
EndFunc   ;==>_Change

Func _Tooltip()
	If $count = 1 Then
		ToolTip("Waiting for S4 League.", 0, 0)
		$count = $count + 1
	ElseIf $count = 2 Then
		ToolTip("Waiting for S4 League..", 0, 0)
		$count = $count + 1
	ElseIf $count = 3 Then
		ToolTip("Waiting for S4 League...", 0, 0)
		$count = 1
	EndIf
EndFunc   ;==>_Tooltip

Func _Exit()
	Exit
EndFunc   ;==>_Exit
Maybe it helps you ;o
02/28/2012 20:23 xXxB4NGxXx#3
Quote:
Originally Posted by Applecode View Post
Maybe it helps you ;o
This would help anyone who knows how to work with Autoit.
Means: You guys cant create Hacks without a generally nivo of Coding with autoit.
02/28/2012 22:36 giniyat202#4
Quote:
Originally Posted by xXxB4NGxXx View Post
This would help anyone who knows how to work with Autoit.
Means: You guys cant create Hacks without a generally nivo of Coding with autoit.
no i wont, it is just a troll code
check this part:

Code:
$MemoryWrite = _MemoryWrite(0x00000000, $MemoryHandle, "123456789", "long")
it would fail ofc..

again.. iam good at autoit,ollydbg and CE
i just want to know how to find those addys and values etc
02/28/2012 22:52 K1ramoX#5
It fails because there is not the right adress. If you are asking how to find this adresses you have to search for a tutorial. This here is the autoit section ;o
02/28/2012 23:46 giniyat202#6
Quote:
Originally Posted by Applecode View Post
It fails because there is not the right adress. If you are asking how to find this adresses you have to search for a tutorial. This here is the autoit section ;o
i cant find english tuts and i dont understand german

u are a coder right?
do you mind telling me how to find some addys? maybe via a PM..
02/29/2012 17:51 xXxB4NGxXx#7
Quote:
Originally Posted by giniyat202 View Post
i cant find english tuts and i dont understand german

u are a coder right?
do you mind telling me how to find some addys? maybe via a PM..
Search Here @ Epvp tutorials.
Code a Trainer isnt hard, Find the Adresses is hard.