False positive on Daily Reward streak reward
Users are told that they received a daily reward streak reward, even if they didn't. This is because messages are sent based off of the token property, when in fact what that says is whether the current token is a daily reward or a reward token.
There is a keeps value in the daily streak properties. Unclear if this is related. At the moment the best way to check seems to be checking if value is >= 8.
Resolved in commit https://github.com/bugfroggy/QuickplayPremium/commit/9adfbd5d2eeca4b7abde9feb7ae3845f4b2b4a27
Reopening as keeps seems to be what this is for, despite its relatively poor naming.
Hypixel source code confirms this:
o.props.dailyStreak.keeps ? o.props.dailyStreak.token || o.setState({
score: o.state.score + 1,
streak: o.state.streak + 1,
highScore: Math.max(o.state.highScore, o.state.score + 1)
}) : o.setState({
score: 1,
streak: 1
})
Messages are now sent when keeps is false
bugfroggy/QuickplayPremium@168ea6c
This is still a problem. keeps might not do what I thought? Sent a message in #announcements on Discord, asking for help.
Closed by commit robere2/QuickplayPremium@2ba8c38d44664ec06378499dfaa880322497265a
This issue keeps seeming to appear when I think I fixed it... will have to do some deeper research.