-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add /locraw support #19
Comments
Why bother with a threshold for hiding this at all? Just hide it every time the message pops up. If other mods send /locraw, they can still read their message even if we hide it from the player.
Why would we want to resend locraw? We send + detect it on world change, why bother if another mod is doing it as well? It can't corrupt data, only update the data faster on accident. |
Not sure if this behaviour is wise - if nothing else it could be irritating to developers trying to test with locraw who aren't aware that the core mod is hiding it from them. In 1.8.9 I don't know of any mods that always block locraw, we should probably try to keep the behaviour similar.
As in, don't resend if another mod sent it recently, not that we should resend - that is exactly the point (if you read the 4th task you'll see that was what I said). The threshold value means: how long ago should another mod have sent locraw before we consider that data "stale" enough to warrant us running it instead? e.g. if another mod sends a locraw at T+800ms, and we want to send one at T+900ms, we should not send that command as the data the other mod just got is probably up-to-date enough. |
The optimal solution here is to keep with proposed #12 Skyblock detection with a few extras. #12 Relies on Scoreboard name detection (So, receiving "SBScoreboard") to know whether or not we are in Skyblock or not. This already gives us fast & up to date info for almost every single scenario (exceptions are for limbo/network lag) IMO the solution is an implementation of So, to break it down:
These 3 simple steps can easily allow us to cover all bases, without possibly breaking other mods, without sending extra unnecessary commands to Hypixel, and giving the user the best possible experience of mods with the fastest in Skyblock detection. |
Why all this "waiting x millis" stuff? Why not just apply following logic:
|
The most reliable way to tell whether we're in Skyblock or not is via
/locraw
. We have been advised to use it by Hypixel admins, and no one has any qualms as long as it is implemented properly.This issue details an implementation of
/locraw
handling, sending, parsing, and storing.Tasks
Considerations for discussion
The text was updated successfully, but these errors were encountered: