pulli23 Posted July 30, 2012 Share Posted July 30, 2012 Well wouldn't it be amazing if you could say: "!lvl.herb" and then you see a list of each team member's herblore lvl? To make everything according to jagex rules make the hiscore lookup only start once you type the command? Would help immensely for non maxed teams. (Do we need a potion for that 98 herblore door?). 2 First they came to fishingand I didn't speak out because I wasn't fishing Then they came to the yewsand I didn't speak out because I didn't cut yews Then they came for the oresand I didn't speak out because I didn't collect ores Then they came for meand there was no one left to speak out for me. Link to comment Share on other sites More sharing options...
Stev Posted July 30, 2012 Share Posted July 30, 2012 It's a great idea! Would take some time for me to update my text recognition functions (finding text in images), but it would be possible. I'll look into it, but no guess on when. I would use some of my old functions, but the server they were all hosted on was wiped clean. Lol. Thanks for the great idea! Link to comment Share on other sites More sharing options...
pulli23 Posted August 1, 2012 Author Share Posted August 1, 2012 Would this require so much more than the potion script? You can just listen to the "!lvl" combo being typed? And then use the highscores for a lookup, as you already capture the party names? First they came to fishingand I didn't speak out because I wasn't fishing Then they came to the yewsand I didn't speak out because I didn't cut yews Then they came for the oresand I didn't speak out because I didn't collect ores Then they came for meand there was no one left to speak out for me. Link to comment Share on other sites More sharing options...
Stev Posted August 1, 2012 Share Posted August 1, 2012 The party names are captured to a GDI+ bitmap. It never actually reads them as a string - only an image. The hard part is getting it to recognise strings. While there's a few ways to do this, some easier then others because it's such an easy font, it may take time. Further explained:It captures the legend area to memory. It then checks to see if it is, in-fact, a legend. If it is, it extracts all of the white (ffffff) and near white (fefefe) pixels from that bitmap. It then separates them into 5 other bitmaps, while also changing the colors from white to red, blue, etc. It never actually 'reads' them. 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