SmileYzn / MatchBot

Counter-Strike 1.6 Match Plugin for ReHLDS and ReGameDLL_CS
GNU General Public License v3.0
28 stars 15 forks source link

[QUESTION/ISSUE?]mb_players_min & mb_players_max using readytimer for startgame #49

Closed yuyiken closed 1 year ago

yuyiken commented 1 year ago

Hi,

How suppose to work mb_players_min and max?

So if I have it like that mb_players_min = 9 & mb_players_max =10

if I have 9 players the game starts but if i have 10 it wont start

video

SmileYzn commented 1 year ago

Players min is set to start the game, and players max is maximum of players in teams.

Is impossible that with 10 players game won't start, the logic is:

For ready system

if (PlayerCount[1] >= PlayersMin)

For timer system

auto NeededCount = (PlayersMin - gMatchUtil.GetPlayers(true, true).size());

if (NeededCount)

What is the logic to set needed players to 9 to start a game? It will start unbalanced teams!!

Anyway if you still need this, there is fixed https://github.com/SmileYzn/MatchBot/actions/runs/4852019156

yuyiken commented 1 year ago

I thought it would be better do it with same variable thats why i asked. Anyways thank you.