r/osugame•
hypexeled

AutoHost bot is finally ready for public usage.

Meta

Hey everyone, so i finally managed to finish AutoHost into a more or less stable ^^at ^^least ^^thats ^^what ^^id ^^like ^^to ^^think

Becouse this subreddit loves shitposts, i decided to do a part of the post into a shitpost. Who doesnt love shitposts? (i also stole some other's ppl rant posts to merge them here into this art)

So. To. Begin. With. ^^please ^^enable ^^images


  • Ever been tired of this?

SAY NO MORE

  • Annoyed by people picking high AR DT picks?

SAY NO MORE

  • Seen that MOFO AFK for like 3 maps in a row?

SAY NO MORE

  • Actual working host rotation with no asshole picking more than one map?

SAY NO MORE

  • Guy is downloading and you dont want to wait for him?

SAY NO MORE ^^*results ^^may ^^vary


Okay now that i covered the basic shitpost material, lets get to the decent part of this post.

  • What is AutoHost?

In a nutshell, its an IRC bot written in Java that uses the osu!Tourney commands to control and manage multiplayer lobbies to get a more automated flow.

  • Okay how do i use it?

Since the moment of this post, the bot should be online and publically usable by anyone. Simply create your room with the bot, and you'll be moved inside it and granted "operator" of the lobby you created.

  • What can i do?

As of right now, Operators can define the lobby maximum and minimum star rating difficulties, kick players, get or remove match host, force start or skip a song, changing the lobby game type (mania, std, taiko, ctb), set a password, and allow or disallow unranked graveyard beatmaps from the queue. You can also appoint other people as operators.

^^note: ^^passwords ^^on ^^osu!Tourney ^^lobbies ^^are ^^different ^^and ^^you'll ^^need ^^to ^^PM ^^the ^^bot ^^the ^^password ^^to ^^join ^^the ^^lobby

  • What if bancho dies?

Unfortunately, the bot does not have a proper reconnection way to create everything again from scratch so: either your lobby survives and you PM the bot to rejoin the lobby (albeit you'll need to re-set every config), or your lobby dies and you create it again. (Not like that wouldnt happen in the first place)

  • What else should i know?

Bot allows for DT picks calculating their SR & AR after DT applied, however, since osu!Tourney doesnt have NC or HT mods as options, i've left those 2 undone for now.

There's a group of people i call "Global Operators" that have permissions to AutoHost's PM operator commands (globalsay to all lobbies and some others), and get automatic Operator permission on every lobby. They dont have any more permission than the room operators inside the lobby though.

The bot has a 0.2ms per-channel rate limit and its own limiter. Dont even bother trying to spam it into getting muted with the 1.0ms all accounts get by default.

I've set up a public discord for the bot conversations. There's also a forum thread, if you're into that kind of things.


Last but not least, a BIG shoutout to all the people that helped me get to this point.

Biggest of them all - Thanks to ekgame

Next down goes my second biggest helper - Javaguru (Sorry i dont know your reddit account)

Last i'd like to thank all the Global Operators of the bot who've helped me out during testing phases and gave their opinions when asked.


Becouse i'd need to finish the webpage ^^*SoonTM to show properly all commands, i'll just leave a list and explanation for now here. Inb4 text wall.


Non-Operator Commands:

CommandOptionsDescription
add[mapID/mapSetURL/difficultyURL]adds a map to queue.
adddt[mapdifficultyURL]adds a DT map pick to the queue. Only /b/ links supported.
ready-Marks you as ready for playing. (Consider it as a vote start for all practical purposes)
skip-Votes for skipping the current map.
info-Displays basic info
commands-Shows a small (And incomplete) list of commands
playlist-Shows the current Queue of beatmaps
last-Shows your last map's performance. (Needs the play to be submitted, i.e. PASS)
ver-Shows bot version
wait-Extends lobby countdown timer by 1 minute. Only usable once per map.

Operator Commands:

CommandOptionsDescription
maxdiff[Rating]Sets the lobby maximum SR difficulty
mindiff[Rating]Sets the lobby minimum SR difficulty
maxar[value/no value]Sets the lobby maximum AR value. (Or disables it)
kick[Name part/UserID]Will kick the player. Either user ID or name part works.
hostme-Gives you match host. Please dont keep host on anyone, else the bot will malfunction when changing maps.
clearhost-Clears the match host.
password[Password/reset]Sets a lobby password. "reset" password is reserved for removing it.
forcestart-Forces match start
start-Tries a match start trigger
forceskip-Skips the current beatmap
addop[userID]Adds the user to lobby operator list. Warning: Operators cant be removed.
graveyard-Toggles Graveyard maps allowed.
mode[mania/std/ctb/taiko]Sets the lobby game mode to either.
freemods-Forces lobby freemods. Shouldnt be necessary.
closeroom-Kicks everyone and kills the lobby.

PM Non-Global Operator commands:

CommandOptionsDescription
createroom[Name]Creates a room with said name and moves you into it. Default min/max diff is 4-5 and mode is standard. You cant create more than one lobby at a time per user.
help-Shows some info and a list of current lobbies
moveme[number/password]Moves you into the lobby you selected from !help list, or into any lobby matching the password you selected. (To be used in with !password command)
recreate-Revives the lastest lobby you created if dead.
droplobby-Deleted the lastest lobby you created from memory.
reconnect[MatchID]look for the /mp/NUMBER of the match history URL of the lobby for this number. Rejoins the lobby into the lobby.
commands-Shows an albeit incomplete list of commands.

PM Global-Operator commands:

CommandsOptionsDescription
createroom-Same as common. Allows unlimited lobbies. OP-lobbies wont be closed when last player leaves and lobby is empty.
globalsay[message]Broadcasts a message to all lobbies
reloadRooms-Refreshes all rooms. No danger here.

PD: Please stop PMing me with "How do i make my own autohost?"

Posted Apr 27, 2017, 6:55 AM UTC

38237
Loading comments…