Click here to Skip to main content
15,887,477 members
Please Sign up or sign in to vote.
2.00/5 (2 votes)
Hello. I have never really done any coding, besides a little Lua and editing some things here and there. I basically want to know if this is even possible.

I want Max stats on this character, the max stats are the green ones on the right, the stats on the left are the ones you are rolling. Red is unperfect, yellow is perfect. The goal of this project is to get 6 yellow stats, or, perfect stats. So as you can see, I've chosen a class, race, all of that good stuff.

ATTACHMENT 2 OR
[URL=http://imageshack.us/photo/my-images/51/38776256.png/][IMG]http://img51.imageshack.us/img51/5980/38776256.th.png[/IMG][/URL]


I would like to think that I could just have 6 or so coordinates that you could set on the screen where the numbers would appear, check all 6 coordinates, decide if it's 5 stats perfect atleast, then save. Or reroll. But here's the curveball. They not simply yellow, each pixel is a different shade of yellow. The whole 'reroll' rectangle is pixelated. And the numbers move slightly around.

ATTACHMENT 3
OR
[URL=http://imageshack.us/photo/my-images/830/72109604.png/][IMG]http://img830.imageshack.us/img830/2/72109604.th.png[/IMG][/URL]


So would it be possible to do what I'm asking? Be able to make something that could check multi areas, determine the color there from a range of the lowest yellow color number to the highest yellow color number, same with red.

Also, every once in a while it pops up with a random easy math equation that you have to 'click' on the number to solve. If you click anywhere but the area in the right number then the whole program closes.

ATTACHMENT 4
or
[URL=http://imageshack.us/photo/my-images/29/76471625.png/][IMG]http://img29.imageshack.us/img29/933/76471625.th.png[/IMG][/URL]


This, however, I don't see as much of a problem, if the 'coordinate color checker' comes up with 6 black color checks, then it knows it's on the equation checker, simply click, let it restart, and reboot the program.

Doing this all, in my mind, would require you to set a few key points and marked/memorized coordinates for the program to run. Like where the menu's open, where's it's options to click to get back to the reroll screen after closing, where the race/class you want is..

Someone tell me if this is going to be way to complicated for someone with no C++ experience.

I have the right idea, I think, Checked Colors IF not yellow, check next color, repeat, repeat, after the checks are done, IF 5 stats are yellow, then save. ELSE Reroll.

I appreciate your time, many thanks.
Posted

1 solution

I think that with little programming experience you would be much better off with a tool like http://sikuli.org/[^]. It is designed just for this sort of GUI interaction. You still need to think through your problem logically, but it deals with the complexities of graphics that would take you a very long time to work out with no programming background.

I'd add that though I don't recognize the interface, I suspect that the prompt to do a math question is there to defeat the typo of automation that you are after. You may find that using automation is in violation of the terms of service for this game, and you may be locked out as a result.
 
Share this answer
 
Comments
JimminyC 8-Sep-11 1:54am    
Are you experienced in this program, I had never heard about it until you unveiled it to me and Wow! It's a hell of a recording system. Definitely a neat idea. I was wondering if you could help me out with a few questions with the IF and Else areas, I got everything else up to the part where the actual rolling and checking of the stats needs to be done, but it looks like this program can make that easier done then I previously mentioned.
Thanks
J
Uilleam 10-Sep-11 12:46pm    
I agree it's a really interesting system, but I mostly do non-GUI work and have only played with this a little bit (one of many cool things I stored with no particular purpose in mind ... yet). Still, I'm willing to give a shot at helping if you can narrow it down to specific issues.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900