Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

players amount #2

Open
koala01 opened this issue Aug 31, 2023 · 7 comments
Open

players amount #2

koala01 opened this issue Aug 31, 2023 · 7 comments

Comments

@koala01
Copy link

koala01 commented Aug 31, 2023

[min_max_teams] [min_max_team_size]

@koala01 koala01 closed this as completed Aug 31, 2023
@koala01 koala01 reopened this Aug 31, 2023
@koala01
Copy link
Author

koala01 commented Aug 31, 2023

how to set like example at least 45 players
and if like 52 players will it auto adjust?

@koala01 koala01 closed this as completed Aug 31, 2023
@koala01 koala01 changed the title ModuleNotFoundError: No module named 'trueskill' players amount Aug 31, 2023
@koala01 koala01 reopened this Aug 31, 2023
@FilippoLeone
Copy link
Owner

It doesn't work like that at the moment @koala01 , you need to define the min/max team sizes and work with that. You also have the option to introduce some wait time.

So in case you want to simulate some auto adjusting behavior, you need to set your max at like 60 with min 45 and a wait time in minutes you see fit.

@koala01
Copy link
Author

koala01 commented Sep 5, 2023

I tried do some test:
I set 1/2 1/3
and there is only 5 players , but it won't start.

@FilippoLeone
Copy link
Owner

Can you please list a reproducible behavior that causes the issue listing commands, screenshots etc. Thanks

@koala01
Copy link
Author

koala01 commented Sep 5, 2023

It showed this , the result last time i got:
Starting the game...
Not enough members in the lobby to create teams.
I tried 1/2 1/3 just now with only 3users in the que channel still the same.
Command:
!schedule_autostart Que 1/2 1/3 0 "To join the game use: aaa" "test"

@FilippoLeone
Copy link
Owner

FilippoLeone commented Sep 5, 2023

Indeed, I have made an overlook here:

session_id = await create_teams_command.callback(ctx, lobby_channel_name=lobby_channel.name, max_teams=max_teams, team_size=max_team_size)

In the minimum condition, min_teams and min_team_size arguments should be passed.

@koala01
Copy link
Author

koala01 commented Sep 6, 2023

Indeed, I have made an overlook here:

session_id = await create_teams_command.callback(ctx, lobby_channel_name=lobby_channel.name, max_teams=max_teams, team_size=max_team_size)

In the minimum condition, min_teams and min_team_size arguments should be passed.

Changed to
session_id = await create_teams_command.callback(ctx, lobby_channel_name=lobby_channel.name, min_teams=min_teams, team_size=min_team_size)
Still the same:
Minimum player count reached. Waiting for 0 minute(s)...
Starting the game...
wont start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants