Cookie Clicker

Cookie Clicker

Auto Stocks
31 条留言
Blahaj 1 月 2 日 下午 4:14 
is good
benson930430 2024 年 10 月 26 日 下午 1:30 
nice
kanashimih 2024 年 6 月 11 日 下午 4:09 
pretty good!
SunKisser 2024 年 2 月 8 日 下午 6:23 
does seem to work for some reason
enabled the mod in the menu but nothing happens
Noutyr 2023 年 10 月 21 日 下午 6:14 
I would apreciate to be able to set when to sell and when to buy
Belowflames 2023 年 8 月 30 日 下午 5:54 
Does this disable achievements?
Some Kind of Adequate 2023 年 5 月 10 日 上午 10:02 
Wish this had a max allowable buy price or something. It buy high-end stocks for super high prices
Ben Barsley 2023 年 3 月 22 日 上午 10:58 
it doest work
jbwhite02 2023 年 3 月 16 日 下午 6:43 
is there a way to download this mod onto the web version? I'm wanting to try it out with the current beta
LearnedAndVile 2022 年 12 月 31 日 上午 11:31 
That's fine, there's no rush. Also, you're right, now that I have the money to buy everything it seems to be working now. Thank you.
ARAFEK  [作者] 2022 年 12 月 25 日 下午 4:31 
Sorry, had some personal issues and couldn't look into it.
I'll probably do it this week, seems like an easy fix and I should have the time.
For now, I know it works when you have enough bank to buy all the stocks,
karby's girlfriend 2022 年 12 月 18 日 上午 4:15 
Update: Gave it a few days and it's working correctly. (There are a few times where it makes questionable sequences of trades (leading to huge losses), but good most of the time (usually a net positive)
LearnedAndVile 2022 年 12 月 12 日 下午 10:01 
Did you implement the new change? Because I'm having the same problem as everyone else.
Mikkel 2022 年 12 月 11 日 上午 4:48 
Sounds good, thanks for the taking the time to look into it.
ARAFEK  [作者] 2022 年 12 月 10 日 下午 8:55 
Yeah, it actually is, the "false" is thrown when the buy attempt fails, and this can be caused either by already being at max stock or by not having enough cookies in bank. I'll implement a bank check before buying and the issue should be fixed.
Mikkel 2022 年 12 月 10 日 下午 12:37 
Just dicking around with nothing i know anything about, just for the hell of it, i tried reducing the 1000 to 1 instead, and now it actually buys CHC, once per command.

i.e buying SUG -
'Game.ObjectsById[5].minigame.buyGood(3, 1)' of course only if it's cheap enough, it results in a 'true' in the console, with the sound of a purchase.

I don't know if this is useful information to you.
Mikkel 2022 年 12 月 10 日 下午 12:28 
So starting it up in debug mode this time, to get to console, this time it was settled on CHC, again without buying, randomly just showing the notification.

So running 'Game.ObjectsById[5].minigame.buyGood(1, 1000)' in the console just returns a 'false' on the next line. Any other of the other IDs brings a false as well.
ARAFEK  [作者] 2022 年 12 月 10 日 上午 9:19 
This is really weird. The whole code is based on the vanilla game functions, and it should only notify right before running the function to buy the good:

```
if (shouldBuy(good)) {
notify({
body: `Buying ${good.symbol} at \$${Math.round(good.val * 1000) / 1000}`,
icon: good.icon,
});
stocksMarketMinigame.buyGood(goodId, 1000000);
}
```

I'll update it later with some basic configs, and maybe calculate how many should be bought, but right now I have no idea and can't reproduce it.

If you can send a print of the minigame when the notification popped, or even better get into the game console and try to run `Game.ObjectsById[5].minigame.buyGood(GOOD_ID, 1000)` (the GOOD_ID is 0 for CRL, 1 for CHC, 2 for BTR and so on) and see if it actually buys the good, please post here so I can see if I find the issue.
karby's girlfriend 2022 年 12 月 10 日 上午 5:18 
Same issue here, buy notification pops up but nothing is actually purchased. No change in total profits either, so it's not like it's even happening in the background.

"Buying cookie ...."
(No cookies purchased)

Tested both in and out of grandmapocalypse. Neither showed any success, other than the notification.
Mikkel 2022 年 12 月 9 日 下午 1:02 
I just did a check without ANY mods, only with your auto stocks one, and it's the same behaviour. It keeps giving me the notification of buying SUG at $xx.xxx, only SUG it seems, never does seem to actually buy anything, despite there's plenty in the bank.

I'm not sure how to otherwise reproduce it.

It's kinda strange.
ARAFEK  [作者] 2022 年 12 月 9 日 下午 12:56 
I only tested it with Frozen Cookies, but it shouldn't interfere with anything unless the other mod changes the stock market minigame object.

But I also didn't implement a check for current bank, so it should buy only as much as you can afford.

If you can find a way to reproduce it, please let me know.
Mikkel 2022 年 12 月 9 日 下午 12:03 
Is it known not to play well with specific mods or something?
Mikkel 2022 年 12 月 9 日 下午 12:02 
I'm not sure if it's working right, or if i'm doing something wrong.

I keep getting the auto stocks notification that it's, say buying SUG at $xx.xxx, but nothing ever seems to change.
somehulabaloo 2022 年 12 月 8 日 下午 8:14 
Can confirm this does not block achievements lol
ARAFEK  [作者] 2022 年 12 月 8 日 下午 6:09 
No, it doesn't disable achievements.
Espeon Forza 2022 年 12 月 8 日 下午 12:03 
Still no obvious answer if this affects achievements?
somehulabaloo 2022 年 12 月 6 日 下午 7:51 
Thanks for the reply! I just wanna make sure I don't get screwed on my achievement save haha
ARAFEK  [作者] 2022 年 12 月 4 日 上午 9:07 
Your opinion on cheating can be completely different from mine, and there's no problem with it. I didn't add a "disable achievements" flag because this doesn't give you any unfair advantage (doesn't give any free resources, doesn't speed up the stocks time or anything like that), it just checks if the price is below what it normally costs and buys it, and then waits for it to be above what it normally costs and sells it (and honestly, not even in a very efficient manner). IMHO the problem comes when you use these on competitive games.
Largish Beutimus 2022 年 12 月 4 日 上午 8:47 
its like autoclickers and aimbot then? cus i can click and aim, and they arent doing anything i cant do myself.
ARAFEK  [作者] 2022 年 12 月 4 日 上午 8:19 
It doesn't count as cheating because it doesn't do anything outside the limits of the game, just checks the current goods price and trends (rising, falling, stable, chaotic) and either buys or sells, so nothing you couldn't do yourself.
somehulabaloo 2022 年 12 月 3 日 下午 4:13 
Anyone know if this will count as cheating and invalidate my save for achievements or not? Thanks.