top | item 3779991

How I Cheated Mozilla's New HTML5 Game - Browser Quest

47 points| Garbage | 14 years ago |raymondcamden.com | reply

24 comments

order
[+] stcredzero|14 years ago|reply
Neat! One can also just walk north without passing next to a monster, waltz into the throne room and wait until the crowd there starts killing the big boss. Chances are, you get to pick up the sword and armor in a matter of minutes.
[+] 0x006A|14 years ago|reply
might even be faster, but its an html5 game so you have to play with the html5 tech in it(i.e. localStorage).
[+] arocks|14 years ago|reply
As the author himself comments "To be honest, I don't think I would have done it any better. There is no player on player fighting, so my cheating only ruined the game for myself. It didn't really do anything else."
[+] rprime|14 years ago|reply
I don't know why this hit the front page, shouldn't that be a logical thing to assume when it comes to HTML5 games? That HTML5 games are not secure and in order to get what you want you just need to have some Google Dev tools skills.
[+] nkassis|14 years ago|reply
No that's not the problem. This is no different than what game such as World of Warcraft have to deal with, you can't trust the client. The server should be validating the players moves, gear etc.

Sure you can hack the javascript easier than you can a compiled program but that never stopped modders.

[+] clippit|14 years ago|reply
It's just a demo so there's no strange at all, IMHO
[+] vog|14 years ago|reply
Is it just me, or do the graphics of that game look extraordinarily similar to "The Legend of Zelda: A Link to the Past"? I'm not saying it is a rip-off, or that creating a clone of a popular game is bad at all. But the extreme similarity is very confusing. It's not only the graphic tiles, but also the map, the characters, everything.
[+] TazeTSchnitzel|14 years ago|reply
It's probably just inspired by it. But many games have similar styles. Some aspects of it remind me of Pokemon, for instance.
[+] rprime|14 years ago|reply
The use of pixel art is very common, and well, as far as I know they wanted a Zelda like game, just because are similar dosen't mean is a copy. They weren't trying to make an original game just demonstrate a point.
[+] capsule_toy|14 years ago|reply
You can also do this with most Flash games. A few companies encrypt the data, but in theory, the encryption key can still be reverse-engineered since it's on the client side. It just usually isn't worth the effort.
[+] why-el|14 years ago|reply
Just curious, are there any good practices that would minimize the damage?
[+] naeem|14 years ago|reply
Just store it on the server. There was no reason for inventory information to be hosted client-side. If the data was stored on the server and fed real-time you wouldn't have the security issue. What you WOULD have is latency issues, which is the primary issue with Node-based games (from my own experience), so that's probably why they avoided it. In a real game, that's how you'd have to do it.
[+] YmMot|14 years ago|reply
Don't trust the game client.
[+] DasIch|14 years ago|reply
You just have to validate everything on the server.
[+] theunixbeard|14 years ago|reply
Am I doing something really stupid, or is this not working anymore????
[+] reustle|14 years ago|reply
Every time I tried this, chrome would "oh snap".
[+] necenzurat|14 years ago|reply
Watch out, we got a local storage cheater bad ass over here. Now seriously, people had cheats on games like WOW, Lineage etc witch are online (DB is online) and could cheat. The best ideea is NOT TO TRUST the client. But still is just a proof of concept and playing and not cheating was nice, 30 minutes tops to finish it (all achievements)