Meowhal / osu-ahr

irc bot for osu multi lobby auto host rotation
MIT License
130 stars 36 forks source link

please help what is an irc password? #158

Closed SpeedyWithS closed 1 year ago

SpeedyWithS commented 1 year ago

The only thing I can find on the IRC old osu website that is linked is "server password" but when I try and put that in it doesn't work. When I run npm run start it just tells me:

osu-ahr@1.6.1 start

node dist/cli/index.js

Loading log4js configuration from ./config/log_cli.json

[00:52:42.769][INFO] pre - Starting up...

[00:52:42.772][ERROR] pre - You must enter your account ID and IRC password in the config file.

[00:52:42.772][ERROR] pre - You can get your IRC password in 'https://osu.ppy.sh/p/irc'

[00:52:42.772][ERROR] pre - Copy config/default.json to config/local.json, and then enter your account ID and IRC password

I tried everything and googled for around 2 hours but to no avail. Please help and if you can, explain to me in detail what an irc password and where to find it.

matte-ek commented 1 year ago

The server password should be the correct password. Have you made sure to copy the config/default.json to config/local.json? Then only change the config/local.json file with the correct details.

SpeedyWithS commented 1 year ago

The server password should be the correct password. Have you made sure to copy the config/default.json to config/local.json? Then only change the config/local.json file with the correct details.

I just renamed the default.json to local.json. Isn't that what I was supposed to do? Maybe I interpreted it wrong

matte-ek commented 1 year ago

Shouldn't be an issue, but you could try just copying it instead, leaving the default.json untouched. The error itself seems to just indicate that it can't read the config credentials.

SpeedyWithS commented 1 year ago

Shouldn't be an issue, but you could try just copying it instead, leaving the default.json untouched. The error itself seems to just indicate that it can't read the config credentials.

Tried that as well. Or rather, I renamed, went into the original zip from which I extracted the folder, thus creating a copy, and got the default.json from there to then put it in with the renamed file. No difference.

xayanide commented 1 year ago

Can you please show us your directory tree inside your osu-ahr folder?

SpeedyWithS commented 1 year ago

Can you please show us your directory tree inside your osu-ahr folder?

I'm not entirely sure what you mean by directory tree but I tried my best to deliver anyways :) Sorry if it's not what you asked for. image image image image image

I also got this incase it helps :) ima5465ge43

xayanide commented 1 year ago

Odd, I am unable to reproduce this. By the way in the local.json file at the value for irc.nick, instead of numbers 29365787, you put the username of your osu! account, not the id.

a.) Try opening up a terminal inside the osu-ahr-master folder and run npm run start from there if you haven't already.

b.) Try reviewing the steps you've done using https://www.youtube.com/watch?v=8kYbBWgMfIQ, in the video they are using an older version of osu-ahr but the steps should still be similar.

SpeedyWithS commented 1 year ago

The video worked! Thank you so much man I really appreciate still helping people after all these years!

xayanide commented 1 year ago

Which specific step caused and solved your issue for reference purposes? Please don't forget to close this issue as completed.

SpeedyWithS commented 1 year ago

Doing the excact same things as I did before, but downloading the dev branch instead of master, naming the default.json to development.json instead of local.json, and right clicking inside to folder and click "open git bash here" instead of using the cd command to get into it.

Also sorry for not changing to complete. This is my first ever time using github :D

SpeedyWithS commented 1 year ago

Case closed lol