#141680: "incorrect score display"
Worum geht es bei dieser Meldung?
Was ist passiert? Bitte wähle unten aus
Was ist passiert? Bitte wähle unten aus
Bitte überprüfe, ob bereits eine Meldung zum gleichen Thema existiert
Wenn ja, STIMME bitte für diese Meldung. Meldungen mit mehr Stimmen erhalten höhere PRIORITÄT!
| # | Status | Votes | Game | Type | Title | Last update |
|---|
Detaillierte Beschreibung
-
• Falls du eine Fehlermeldung auf dem Bildschirm siehst, bitte kopieren und einfügen.
it's just that for some reason there was such a bug. usually everything is fine and the actual result is correct now, but the display is incorrect
-
• Bitte erkläre, was du machen wolltest, was du dann getan hast und was dann passiert ist
• Welchen Browser benutzt du?
opera
-
• Bitte kopiere den Text, der in Englisch anstatt in deiner Sprache angezeigt wird, und füge ihn hier ein. Wenn du einen Screenshot dieses Fehlers hast (empfohlene Vorgehensweise), kannst du einen Bild‑Hosting‑Dienst deiner Wahl verwenden (snipboard.io zum Beispiel), um ihn hochzuladen und den Link hier einzufügen. Ist dieser Text auf der Übersetzungsseite verfügbar? Wenn ja, wurde dieser vor mehr als 24 Stunden übersetzt?
it's just that for some reason there was such a bug. usually everything is fine and the actual result is correct now, but the display is incorrect
• Welchen Browser benutzt du?
opera
-
• Bitte erkläre deinen Vorschlag so präzise und genau wie möglich, damit er leicht zu verstehen ist.
it's just that for some reason there was such a bug. usually everything is fine and the actual result is correct now, but the display is incorrect
• Welchen Browser benutzt du?
opera
-
• Was wurde auf dem Bildschirm angezeigt, als du blockiert wurdest (weißer Bildschirm? Teil der Spieloberfläche? Fehlermeldung?)
it's just that for some reason there was such a bug. usually everything is fine and the actual result is correct now, but the display is incorrect
• Welchen Browser benutzt du?
opera
-
• Welcher Teil der Spielregel wurde durch die BGA-Adaption nicht beachtet?
it's just that for some reason there was such a bug. usually everything is fine and the actual result is correct now, but the display is incorrect
-
• Ist der Regelverstoß in der Spielwiederholung zu sehen? Falls ja, bei welcher Zugnummer?
• Welchen Browser benutzt du?
opera
-
• Welche Spielaktion wolltest du durchführen?
it's just that for some reason there was such a bug. usually everything is fine and the actual result is correct now, but the display is incorrect
-
• Was versuchst du, um diese Spielaktion auszulösen?
-
• Was passiert, wenn du dies versuchst (Fehlermeldung, Statusmeldung des Spiels, ...)?
• Welchen Browser benutzt du?
opera
-
• An welcher Stelle im Spiel ist das Problem aufgetreten? Was war die aktuelle Spielanweisung?
it's just that for some reason there was such a bug. usually everything is fine and the actual result is correct now, but the display is incorrect
-
• Was passiert, wenn du die Spielaktion ausführen möchtest (Fehlermeldung, Statusmeldung des Spiels, ...)?
• Welchen Browser benutzt du?
opera
-
• Bitte beschreibe die Anzeigeschwierigkeiten. Wenn du einen Screenshot dieses Fehlers hast (empfohlene Vorgehensweise), kannst du einen Bild‑Hosting‑Dienst deiner Wahl verwenden (snipboard.io zum Beispiel), um ihn hochzuladen und den Link hier einzufügen.
it's just that for some reason there was such a bug. usually everything is fine and the actual result is correct now, but the display is incorrect
• Welchen Browser benutzt du?
opera
-
• Bitte kopiere den Text, der in Englisch anstatt in deiner Sprache angezeigt wird, und füge ihn hier ein. Wenn du einen Screenshot dieses Fehlers hast (empfohlene Vorgehensweise), kannst du einen Bild‑Hosting‑Dienst deiner Wahl verwenden (snipboard.io zum Beispiel), um ihn hochzuladen und den Link hier einzufügen. Ist dieser Text auf der Übersetzungsseite verfügbar? Wenn ja, wurde dieser vor mehr als 24 Stunden übersetzt?
it's just that for some reason there was such a bug. usually everything is fine and the actual result is correct now, but the display is incorrect
• Welchen Browser benutzt du?
opera
-
• Bitte erkläre deinen Vorschlag so präzise und genau wie möglich, damit er leicht zu verstehen ist.
it's just that for some reason there was such a bug. usually everything is fine and the actual result is correct now, but the display is incorrect
• Welchen Browser benutzt du?
opera
Meldungshistorie
- From the location cards image, it looks like happens in night phase.
- The left lane location number is set to `2` even though there isn't any card that modifies the number (it should be 1 in that case).
- The center lane location number is set to `3` even though `Maat` is presented (it should be 5 in that case).
Possibly there are two issues.
1. Plotting number is wrongly done in some case?
2. Day / Night state is wrongly set in some case? (while restoring game?)
1. This happened in 2nd round.
2. After browser refresh, it displayed correct result (this means the game state is restored correctly).
3. Replay from previous round did not reproduced the bug.
4. Wrongly displayed result was different from previous round result. i.e. This is not a bug that displays previous round result.
This needs further investigation.
github.com/giantroach/sunrisesunset/blob/v0.4/bga_src/backend/sunrisesunset.game.php#L1092
1. `'i18n' => ['lane'],` makes `lane` arg to be translated.
en.doc.boardgamearena.com/Translations
2. This `lane` arg is referred in client side code. And that expects one of `left`, `right` or `center`.
github.com/giantroach/sunrisesunset/blob/v0.4/src/logic/sub.ts#L304
If a player is playing in other than English language (in my case Japanese), this logic won't work.
Though, it is weird that it displayed win / lose / tie on screen in this case.
1. scoreData.result is reset every `newRound`.
github.com/giantroach/sunrisesunset/blob/v0.4/src/logic/sub.ts#L50
2. Displaying result logic explicitly checking the scoreData.result value without fallback.
github.com/giantroach/sunrisesunset/blob/v0.4/src/logic/state.ts#L825-L841
So I suspect this is not yet everything.
1. As I mentioned above, lane translation is one of the cause of this issue. Due to this bug, win / lose / draw is usually not be displayed when you are playing the game with other than English language.
2. When you restore the game state, score data from previous round will be restored. Current game logic is expecting to have those score data to be emptied every new round. So this is an unexpected state.
3. When score data isn't empty and when game state goes endRound, it immediately proceeds to display the game result, without waiting any other process.
4. Changing of state does not have any delay, unlike the notification handler that has max 1sec of intentional delay (to let player observe what is happening), so this causes displaying prev round score data mixed with current round data!
1. and 2. should be fixed. Do not restore the score data unless it is endRound state.
Translation of lane name is partly disabled due to this fix and currently it is inconsistent.
This translation issue will be dealt separately.
Ergänze diese Meldung
- Eine weitere Tisch-ID/Zug-ID
- Konnte F5 das Problem lösen?
- Trat das Problem öfter auf? Jedes Mal? Zufällig?
- Wenn du einen Screenshot dieses Fehlers hast (empfohlene Vorgehensweise), kannst du einen Bild‑Hosting‑Dienst deiner Wahl verwenden (snipboard.io zum Beispiel), um ihn hochzuladen und den Link hier einzufügen.
