auditorium

Looking for a module? Or want to see one converted to 6.x?

Moderator: Supporters

Post Reply
SMu
Posts: 1
Joined: Mon Jan 31, 2022 7:47 am

auditorium

Post by SMu »

Hi,
There is any chance to have auditorium on UnrealIRCd-6.0.2 ?
Thank You
Lord255
Posts: 92
Joined: Sat Feb 29, 2020 12:58 am
Location: offline

Re: auditorium

Post by Lord255 »

erathor
Posts: 5
Joined: Tue May 03, 2022 5:37 pm

Re: auditorium

Post by erathor »

I'm getting a weird error, and module doesn't work after /rehash. Any help would be appreciated.

unrealircd@irc:~/unrealircd$ ./unrealircd module install third/auditorium
Reading module repository list from '/home/unrealircd/unrealircd/conf/modules.sources.list'...
Checking module repository https://modules.unrealircd.org/modules.list...
Checking module repository https://gottem.nl/unreal/modlist...
Following redirect to https://gitgud.malvager.net/Wazakindjes ... dules.list
ConfigResourceing third/auditorium from https://raw.githubusercontent.com/unrea ... ditorium.c...
Test compiling third/auditorium...
make: *** No rule to make target 'custommodule'. Stop.
ERROR: Compile errors encountered while compiling module 'third/auditorium'
You are suggested to contact the author (Gottem) of this module:
In case of problems, check the FAQ at https://gottem.nl/unreal/halp or e-mail me at support@gottem.nl
Compiling third/auditorium...
make: *** No rule to make target 'custommodule'. Stop.
ERROR: Compile errors encountered while compiling module 'third/auditorium'
You are suggested to contact the author (Gottem) of this module:
In case of problems, check the FAQ at https://gottem.nl/unreal/halp or e-mail me at support@gottem.nl
Module third/auditorium compiled successfully
Running 'make install'...
Post-installation information for third/auditorium from the author:
---
The module is installed, now all you need to do is add a 'loadmodule' line to your config file:
loadmodule "third/auditorium";
Then /rehash the IRCd.
For usage information, refer to the module's documentation found at: https://gottem.nl/unreal/man/auditorium
---
All actions were successful.
erathor
Posts: 5
Joined: Tue May 03, 2022 5:37 pm

Re: auditorium

Post by erathor »

I admit, it wasn't very detailed as to what I've tried before posting this error message.

Running latest ubuntu version and latest unrealircd (6.0.3).

Prior to install, i installed these packages.

build-essential pkg-config libssl-dev libpcre2-dev libargon2-dev libsodium-dev libc-ares-dev libcurl4-openssl-dev

Did a source compile and installed unrealircd.

It's stock, no other third party modules has been installed.

Ran ./unrealircd module install third/auditorium and got this error.

I then added loadmodule "third/auditorium"; to the config file of unrealircd.

Did a /rehash, no errors come up, not even that the module is missing.

I checked ./unrealircd module list and it does say, that the module has been installed.

However, when i browse to modules/third, the folder is empty.

When I add modes to my user, "+a" and try to set /mode #chan +u - the server responds with: "u is a unknown char to me".
Syzop
UnrealIRCd head coder
Posts: 2016
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: auditorium

Post by Syzop »

Maybe your unrealircd source directory (unrealircd-x.y.z) got partially deleted or is otherwise screwed?
If so, you may have to re-run ./Config and make and make install (basically reinstall UnrealIRCd)
You should not delete the unrealircd-x.y.z directory after you have installed UnrealIRCd, you should just leave it there. That way it can be used by "./unrealircd module" but also in case some security or stability issue appears, you can hot-patch things without a restart. If the original unrealircd source directory (unrealircd-x.y.z) gets deleted then all that is no longer possible.
Just saying this since some people have a tendency to clean too much. Whether that includes you, I don't know :D

I did fix one bug based on your report, which is that it should STOP after

Code: Select all

ERROR: Compile errors encountered while compiling module 'third/auditorium'
You are suggested to contact the author (Gottem) of this module:
In case of problems, check the FAQ at https://gottem.nl/unreal/halp or e-mail me at support@gottem.nl
... it should not continue after that with "compiled successfully" etc since that is obviously false ;)
Syzop
UnrealIRCd head coder
Posts: 2016
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: auditorium

Post by Syzop »

I also made it error more clearly now if you use an uncompiled UnrealIRCd directory (have not run ./Config yet).

I suggest you (re)install UnrealIRCd as stated in my previous comment. And afterwards: don't delete the unrealircd-x.y.z directory ;)
erathor
Posts: 5
Joined: Tue May 03, 2022 5:37 pm

Re: auditorium

Post by erathor »

Syzop wrote: Wed May 04, 2022 5:21 pm I also made it error more clearly now if you use an uncompiled UnrealIRCd directory (have not run ./Config yet).

I suggest you (re)install UnrealIRCd as stated in my previous comment. And afterwards: don't delete the unrealircd-x.y.z directory ;)
Damn, spot on! I cleaned too much and re-downloaded the source.

I'll make backups of configs and reinstall, will let you know if you were right all along. :-)

Cheers mate.
erathor
Posts: 5
Joined: Tue May 03, 2022 5:37 pm

Re: auditorium

Post by erathor »

Did a clean install, now it compiled the plugin successfully.

Checked /modules/third and there it is, auditorium.so.

Added loadmodule "third/auditorium"; to unrealircd.conf.

Did a /rehash, no errors.

And now, /mode #CHAN +u still gives same message like last time.

[4/5][20:13:12] u is unknown mode char to me

Am I missing something?
Syzop
UnrealIRCd head coder
Posts: 2016
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: auditorium

Post by Syzop »

Glad to hear that was it and the module manager is working now.

If you run the /MODULE command, do you see the 3rd party module listed?
If not then it is not loaded. So make sure you have your loadmodule line in the right file, not in a /* commented out block */, and so on...
erathor
Posts: 5
Joined: Tue May 03, 2022 5:37 pm

Re: auditorium

Post by erathor »

It works. I feel so embarrassed..

Replaced:

Code: Select all

/* Load auditorium module
loadmodule "third/auditorium";
With this:

Code: Select all

/* Load auditorium module */
loadmodule "third/auditorium";
Sorry for the inconvenience, and appreciate the help! :)
Post Reply