DoctorSLO Posted June 4, 2009 Share Posted June 4, 2009 Hi. I'm just newbie at this, but please tell me ... For example I have running process SRO_Client.exe, and I have in game message "You have been disconnected from the server.". How can I read that with autoit? ...please some example script ... Thx Link to comment Share on other sites More sharing options...
Developers Jos Posted June 4, 2009 Developers Share Posted June 4, 2009 (edited) Hi.I'm just newbie at this, but please tell me ...For example I have running process SRO_Client.exe, and I have in game message "You have been disconnected from the server.".How can I read that with autoit?Put on your glasses and start reading? ...please some example script ...Seriously, How long are you now visiting these forum ? Lets agree you should know better by now. Edited June 4, 2009 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
DoctorSLO Posted June 4, 2009 Author Share Posted June 4, 2009 (edited) I'm sorry I cant read all (no time for play xD )really ... just point me where should I start in help file ... I don't visiting this forum long time :/ ... I just come when I need help, and I need help when I'm coding ... and I am coding when I have time ... And this is maybe 2 - 5 days per monthAnd my old thread:http://www.autoitscript.com/forum/index.php?showtopic=96157I need little help here to, no one can see it because is on 2nd page :/ Edited June 4, 2009 by DoctorSLO Link to comment Share on other sites More sharing options...
Szhlopp Posted June 4, 2009 Share Posted June 4, 2009 I'm sorry I cant read all (no time for play xD )really ... just point me where should I start in help file ... I don't visiting this forum long time :/ ... I just come when I need help, and I need help when I'm coding ... and I am coding when I have time ... And this is maybe 2 - 5 days per monthI'm going to assume your native language isn't english?Use the forum search and look at the helpfile. Everything you need is in one of the two places, if not both. RegEx/RegExRep Tester!Nerd Olympics - Community App!Login UDFMemory UDF - "Game.exe+753EC" - CE pointer to AU3Password Manager W/ SourceDataFiler - Include files in your au3!--- Was I helpful? Click the little green '+' Link to comment Share on other sites More sharing options...
Developers Jos Posted June 4, 2009 Developers Share Posted June 4, 2009 I'm sorry I cant read all (no time for play xD )really ... just point me where should I start in help file ... I don't visiting this forum long time :/ ... I just come when I need help, and I need help when I'm coding ... and I am coding when I have time ... And this is maybe 2 - 5 days per monthHow on earth can you seriously expect anybody to come up with a proper answer without even putting in the slightest effort to explain what you really want.You talk about reading text but forget to explain were the text is displayed and what you have tried yourself first that wasn't working.Be serious and you'll be treated serious.Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
DoctorSLO Posted June 4, 2009 Author Share Posted June 4, 2009 How on earth can you seriously expect anybody to come up with a proper answer without even putting in the slightest effort to explain what you really want.You talk about reading text but forget to explain were the text is displayed and what you have tried yourself first that wasn't working.Be serious and you'll be treated serious.JosI don't asking too much. I just want one simple example or just tell me the commands that do this ... I was searching on forum, but I didn't found it I already told that I'm newbie here, because till now I was working with IE ... so I don't know, Is this complicated thing or not ? Link to comment Share on other sites More sharing options...
Developers Jos Posted June 4, 2009 Developers Share Posted June 4, 2009 ... so I don't know, Is this complicated thing or not ?Yes, mainly because you do not answer the questions I raised in my previous post. Is it my English? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
DoctorSLO Posted June 4, 2009 Author Share Posted June 4, 2009 (edited) Mhm ok, I'm running the full screen application. The name of the window and process is SRO_Client.exe. So then In that application sometimes appear window which says that "You have been disconnected from the server." So all I want to know is how to read this from application .... $read = Read(SRO_Client.exe) IF StringInStr($read, "You have been disconnected from the server.") Then ;code EndIf So now You understand? I realy don't know what you mean with "explain were the text is displayed " ... is it not enough to tell that is in the SRO_Client.exe ?? Edited June 4, 2009 by DoctorSLO Link to comment Share on other sites More sharing options...
Developers Jos Posted June 4, 2009 Developers Share Posted June 4, 2009 I realy don't know what you mean with "explain were the text is displayed " ... is it not enough to tell that is in the SRO_Client.exe ??Not for me as I do not have SRO_Client.exe.Is it graphics, a standard control on a standard Window, a html page, a separate MSGBOX ... anything else ?Have you checked any of this with au3info?Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Inverted Posted June 4, 2009 Share Posted June 4, 2009 I googled and this seems to be for SilkRoad Online. If the message is displayed ingame, then it's hard to detect. Does anything else happen when you're disconnected ? Link to comment Share on other sites More sharing options...
DoctorSLO Posted June 4, 2009 Author Share Posted June 4, 2009 It is graphic ... when you got disconnected, nothing happen, just all freeze ... all human and non human players freezes. I will try to check it with au3info .... I will post tomorrow ... Link to comment Share on other sites More sharing options...
nuki Posted June 4, 2009 Share Posted June 4, 2009 i play that game too but its not even possible to read the text from memory in that case only way to do it, is to build a launcher and hook the functions to detect it (for example Testosterone loader for Silkroad is doing it that way) Link to comment Share on other sites More sharing options...
oMBRa Posted June 5, 2009 Share Posted June 5, 2009 i play that game too but its not even possible to read the text from memory in that caseonly way to do it, is to build a launcher and hook the functions to detect it (for example Testosterone loader for Silkroad is doing it that way)why not search for memory changes when the message is visible and while not? Link to comment Share on other sites More sharing options...
xzaz Posted June 5, 2009 Share Posted June 5, 2009 Another login script maker for Silkroad. sro_client.exe uses DirectX so you can't just simple get the string. You can do this with reverse engineering, so you have to read out the memory as ^ told you. I made one years ago don't know if i still have it. Small Color Picker v0.2 | Travian bot Link to comment Share on other sites More sharing options...
nuki Posted June 5, 2009 Share Posted June 5, 2009 as i said... not possible to just read out... but another possibility would be to scan the internet connection for packets of silkroad... if a client stops sending you'd know it was disconnected. but thats kinda hard too i think. just let it be, there are about 5000 to 10000 new autologin tools since they removed the captcha, all 10 lines long and written in autoit, i think they dont need anotherone and u could use one of those or you do it by reading out text from a bot, forexample SBot shows u in a simple textbox if you are disconnected... you can get it with ControlGetText() Link to comment Share on other sites More sharing options...
DoctorSLO Posted June 29, 2009 Author Share Posted June 29, 2009 Yes, I made in that way ... I read from bot THX Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now