Skip to content
This repository was archived by the owner on Feb 10, 2024. It is now read-only.

[ Bug ] Daily streak unfairly reset. #258

Closed
Link5261 opened this issue Mar 23, 2019 · 7 comments
Closed

[ Bug ] Daily streak unfairly reset. #258

Link5261 opened this issue Mar 23, 2019 · 7 comments
Labels

Comments

@Link5261
Copy link

Link5261 commented Mar 23, 2019

Describe the bug
Attached is a screenshot showing the timestamps of two ?daily commands, separated by more than 24 hours, but less than 48 hours. My claim streak of 350x was reset, even though two days had not passed as mentioned by the accompanying message.
Untitled

To Reproduce
Get ultra-unlucky with the ?daily command, I guess.

Expected behavior
I expected my daily streak to continue to grow to 351x and my daily reward of $1000.

@Link5261 Link5261 added the bug label Mar 23, 2019
@Kodehawa
Copy link
Member

Kodehawa commented Mar 23, 2019

This happened because you used fishing RIGHT BEFORE DAILY, without giving it any time to actually save your profile. You can see it because it replied with the fishing message AFTER (but you ran fish first, this is because fish takes a little more than daily to run) the daily message.

Basically, it saved a profile snapshot of fish (which was grabbed before you ran daily) and not of daily, which made you lose your streak. Sorry.

Don't run commands like that and wait for the bot to reply before running another currency command, else this'll happen again.

@Link5261
Copy link
Author

The bot was delayed. Typically, by the time I type out the next command to enter, the prior one has completed. I was never aware that it hadn't saved my progress / time snapshot since the message response regarding ?daily was typical and a success, plus the non-pictured, but mentioned attempt to ?daily again when it told me a cooldown timer, which I only exceeded by about 6 hours. Does this mean the bot saved the timeout limit but not the success status?

@Kodehawa
Copy link
Member

Kodehawa commented Mar 23, 2019

The bot basically works in this way (for currency):
Start command -> grab player snapshot -> save

If two commands run at the same time, only the one that finishes the last will be saved, since that one will save the snapshot of the player that it saw first. We're talking about a few ms of difference here on the processing on the two commands.

As for your question: Basically, yes (the timeout doesn't get saved on a database, the player does).

@Link5261
Copy link
Author

Thanks for the expedient response, @Kodehawa. I guess the issue has been sufficiently explained.

@Kodehawa Kodehawa pinned this issue Oct 30, 2019
@neihousaigaai
Copy link

Today I got this issue.

I have typed ->daily before fishing, but the daily streak has been reseted.

image

@DrGilderoy
Copy link

I lost my streak even though I didn't use fishing or mining commands before the daily command
Can it be applied back to my profile?

Discord_4iwXabYrBL
Discord_DvPqmQbOpi
Discord_UUx5pnrHvL

@Kodehawa
Copy link
Member

Please post about it in #support and ping Kodehawa#3457 about it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants