Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

for a candy hack :D

this.candies.accumulated = 1000

this.candies.current = 1000

this.candies.max = 1000



I was sad that I couldn't figure out how to run this. :-( It did not run for me in the web console in firefox:

[10:15:03.006] TypeError: this.candies is undefined

but then I realized how useful the lollypop farm is and was quite happy.


It won't work now. See candyluver13's comment below for a working cheat.


yeah , before typing you need to stop by pressing pause in the debugger.


This game is kind of fun. I would feel bad cheating it.


wow, it really hacks! how could u find this bug?


Most if not all of the code runs on the client side, it's expected you can cheat pretty much anything in the game.


(function () { for (var i = 1; i < 99999; i++) window.clearInterval(i); var pl = Game.prototype.postLoad; Game.prototype.postLoad = function () { window.game = this; pl.call(this); }; Main.documentIsReady(); })(); game.candies.current = 999999999999




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: