Getting final score for a match
Posted: Sat Jul 14, 2018 2:28 am
Hi,
I'm working on implementing matchmaking features for Zandronum+Doomseeker and as part of it I'm developing a player rating system.
For the rating system I need to catch the moment when a duel/deathmatch match is finished and extract final score for that match. A match considered finished when a limit is hit or number of currently joined players is not enough anymore.
I'm not sure which methods I need to change, so I need help. My current work in progress for duels is here, check src/g_game.cpp file - https://github.com/TarCV/zandronum/comp ... bda411c18d
It would be really cool if it's not needed to change different code for each gamemode, but may be I ask too much
PS: I'm open for advices on implementing server-side demos in my other topic.
I'm working on implementing matchmaking features for Zandronum+Doomseeker and as part of it I'm developing a player rating system.
For the rating system I need to catch the moment when a duel/deathmatch match is finished and extract final score for that match. A match considered finished when a limit is hit or number of currently joined players is not enough anymore.
I'm not sure which methods I need to change, so I need help. My current work in progress for duels is here, check src/g_game.cpp file - https://github.com/TarCV/zandronum/comp ... bda411c18d
It would be really cool if it's not needed to change different code for each gamemode, but may be I ask too much
PS: I'm open for advices on implementing server-side demos in my other topic.