# What's inspired me to learn coding

This is a discussion on What's inspired me to learn coding within the C++ Programming forums, part of the General Programming Boards category; Hello. I have never really done any coding, besides a little Lua and editing some things here and there. I ...

1. ## What's inspired me to learn coding

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
http://img51.imageshack.us/img51/5980/38776256.th.png

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
http://img830.imageshack.us/img830/2/72109604.th.png

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
http://img29.imageshack.us/img29/933/76471625.th.png

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.

2. So you basically want help with cheating on a game, which has some anti-cheating measures already built in to frustrate the screen scrapers and bot writers.

But I think you're missing the point of the game.

Do you even know if an all-yellow character is even possible?
My experience of such games is that each character is flawed in some way, and the whole point is to choose a style of game play that takes advantage of the character strengths and avoids the character weaknesses. An all-yellow character will be at a disadvantage in EVERY situation, because the opponent will always be stronger in something.

Well you could just wander like a lost soul from one forum to another hoping to strike lucky.

Or you could put in the months of practice to make a decent stab at it yourself, then post on a forum if you're actually stuck on some aspect of your own code.

Or just give up and hand over the money to someone willing to spend however many days it is likely to take to do this.

> I basically want to know if this is even possible.
Yes.

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

3. Yes, they're called 6-stats, because they're perfect. I have a 6 stat Elf. Someone else has a roller for this game though, and It took me like 10 years to get mine. And now this little click of people have many of them so I would like to level the playing field.

I've obviously put a lot of thought into this already, I've tried taking a few other routes. Would C++ be best for this type of project though?

My only issue would be with the colors not staying the same and in the same place..
How would that be possible to get-around?

4. Originally Posted by Jimminy
And now this little click of people have many of them so I would like to level the playing field.
I suggest that you level the playing field by reporting those who cheat and by reporting a bug with the effectiveness of their anti-cheating measures. You might also want to report a bug with the game mechanism itself, though that would be more debatable.

Now, if you were trying to write a program to figure out an optimal set of character stats that you could legitimately choose, that might be a different story.

5. It doesn't look like there is any choosing involved. It looks like you can just mash the reroll button as much as you want. It even says in the screenshot that the aim of it is to get as high of stats as you can.

I'm assuming this is some kind of online thing? Why don't you just packet sniff when you hit reroll, and then parse that to see where each value falls, then simply check for max stats in that?

Quzah.

6. Originally Posted by quzah
It doesn't look like there is any choosing involved. It looks like you can just mash the reroll button as much as you want. It even says in the screenshot that the aim of it is to get as high of stats as you can.
There is a choice involved, though it does not involve stats selection: the choice is whether to accept the stats given, or try again. What Jimminy wants to do is to automate the trying so that this choice can be avoided, but such automation would be against the rules, given the CAPTCHA type of anti-cheating mechanism.

7. What CAPTCHA? There's just an OK or REROLL.

edit - Ah, I didn't even see the last graphic there for some reason.

I don't think the colors lack of purity has anything to do with a security measure, but more of a "this is what happens to graphics you printscreen and try to zoom in on". I figured if he's already figured out how to make it click the button with his little reroller, that sniffing out the packet or looking at a row to see if there's roughly equal blue and green in the color should be fairly easy. This should be pretty easy if he spends a few minutes with a color picker and rerolling, to find the range of yellow, or enough to approximate it for his checks.

Quzah.

8. No, the graphics are only like that for the rectangular up and down box of those six stats area. Making it harder to determine if the area is yellow or not. Which is why I can't just save like 3-4 colors of yellow and it know it's 'perfect'. I'd need like.. a range from the lightest yellow RGB number to the darkest yellow RGB number. Also, I know nothing about sniffing.

9. Originally Posted by Jimminy
Yes, they're called 6-stats, because they're perfect. I have a 6 stat Elf. Someone else has a roller for this game though, and It took me like 10 years to get mine. And now this little click of people have many of them so I would like to level the playing field.
So, if I'm reading this correctly, you think that the way to deal with cheaters is to cheat yourself????
You may want to give that a bit more thought, my friend...
The active question being, how exactly does that make you any better than them?

10. Actually, it's pretty reasonable. In a world of cheaters, non cheaters cannot win. Basic game theory logic. If everybody cheats, cheating is the new norm and unless you become better at cheating or find different ways to cheat you have lost your edge.

11. Hey, atleast I've found an interest? This is what has made me want to learn, I'm just asking ..what to learn? You see my problem, how can I create something to fix it?

12. I hope you're perma-banned and then taken out and beaten with a baseball bat. I highly doubt everyone is cheating. What, everyone has devised their own program to do this? If so, why are you trying to re-invent the wheel? Just use what everyone else is using.

Quit trying to make yourself out as some victim instead of the game mechanics killing scum that you are. All you're doing is helping destroy the the whole purpose of having random character attributes.

How can you even begin to find joy or any sense of accomplishment when you know you had to cheat to get there? If you use an aimbot in a FPS are you actually proud of topping the kill chart? It's pathetic and people like you ruin the competitiveness of games. Instead of adding to the problem, report the offenders.

13. Originally Posted by Jimminy
Hey, atleast I've found an interest? This is what has made me want to learn, I'm just asking ..what to learn?
I would suggest starting with the tutorials here. Begin with Lesson 1 and work your way through. No one here is going to help you cheat.

14. Originally Posted by Alexandre
Actually, it's pretty reasonable. In a world of cheaters, non cheaters cannot win. Basic game theory logic. If everybody cheats, cheating is the new norm and unless you become better at cheating or find different ways to cheat you have lost your edge.
You assume that cheating automatically leads to a win, which is not true. However, your general point is true... but in a world that can be changed, the appropriate solution is to change the world, not cheat.

Originally Posted by Jimminy
Hey, atleast I've found an interest? This is what has made me want to learn, I'm just asking ..what to learn? You see my problem, how can I create something to fix it?
If cheating is the only motivation you have to learn programming, I would rather not this message board community be responsible for helping you to learn programming.