Qvintus Posted May 22, 2011 Share Posted May 22, 2011 (edited) Hello I'm trying to make a littel program to automaticly try and connect to a Garena room. Thou problem is I don't want to use my actually mouse so I'm useing ControlClick function. Here the problem, it's not always the same room I want to enter so I want to be able to just hit a hotkey and set the cords that way. If it's posible with ControlListView to finde the cords of the selected item thats fine too. Anyone ideas? So far my alternative is to resize the window useing ControlMove and then ControlSend to move up and down. I know: The rooms I useally want to enter is (103,104,105,106,107,108,109,110) Meaning I could do: $WS = ControlGetPos("[CLASS:SkinWindow]", "", "GG_LISTVIEW4") ControlMove("[CLASS:SkinWindow]", "", "GG_LISTVIEW4", 0,0, $WS[2], 60) and then use ControlSend("[CLASS:SkinWindow]", "", "GG_LISTVIEW4", "{Down}") 'till the right ControlListView("[CLASS:SkinWindow]", "", "GG_LISTVIEW4", "GetSelected") I've triet to use Opt("MouseCoordMode", 2) but when lineing it up with the "AutoIt Windows Info", it ain't showing the same cords. Edited May 22, 2011 by Qvintus Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted May 22, 2011 Share Posted May 22, 2011 Garena sounds game-related, did you see the announcement at the top of the page? Forum RulesWe will not help you automate games. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
Qvintus Posted May 22, 2011 Author Share Posted May 22, 2011 (edited) Well it's not a game, it's a virtual connection maker or so, you login to their client, select a room and open your game. It's not a game in it's self. But some rooms are populated and as theres a limit on 225 people connecting to rooms I can take a while of retrys to connect. Does it count as game automating? Edited May 22, 2011 by Qvintus Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted May 22, 2011 Share Posted May 22, 2011 (edited) OK then.... Did you set clients coordinates for Au3Info too? Otherwize it's no wonder the coords don't match. Edit: Don't know, but based on the information so far this is my only suggestion. Edited May 22, 2011 by AdmiralAlkex .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
Qvintus Posted May 22, 2011 Author Share Posted May 22, 2011 (edited) Not sure what you mean?, I'm useing the ControlClick Coords? They don't seem to change if I'm changeing mode EDIT: Let me try ask a diffrent way, I want to figure out what the ControlClick Cords is for: ControlListView("[CLASS:SkinWindow]","","GG_LISTVIEW4", "GetSelected") That's posible with fx. ControlGetPos("", "" ,ControlListView("[CLASS:SkinWindow]","","GG_LISTVIEW4", "GetSelected")) Or something? Edited May 22, 2011 by Qvintus Link to comment Share on other sites More sharing options...
Qvintus Posted May 23, 2011 Author Share Posted May 23, 2011 bump 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