Add a hover tooltip explaining why Ranked is greyed out - #6
Open
12problems wants to merge 1 commit into
Open
Conversation
The Find Game menu's Ranked section already greys itself out via SPDRN._ranked_queue_available() (MPAPI.is_launcher_verified()), but gives the player no indication why -- a legitimate player who isn't using the launcher (or hasn't verified yet) just sees a disabled section with no explanation. Attach a hover tooltip to the section's own container (not the individual buttons, since a disabled button's hover collision is stripped and would never fire it) explaining that Ranked mode needs to be launched through the launcher. This is a plain on-hover tooltip, not an unsolicited popup, so it doesn't reintroduce the "misleading noise on every normal launch" problem af85092 removed on MultiplayerAPI -- it only shows if the player actually hovers the greyed-out section.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The Find Game menu's Ranked section greys itself out via
SPDRN._ranked_queue_available()(MPAPI.is_launcher_verified()), but gives the player no explanation why. This adds a hover tooltip on the greyed-out section explaining that Ranked needs to be launched via the launcher's Ranked mode.Why not a popup/notice instead
MultiplayerAPI deliberately removed an unsolicited "anti-cheat check failed" notice (
af85092) because it was misleading noise on every normal, non-BET launch. A hover tooltip is opt-in — it only appears if the player actually hovers the disabled section — so it doesn't reintroduce that problem while still making the disabled state legible.Implementation notes
queue_section's outer container, not the individual buttons —build_stat_buttonsetshover = enabled, so a disabled button's hover collision is already off and a tooltip on it would never fire.SPDRN._ranked_queue_available()is a bare boolean, so this uses one honest, generic reason covering every case it can be false (no BET, Casual launch, verification still pending) rather than guessing which applies.🤖 Generated with Claude Code