FolkertVanVerseveld/aoe

claim user does not work for non-local multiplayer

FolkertVanVerseveld opened this issue · 5 comments

multiplayer lobby player control buttons are quite buggy. for example, "claim" does not work when a non-local client connects to the server (TODO verify this on LAN as well). sometimes, it doesn't even work for the host peer.

  • Refactor peer mod (see also #83)
  • Verify "claim" is broken on two LAN machines
  • Verify fix on two non-LAN machines
  • Optional: prevent to start game unless spectators are allowed
  • Optional: check bogus playermod parameters
  • Refactor playermod server processing

i found out it does work, but the client does not detect that the server confirmed the request. incidentally i found this out while working on #83

Confirmed "claim" can be broken on the same machine as well

a lot of off-topic work committed on here. merging for now and reopen when reproduced

still broken :/

found the issue: data race. implemented a fix. testing for various machines now...