p2r3 / epochtal

Portal 2 tournament framework
https://epochtal.p2r3.com/
GNU General Public License v3.0
8 stars 4 forks source link

Display warning on JS API failure #113

Closed p2r3 closed 1 month ago

p2r3 commented 1 month ago

Implements a 1 second timeout for the JS API startup and an early server timestamp check. If either of these fail, a warning is displayed to the user. This is a workaround for a mysterious, irreproducible bug that some players have reported.

Closes #98

p2r3 commented 1 month ago

Oh it won't "fix" the issue, this is entirely a bandaid solution. The actual problem lies somewhere in how Spplice interfaces with the game, which... given that this happens on two different implementations of Spplice, makes that very strange to think about. Either way, not something fixable solely in the scope of Epochtal.