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

Duplicating Log Messages #1

Closed frankobjank closed 3 months ago

frankobjank commented 3 months ago

The log sometimes duplicates messages, notably when a trade is cancelled the logs of all non-current players gets spammed with an "insufficient resources" message. "You must move the robber first" also gets spammed - might be due to discarding cards?

frankobjank commented 3 months ago

"move robber first" happens when current player has to discard on a 7

frankobjank commented 3 months ago

Launching client during a discard mode where current player still has to discard spams log message "All players must finish discarding first"

Screenshot 2024-03-23 at 8 51 17 AM
frankobjank commented 3 months ago

"You must move the robber first." is getting spammed when current player discards cards and hits submit. Somehow 181 submit msgs are sent very quickly, resulting in spam.

It happens when at least 2 people are playing, but not when just one is playing