evandrocoan / MultiModServer

It is a Multi-Mod plugin's configurations for Amx Mod X - https://forums.alliedmods.net/showthread.php?t=273018
GNU General Public License v3.0
19 stars 17 forks source link

Don't wait for round end for 1 player #23

Closed mo0nsniper closed 8 years ago

mo0nsniper commented 8 years ago

If there is just one player on the server and he does a rtv, and chooses the nextmap if gal_endonroundrtv is one galileo waits for end of round to change the map. But on some maps like fy or awp_ the round doesn't end at mp_roundlimit when there is 1 player.

I think the maps should be changed imediatley for one playeron the server.

evandrocoan commented 8 years ago

Just set the cvar gal_endonround_rtv to 2 or more. Do you got it working?

// Indicates when a map should end after the RTV voting is finished.
// If selected a value higher than 0, this cvar indicates also the players
// minimum number necessary to allow the last round to be finished when
// the time runs out.
// 0 - end immediately after the voting finished.
// 1 - end after the current round.
gal_endonround_rtv 1

I re-wrote this this:

// Indicates when a map should end after the RTV voting is finished.
// If selected a value higher than 0, this cvar indicates also the players
// minimum number necessary to allow the last round to be finished when
// the time runs out.
// For example, if this cvar value is set to 2, and there are only 1 player
// on the server, the round will end immediately.
// 0               - end immediately after the voting finished.
// player's number - end after the current round, only when there are at
//                   least the `player's number` quantity on the server.
gal_endonround_rtv 1
mo0nsniper commented 8 years ago

Nice, now I understant that CVAR ;) Thanks