forum

[ORB] osu!RequestBot

posted
Total Posts
36
Topic Starter
Redback

Hello osu! players,

I have been working with a few streams lately trying to develop a cool new system that works to allow streamers to receive and keep track of song requests.

It's called ORB - osu!RequestBot. ORB sits in your twitch chat and, upon receiving a !req command, will add any song requests to the list - which appears on the UI of the program. This list allows you to use access the osu!direct menu inside the game. When you get into the game, the song will be checked off the list.

It's a very simple program that I hope many people are able to utilise. It takes almost no CPU - leaving you with loads for your stream.

The link to the source is: https://github.com/Redback93/OsuRequestBot[1]
And you can download the executable at:
This Link[2]
(Current Version: 1.2.3)

Supports mods:
eg. !req http://osu.ppy.sh/s/141284 HD HR



If you have any questions, ideas or personal issues, feel free to PM me on Reddit or on osu!

Enjoy
FrzR
This is really nice. I don't do streaming but this will reduce the spam on requests by flooding the chat box. =w=)b
TakuMii
I'm liking the program, but there's one feature that I would find helpful: the !np command.
The UI already displays the song that's currently playing, so I don't see much reason not to put it in there.
Topic Starter
Redback
This sounds easy enough to implement. Great idea. I'll update it later.

[This has been added to the latest version - File Version : 1.1.1.0]
TakuMii
Oh, I didn't even realize that the current song display isn't even working for me in the first place :( I play in fullscreen, so programs like yours can't get data from the titlebar since it now only changes in windowed mode.
The only program that I've seen that can obtain song data when fullscreen is Piotrekol's osu!history program, but I don't know how he does it...
Topic Starter
Redback

YayMii wrote:

Oh, I didn't even realize that the current song display isn't even working for me in the first place :( I play in fullscreen, so programs like yours can't get data from the titlebar since it now only changes in windowed mode.
The only program that I've seen that can obtain song data when fullscreen is Piotrekol's osu!history program, but I don't know how he does it...
He does that by implementing the MSN Live updater. I think he was the one that pioneered that idea.
TakuMii
I thought that only provided song and artist information... I guess it displays the currently playing difficulty too.
Any thoughts on implementing this?

EDIT: And after giving this an actual test run, I have one more feature request: Can you make the list display the beatmap creator?
Exo
Hey! i think you bot is really good ;)
But i have one question.. how can i disable the !np command?
-Yunii-
The second link isn't working or me. :o
Exo

Yuniicorn wrote:

The second link isn't working or me. :o
You're right!
I uploaded it here for you:
https://www.dropbox.com/s/z23uc1w3fztwsk3/ORB.zip
;)
Topic Starter
Redback
Sorry, I've been moving my servers around quite a lot lately, and this is one of the things that was overlooked. The URL has been updated.
Topic Starter
Redback

YayMii wrote:

I have one more feature request: Can you make the list display the beatmap creator?
Implemented in 1.2.1
Topic Starter
Redback
I've added "Mods". If you put the mods after the space, it will show up in the list.
eg:
!req http://osu.ppy.sh/s/141284 HD HR
TakuMii
Okay, 2 more things that I found that would be useful:
-A map's status (ranked/unranked)
-difficulty (if the request used a /b/# URL)

I really appreciate that you're keeping this updated. I find your tool very helpful, aside from missing the above two features (which prevents me from completely taking requests seamlessly). Anyways, thanks :)
Topic Starter
Redback

YayMii wrote:

-A map's status (ranked/unranked)
-difficulty (if the request used a /b/# URL)
Included in 1.2.2. Thank you very much for the great feedback.
MrBakpao
cool this application (y)
Drox-
The program does not work for me whenever i type !req http://osu.ppy.sh/s/134767
http://gyazo.com/c3ddf8c752c801f0f00c9d935dac1979
Topic Starter
Redback

Dragon111064 wrote:

The program does not work for me whenever i type !req http://osu.ppy.sh/s/134767
http://gyazo.com/c3ddf8c752c801f0f00c9d935dac1979
Make sure that the bot is actually in the channel's chat. The bot should give cues if it receives the message. The bot must have a verified email address and be using the irc password (instead of the usual login password).
Drox-

Dragon111064 wrote:

The program does not work for me whenever i type !req http://osu.ppy.sh/s/134767
http://gyazo.com/c3ddf8c752c801f0f00c9d935dac1979

Redback wrote:

Make sure that the bot is actually in the channel's chat. The bot should give cues if it receives the message. The bot must have a verified email address and be using the irc password (instead of the usual login password).
Where do i put the email?
Topic Starter
Redback

Dragon111064 wrote:

Dragon111064 wrote:

The program does not work for me whenever i type !req http://osu.ppy.sh/s/134767
http://gyazo.com/c3ddf8c752c801f0f00c9d935dac1979

Redback wrote:

Make sure that the bot is actually in the channel's chat. The bot should give cues if it receives the message. The bot must have a verified email address and be using the irc password (instead of the usual login password).
Where do i put the email?
Log into the account on twitch.tv and make sure the account has a verified email.
Drox-

Dragon111064 wrote:

The program does not work for me whenever i type !req http://osu.ppy.sh/s/134767
http://gyazo.com/c3ddf8c752c801f0f00c9d935dac1979

Redback wrote:

Make sure that the bot is actually in the channel's chat. The bot should give cues if it receives the message. The bot must have a verified email address and be using the irc password (instead of the usual login password).
[/quote]

i just did all of that and it still does not work do i use my twitch name for the bot login? http://gyazo.com/b2cc84737c2f72638c1d1eb648803aaf
and is this you? http://gyazo.com/554575a140b3c8347e42f5f2ce3c873e
Exo

Dragon111064 wrote:

Dragon111064 wrote:

The program does not work for me whenever i type !req http://osu.ppy.sh/s/134767
http://gyazo.com/c3ddf8c752c801f0f00c9d935dac1979

Redback wrote:

Make sure that the bot is actually in the channel's chat. The bot should give cues if it receives the message. The bot must have a verified email address and be using the irc password (instead of the usual login password).
i just did all of that and it still does not work do i use my twitch name for the bot login? http://gyazo.com/b2cc84737c2f72638c1d1eb648803aaf
and is this you? http://gyazo.com/554575a140b3c8347e42f5f2ce3c873e[/quote]

You can't just put a random name in there such as OrbOsuRequestBot! It must be a verified Twitch channel. So let's say you want it to be DragonBot.
Go to twitch and create a new account with the name DragonBot and verify your e-mail.
Now go to the ORB and click on the link which brings you to the oauth password page( You have to be logged into that account while doing this). Now just enter your Username and oauth password into your ORB and then type the channel which you want the bot to be connected and hit connect.
Drox-

Dragon111064 wrote:

The program does not work for me whenever i type !req http://osu.ppy.sh/s/134767
http://gyazo.com/c3ddf8c752c801f0f00c9d935dac1979

Redback wrote:

Make sure that the bot is actually in the channel's chat. The bot should give cues if it receives the message. The bot must have a verified email address and be using the irc password (instead of the usual login password).
i just did all of that and it still does not work do i use my twitch name for the bot login? http://gyazo.com/b2cc84737c2f72638c1d1eb648803aaf
and is this you? http://gyazo.com/554575a140b3c8347e42f5f2ce3c873e[/quote]

You can't just put a random name in there such as OrbOsuRequestBot! It must be a verified Twitch channel. So let's say you want it to be DragonBot.
Go to twitch and create a new account with the name DragonBot and verify your e-mail.
Now go to the ORB and click on the link which brings you to the oauth password page( You have to be logged into that account while doing this). Now just enter your Username and oauth password into your ORB and then type the channel which you want the bot to be connected and hit connect.[/quote]

http://gyazo.com/71af78c1939d20df45033afe78815916 i did this and it still doesent work the accounts email is verified :shock:
Exo
We fixed it !
EDIT: He used the wrong oauth password
lenkki-rastas
This is great, but I get this: when trying to click the download link for the map, yes I have support.
Topic Starter
Redback

erite-rastas wrote:

This is great, but I get this: when trying to click the download link for the map, yes I have support.
I am unable to help you with the screenshot provided.
The best way you could help troubleshoot would be to go into your Event Viewer, go to Windows Logs, press Application. Find the .NET Application Error and then send me a screenshot of the entire window. I am looking at the text in the bottom of the window, under the General tab.

Edit: I believe the error would be that osu! has not registered the osu! protocol. Make sure that osu! is running when you press this button, otherwise the computer may not know where to redirect osu:// links
lenkki-rastas

Redback wrote:

erite-rastas wrote:

This is great, but I get this: when trying to click the download link for the map, yes I have support.
I am unable to help you with the screenshot provided.
The best way you could help troubleshoot would be to go into your Event Viewer, go to Windows Logs, press Application. Find the .NET Application Error and then send me a screenshot of the entire window. I am looking at the text in the bottom of the window, under the General tab.

Edit: I believe the error would be that osu! has not registered the osu! protocol. Make sure that osu! is running when you press this button, otherwise the computer may not know where to redirect osu:// links
osu is running just fine when I get this error, details about it didn't show up to the event viewer but this is the information that I could get: http://puu.sh/aqyMn/8f124b8f9f.txt
Topic Starter
Redback

erite-rastas wrote:

Redback wrote:

I am unable to help you with the screenshot provided.
The best way you could help troubleshoot would be to go into your Event Viewer, go to Windows Logs, press Application. Find the .NET Application Error and then send me a screenshot of the entire window. I am looking at the text in the bottom of the window, under the General tab.

Edit: I believe the error would be that osu! has not registered the osu! protocol. Make sure that osu! is running when you press this button, otherwise the computer may not know where to redirect osu:// links
osu is running just fine when I get this error, details about it didn't show up to the event viewer but this is the information that I could get: http://puu.sh/aqyMn/8f124b8f9f.txt
Thank you for that error text, that was exactly what I was looking for!
Bad news, though. It's a win32 exception - that's not something I can deal with from the program.
The only advice I can give you is to check that you are running the program as administrator - so it has permission to access the osu! process. Otherwise, I'm afraid there's nothing I can do.
lenkki-rastas
Thank you for that error text, that was exactly what I was looking for!
Bad news, though. It's a win32 exception - that's not something I can deal with from the program.
The only advice I can give you is to check that you are running the program as administrator - so it has permission to access the osu! process. Otherwise, I'm afraid there's nothing I can do.[/quote]

so I just happen to have bad luck?
Topic Starter
Redback

erite-rastas wrote:

Thank you for that error text, that was exactly what I was looking for!
Bad news, though. It's a win32 exception - that's not something I can deal with from the program.
The only advice I can give you is to check that you are running the program as administrator - so it has permission to access the osu! process. Otherwise, I'm afraid there's nothing I can do.
so I just happen to have bad luck?[/quote]

Well not necessarily. But at some level your Windows is blocking my program from calling the URL. I'm not sure if this is something that you can prevent. This error isn't well documented on the internet.
Mestro
Could you maybe add the feature of disabling the !np command. Would help alot.
You could also make a download link to the songs or a link to the website instead of only Osu!direct link(I'm not a supporter)

Either way I love the program.
Topic Starter
Redback

Marcusan1387 wrote:

Could you maybe add the feature of disabling the !np command. Would help alot.
You could also make a download link to the songs or a link to the website instead of only Osu!direct link(I'm not a supporter)

Either way I love the program.
Alright. I'll get onto this in the next few days, but I'm quite busy. Thanks for showing interest in the program.
Mestro
I got my time. Just thankful for taking your time with this project. Pretty much the only one alive by now
Topic Starter
Redback
Okay, I've put in the option to enable and disable the now playing command.
I've also added the column for the beatmap's URL
Mestro
Hey again Redback. Come up with 2 new features

1. Fixed window positioning. Every time you open the program it will start at the same place where you closed it.
2. A clear button to remove requests from the list manually. Please do a clear button for each request. Not a clear all.(Do both if you want)

The first one isn't that needed could just be good. The second one is something I really look forward too.

/Marcus ^^
Topic Starter
Redback
The second option has practically been implemented already. If you select and option and hit backspace, it will delete it from the list.

What is the need for the first one?
Please sign in to reply.

New reply