in the last three metamachy games I played my opponents resigned but I still lost
arx-cvgameroom-2020-316-876
arx-cvgameroom-2020-147-879
arx-cvgameroom-2020-123-942
I have now fixed these. Since the backup had all the same moves as the log but with different results, I first copied the backup to the log. Since the player who was supposed to play White instead got the first move as Black, the $players string was actually listing the Black player first. So that the White player would be listed first, I switched the order of the players in the $players string. When I reloaded each game, it calculated the correct results and saved them to the database.
If any other games need fixing, these should be brought to my attention. The precise log name is required, and a link to the log would be helpful.
I have now fixed these. Since the backup had all the same moves as the log but with different results, I first copied the backup to the log. Since the player who was supposed to play White instead got the first move as Black, the $players string was actually listing the Black player first. So that the White player would be listed first, I switched the order of the players in the $players string. When I reloaded each game, it calculated the correct results and saved them to the database.
If any other games need fixing, these should be brought to my attention. The precise log name is required, and a link to the log would be helpful.