Like Tree12Likes
  • 4 Post By Salem
  • 1 Post By laserlight
  • 2 Post By itsme86
  • 5 Post By laserlight

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. #1
    Registered User
    Join Date
    Sep 2011
    Posts
    4

    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.
    Attached Images Attached Images    

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,659
    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.
    But you already know the answer to that one don't you.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered User
    Join Date
    Sep 2011
    Posts
    4
    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. #4
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,893
    Quote 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.
    CommonTater likes this.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  5. #5
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    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.
    Hope is the first step on the road to disappointment.

  6. #6
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,893
    Quote 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.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  7. #7
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    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.
    Last edited by quzah; 09-08-2011 at 03:15 AM.
    Hope is the first step on the road to disappointment.

  8. #8
    Registered User
    Join Date
    Sep 2011
    Posts
    4
    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. #9
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by Jimminy View Post
    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?
    Last edited by CommonTater; 09-08-2011 at 02:36 PM.

  10. #10
    Registered User
    Join Date
    Aug 2011
    Location
    Montreal, Quebec, Canada
    Posts
    73
    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. #11
    Registered User
    Join Date
    Sep 2011
    Posts
    4
    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. #12
    Gawking at stupidity
    Join Date
    Jul 2004
    Location
    Oregon, USA
    Posts
    3,167
    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.
    Salem and rags_to_riches like this.
    If you understand what you're doing, you're not learning anything.

  13. #13
    Registered User
    Join Date
    May 2011
    Location
    Around 8.3 light-minutes from the Sun
    Posts
    1,866
    Quote Originally Posted by Jimminy View Post
    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.
    Quote Originally Posted by anduril462 View Post
    Now, please, for the love of all things good and holy, think about what you're doing! Don't just run around willy-nilly, coding like a drunk two-year-old....
    Quote Originally Posted by quzah View Post
    ..... Just don't be surprised when I say you aren't using standard C anymore, and as such,are off in your own little universe that I will completely disregard.
    Warning: Some or all of my posted code may be non-standard and as such should not be used and in no case looked at.

  14. #14
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,893
    Quote 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.

    Quote 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.

    *thread closed*
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 9
    Last Post: 03-20-2009, 05:22 PM
  2. You have to learn C in order to learn C++
    By gandalf_bar in forum A Brief History of Cprogramming.com
    Replies: 20
    Last Post: 07-16-2004, 10:33 AM
  3. What inspired you to become a computer programming?
    By ZooTrigger1191 in forum A Brief History of Cprogramming.com
    Replies: 35
    Last Post: 02-10-2003, 06:03 AM
  4. Cheesy Moo Inspired Me
    By NickESP in forum Game Programming
    Replies: 5
    Last Post: 02-07-2003, 08:35 PM
  5. Sean inspired me to do this...
    By frenchfry164 in forum C++ Programming
    Replies: 3
    Last Post: 12-27-2001, 08:12 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21