r/osugame•
ekgame

Custom Bancho client framework, server and AutoHost multiplayer bot for osu!

Fluff

I started these projects at the start of 2016 and I've finally decided that I want to share them with everyone. These projects serve to unlock the awesome features of Bancho, namely - multiplayer. I hope these projects will help other developers to create more interesting projects for osu!

These projects are the result of long and hard work reverse-engineering the Bancho protocol, however they are not feature complete and still need a lot of work. Any volunteers to help are welcome.


  • Bancho API - this is the common API used for all the other projects. It has a lot of the packets that Bancho uses to communicate and helpful data structures. This is used for both the client framework and the custom server software.

  • Bancho Client framework - this is the main focus of my work. This framework allows you to create bots that use the Bancho protocol as opposed to the IRC. What this means is that you have much greater interaction with Bancho - multiplayer, spectating, more responsive chat, capturing when someone is silenced, etc. Anything that a real client can do - a bot can do it too (or will eventually be able to).

  • Bancho Server - an attempt to create a custom Bancho server, codenamed AlterBancho. This is a very basic implementation that I used to better understand the client protocol. Still useful if you want to study how it works.

  • AutoHost bot - a bot created to test the client framework. This bot automatically creates a multiplayer room and plays beatmaps from a queue. Mostly feature complete, but still needs some work. Read the GitHub page for detailed information. If you want, I could launch the bot for a demonstration of how it works.


I had an idea for a team matchmaking project which motivated me to do this. I have quite a lot of work done already, but it turned out to be harder than expected, so I put it on hold for now. I really hope you find this useful and make something cool with it.

Posted Mar 5, 2016, 11:06 AM UTC

2013
Loading comments…