kforsey Posted March 12, 2005 Share Posted March 12, 2005 If i was making a Bot for a game, is it possible to make the Bot read text that appears on the screen. If so, how? Link to comment Share on other sites More sharing options...
Insolence Posted March 12, 2005 Share Posted March 12, 2005 (edited) Yes.What I did was make a grid system out of each line and character. I then took the top-left most coordinate of each character and made an individual set of coordinates for each pixel in that character:"0,-1;-1,0;-1,-1;-7,0;-7,-1;"Which is 'A' in the game I play.I'm not sure if I did it the best way possible, but here's the source. Edited March 12, 2005 by Insolence "I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar. Link to comment Share on other sites More sharing options...
AutoElectric Posted March 12, 2005 Share Posted March 12, 2005 Yes.What I did was make a grid system out of each line and character. I then took the top-left most coordinate of each character and made an individual set of coordinates for each pixel in that character:"0,-1;-1,0;-1,-1;-7,0;-7,-1;"Which is 'A' in the game I play.I'm not sure if I did it the best way possible, but here's the source.<{POST_SNAPBACK}>I'm confused. Can you please elaborate? From the book of AutoElectric"Do not accuse another man, without proof, or you too will be accused", Morals 4:21The book of AutoElectric is MY book of morals, and follows biblical teachings. Link to comment Share on other sites More sharing options...
Insolence Posted March 12, 2005 Share Posted March 12, 2005 (edited) I'll diagram it: 1) Find the text 2) Find each line 3) Find each character 4) Start point of black pixel coordinates 5) Record each black pixel Edited March 12, 2005 by Insolence "I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar. 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