Ok, today was the last school day before holidays...
well so i got some time to do a tutorial, how to build a better AutoLogin tool!
Things u need:
AutoIt
AutoIt Window Info Tool (should be in the AutoIt installation)
Scite - u can do it with an normal editor, too, but scite owns =P
Brain v.1337
logical understandment (woot, english sucks -.-)
Some experiences in coding with AutoIt are usefull
First ill post the Tool, after that u will find the Source + Tutorial
So heres the Tool: AutoLogin by HideAndSeek v0.38 Special Thanks to lolkop - i think hes active here, too =P
What is the tool able to do:
- Start silkroad
- filling in ID & PW
- Enter Spam
- knows when ure looged in
- Beep, if logged in
- Character select & log in
- Hide Silkroad
- Show Silkroad
- Exit Silkroad
Einstellungen:
- fill in your ID & PW into the 2 Input boxes
- Choose the path of your Silkroad Launcher (normally silkroad.exe)
- Time that is needed to start Silkroad
- The Reconnect time
arent there Spoilers here ? -.-
Well, the program isnt the best, but it works good and thats the most important thing =P
So here we come to the tutorial:
Code:
#RequireAdmin [COLOR="YellowGreen"];vista do not have to run as admin[/COLOR]
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_outfile=..\..\..\Programme\AutoLoginv0.37.exe
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
Well, first we need this "Includes" With the includes we are able to use functions that are defined in another script, those are just the normal includes that are needed for the GraficlyUserInterface(ill use GUI in the following tutorial) The memory2.au3 is a normal Memory include File, with the Functions in it u can read specific Values in adresses ^^(used to notice when the char is logged in)
this seems like a long code, but its rly simple,
well this is the GUI! U can easily create a GUI with the KODA - Tool (google it)
The tool got a save function, with "$checked = IniRead($file, "Allgemein", "MitSRO", "")" u can save the Value that is in the Ini-File (just a config File, like a .txt-file) , so u just read out the Value and put it in the InputBox(ill explain later, how u write the things into the .ini-file.
This are just the Hotkeys, i think they are "self-explaining" With the Hotkey F5 u start the function "start".
So lets move to the Functions =)
First i pick out the "simple" functions =P , Ill comment it in the Source!
Code:
Func link()
ShellExecute("http://forum.**********/silkroad-online/sro-bots-guides-hacks/108989-autologin-v0-37/")
EndFunc [COLOR="YellowGreen"];This functions starts FireFox and connects to the Link
[/COLOR]
Func stop()
exit
EndFunc [COLOR="YellowGreen"];Exits the tool [/COLOR]
Func infront()
WinActivate(@ScriptName)
EndFunc [COLOR="YellowGreen"];Activates the tool[/COLOR]
Func _exit()
Exit
EndFunc [COLOR="YellowGreen"];Exits the tool [/COLOR]
Func hide()
WinSetState("SRO_Client", "", @SW_HIDE)
EndFunc [COLOR="YellowGreen"]; Hides all Windows with the name "SRO_Client"[/COLOR]
Func show()
WinSetState("SRO_Client", "", @SW_SHOW)
EndFunc [COLOR="YellowGreen"];Shows all hidden Windows with the name "SRO_Client"[/COLOR]
Func exitsro()
If ProcessExists("sro_client.exe") Then
If MsgBox(292, "Achtung!", "Willst du Silkroad wirklich beenden?") = 6 Then
ProcessClose("sro_client.exe")
EndIf
EndIf
EndFunc [COLOR="YellowGreen"];If u klick "Exit SRO" a Msg Box with "Yes" and "no" will appear, if u click "yes" then ProcessClose("sro_client.exe")(selfexplaining)[/COLOR]
Func durchsuchen()
$pfad = FileOpenDialog("Silkroad Launcher ausw鄣len!", @DesktopDir, "Silkroad Launcher (*.exe)", 1)
If Not @error Then
GUICtrlSetData($pfadgui, $pfad)
EndIf
EndFunc[COLOR="YellowGreen"] ;This(FileOpenDialog) opens the Window where u can Select ;the Silkroad launcher[/COLOR]
Ok, so lets come to the Main Function:
Code:
Func start() [COLOR="YellowGreen"];If u click the Start-Button the value of the variable $start changes to "true"[/COLOR]
$start=true
EndFunc
While 1 ;
if $start=true Then [COLOR="YellowGreen"];Self explaining[/COLOR]
$start=false ;
$i = 0
$pfad = GUICtrlRead($pfadgui) [COLOR="YellowGreen"]; Selfexplaining [/COLOR]
$name = GUICtrlRead($namegui)
$pw = GUICtrlRead($pwgui)
$leistung = GUICtrlRead($leistunggui)
$reconnect = GUICtrlRead($reconnectgui)
$charpos=GUICtrlRead($charposgui)
$maxchar=GUICtrlRead($maxchargui)
$server=GUICtrlRead($servergui)
$file = @ScriptDir & "\login.ini"
IniWrite($file, "Allgemein", "Name", $name) ;[COLOR="YellowGreen"]This writes the things into the Ini-File so that u do not need to fill in it the whole time[/COLOR]
IniWrite($file, "Allgemein", "PW", $pw)
IniWrite($file, "Allgemein", "Leistung", $leistung)
IniWrite($file, "Allgemein", "Pfad", $pfad)
IniWrite($file, "Allgemein", "Reconnect", $reconnect)
IniWrite($file, "Allgemein", "Charpos", $charpos)
IniWrite($file, "Allgemein", "MaxChar", $maxchar)
IniWrite($file, "Allgemein", "Server", $server)
[COLOR="YellowGreen"];All the coming If-Functions are checking if u filled in all Input Boxes right[/COLOR]
if $charpos > $maxchar Then
MsgBox(0,"Falsche Charakter Position!", "Deine Charakterposition kann nichts h鐬er als deine Zahl an Charakteren sein!")
EndIf
if $maxchar > "4" Then
MsgBox(0, "Zu hohe Anzahl von Chars!", "Du kannst nicht mehr als 4 Charaktere haben >.^")
EndIf
if $charpos = "0" Then
MsgBox(0,"Falsche CharPosition","Du kannst nur die Positionen 1-4 belegen")
EndIf
If $charpos > "5" Then
MsgBox(0,"Falsche CharPosition", "Du kannst nur die Positionen 1-4 belegen")
EndIf
If $leistung = "" Then
$leistung = "25"
EndIf
If $name = "" Then
MsgBox(0, "Keine ID", "Du musst eine ID angeben!")
EndIf
If $pw = "" Then
MsgBox(0, "Kein PW", "Du musst ein PW angeben!")
EndIf
If $reconnect = "" Then
$reconnect = "7"
EndIf
If GUICtrlRead($changeservergui) = $GUI_CHECKED Then
RegWrite("HKEY_CURRENT_USER\Software\Joymax\Silkroad","RECENTSERVER","REG_SZ",$server)
EndIf [COLOR="YellowGreen"];This changes the Server u want to connect, it just writes the new Server into that file, were Silkroad is saving it.[/COLOR]
if $mitsrogui = $GUI_CHECKED Then
Run($pfad) ;Runs Silkroad
WinWaitActive("Silkroad Online Launcher") [COLOR="YellowGreen"];Waits for the ;Launcher[/COLOR]
If WinActive("Silkroad Online Launcher") = 0 Then [COLOR="YellowGreen"];Activates it until its activated[/COLOR]
Do
WinActivate("Silkroad Online Launcher")
Until WinActive("Silkroad Online Launcher") = 1
EndIf
Sleep(500)
[COLOR="YellowGreen"];this is the first thing u maybe do not understand, so start the Silkroad Launcher and the AutoIt window info tool
in The tool change to "Summary" and go with ure mouse of the "Start"-Button in the Silkroad online launcher , then u will see "[CLASS:Button; INSTANCE:1]" at the "Advanced (Class),
so here the tool clicks on the "Start" button of your silkroad launcher[/COLOR]
Sleep(2000)
ControlClick("Silkroad Online Launcher", "", "[CLASS:Button; INSTANCE:1]")
WinWait("SRO_Client") [COLOR="YellowGreen"];it waits for silkroad to open [/COLOR]
Sleep($leistung*1000) [COLOR="YellowGreen"]; then it waits for the time that [/COLOR]
Sleep(500)
[COLOR="YellowGreen"];tabs to the PW Input[/COLOR]
ControlSend("[CLASS:CLIENT]", "", "Edit1", "{TAB}")
Sleep(500)
[COLOR="YellowGreen"]; sends the PW[/COLOR]
ControlSend("[CLASS:CLIENT]", "", "Edit1", $pw)
Sleep(100)
[COLOR="YellowGreen"];If all this is ready , then the Function "EnterSenden" (in english: ;SendingEnter) is called.[/COLOR]
EnterSenden()
Else
EnterSenden()
EndIf
EndIf
WEnd
Func EnterSenden() ;Sends enter until ure logged in
$srohandle = WinGetHandle("[CLASS:CLIENT]")
$pidsro = Wingetprocess($srohandle)
$loginmemory = _MemoryOpen($pidsro)
[COLOR="YellowGreen"]; First the memory needs to be open, now the ;Programm checks for the ;adress to become 1, an adress is there to save some values, in this adress ;the value 0 stands for "logged out" and 1 ist for "logged in" , so
While the adress is 0 (logged out) it sends enter, but if the adress is 1 then the tool goes on. the function _char() is called and the "Beep" lets u hear a sound so that u know ure logged in ;)[/COLOR]
While _MemoryRead(0xF5315C, $loginmemory) <> 1
ControlSend("[CLASS:CLIENT]","","Edit1", "{ENTER}")
Sleep($reconnect*1000)
If $i=1 Then
return 1
endif
WEnd
if ProcessExists("sro_client.exe") Then
_char()
Beep(350,500)
return 1
Else
$start=true
return 1
endif
EndFunc
[COLOR="YellowGreen"];so lets move to the function _char()[/COLOR]
Func _char()
[COLOR="YellowGreen"];This function selects the Char u have choosen(not the name- the position) -the function works with Pixels and not with adresses[/COLOR]
Sleep(2000)
$dw=@DesktopWidth
$dh=@DesktopHeight
$charpos=GUICtrlRead($charposgui)
$charanz=GUICtrlRead($maxchargui)
WinActivate("[CLASS:CLIENT]")
WinWaitActive("[CLASS:CLIENT]")
[COLOR="YellowGreen"];The tool Clicks at $charpos*
($dw/($charanz+1)),$dh/2, if u think a bit logical u should understand that , ;if not -> ask[/COLOR]
ControlClick("[CLASS:CLIENT]","",$charpos*($dw/($charanz+1)),$dh/2)
Sleep(3000)
ControlClick("[CLASS:CLIENT]","",4/5*$dw,9/10*$dh)
[COLOR="YellowGreen"]; the next ControlClick clicks on the Start button right down at the login ;screen[/COLOR]
EndFunc
Well thats it for the first =P
I know the tutorial is not very good, but i dont want to do an AutoIt tutorial^^
if u have any questions -> ASK
Ill post later how to find out the Adress, that is used to know when u are Logged in!
Please post suggestions for the tutorial and correct my very bad english
Ill edit this tutorials some times, and will also upload new versions here, so the whole source for u:
Function Stop as HotKeySet doesn't exist, the Function name is exitsro().. The program doesn't work for me directly copied.
Ok got it to work, had to remove the launcher part so it will work as loader, man this thing will send your login/ and send enter to every single active SRO_Client process. >,<
ah,
i noticed, i took the wrong code
i got so many au3- files on my desktop -.-
u should take the download link, if u dont believe me u can decompile it^^
gonna fix that problem now , sry
greetz
lol
im programming with autoit for 1 month..
yes i did all myself..
well, i asked some times, but the most of it is done by me
well, tell me what u cant "read" ^^
greetz
=)
coming soon, but i think this evening i wont find any time
greetz
well, as i m to bored to make the tutorial, ill just explain this quite short:
In a memory adress a value is saved. For example 1 (for logged in) or 0 (logged out) , then im just reading out the adress, if it becomes 1 or 0, thats how he knows if the character is logged in.
For the dc - memory its the same, but i dont know if its working =/
With the programm CheatEngine, or TSearch u can search all memory adresses for the value 1 or 0 , than u need to login - search for 1 , log out- search for 0 , and so on until u get only some adresses left, then u need to find the right one
my own tool isnt working at my pc , its not starting silkroad ;D
so i cant rly test it
greetz to all
@sokolana:
If u want to use it with a loader the program just works like a Enter Spammer tool , that knows when its logged in, well ill post a better screen with english explanations soon, so that u can understand it better
well, as i m to bored to make the tutorial, ill just explain this quite short:
In a memory adress a value is saved. For example 1 (for logged in) or 0 (logged out) , then im just reading out the adress, if it becomes 1 or 0, thats how he knows if the character is logged in.
For the dc - memory its the same, but i dont know if its working =/
With the programm CheatEngine, or TSearch u can search all memory adresses for the value 1 or 0 , than u need to login - search for 1 , log out- search for 0 , and so on until u get only some adresses left, then u need to find the right one
my own tool isnt working at my pc , its not starting silkroad ;D
so i cant rly test it
greetz to all
@sokolana:
If u want to use it with a loader the program just works like a Enter Spammer tool , that knows when its logged in, well ill post a better screen with english explanations soon, so that u can understand it better
greetz
what kind of Auto It version u use.. cause in my version i don't have this ind of comands like _MemoryRead or _MemoryOpen and honestly i opend the cheat engine opend the process to.. but i don't know what you mean with that adress.. there are too many .. and don't have an iddea...about how to use it.. Is the only thing that i didn't understand from you're script
Add no-dc, zoomhack or mc in AutoIt its easy, i use in my loader. But moderators this forum said i have keylogger. So if u want i can tell you how make this.
[How-To] AutoLogin mit AutoIt 07/02/2010 - S4 League Hacks, Bots, Cheats & Exploits - 12 Replies Es existiert zwar schon ein Thread, aber der ist so grottig, naja^^
Was braucht ihr?
-Grundkenntnisse AutoIt
-Lesebrille
Als erstes erläutere ich mal die Funktionen ---
-Eingabe des PW/der ID
-Speichern des PW/der ID/des Pfades
-Suchen des Pfades über die Registry
[Tutorial+Tool] find other's hp mini tool + CE tutorial to find the Base Addresses 04/12/2010 - Archlord - 22 Replies this thread contains a videos of how to find you hp and ur target's hp base address using cheat engine in Archlord, along with a mini-simple tool written in C# that uses this info to find ur hp and ur target's hp by reading the process memory also the source code (for whom ever wants to use it in his own bot possibly!) ---> finding base address isnt always easy, it has try-and-error, interacting with the client to gather more info using CE... the initial 1098 value of the target mob could be...
Autoit: Autologin + Bot 04/19/2009 - Cabal Online - 27 Replies Hey
When i have time, I make these scripts for 1024x768.
Ive maked some Scripts, it work with:
-m_ragg gameguard bypass
-Screen size 1024x768 (window mode) and full screened
-Cheat Engine 5.3
-If you have the "Disconnected before World loadet" error, the relogin script will auto restart cheat engine and set speed to: 18 and sleep time to 1 (perfekt settings)
AutoIt Autologin 01/16/2009 - SRO Private Server - 3 Replies So i am making my first autoit script so far i got
run("silkroad.exe Location")
sleep(2000)
WinActivate("Silkroad Online Launcher")
WinWaitActive("Silkroad Online Launcher")
sleep(2000)
MouseClick("left", 923, 459)
sleep(6000)
MouseClick("left", 1080, 669)
*Tool* Autologin Tool by Devil13337 10/27/2007 - SRO Hacks, Bots, Cheats & Exploits - 15 Replies Hi
Quelle:dnz9r's botting community
Arbeite schon lange an meinem eigenen Autologin Tool und habe v0.1 Veröffendlicht jetzt möchte ich sehen ob noch bugs sind ... ihr könnt mir vielleicht helfen.