|
You last visited: Today at 19:55
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.
06/21/2009, 20:47
|
#31
|
elite*gold: 20
Join Date: Mar 2008
Posts: 3,940
Received Thanks: 2,212
|
Quote:
Originally Posted by xxfukerxx
oh whats that after 2 times it stops
|
Quote:
Originally Posted by xxfukerxx
have you answered my question now?^^
|
Try use the updated script. Run it, and press F10.
|
|
|
06/21/2009, 21:06
|
#32
|
elite*gold: 0
Join Date: Jan 2008
Posts: 222
Received Thanks: 144
|
thanks a lot
|
|
|
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
|
|
|
|
06/21/2009, 22:16
|
#34
|
elite*gold: 20
Join Date: Mar 2008
Posts: 3,940
Received Thanks: 2,212
|
Quote:
Originally Posted by babalui
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
|
|
|
06/21/2009, 22:37
|
#35
|
elite*gold: 0
Join Date: Apr 2007
Posts: 86
Received Thanks: 34
|
Quote:
Originally Posted by theoneofgod
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.
|
|
|
06/21/2009, 22:40
|
#36
|
elite*gold: 20
Join Date: Mar 2008
Posts: 3,940
Received Thanks: 2,212
|
Quote:
Originally Posted by babalui
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.
|
|
|
06/21/2009, 22:42
|
#37
|
elite*gold: 0
Join Date: Apr 2007
Posts: 86
Received Thanks: 34
|
Quote:
Originally Posted by theoneofgod
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?
|
|
|
06/21/2009, 22:44
|
#38
|
elite*gold: 20
Join Date: Mar 2008
Posts: 3,940
Received Thanks: 2,212
|
Quote:
Originally Posted by babalui
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.
|
|
|
06/21/2009, 22:46
|
#39
|
elite*gold: 0
Join Date: Apr 2007
Posts: 86
Received Thanks: 34
|
Quote:
Originally Posted by theoneofgod
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?
|
|
|
06/21/2009, 22:49
|
#40
|
elite*gold: 20
Join Date: Mar 2008
Posts: 3,940
Received Thanks: 2,212
|
Quote:
Originally Posted by babalui
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.
|
|
|
06/21/2009, 22:52
|
#41
|
elite*gold: 0
Join Date: Apr 2007
Posts: 86
Received Thanks: 34
|
Quote:
Originally Posted by theoneofgod
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?
|
|
|
06/21/2009, 22:54
|
#42
|
elite*gold: 20
Join Date: Mar 2008
Posts: 3,940
Received Thanks: 2,212
|
Quote:
Originally Posted by babalui
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.
|
|
|
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
|
|
|
06/21/2009, 23:53
|
#44
|
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
|
|
|
06/29/2009, 19:55
|
#45
|
elite*gold: 0
Join Date: May 2009
Posts: 105
Received Thanks: 13
|
Quote:
Originally Posted by babalui
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??
|
|
|
 |
|
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.
|
|