StarGate01 / AmongUs-Mumble

Mumble VoIP Plugin and mod for the popular game "Among Us" to enable Proximity Voice Chat.
GNU General Public License v3.0
109 stars 13 forks source link

Add some kind of heartbeat #10

Closed StarGate01 closed 3 years ago

StarGate01 commented 3 years ago

Add keepalive signal to show the user position capture is working

StarGate01 commented 3 years ago

@alisenai Port over the heartbeat from your fork maybe? I found that to be useful to check if the mod actually works. Maybe make it optional (verbose output in the config)

alisenai commented 3 years ago

This will come with the https://github.com/StarGate01/AmongUs-Mumble/tree/logging-system branch when it is merged in. (It made for a good test case).

Considering only printing the position if it has changed as to prevent repeated printing of the same position.

StarGate01 commented 3 years ago

Good call on the change detection.

Another feature request was to make the frequency of the heartbeat configurable.

Another one was to always use the same line for the position (Could be done using the \r control char).

alisenai commented 3 years ago

Added position change detection when printing. Logging system currently supports disabling console with -n,--no-console.
See 950b7b95e8b6aed52678434a7bfd1edec2306606.

Will add more config options soon. Still looking into same-line printing for the position.