NG Code Monkey
Joined on 9/26/00
Lol cheaters. I personally agree with mandog. I've played some games which had cheats, without the cheats and it felt good. It was a challenge. After beating a game I would use the cheats to have some 'extra' fun, but usually that fun's limited, because compared to the sensation of overcoming a tough enemy or challenge, it's not even a small bit of fun. Imagine Devil May Cry where you'd kill everything in one hit. It wouldn't be fun anymore.
We could make fake score variables.
Let's say the user has a score of 900
We make one that's 900, one that's 9000, one that's 450, but we use an obscure formula to solve it.
Like the submission variable's the score * 25 /12 or something.
and make check variables to see if a variable doesn't equal the others, and if they aren't equal, they've cheated.
Also who gives a crap about medals.
They don't mean anything, and at least scores let you flaunt your score boner.
If cheating the medals makes the kids feel better, let them. They just won't have the satisfaction of actually earning them themselves.
If you take a developer's standpoint, these things become more important.
Lets say you are making a game for facebook or something, and you are using achievements and/or high scores to create a sense of competition players can tap into. The idea is this competitive nature will result in more people promoting your game to their friends, which ultimately makes it more successful/profitable.
If this hypothetical game is just full of bogus scores and medals and its common knowledge everyone is just cheating, there's really nothing motivating people to show off their scores and building that competitive community.
The formula I used could be replaced with anything really, but you really want it to be something that doesn't have an obvious pattern the human brain can see. I used a square root function because even though you might sniff a value and see it growing, you just can't realistically guess the formula by looking at the way multiple variables change all at once. You could use any number of variables to separate your verification more, you just don't want to over-complicate things too much because debugging stuff with extra points of failure is a pain in the ass.
"...when something FISHY is going on."
Whether or not you intended the joke, I'm pointing it out.
Cheating to win flash games seems like a pretty awful waste of time. I can barely even keep focus or find the time to beat more than the tutorial level on most games.
cheaters never win, winners don't do drugs, drugs have nothing to do with games, but games are thwarted by cheaters.
it's an endless cycle of technological repetition and confusion even when a formula is presented in simplistic manners.
Once W creates X to stop Y, Y will adapt and create Z to prevent W and so on and so forth until repeat ad nauseum.
regardless, it's bound to happen again and again. I guess you could say its one of humanities' perversions of technology.
My 2 cents (more like 1 and a half). This is just my personal take on things and I am not speaking for anyone else. I couldn't give a crap about medals unless i like the game. These I consider as extra objectives, I love collecting all the medals for a game i enjoy. And I don't consider a game completed until I have all the medals (missing just one medal to complete THE ROOM , and I will be back to get it). So if you hack medals you are truly only cheating your self(out of enjoyment). In fact not that I think of it, if I never went back to get the medals in THE ROOM i would have never seen all that crazy shit that happen when you go after the medals , like when....telekinesis ..smash,...kill cops... and that other part...chris...blood. i didn't want to ruin it for anyone who hasn't seen it yet so i let a lot of words out of that last sentence.
Thanks for the tip! I'll definitely implement some sort of formula protection in my next highscore-based game.
One thing I discovered when trying to prevent "hacking" in one of my previous games is that the value inside a text field can't be accessed using the traditional cheat engine memory search, so I used the score display text field to make sure the score hadn't changed between two kills. I don't know exactly how safe it is but it can add an extra layer of protection against the script kiddies.
Also, do you have any tips on how to protect your games from people hacking the .swf itself? (such as seen on <a href="http://www.arcadeprehacks.com">www.arcadeprehacks.com</a>)
Here's a fun fact : the guy who sponsored my last game, Discount Mayonnaise, actually wanted me to put in a button that said "unlock everything" and that would lead to a "hacked" version of the game - that I would provide - on his hacked games website.
WTF IS GOING ON?!
every time your score is added to, multiply it by -1. then just use an absolute value function to display it as a positive number in the text box or what have you.
most (if any) of your average cheat engine users wouldn't expect the score to fluctuate in such a way between increasingly positive and negative values.
of course, it's been a while since i've used flash or cheat engine, so this might be completely ineffective, i have no idea.
You could display a false score in-game and have the actual score be something else, say half of the in-game score. Then when it's time to submit the score, just double it and nobody would notice.
People using a CheatEngine would try to change the in-game score and then when they submit it, it still just submits the actual score and not the cheated one.
Not only would that get rid of a good amount of cheaters from your game, but there would be a bunch of "Fuk dis program it don't even wurk!!11!!111!" comments on the CheatEngine site.
Anyone who's really got their heart set on cheating won't just stop when the ovbious value doesn't work. In the case of using a half value I could use cheat engine to just look for values that go up until I have a single value left. Then if that value is 450 and my score says 900, I'm smart enough to do that math.
That's an awesome technique you've come up with! But at the end of the day, these are only Flash games so I wouldn't really care less if someone cheated on any of my games.
Well I was just using half for a simple example. You could do square root or something, and then use the absolute value thing someone else mentioned.
I remember what I meant to say.
If the person wants to cheat at medals, it doesn't effect others that do all that much, people who cheat at high scores get put on a leader board and it gets filled with cheaters.
Medals can be looked at in a more personal achievement kinda way while leader boards require multiple people.
I hate so called "Hackers" that do this shit. Oh look at me I am really bad ass at using a program that SOMEONE ELSE wrote to change a value in my game and look awesome. If they really wanna hack go hack amazon, ebay, facebook, google, paypal and get real skills at breaking security so that you can buy a better computer or some bull crap like that. I absolutely hate kids these days. Our society is going to fall so hard.
For some reason, I'm glad I didn't add scoreboards.
Lets say that every time you kill an enemy you get a point, and every time you get a coin you get 2 points...
One thing you could do is have it so that a variable determines what the score was last when you attack an enemy or get a coin, except perhaps the variable's name is not called like "verify_score" or anything like that - and it's a NEGATIVE version of the score ( score -= (score * 2) ) so that users don't pick it up.
Next thing you do is have it so that every time you get an enemy or coin, it will check the negative version of the score (once making it positive again) and see if they're the same, and if they are you will gain points. If not, you can simply make it GotoAndStop("the_frame_where_we_say_go_fuck_yo urself")
God damn, I was doing fine reading until you got to the bit about code.
speaking of medals, the games with medals page is not working :(
Please fix it as soon as possible so I can start gaming and winning some sweet medals
...Its a shame that people will cheat to get what they want. Its bad taste, and indicates how desperate someone is for attention.
Eugh, I know these are "only" Flash Games but damnit i've spent a lot of time and effort writing these things and it really gets me down when I see somebody has just cheated their way to the top.
Any word on how successfully these techniques work? It seems like it'll work pretty well at a glance but i've never tested this sort of thing in the wild.
I'll admit I've contemplated giving Cheat Engine a try quite a few times at particularly grueling gaming moments, but proud to have withstood that temptation when it was all over, the bigger the challenge the bigger the reward, after all. Anyway: interesting read on how it all works, and what can be done to prevent it.
Also assume 'won games' is meant to be 'own games' (final line).