"Team is full" message
Posted: Tue Sep 30, 2014 4:54 pm
Just found out today CSGO have a really stupid hard coded team limit
"Team is full" message appears when a team has as many players as the half of the max players
so... basically if you have 20 slot server once one team is filled with 10 players no more players can join terrorist.. but this is a problem for some mg maps and jailbreak mod where team are unbalanced
so i was wondering if there is someway we can bypass this stupid team limit????
i'm thinking using this event "jointeam_failed" and switch player to desired team manually?
"Team is full" message appears when a team has as many players as the half of the max players
so... basically if you have 20 slot server once one team is filled with 10 players no more players can join terrorist.. but this is a problem for some mg maps and jailbreak mod where team are unbalanced
so i was wondering if there is someway we can bypass this stupid team limit????
i'm thinking using this event "jointeam_failed" and switch player to desired team manually?
Code: Select all
"jointeam_failed"
{
"userid" "short"
"reason" "byte" // 0 = team_full
}
Syntax: Select all
from events import Event
from players.helpers import index_from_userid
from filters.players import PlayerIter
@Event
def jointeam_failed(game_event):
userid = game_event.get_int('userid')
reason = game_event.get_int('reason')
index = index_from_userid(userid)
player = PlayerEntity(index)
if reason == 0:
player.set_team(3)