Cookie Clicker

Cookie Clicker

Cookie Assistant
Vivyx 20 Dec, 2021 @ 9:30am
Problems with AutoSell Buildings
Under AutoSell Buildings ON, at the default Interval(ms): 500 and When: "Have one buff", I consistently end up with the mod selling the buildings rapidly, not buying them back, and then receiving the error: "Could not sell buildings due to not enough" over and over again.

In the end I never get the buildings back. This happens whether or not I choose to sell the maximum amount of buildings I have, or a lower amount. This may be happening because a research/upgrade, or a stock broker, is purchased automatically while the autoselling is happening, reducing my funds.

Something else that might work as an option is to allow buy back of as many buildings as possible financially, up to the amount that you sold. An option to sell all available buildings of a type would be great. This way, the error would never come up. You'd be able to create a loop of "sell as many buildings as you have of the type" followed by "buy up to as many as you sold."
Last edited by Vivyx; 20 Dec, 2021 @ 10:51am
< >
Showing 1-4 of 4 comments
hitsub[JP]  [developer] 20 Dec, 2021 @ 9:28pm 
As a prerequisite knowledge, only 25% of the cookies will be returned for the sale of the building.
If you enable the auto-sell feature when you don't have enough cookies, it is natural for that error to occur, not a bug.

The Godzamok buff is a powerful buff only when it has a sufficient source and when it is layered with other buffs.

Since this mod is an assist tool, it is highly recommended that you experience what the Godzamok buff looks like manually first.
DewmGuy 8 Jan, 2022 @ 5:44pm 
This feature is why I am here too. Its very close to being very effective but not quite there yet. The Autobuy Building feature interferes with the buyback feature of Autosell. When the Autosell feature sells 600 buildings, the Autobuy starts repurchasing the buildings back at 10/50/100. Then the buyback feature of Autosell tries to buy back 600 more buildings and fails because it can't afford it.

The Godzamok buff only lasts 10 seconds so it makes sense to set the AutoSell building interval to 10000ms.

The AutoSell feature should be changed so that you can set it to sell ALL of a building or X units of a building. Then it needs a second input for how many of the building to buy back. This way you can sell all of your buildings (say 700) and have it immediately buy fewer back (say 600) and there will be no conflict of affording it and it will also not conflict with the Autobuy Building feature.

For example, lets assume you have Godzamok in pantheon, 760 farms, a 7x frenzy, and a x777 frenzy. The changes outlined above could look something like this:

[AutoBuy building ON]
Mode: Buy every 10 pieces]

[AutoSell Buildings ON] Interval(ms): [10000]
1. Sell [All] [Farm] When [Have two or more buffs]
do after activated Buy Back [600]

This would trigger selling all 700 of your farms when two or more buffs are detected and then immediately buy back 600 of them and repeat every 10 seconds.
Last edited by DewmGuy; 9 Jan, 2022 @ 12:15am
The Plushie 27 Jan, 2022 @ 8:13am 
I have a question about this. Does selling multiple building types increase the multiplier? I currently have it set to sell 500 of my buildings that don't scale well anyway (Cursor, Farm, Mine, Factory, Bank, Temple, Shipment, Alchemy Lab, Time Machine, Antimatter Condenser, Prism, and Chancemaker) ever 150ms, but I wonder if this is optimal. It's increasing my cookies gained, though I think I might do better.
Alexander Maius 21 Mar, 2024 @ 8:37pm 
So, Godzamok buff stacks. meaning if you sell 100 buildings 10 times in 1 second while buying them back. then you will have 1000% bonus with 9 seconds remaining. Since interval is low and it keeps stacking, it'll be 2000% with 8 seconds remaining. then 3000% with 7 seconds remaining. so on and so forth.

Since you are selling building that doesn't produce much revenue anyway. Why not adjust sell building amount so that you are slowly depleting your stock while auto buy buys back the buildings. turn off do after activated.

this makes it so that you are Yo-Yo ing back and forth buy and sell until you eventually run out of building or buffs expires since you are selling faster than auto buy feature buys building. Since lower level buildings are much cheaper, its better to sell low level building for 1% buff then it is to sell high level building for same 1% buff. paying 2e34 for 1% buff repeatedly to stack is better than paying 5e64 for 1%. net gain is way more than selling once at high interval.

If you don't mind seeing can't sell due to lack of building message, you can get some crazy buffs.

Do note that if you are buying and selling max level building repeatedly, depending on what two buff you have on to activate godzamok, its possible to lose money. because 1% buff may not be worth 5e64.

If you can't stand seeing messages of not being able to buy back or sell building, then turn either auto buy off or set do after activated to nothing. it would be nice if do after activation remembers amount of building you had before activation and fills it up to that number so auto buy can work simultaneously.
< >
Showing 1-4 of 4 comments
Per page: 1530 50