7

I uh.. have been using Javascript sorcery* to get ridiculous amount of candies in Candy Box.

Javascript sorcery

I am wondering if I could break the game, encounter horrible game bugs or by-design game features that could have a negative effect on gameplay if I keep on doing this. Can I add any amount of candy or lollipops that I want without encountering any problems?


* cheats

1

6 Answers 6

10

I found a possible side effect. If you eat a ridiculous amount of candies, your hitpoints will get so high, that...

...fighting yourself will take a long time: enter image description here

1
  • Since we're using javascript cheats anyhow, this can easily be overcome by writing in the code sword.setSpecialPower(x);.
    – Teofrostus
    May 11, 2013 at 14:52
4

No

I needed to sleep, so set candies.candiesPerSecond very very high so I could complete the game and get to bed.

enter image description here

There are no negative side effects, I was even able to save and reload the game.

2

Since javascript has dynamic variables, you can make the numbers as high as you possibly want as long as javascript can handle it. For AFAIK there shouldn't be a problem with huge numbers. It will be transformed to the e-notation. Once you finish the game and randomize everything using the "computer" it also comes up with such huge values.

0

For some reason, whenever I had cheated, I couldn't move up and down in hell. I don't know what's wrong or how to fix it. It's probably because I'm using Chrome.

@badp I wish I could do that. I honestly have no idea why my game is doing this. It's annoying, but I guess I'm just going to have to do this the hard way :P.

@Ullallulloo Thanks for editing and respecting my answer :).

2
  • I cheated rather blatantly and haven't had trouble.
    – badp
    Jun 1, 2013 at 22:07
  • What Javascript codes were you using? Jun 2, 2013 at 5:00
0

The only negative aspect I can see, is messing up a spelling, that messes up your game in some unforeseen manner. Nearly impossible.

-1

Typing candies.nbrOwned = 100000 in Console after inspecting has worked for me to get a lot of candies.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .