Lobby screen stays drawn behind the run after the game starts
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 20/100
Línea de trabajo
Start at G.FUNCS.start_run and Game:delete_run, then at MPAPI.refresh_current_view() and its G.STAGE check, to see how a lobby update can rebuild G.MAIN_MENU_UI during the gap before the run starts. The work is already under way: open PR #45 is linked. Check that PR's approach first, and a fix is done when the lobby UI is gone after a delayed delete_run in a three-client Royale lobby.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Reported in #bugs-and-issues with a screenshot: in a Battle Royale, one player had the pre-match lobby screen (Ready, the deck/stake chip, View Code, Leave Lobby) drawn behind the game for the whole run.
Why: G.FUNCS.start_run runs delete_run (which removes the menu) and then, a tick later, start_run. In that gap G.STAGE is still MAIN_MENU, so a lobby update arriving then (e.g. the host writing lobby metadata at the start) calls MPAPI.refresh_current_view(), which passes its G.STAGE check and rebuilds the lobby page as a new G.MAIN_MENU_UI. Nothing removes it when the run starts. It's more likely on a slower PC (a longer gap) and in Royale (more lobby updates around the start).
To reproduce: 3 players in a private Royale lobby, opened from the PvP menu. Make one guest slow to start (e.g. delay its Game:delete_run by 0.5s) and have the host change lobby metadata repeatedly while starting. That guest has G.MAIN_MENU_UI ~= nil during the run, and the lobby cards and buttons show behind the blind select.
Reproduced with three clients on a local server.
- Lenguaje dominante
- Lua
- Estrellas
- 9
- Forks
- 4
- Merge medio
- 14 h 46 min
- PR fusionados (30 d)
- 10
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Balatro-Multiplayer/BalatroMultiplayerAPI
-
Hovering a deck in a speedrun draft crashes (1.0.4)Posiblemente ocupada @Jr-JoshS la tomó hace 2 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Balatro-Multiplayer/BalatroMultiplayerAPI#40 ·
Los mantenedores suelen responder en 1 día
-
Replay skips booster packs opened with the shop OPEN buttonPosiblemente ocupada @Jr-JoshS la tomó hace 1 día. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
Balatro-Multiplayer/BalatroMultiplayerAPI#49 ·
Los mantenedores suelen responder en 1 día
-
Chat says it's only available in a lobby while you're in one (late leave answer tears down the new lobby)Posiblemente ocupada @Jr-JoshS la tomó hace 1 día. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 25/100
Balatro-Multiplayer/BalatroMultiplayerAPI#47 ·
Los mantenedores suelen responder en 1 día
-
Match History doesn't show the rating change per matchPosiblemente ocupada @Jr-JoshS la tomó hace 2 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 30/100
Balatro-Multiplayer/BalatroMultiplayerAPI#42 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Balatro-Multiplayer/BalatroMultiplayerAPI#14 ·
Los mantenedores suelen responder en 1 día
Todos los issues de Balatro-Multiplayer/BalatroMultiplayerAPI
Issues similares
-
documentation severity: low
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
luainkernel/lunatik#2231 ·
Los mantenedores suelen responder en 1 día
-
v3: Lua m.setvar() returns -1 on errors, so the script gets stack garbagePosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto3.x bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
owasp-modsecurity/ModSecurity#3731 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
good first issue redis-compat
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
LSP: Invalid buffer id in previous_result_ids during workspace/diagnostic/refreshPosiblemente ocupada @sharky720 la tomó hace 1 día. Abiertodiagnostic lsp
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
neovim/neovim#42629 · 2 comentarios ·
Los mantenedores suelen responder en 1 día