prinzstani / CookieBot

Automatic Playthrough for Cookie Clicker
GNU General Public License v3.0
51 stars 34 forks source link

After reset optimizations #64

Closed Buti1986 closed 2 years ago

Buti1986 commented 3 years ago

I started a new game using the bot to see how it performs now with the market, 100% bot playing, not helping in anyway, so this are some "problems" the bot run in and I think have easy solutions.

Ideally I would not let the bot purchase anything until I have all the easter season and halloween droppings, but a simple "not purchaching the first 3 hours" or something like that, kinda the same you have for saving strategy should work good enough.

In any case, the real problem is Skruuia + stock market trying to buy stuff early, I saw the bot stuck for 2 hours with all the easter season eggs, but unable to move to halloween season, because you are spending all the cookies in the stock market before you get enough to buy the new season, and the few times you get a "good" cookie with Skruuia (like elder frenzy) being unable to buy the upgrade because is recalculating how much to save and you spend everything again in the market.

I know these are small problems and for kinda very early gameplay, but at least the market should be easy to put a timer on and make the resets much smoother and even if Skruuia may be optimal it really is very frustrating to watch and should be more pleasant to see regular golden cookies gameplays even if you delay the droppings a bit.

Other than that, the bot is working better than ever, I like a lot more how is playing with the Grimoire now, casting a lot more spells, the only small thing is the saving strategy, sometimes I fell that it should try to go for 100% saving no matter what instead of recalculating so many times how much to save.

prinzstani commented 3 years ago

Yes, I agree with most of what you say. 1) The stock market should not exceed the saving limits. Currently, saving is not aligned with the stock market, and it should be. 2) We do not need Skruuia after we had achieved all droppings for the first time. Still, I do not think it is slowing down the process as much as 1) does.

I work on other parts of the bot currently and will mark this issue as beginner issue, so maybe someone comes witha solution.

Kikithecat12345 commented 2 years ago

@Buti1986 do you think you could provide a save file for which I could test with?

Buti1986 commented 2 years ago

SnazzyKittenBakery.txt

Sadly this is the only safe file that I have at the moment, and is kinda advanced, it may work to test it with just a reset tho, no matter the amount of heavenly chips the start is still a bit slow.