Ritz Posted August 28, 2006 Share Posted August 28, 2006 I want to have a bot which joins a game based on the number of people (between 1 and 9) in an arena. I know the locations of the digits corresponding to the player count in the lobby window, and I could easily implement a nested series of if/then/else statements to arrive at the #'s. I feel like this would be too slow, however, since I could be scanning 30+ games before finding one in my desired area. Does AutoIt provide anyway to create a map from an array of pixels to a character? Link to comment Share on other sites More sharing options...
Paulie Posted August 28, 2006 Share Posted August 28, 2006 (edited) I want to have a bot which joins a game based on the number of people (between 1 and 9) in an arena. I know the locations of the digits corresponding to the player count in the lobby window, and I could easily implement a nested series of if/then/else statements to arrive at the #'s. I feel like this would be too slow, however, since I could be scanning 30+ games before finding one in my desired area.Does AutoIt provide anyway to create a map from an array of pixels to a character?Diablo 2? What game?what code do you have so farI'd write something, but I hate just stabbing in the darkEDIT:Typo Edited August 28, 2006 by Paulie Link to comment Share on other sites More sharing options...
Ritz Posted August 28, 2006 Author Share Posted August 28, 2006 Diablo 2? What game?what code do you have so farI'd write something, but I hate just stabbing in the darkEDIT:TypoI'm writing a table-hopping script for PokerStars which will let me enter a new table of a specified name, limit, player size, or any combination there of. I haven't started anything yet to read the characters, because I was hoping there was an easier way than laying out all of the pixels one by one in if/then blocks. Stars doesn't allow access to the normal ListView for the lobby like most sites, so I have to get the info by screen scraping. 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