ballistica icon indicating copy to clipboard operation
ballistica copied to clipboard

How to remove the 8 players limit?

Open LingEmberMaple opened this issue 3 years ago • 4 comments

How to remove the 8 players limit?

LingEmberMaple avatar Feb 19 '21 12:02 LingEmberMaple

@LingEmberMaple In the python folder, go to ba/_session.py, go to code line 93, the following code will appear, just change the value of 8 for whatever you want.

def __init__(self,
             depsets: Sequence[ba.DependencySet],
             team_names: Sequence[str] = None,
             team_colors: Sequence[Sequence[float]] = None,
             min_players: int = 1,
             max_players: int = 8):

JoseANG3L avatar Feb 22 '21 18:02 JoseANG3L

@LingEmberMaple In the python folder, go to ba/_session.py, go to code line 93, the following code will appear, just change the value of 8 for whatever you want.

def __init__(self,
             depsets: Sequence[ba.DependencySet],
             team_names: Sequence[str] = None,
             team_colors: Sequence[Sequence[float]] = None,
             min_players: int = 1,
             max_players: int = 8):

I have tried it, but it doesn't work. My server still only allows 8 players.

LingEmberMaple avatar Feb 23 '21 01:02 LingEmberMaple

@LingEmberMaple Remember to delete the "pycache" folder which is in the same folder where you edit the file so that the changes work. Only delete it the first time.

JoseANG3L avatar Feb 23 '21 03:02 JoseANG3L

@LingEmberMaple Remember to delete the "pycache" folder which is in the same folder where you edit the file so that the changes work. Only delete it the first time.

No, it does't work.

LingEmberMaple avatar Feb 23 '21 07:02 LingEmberMaple