#141680: "incorrect score display"
Με τι σχετίζεται αύτη η αναφορά;
Τι συνέβη; Επιλέξτε από τα παρακάτω
Τι συνέβη; Επιλέξτε από τα παρακάτω
Ελέγξτε αν υπάρχει ήδη αναφορά για το ίδιο θέμα
Εάν ναι, παρακαλούμε ΨΗΦΙΣΤΕ για αυτήν την αναφορά. Στις εκθέσεις με τις περισσότερες ψήφους δίνεται προτεραιότητα!
| # | Status | Votes | Game | Type | Title | Last update |
|---|
Λεπτομερής περιγραφή
-
• Παρακαλούμε κάντε αντιγραφή/επικόλληση του μηνύματος που βλέπετε στην οθόνη σας, αν υπάρχει.
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
-
• Παρακαλώ εξηγήστε τι θέλατε να κάνατε, τι κάνατε και τι συνέβη
• Ποιο είναι το πρόγραμμα περιήγησής σου;
opera
-
• Παρακαλώ κάνε αντιγραφή/επικόλληση του κειμένου που απεικονίζεται στα αγγλικά αντί για αυτό που είναι στη γλώσσα σου.. Αν έχεις απόσπασμα οθόνης από αυτό το σφάλμα (είναι καλή αυτή η πρακτική), μπορείς να χρησιμοποιήσεις το Imgur.com για να το ανεβάσεις και να κάνεις αντιγραφή/επικόλληση του συνδέσμου εδώ.
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
-
• είναι αυτό το κείμενο διαθέσιμο στο σύστημα μετάφρασης; Αν ναι, έχει μεταφραστεί για παραπάνω από 24 ώρες;
• Ποιο είναι το πρόγραμμα περιήγησής σου;
opera
-
• Παρακάλώ εξηγήστε την πρότασή σας με ακρίβεια και περιεκτικότητα, ώστε να είναι όσο το δυνατόν πιο εύκολο να γίνει αντιληπτό τι εννοείτε.
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
• Ποιο είναι το πρόγραμμα περιήγησής σου;
opera
-
• Τι εμφανιζόταν στην οθόνη όταν σταμάτησε (Κενή οθόνη; Μέρος του περιβάλλοντος του παιχνιδιού; Μήνυμα σφάλματος;)
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
• Ποιο είναι το πρόγραμμα περιήγησής σου;
opera
-
• Ποιο μέρος των κανόνων δεν έγινε σεβαστό από την μετατροπή του παιχνιδιού για την BGA
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
-
• Είναι η παραβίαση των κανόνων ορατή στην αναπαραγωγή του παιχνιδιού; Αν ναι, σε ποια κίνηση;
• Ποιο είναι το πρόγραμμα περιήγησής σου;
opera
-
• Ποια ήταν η δράση του παιχνιδιού που ήθελες να κάνεις;
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
-
• Τι προσπαθείτε να κάνετε για να ενεργοποιείσετε αυτήν την ενέργεια του παιχνιδιου;
-
• Τι συνέβη όταν προσπαθήσατε να το κάνετε αυτό (μνμ σφάλματος, μνμ στην μπάρα κατάστασης, ...);
• Ποιο είναι το πρόγραμμα περιήγησής σου;
opera
-
• Σε ποια φάση του παιχνιδιού προέκυψε το πρόβλημα (ποιά ήταν η τρέχουσα οδηγία στο παιχνίδι);
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
-
• Τι συνέβη όταν προσπαθήσατε να κάνετε κάποια ενέργεια στο παιχνίδι (μνμ σφάλματος, μνμ στην μπάρα κατάστασης, ...);
• Ποιο είναι το πρόγραμμα περιήγησής σου;
opera
-
• Παρακαλούμε περιγράψτε το πρόβλημα απεικόνισης που έχετε. Αν έχεις απόσπασμα οθόνης από αυτό το σφάλμα (είναι καλή αυτή η πρακτική), μπορείς να χρησιμοποιήσεις το Imgur.com για να το ανεβάσεις και να κάνεις αντιγραφή/επικόλληση του συνδέσμου εδώ.
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
• Ποιο είναι το πρόγραμμα περιήγησής σου;
opera
-
• Παρακαλώ κάνε αντιγραφή/επικόλληση του κειμένου που απεικονίζεται στα αγγλικά αντί για αυτό που είναι στη γλώσσα σου.. Αν έχεις απόσπασμα οθόνης από αυτό το σφάλμα (είναι καλή αυτή η πρακτική), μπορείς να χρησιμοποιήσεις το Imgur.com για να το ανεβάσεις και να κάνεις αντιγραφή/επικόλληση του συνδέσμου εδώ.
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
-
• είναι αυτό το κείμενο διαθέσιμο στο σύστημα μετάφρασης; Αν ναι, έχει μεταφραστεί για παραπάνω από 24 ώρες;
• Ποιο είναι το πρόγραμμα περιήγησής σου;
opera
-
• Παρακάλώ εξηγήστε την πρότασή σας με ακρίβεια και περιεκτικότητα, ώστε να είναι όσο το δυνατόν πιο εύκολο να γίνει αντιληπτό τι εννοείτε.
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
• Ποιο είναι το πρόγραμμα περιήγησής σου;
opera
Ιστορικό αναφορών
- 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.
Πρόσθεσε κάτι σε αυτήν την αναφορά
- Άλλο ID τραπεζιού/ ID κίνησης
- Το F5 έλυσε το πρόβλημα;
- Το πρόβλημα εμφανιζόταν αρκετές φορες;Παντού ; Τυχαία;
- Αν έχεις απόσπασμα οθόνης από αυτό το σφάλμα (είναι καλή αυτή η πρακτική), μπορείς να χρησιμοποιήσεις το Imgur.com για να το ανεβάσεις και να κάνεις αντιγραφή/επικόλληση του συνδέσμου εδώ.
