Register for your free account! | Forgot your password?

You last visited: Today at 19:55

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Autologin] Simple autoit script

Discussion on [Autologin] Simple autoit script within the SRO Hacks, Bots, Cheats & Exploits forum part of the Silkroad Online category.

Reply
 
Old 06/21/2009, 20:47   #31
 
theoneofgod's Avatar
 
elite*gold: 20
Join Date: Mar 2008
Posts: 3,940
Received Thanks: 2,212
Quote:
Originally Posted by xxfukerxx View Post
oh whats that after 2 times it stops
Quote:
Originally Posted by xxfukerxx View Post
have you answered my question now?^^
Try use the updated script. Run it, and press F10.
theoneofgod is offline  
Old 06/21/2009, 21:06   #32
 
xxfukerxx's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 222
Received Thanks: 144
thanks a lot
xxfukerxx is offline  
Old 06/21/2009, 21:43   #33
 
elite*gold: 0
Join Date: Apr 2007
Posts: 86
Received Thanks: 34
There are no ControlId`s in SRO_Client.exe, therefore "edit1" or "Edit1" will not work correctly every time.
If I were in your shoes, this is the snippet I`d try to play with instead:
Note: Edit1 = CLIENT
Quote:
$WList=WinList ("[CLASS:CLIENT]") ;lists up all clients

for $i=1 to $WList[0][0] ;does the following code for every client

ControlSend ($WList[$i][1],"","","Blablabla") ;send Blablabla to all your clients, $WList[$i][1] is the windowhandle & it works for minizmied and hided windows
sleep (1000) ; 1sec delay

Next
Exit
babalui is offline  
Old 06/21/2009, 22:16   #34
 
theoneofgod's Avatar
 
elite*gold: 20
Join Date: Mar 2008
Posts: 3,940
Received Thanks: 2,212
Quote:
Originally Posted by babalui View Post
There are no ControlId`s in SRO_Client.exe, therefore "edit1" or "Edit1" will not work correctly every time.
If I were in your shoes, this is the snippet I`d try to play with instead:
Note: Edit1 = CLIENT
Possibly. Getting the handle works pretty much 95% of the time.

EDIT: Your snippet won't work unless you put Edit1 as the control ID ^^

Code:
$WList=WinList ("[CLASS:CLIENT]") 

for $i=1 to $WList[0][0]

ControlSend ($WList[$i][1],"","","{enter}")
sleep (4000) 

Next
theoneofgod is offline  
Old 06/21/2009, 22:37   #35
 
elite*gold: 0
Join Date: Apr 2007
Posts: 86
Received Thanks: 34
Quote:
Originally Posted by theoneofgod View Post
Possibly. Getting the handle works pretty much 95% of the time.
If you use ("[CLASS:CLIENT]") istead of "Edit1" you should be able to send "enter" to the client every time untill lag hits you back, then you`ll have to restart all over again^^.
Just rename that SRO_Client into something like "IGN Char Name" so you know which one is which after you logged him in.
babalui is offline  
Old 06/21/2009, 22:40   #36
 
theoneofgod's Avatar
 
elite*gold: 20
Join Date: Mar 2008
Posts: 3,940
Received Thanks: 2,212
Quote:
Originally Posted by babalui View Post
If you use ("[CLASS:CLIENT]") istead of "Edit1" you should be able to send "enter" to the client every time untill lag hits you back, then you`ll have to restart all over again^^.
Just rename that SRO_Client into something like "IGN Char Name" so you know which one is which after you logged him in.
Yeah I see what you mean.
theoneofgod is offline  
Old 06/21/2009, 22:42   #37
 
elite*gold: 0
Join Date: Apr 2007
Posts: 86
Received Thanks: 34
Quote:
Originally Posted by theoneofgod View Post
EDIT: Your snippet won't work unless you put Edit1 as the control ID ^^
SRO_Client.exe does not recognize "Edit1" as a control. "Edit1" comes from Notepad.exe, and it is used as an EXAMPLE. Thats exactly the reason you can use your script to send "enter" like 2-5 times, and then what? You simply get stuck in a proccess, right?
babalui is offline  
Old 06/21/2009, 22:44   #38
 
theoneofgod's Avatar
 
elite*gold: 20
Join Date: Mar 2008
Posts: 3,940
Received Thanks: 2,212
Quote:
Originally Posted by babalui View Post
SRO_Client.exe does not recognize "Edit1" as a control. "Edit1" comes from Notepad.exe, and it is used as an EXAMPLE. Thats exactly the reason you can use your script to send "enter" like 2-5 times, and then what? You simply get stuck in a proccess, right?
No. My Auto Connect uses GetWinHandle and Edit1 and it works smooth. It will send whatever key you want until you stop it, try it.

Awhile ago I used to make my own little scripts for SRO buffing, but Edit1 was the only ControlID that works. Your method has the exact same outcome as the one posted here.

EDIT: AutoIt recognizes Edit1.
theoneofgod is offline  
Old 06/21/2009, 22:46   #39
 
elite*gold: 0
Join Date: Apr 2007
Posts: 86
Received Thanks: 34
Quote:
Originally Posted by theoneofgod View Post
No. My Auto Connect uses GetWinHandle and Edit1 and it works smooth. It will send whatever key you want until you stop it, try it.

Awhile ago I used to make my own little scripts for SRO buffing, but Edit1 was the only ControlID that works. Your method has the exact same outcome as the one posted here.

EDIT: AutoIt recognizes Edit1.
Have you tryed minimized and/or hidden client?
babalui is offline  
Old 06/21/2009, 22:49   #40
 
theoneofgod's Avatar
 
elite*gold: 20
Join Date: Mar 2008
Posts: 3,940
Received Thanks: 2,212
Quote:
Originally Posted by babalui View Post
Have you tryed minimized and/or hidden client?
Yes, that was the whole purpose of the project, to log in multiple characters at the same time, no matter the windows state.
If you hide, minimize the window, It's still visible to the computer, so It will always grab the handle.
theoneofgod is offline  
Old 06/21/2009, 22:52   #41
 
elite*gold: 0
Join Date: Apr 2007
Posts: 86
Received Thanks: 34
Quote:
Originally Posted by theoneofgod View Post
Yes, that was the whole purpose of the project, to log in multiple characters at the same time, no matter the windows state.
If you hide, minimize the window, It's still visible to the computer, so It will always grab the handle.
Thats really interesting, because I`m running a 64 bit xp here, and never was able to get it run correctly with Edit1. Have you tryed to input ID and PW like that to a minimized client?
babalui is offline  
Old 06/21/2009, 22:54   #42
 
theoneofgod's Avatar
 
elite*gold: 20
Join Date: Mar 2008
Posts: 3,940
Received Thanks: 2,212
Quote:
Originally Posted by babalui View Post
Thats really interesting, because I`m running a 64 bit xp here, and never was able to get it run correctly with Edit1. Have you tryed to input IP and PW like that to a minimized client?
Yeah, it's the only stable method that works for me.

I'll try that now.
theoneofgod is offline  
Old 06/21/2009, 23:47   #43
 
elite*gold: 0
Join Date: Apr 2007
Posts: 86
Received Thanks: 34
Try this and tell me does it work for you.
Code:
$SROid="yourSroId"
$SROpw="yourSROpw"
	
	If WinActive("SRO_Client", "") Then
		WinSetState("SRO_Client", "", @SW_MINIMIZE);try also @SW_HIDE instead of @SW_MINIMIZE
		Sleep(37)
	EndIf
		Sleep(614)
		ControlSend("SRO_Client", "", "", "{BS}")
		Sleep(152)
		ControlSend("SRO_Client", "", "", $SROid )
		Sleep(153)
		ControlSend("SRO_Client", "", "", "{TAB}")
		Sleep(154)
		ControlSend("SRO_Client", "", "", $SROpw )
		Sleep(204)
		ControlSend("SRO_Client", "", "", "{ENTER}")
		Sleep (124)
	;==> To logging in
babalui is offline  
Old 06/21/2009, 23:53   #44
 
theoneofgod's Avatar
 
elite*gold: 20
Join Date: Mar 2008
Posts: 3,940
Received Thanks: 2,212
EDIT:

It works sometimes. We should talk in PM instead of spamming Alexx's thread
theoneofgod is offline  
Old 06/29/2009, 19:55   #45
 
elite*gold: 0
Join Date: May 2009
Posts: 105
Received Thanks: 13
Quote:
Originally Posted by babalui View Post
Try this and tell me does it work for you.
Code:
$SROid="yourSroId"
$SROpw="yourSROpw"
	
	If WinActive("SRO_Client", "") Then
		WinSetState("SRO_Client", "", @SW_MINIMIZE);try also @SW_HIDE instead of @SW_MINIMIZE
		Sleep(37)
	EndIf
		Sleep(614)
		ControlSend("SRO_Client", "", "", "{BS}")
		Sleep(152)
		ControlSend("SRO_Client", "", "", $SROid )
		Sleep(153)
		ControlSend("SRO_Client", "", "", "{TAB}")
		Sleep(154)
		ControlSend("SRO_Client", "", "", $SROpw )
		Sleep(204)
		ControlSend("SRO_Client", "", "", "{ENTER}")
		Sleep (124)
	;==> To logging in
hi could some1 help me??
i want to run the autologger minimized

this is not working
ControlSend("SRO_Client", "", "", "{ENTER}")

could someone help me please??
youtube2 is offline  
Reply


Similar Threads Similar Threads
How to script a simple auto-bot [AutoIT]
08/05/2013 - Cabal Guides & Templates - 123 Replies
I guess this will be my contribution to this forum. NOTE: u can apply this to any game; i only give cabal as a practical example. Go to http://www.autoitscript.com/autoit3/downloads.php and download AutoIt Full Installation Go to http://www.autoitscript.com/autoit3/scite/...e/dow nloads.php and download SciTE4AutoIt3.exe Install them ofc ... The most important action u can take is to THINK. I know it's hard for some but try >.< . What do we wanna do ?
[Request] Simple AutoIt Script
06/26/2008 - Dekaron - 5 Replies
Hello, I'm looking for an autoit script that basically presses 1 2 3 4 5, one after the other every second continuously. Thanks in advance, EW.
Autoit Dekaron/2moons autologin script
04/24/2008 - Dekaron - 5 Replies
m trying to make an autologin script wiht autoit. Ive never used this program until today. and ive got a problem no surprise there:) when the game is on the loading screen at around 90% it crashes my script and i cant figure out why. if theres anything in my code or you know how to get aroun it heres my source; #cs -------------------------------------------------- -------------------------- AutoIt Version: 3.2.10.0
need help making a simple autoit script
05/21/2006 - Silkroad Online - 2 Replies
hey guys, i wanna make a simple autoit script to press alt and tab every 2 mins...can anyone help me make a code for it? thnkz alot...my bot is wack, keep getting stuck in town and auto zerk dont work...so i wanna make a script tat does does 2 things to keep bot running and use zerk..



All times are GMT +1. The time now is 19:55.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.