frankobjank / natac

Free & open source networked game implemented in Python, inspired by Klaus Teuber's Settlers of Catan for MacOS and Linux.
1 stars 0 forks source link

Input Duplication #37

Open frankobjank opened 2 months ago

frankobjank commented 2 months ago

Input is sometimes duplicated - has happened with bank trade, which submitted the transaction twice with just 1 click/ enter. Also chat messages sent to server are sometimes duplicated in the log box.

frankobjank commented 1 month ago

I discovered the server was receiving input from the client twice in these cases, so the issue lies somewhere in the client get_user_input() or build_client_request(), or in sending the data to the server functions