sanguosha icon indicating copy to clipboard operation
sanguosha copied to clipboard

Bug causing role cards to not display

Open jfkenna opened this issue 4 years ago • 1 comments

Bug details:

  • Upon game start, role cards were displayed next to each player's hero portrait as per usual. However, on one player's client, their role card was not displayed, and as such they were unable to determine their role
  • Refreshing the page did not resolve the issue
  • Leaving and rejoining the lobby did not resolve the issue

Instructions for reproduction:

  • I cannot figure out how to reproduce this bug

Environment details:

  • Issue was produced on Chrome 93.0.4577.82 (Official Build) (64-bit), with screen resolution 1920 x 1080

jfkenna avatar Sep 24 '21 11:09 jfkenna

Unfortunately I haven't been able to repro this.

If this happens again let me know the date you played and/or player names - I'm writing game state to disk in #20 (for persisting state across server restarts, but it may also be helpful here), so I can try to repro with the exact game state.

Another thing that may be useful: if you right-click on the card -> Inspect, whether the role name is present in the image src, to confirm whether this is a problem with the game info that the server sends, or a problem with the server serving the images. image

kevinychen avatar Nov 22 '21 04:11 kevinychen