Anope IRC Services

Anope Development => Modules => Topic started by: Alex on September 14, 2006, 06:43:06 PM

Title: Module os_sysuptime.c
Post by: Alex on September 14, 2006, 06:43:06 PM
Hello guys,

I wonder if I could get some help with this problem.
Yesterday, I installed the module os_sysuptime.c and the installation went fine, but when I should try to use it, it wouldn't work at all.

I guess I was right when I used the following command to get the info: !sysuptime.

If that was wrong please correct me. ;)

Thanks.
Title:
Post by: Jan Milants on September 14, 2006, 07:21:16 PM
if you are referring to the one currently on the modules site, the only command it supports is /os sysuptime ... and even that will not work on all systems (doesn't work on mine) ...
Title:
Post by: Alex on September 14, 2006, 09:07:54 PM
Hello viper,

Yes, it was that command I used that not didn't work.
Title:
Post by: Jan Milants on September 14, 2006, 11:01:27 PM
you mean it says "±OperServ± Module unable to get system uptime" ? ... i think that s cause it s OS specific and the module can't find it for your OS or default settings have changed or so..
Title:
Post by: Alex on September 15, 2006, 09:06:39 AM
Hi Viper,

here is the message I get whe I do /os modload c_sysuptime

[10:09pm] -OperServ- Module unable to get system uptime
-
[10:09pm] -OperServ- Unable to load module os_sysuptime
Title:
Post by: Tom65789 on September 15, 2006, 10:24:37 AM
which OS are you using. like Viper said it will be OS Specific
Title:
Post by: Alex on September 15, 2006, 12:03:48 PM
Hello Tom,

I'm using XP Home Edition w/service-pack 2.
Title:
Post by: Jan Milants on September 15, 2006, 02:25:52 PM
did you compile the module yourself cause as far as i know there is no precompiled version of this module available... (you can't load a .c, you need a .dll) ...

and actually don't even bother, cause the module most likely doesn't work on windows :) .. i only see code for linux systems.
Title:
Post by: Tom65789 on September 15, 2006, 02:53:57 PM
it definately doesnt work on windows.
Title:
Post by: Alex on September 15, 2006, 03:27:23 PM
Oh sorry, did you mean what OS I run my network on? If that was what you needed to know so is that FreeBSD 5.0. ;)
Title:
Post by: katsklaw on September 15, 2006, 11:03:34 PM
iirc os_sysuptime doesn't work on freebsd. At least I never got it to work.