sirgwain / craig-stars

Web based Stars! clone
https://craig-stars.net
MIT License
10 stars 4 forks source link

Gameplay stops suddenly while paging through messages #571

Open tmcmh opened 3 days ago

tmcmh commented 3 days ago

This happened mid-game to me, so I started a new single-player game to see if the same thing happened. After a few turns, I had a turn with three messages, the second message was blank, and I couldn't page backwards or forwards. Commands and reports were frozen -- I could select them and they would appear in the browser address bar, but nothing would change on the page. Doing a browser refresh would bring up some reports but not others.

sirgwain commented 3 days ago

Hmmm.. that sounds like the frontend was throwing errors but it's hard to tell. What device/browser were you using? Do you have a developer console that you can check for errors by chance?

What game number was it? I can check the server logs.

Some browsers cache client side resources when a new build is deployed and don't reload them. I haven't been able to figure out why, but it does go away eventually with enough browser refreshes.

tmcmh commented 3 days ago

A game where this happens is: https://craig-stars.net/games/347, Year 2410, move #2. I had the same experience in Chrome and in Firefox -- I don't think FF would have anything cached, because I never use it for Stars! These are both running on a Mac with Ventura 13.6.9.

sirgwain commented 3 days ago

There aren't any server side errors that I can see. Any chance you can check the console on Firefox or chrome? On chrome it's cmd+shift+i.

tmcmh commented 3 days ago

OK, it seems to have gone away; if it recurs I'll check the javascript console and report back.