forum

KHost bot (Automatic Host rotate in multi)

posted
Total Posts
4
Topic Starter
OlegSea
A bot that automatically creates a lobby and switches the host after each match.

DISCLAIMER
I know that there is AutoHost already. Unlike it, my project is open source and it's written using JavaScript + Node.js + bancho.js. Check out his bot too, it's really cool.

How to install and run

  1. Install NodeJS
  2. Clone the repository from GitHub.
  3. Open config.json in cloned repo folder.
  4. Fill your Login, IRC Password and API Key. Also you can change some other lines.
  5. Execute this in cmd:
    node *path-to-the-cloned-repo*/app.js
  6. Done. You can join lobby in osu! Name of it will be displayed in console.

What does it do?

It does:
  1. Automatically create lobby with specified settings.
  2. Automatically give host to the player, who has joined in empty lobby.
  3. Automatically give host to the next player in lobby after match finished.
  4. Detect if current host goes AFK and give host to the next player.
  5. Allow you to control the lobby by sending PMs to the bot (will be improved by adding new commands).
  6. Detect changes in lobby settings (currently not working).
  7. Detect if the beatmap does not match the specified parameters (to-do).

More Info

This project is currently in development. If you have any issues/suggestions, write them on Github page or PM me in Discord (OlegSea#1334). I will reply as soon as I can. Also, there will be more documentation (about config file and PM commands).

Links

GitHub
Skylined1337
Can i say thx
McEndu
What is "Login"?
Topic Starter
OlegSea

McEndu wrote:

What is "Login"?
Your Username, the one you use to login to the game
Please sign in to reply.

New reply