Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

errors and crash after starting network game #5

Open
andy5995 opened this issue Sep 21, 2021 · 3 comments
Open

errors and crash after starting network game #5

andy5995 opened this issue Sep 21, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@andy5995
Copy link

At commit 6f3a6fa, we got some errors at the top after starting a network game with 2 players.

ERROR: PlayerID 3 |   bad path from 2 to 57 ??? (void 0)
ERROR: PlayerID 3 |    regionLinks start []
ERROR: PlayerID 3 |    regionLinks end   []
ERROR: PlayerID 4 |   bad path from 2 to 57 ??? (void 0)
ERROR: PlayerID 4 |    regionLinks start []
ERROR: PlayerID 4 |    regionLinks end   []

And then a crash

ERROR: Cannot serialize NaN values.
terminate called after throwing an instance of 'PSERROR_Serialize_InvalidScriptValue'
  what():  Serialize_InvalidScriptValue
Aborted (core dumped)
@LenaTheWolfess LenaTheWolfess added the bug Something isn't working label Sep 22, 2021
@andy5995
Copy link
Author

This probably doesn't add anything useful, but it also happens in single player games. Here's when I start a game using the Acropolis Bay skirmish map

ERROR: PlayerID 2 |   bad path from 2 to 17 ??? (void 0)
ERROR: PlayerID 2 |    regionLinks start [20, 21, 9]
ERROR: PlayerID 2 |    regionLinks end   []
ERROR: PlayerID 2 |   bad path from 2 to 18 ??? (void 0)
ERROR: PlayerID 2 |    regionLinks start [20, 21, 9]
ERROR: PlayerID 2 |    regionLinks end   []

@LenaTheWolfess
Copy link
Owner

yes, this error with regionlinks is no harm as far as i know, i ll hide it.
serialisation is major issue

@Nagasushi2021
Copy link

yes, I noticed this too. Apparently it's harmless for singleplay games, but it does cause crash in multiplayer. It happens on most but not all maps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants