The game
Ok, hello there fellows, I've been hacking this annoying JS game that someone left on the chat for a few days now and I got a few stuff down, not really a lot but I guess it's worth reporting.
First of all, if you're using FF, like I'm using, then make sure you have Firebug, that's a must for JS games I'd guess, since it lets you do just about anything you want with the content of the browser. and if you're using Chrome use the built-in one, or if you have a better one, please let me know Also, please, don't try doing this if you have no fucking idea of how to use it. Seriously, I'm not going to explain here how to use it, it's not the purpose of this thread. Second, I'm sure that you have this one, but in case you don't, go and get/open Cheat Engine and make sure you select Firefox or the right process in case you're using Chrome (the right process in this case is the process for the tab/window in which the page is running the game) since this is a JS game and not a flash game.
Ok, now that you have everything ready, let's start talking about what I did find:
1 - All the values that work as money start working as 4 Bytes and once they hit the positive ceil (7FFFFFFF) they change to Double and go up to +/- Infinite. Meaning that it would be stupid if you were to turn on the auto-click and leave it running like a legit player.
2 - With Firebug, select DOM and then choose Molpy and tadah, you have it like a boss. Here on the Molpy option is where you'll find almost everything that you need to hack. You can edit here almost every options of the game, how much castles and sand you have, how much you get each click / each 1.2 seconds, which upgrades you can buy, which badges you can get... gosh, there's so much there that it will get you sick.
3 - A few things that you can't find there and which you will miss is that you can't edit the glass chip and glass cube amount. You'll have to rely on good-old CE for that.
4 - In case you mess up with something, you can rely on Firebug to debug the JS and modify the values that are making it bug. I had this when I made it available CbF when I shouldn't have it. After you correct the values, rerun the script from the beginning and dont go step-by-step forward. You'll just end up crashing the scrip t if you don't do so.
5 - A word of advice, try not to "unlocked" the boosts that are from the "Alert" class, they are usually temporary boosts/debuffs and if you do so they will have no ending whatsoever, and you might end up with a few problems.
Ok, now that we're done with this, let me ask you guys if you have any idea where I can find the bytecode list for JS for any browser, be it FF, Chrome, IE, etc. If I had those I might be able to create AoBs for JS games.
Edit: Because of my epic Fail, I edited this to insert the link for the game.
No number of hacks, good or bad, can replace Common Sense.
If you don't know how to use a hack, don't complain about them. Ask first, then complain.
In case you'd like me to update one of my hacks, please PM me, I'll bother updating them...
We don't bitetoo much.
In case you're lost, make sure you check both "101" and the "Konghack Wiki".