|
You last visited: Today at 13:08
Advertisement
i need make s4 bot or trainer
Discussion on i need make s4 bot or trainer within the AutoIt forum part of the Coders Den category.
02/18/2012, 13:52
|
#1
|
elite*gold: 0
Join Date: Jan 2012
Posts: 4
Received Thanks: 0
|
i need make s4 bot or trainer
pls help me i'm so nope 
how i can make s4 bot or trainer
|
|
|
02/18/2012, 14:15
|
#2
|
elite*gold: 574
Join Date: Nov 2010
Posts: 2,498
Received Thanks: 726
|
ask google
|
|
|
02/18/2012, 15:28
|
#3
|
elite*gold: 0
Join Date: Feb 2012
Posts: 317
Received Thanks: 86
|
Was soll das den?`??
Report!
|
|
|
02/18/2012, 15:43
|
#4
|
elite*gold: 0
Join Date: Jan 2012
Posts: 4
Received Thanks: 0
|
Quote:
Originally Posted by Njahs
ask google
|
hhhh
Google cant answer
and please english only
|
|
|
02/18/2012, 15:58
|
#5
|
elite*gold: 574
Join Date: Nov 2010
Posts: 2,498
Received Thanks: 726
|
Quote:
Originally Posted by OO1N
hhhh
Google cant answer
and please english only
|
It can...
See here:
U won't found any tutorials about "how to make a s4 trainer / bot (in Autoit)",
but you'll find many other tutorials about "how to make a Autoit trainer / bot".
|
|
|
02/19/2012, 00:38
|
#6
|
elite*gold: 0
Join Date: Feb 2012
Posts: 6
Received Thanks: 0
|
help me!!
Excuse me how to search memory address in the game for monsters and level using cheat engine?
I am really
|
|
|
02/20/2012, 14:11
|
#7
|
elite*gold: 0
Join Date: Dec 2011
Posts: 63
Received Thanks: 22
|
Quote:
Originally Posted by sasukegamer
Excuse me how to search memory address in the game for monsters and level using cheat engine?
I am really 
|
Oh well..
Learn Cheat Engine completely.:P
Go search on youtube there is alot of tutorials..
|
|
|
02/20/2012, 19:14
|
#8
|
elite*gold: 26
Join Date: Jan 2012
Posts: 3,474
Received Thanks: 18,844
|
If you need the source of a simple trainer:
Quote:
Originally Posted by Applecode
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")
;hier muss aber deine gefundene Adresse hin und dein Wert in den du ihn ändern willst.
;bin jetzt mal von 4 bytes ausgegangen ;o
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
|
|
|
|
02/20/2012, 20:27
|
#9
|
elite*gold: 0
Join Date: Mar 2009
Posts: 7,260
Received Thanks: 33,149
|
Was soll den immer der Mist mit "Starte den Hack vor dem Spiel" oder "Warte auf ..."?
ProcessExists() gibt die Prozess ID zurück. Wenn es den Prozess nicht gibt wird logischerweise 0 zurückgegeben. Ist der Wert über 0 existiert der Prozess. Ist er 0 braucht man auch nicht weiterarbeiten.
Nomad ist kein Idiot gewesen, er wusste, wie man "Return" und "SetError" benutzt. Folglich wird bei einem Fehlversuch den Prozess zu öffnen ein Fehler zurück gegeben. Diesen kann man mit @error abfragen. Ist kein Fehler aufgetreten gibt die Funktion ein gültiges Handle zurück, das man problemlos weiterverwenden kann, ohne dass die Anwendung abstürzt.
Die Prozess ID muss man nicht unbedingt überprüfen, das Handle sollte man aber schon überprüfen. Dafür bietet sich entweder eine simple If-Abfrage an, oder die Funktion IsHandle(). Ersteres würde ich vorziehen.
Code:
#RequireAdmin
#include <NomadMemory.au3>
GUICreate("Bla", 150, 35)
$C_Hack = GUICtrlCreateCheckbox("Blaahack", 5, 5, 85, 25)
$I_Value = GUICtrlCreateInput("123", 95, 7, 50, 21)
GUISetState()
$Base = 0x00400000
Dim $Offset[4] = [0, 123, 456, 789]
Do
If BitAND(GUICtrlRead($C_Hack), 1) Then
$ProcessId = ProcessExists("Blaaa.exe")
If $ProcessId > 0 Then
$Handle = _MemoryOpen($ProcessId)
If Not @error Then
$Value = GUICtrlRead($I_Value)
_MemoryPointerWrite($Base, $Handle, $Offset, $Value)
;eine Abfrage, ob sich etwas in der Inputbox befindet ist unnötig → (int)"" = 0
_MemoryClose($Handle)
EndIf
EndIf
EndIf
Sleep(25)
Until GUIGetMsg() == -3
Das Beispiel ist für eine direkte Kopie natürlich ungeeignet. Den Prozess immer zu öffnen und zu schließen ist auch nicht so performant. Das könnte man allerdings auch relativ einfach ändern.
Da ich nicht vorhabe den TE zu "helfen" und Applecode deutsch versteht habe ich auch in deutsch geschrieben.
|
|
|
02/20/2012, 20:39
|
#10
|
elite*gold: 26
Join Date: Jan 2012
Posts: 3,474
Received Thanks: 18,844
|
Quote:
Originally Posted by KDeluxe
Was soll den immer der Mist mit "Starte den Hack vor dem Spiel" oder "Warte auf ..."?
ProcessExists() gibt die Prozess ID zurück. Wenn es den Prozess nicht gibt wird logischerweise 0 zurückgegeben. Ist der Wert über 0 existiert der Prozess. Ist er 0 braucht man auch nicht weiterarbeiten.
Nomad ist kein Idiot gewesen, er wusste, wie man "Return" und "SetError" benutzt. Folglich wird bei einem Fehlversuch den Prozess zu öffnen ein Fehler zurück gegeben. Diesen kann man mit @error abfragen. Ist kein Fehler aufgetreten gibt die Funktion ein gültiges Handle zurück, das man problemlos weiterverwenden kann, ohne dass die Anwendung abstürzt.
Die Prozess ID muss man nicht unbedingt überprüfen, das Handle sollte man aber schon überprüfen. Dafür bietet sich entweder eine simple If-Abfrage an, oder die Funktion IsHandle(). Ersteres würde ich vorziehen.
Code:
#RequireAdmin
#include <NomadMemory.au3>
GUICreate("Bla", 150, 35)
$C_Hack = GUICtrlCreateCheckbox("Blaahack", 5, 5, 85, 25)
$I_Value = GUICtrlCreateInput("123", 95, 7, 50, 21)
GUISetState()
$Base = 0x00400000
Dim $Offset[4] = [0, 123, 456, 789]
Do
If BitAND(GUICtrlRead($C_Hack), 1) Then
$ProcessId = ProcessExists("Blaaa.exe")
If $ProcessId > 0 Then
$Handle = _MemoryOpen($ProcessId)
If Not @error Then
$Value = GUICtrlRead($I_Value)
_MemoryPointerWrite($Base, $Handle, $Offset, $Value)
;eine Abfrage, ob sich etwas in der Inputbox befindet ist unnötig → (int)"" = 0
_MemoryClose($Handle)
EndIf
EndIf
EndIf
Sleep(25)
Until GUIGetMsg() == -3
Das Beispiel ist für eine direkte Kopie natürlich ungeeignet. Den Prozess immer zu öffnen und zu schließen ist auch nicht so performant. Das könnte man allerdings auch relativ einfach ändern.
Da ich nicht vorhabe den TE zu "helfen" und Applecode deutsch versteht habe ich auch in deutsch geschrieben.
|
Viele Spiele besitzen Hackshields, und deren Schwachpunkt ist nunmal beim Starten des Spiels (vorallem wenn wir hier von einem XTrap Spiel wie S4 League redet ;>). Und ich frage eigentlich immer über die ProcessID ab, ob denn ein Prozess existiert oder nicht, da es sich bei mir so eingebürgert hat, aber es ist mal interessant zu sehen wie sich das auch noch anders lösen lässt.
Grundsätzlich unterscheidet sich in diesem Falle dein Source nicht sonderlich von meinem, Unterschied ist nur dass du eine Gui verwendest, Pointer einsetzt und das ganze in einer Do Schleife löst statt einem AdlibRegister ;o
|
|
|
 |
Similar Threads
|
How to make Trainer in C++ ?
01/16/2012 - C/C++ - 8 Replies
Hi everyone I'm looking for a tutorial to teach me to create a Trainer in C + +, Thank you.
|
[ASK][HOW TO] Make Trainer
12/21/2011 - S4 League - 6 Replies
“»Hello!«„
Can Any One Add Thread
How To Make Trainer Full Job+Video-Screen
“»Basic!«„
1.GodMod
InfiniteHP-SP-Ammo-Range]
2.SpeedWalk
|
How make a Trainer
09/15/2010 - AutoIt - 13 Replies
Hello, learn to create a Trainer
#cs -------------------------------------------------- --------------------------
AutoIt Version: 3.3.6.1
Author: myName
Script Function:
Template AutoIt script.
|
can KD make a new trainer and bot?
08/04/2010 - Last Chaos - 2 Replies
hello, sorry for my arrasment KD, but can you make a new trainer and bot for lc usa, last tipe of trainer and bot was fantastic, and that will be great if you make a new one, ty
|
Need That (HOW TO MAKE TRAINER)
12/04/2009 - S4 League - 5 Replies
Please,how can i make a trainer,i can find how i can but i need a file of TRAINER MAKER KIT 1.5 and this need to be a new upload -.-
|
All times are GMT +1. The time now is 13:09.
|
|