You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the result reporting assumes that results always have the form string number, which is correct for vanilla games. However, as it turns out, the phantom mod also sends an additional string indicating whether or not the player was a phantom. Maybe it would be worth rewriting the game result processing to handle this format as well. At the very least it would make the scores be saved in the database for phantom games.
WARNING Sep 05 03:10:18 GameConnection Invalid result for 5 reported: innocent defeat -3
WARNING Sep 05 03:17:05 GameConnection Invalid result for 3 reported: phantom defeat -1
Right now the result reporting assumes that results always have the form
string number
, which is correct for vanilla games. However, as it turns out, the phantom mod also sends an additional string indicating whether or not the player was a phantom. Maybe it would be worth rewriting the game result processing to handle this format as well. At the very least it would make the scores be saved in the database for phantom games.Source code:
server/server/gameconnection.py
Lines 292 to 296 in ccf349e
The text was updated successfully, but these errors were encountered: