Warzone2100 / warzone2100

Command the forces of The Project in a battle to rebuild the world after mankind has been nearly destroyed by nuclear missiles. A 100% free and open source real-time strategy game for Windows, macOS, Linux, BSD+
https://wz2100.net
GNU General Public License v2.0
3.23k stars 531 forks source link

Prohibit the host from leaving the battle until victory or defeat. #1353

Open Next67 opened 3 years ago

Next67 commented 3 years ago

Describe the desired function: Prohibit the host from exiting when the fight has already started. If he wants to leave (finish the fight), then start voting. If there are "many" votes, the battle ends, the host exits, and if there are few votes, the game continues. The game should be paused while the voting is going on.

Describe why you think this is necessary: This is a common problem in MP. A lot of hosts don't finish the fight completely if they lose. This is wrong and it deprives players of a well-deserved victory in the ranking profile. In extreme cases, the host can always press alt+F4 :)

maxsupermanhd commented 3 years ago

This can not be reliably done, user can stop execution of every process in system regardless in-game he is or not. More elegant or proper solution will be online statistics from lobby server that will log games from start to finish and record it's own profiles including wins, losses, nickname, leave counter, was kicked counter and how many times were kicking others. This will allow lobby server to track how many games were played and how many were closed with win/loose, if players will be able to see this kind of statistics about player they will less likely to join his room or we can even refuse to host games if there was too many kicks in a row/week/(insert rule here), aka ban from lobby for amount of time. As a side effect there will be no fake stars drawn in profile and no fake nicknames since everything is verified by central lobby.