prinzstani / CookieBot

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

garden - keeps buying buildings so cant afford seeds #102

Open crashinz opened 3 months ago

crashinz commented 3 months ago

I'm near the end of the game and have like 4 (non-shadow) achievements left

I still only have like 12 seeds, it never plants them. I assume because it cant ever afford them because it keeps buying buildings even though i don't have any achievements left requiring cookie count or having x amount of buildings etc.. (increasing cps just keeps increasing seed cost)

does it finally just cheat them in?

one of its current tasks is "Missing achievement #379: Harvest 1000 mature garden plants, try to get it now." but it hasn't planted any seeds

its only harvested like 261 plants, lvl 10 farm. little over a year playtime.

ive just got some shadow achievements, the last stock achievement, and garden achievements left

otherwise, really great, its done wonderful.

prinzstani commented 3 months ago

I see the problem. The bot is not optimized to handle the garden late in the game. When you let it run a few days, it will have enough buildings such that the buying of buildings does not get in the way of the garden. Typically, you should be in this situation after 2 days. Then you will have full speed in the garden and get all the achievements. Achievement 379 does not have any specific code; the bot just does normal garden and building processing. It will also do normal stock processing, so you might even get the stock achievement along the way.

This is also related to issue ##59.

If the garden does not work after 5 days, please send an export save.