Open jespertheend opened 1 year ago
This may have been fixed in #41
Seems like this is still an issue, though less frequently. The stack trace is different though.
Oct 21 18:17:07 splix-fra splixGameServer[506574]: error: Uncaught Error: Assertion failed: Attempted to add a trail vertex in between two previous vertices.
Oct 21 18:17:07 splix-fra splixGameServer[506574]: at Player.#addTrailVertex (file:///home/runner/work/splix/splix/gameServer/src/gameplay/Player.js:390:13)
Oct 21 18:17:07 splix-fra splixGameServer[506574]: at Player.#updateCurrentTile (file:///home/runner/work/splix/splix/gameServer/src/gameplay/Player.js:932:25)
Oct 21 18:17:07 splix-fra splixGameServer[506574]: at Player.loop (file:///home/runner/work/splix/splix/gameServer/src/gameplay/Player.js:588:28)
Oct 21 18:17:07 splix-fra splixGameServer[506574]: at Game.loop (file:///home/runner/work/splix/splix/gameServer/src/gameplay/Game.js:59:11)
Oct 21 18:17:07 splix-fra splixGameServer[506574]: at ApplicationLoop.loop (file:///home/runner/work/splix/splix/gameServer/src/ApplicationLoop.js:15:26)
Oct 21 18:17:07 splix-fra splixGameServer[506574]: at Object.action (ext:deno_web/02_timers.js:151:11)
Oct 21 18:17:07 splix-fra splixGameServer[506574]: at handleTimerMacrotask (ext:deno_web/02_timers.js:65:10)
Oct 21 18:17:07 splix-fra splixGameServer[506574]: at eventLoopTick (ext:core/01_core.js:189:21)
The server crashes frequently with the following stack trace:
It also frequently logs a similar stack trace, though in this case the server doesn't crash because errors inside the message handler are always caught.