lishogi
lishogi copied to clipboard
Round fishnet error handle
We are getting a lot of these: round - Round fishnet error handle: Not AI turn move.
Hard to reproduce, but possible. Basically fishnet sends move back to lila, asks for new work and gets the same work, that was just handed in.
Okay, still happening. The issue is here:
https://github.com/WandererXII/lishogi/blob/ef099d85e7099f4c926e4ef3f61e64806bb48b55/modules/round/src/main/Player.scala#L113
work.ply is larger than game.plies. I think it's takebacks.
Takebacks can cause this, I think I will just remove the warning.