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

Host bots #9

Closed
8 of 20 tasks
UncleVasya opened this issue Dec 9, 2016 · 6 comments
Closed
8 of 20 tasks

Host bots #9

UncleVasya opened this issue Dec 9, 2016 · 6 comments

Comments

@UncleVasya
Copy link
Owner

UncleVasya commented Dec 9, 2016

Dota bot:

  • create dota lobby;
  • get ids of players in slots;
  • !balance command:
    • check if all players are present in DB;
    • balance teams, write result in lobby chat;
  • !start command to launch lobby;
    • check that teams are made according to balancer output;

Discord bot:

  • paste balance result in chat after dota bot balanced teams;
  • !lobby command to show current lobby info;
  • !invite command to invite user to current lobby;
  • react with emote on lobby info to get invited (thanks sbx320 for the idea);

Hosting:

  • setup bots on openshift;

Future:

  • bind several dota accounts to our player account;
  • if unresgistered player joins lobby and has his MMR shown, we can add him to DB right away;
  • managing several lobbies with discord bot:
    • !invite 1, !invite 2 etc;
  • !balance 3 to show and set specific balance answer;
  • after !balance command:
    • bot kicks players from wrong slots;
    • don't allow players to join slots on the wrong team;
UncleVasya added a commit that referenced this issue Dec 9, 2016
@UncleVasya
Copy link
Owner Author

Approach without lobby commands:

  • balance as soon as 10 players join slots;
  • start as soon as people joined correct slots;
  • if balanced players leave lobby or join broadcaster slots, reset balance;

@UncleVasya
Copy link
Owner Author

Looks like grabing match result is perfectly possible for host bot:
Arcana/node-dota2#240

@UncleVasya
Copy link
Owner Author

depends on: UncleVasya/dota2#1

UncleVasya added a commit that referenced this issue Dec 12, 2016
…ead and write chat messages, understands !balance ands !start commands.
UncleVasya added a commit that referenced this issue Dec 12, 2016
UncleVasya added a commit that referenced this issue Dec 12, 2016
UncleVasya added a commit that referenced this issue Dec 14, 2016
UncleVasya added a commit that referenced this issue Dec 14, 2016
UncleVasya added a commit that referenced this issue Dec 14, 2016
…n start games, record results and start new lobby after game is finished
UncleVasya added a commit that referenced this issue Dec 15, 2016
UncleVasya added a commit that referenced this issue Dec 15, 2016
UncleVasya added a commit that referenced this issue Dec 15, 2016
UncleVasya added a commit that referenced this issue Dec 15, 2016
@UncleVasya
Copy link
Owner Author

UncleVasya commented Dec 24, 2016

Commands users ask for:

  • !teamkick;
  • !forcestart;

@UncleVasya
Copy link
Owner Author

!teamkick and !forcestart will be done in #14

@UncleVasya
Copy link
Owner Author

Discord bot moved to separate issue: #15

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

No branches or pull requests

1 participant