n0dy Posted January 21, 2010 Share Posted January 21, 2010 (edited) Kaotik This is what i am trying. Thanks for helping. Very appreciating The script you gave is right, But even "LowCardBot" retrieved from Static1, it is not sending text "!d"Jos i am sorry again, i didnt do anything to show you any rude thing. Dim $var While 1 $var = ControlGetText("[CLASS:Player]", "", "Static1") If $var = "LowCardBot" Then ControlSetText("Player", "", "[CLASS:Edit; INSTANCE:1]", "!d" ) ControlSend("Player", "", "[CLASS:Button; INSTANCE:3]", "{ENTER}1") EndIf Sleep(50) WEnd Edited January 21, 2010 by n0dy Link to comment Share on other sites More sharing options...
n0dy Posted January 21, 2010 Author Share Posted January 21, 2010 Any help guys? Because when "LowCardBot" is retrieved from static1, the call to settext and controlsend should be done, mean text "!d" should be in Typing area which is in white colour, and controlsend should be worked. But it is not sending "!d" nor retrieving text. Link to comment Share on other sites More sharing options...
kaotkbliss Posted January 21, 2010 Share Posted January 21, 2010 maybe change controlsettext to controlsend? 010101000110100001101001011100110010000001101001011100110010000 001101101011110010010000001110011011010010110011100100001 My Android cat and mouse gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek We're gonna need another Timmy! Link to comment Share on other sites More sharing options...
n0dy Posted January 21, 2010 Author Share Posted January 21, 2010 Like? Bytheway i have tried changing If $var = "LowCardBot" Then to If $var <> "LowCardBot" Then in this script, it works but it works like with 50ms it is sending "!d" contineuosly only not waiting for the LowCardBot to be retrieved first and then it should send it. Link to comment Share on other sites More sharing options...
kaotkbliss Posted January 21, 2010 Share Posted January 21, 2010 Every time $var does not equal ( <> ) LowCardBot then it will do those 2 things, which is why it was changed to = the line for !d is controlsettext, maybe it is supposed to be controlsend 010101000110100001101001011100110010000001101001011100110010000 001101101011110010010000001110011011010010110011100100001 My Android cat and mouse gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek We're gonna need another Timmy! Link to comment Share on other sites More sharing options...
n0dy Posted January 21, 2010 Author Share Posted January 21, 2010 (edited) Is it like this you saying? Dim $var While 1 $var = ControlGetText("[CLASS:Player]", "", "Static1") If $var = "LowCardBot" Then ControlSend("Player", "", "[CLASS:Edit; INSTANCE:1]", "{!}d{ENTER}") EndIf Sleep(50) WEnd Edited January 21, 2010 by n0dy Link to comment Share on other sites More sharing options...
n0dy Posted January 21, 2010 Author Share Posted January 21, 2010 Here is the tool, you can try yourself kaotkbliss. Maybe it will help.Player.rar Link to comment Share on other sites More sharing options...
n0dy Posted January 21, 2010 Author Share Posted January 21, 2010 Any help guys? Link to comment Share on other sites More sharing options...
bogQ Posted January 21, 2010 Share Posted January 21, 2010 (edited) Some help, do not bump a thread within 24h and maby someone will help you, if you bump it all the time youl probably will not get any. Edited January 21, 2010 by bogQ TCP server and client - Learning about TCP servers and clients connectionAu3 oIrrlicht - Irrlicht projectAu3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related) There are those that believe that the perfect heist lies in the preparation.Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost. 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