#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.
리포트에 내용 추가하기
- 다른 테이블 번호 / 수 번호
- 새로고침을 해서 문제가 해결 되었습니까?
- 문제가 얼마나 자주 일어났습니까?
- 만약에 버그에 대한 스크린샷을 가지고 계신다면 Imgur.com 사이트에 업로드 하시고, 여기에 링크를 복사/붙여넣기 하시기 바랍니다.
