Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Loading A Module...  (Read 6584 times)

0 Members and 1 Guest are viewing this topic.

Kn0ck3D

  • Guest
Loading A Module...
« on: September 23, 2006, 11:00:46 PM »

hey all,,
i downloaded cs_emailonregister.c from www.anope.org
and compiled it on win32 i got dll file in src/modules
i put it in data/modules
then i joined ircd and typed :
/msg operserv modload emailonregister

-Global- So you all know - the 'Services Root Administrator' of this network is a total lamer.
-
-OperServ- Unable to load module emailonregister

..........................................
what is the problem?
thank you very much.
Logged

katsklaw

  • Guest
(No subject)
« Reply #1 on: September 23, 2006, 11:16:43 PM »

Code: [Select]

if (stricmp("lamer@to-lazy-to-configure.localhost",STAFF_MAIL_ADDRESS)==0) {
            alog("[cs_emailonregister] ERROR: Services-Root is a total lamer.");
            alog("[cs_emailonregister] ERROR: Services-Root needs to configure modules before compiling them.");
   oper_global(NULL,"So you all know - the 'Services Root Administrator' of this network is a total lamer.");
   alog("[cs_emailonregister] Module Auto-Unloading.");
            return MOD_STOP;


That happened because you didn't READ the module header before you compiled it. You should always read the top portion of any module for configuration options, in this case an email address.


***katsklaw chalks one up for SGR.
Logged

Kn0ck3D

  • Guest
(No subject)
« Reply #2 on: September 23, 2006, 11:24:05 PM »

thank you very much
but here how it goes..
first of all i did not know that it is kind of histoy book and i have to read all of its instruction:)
second,, i'm a beginner:) but not a lamer lol as the module said:D
Logged

Kn0ck3D

  • Guest
(No subject)
« Reply #3 on: September 24, 2006, 12:06:27 AM »

after i had configured it and compiled it,, it ran okay,,
but the problem when i register any channel,, black window appears and disappears automaticly and so no email arrives my inbox ,, it seems like saying "cannot find .. something"



[Edited on 23-9-2006 by Kn0ck3D]
Logged

katsklaw

  • Guest
(No subject)
« Reply #4 on: September 24, 2006, 12:57:25 AM »

You really have 4 options:

1> fix it yourself
2> hope someone here can fix the module for you
3> contact SGR (good luck with that since he doesn't write anope modules anymore)
4> stop using the module

With that said, I'll leave this thread to the powers that be.
Logged

Kn0ck3D

  • Guest
(No subject)
« Reply #5 on: September 24, 2006, 09:55:30 AM »

okay thanks
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #6 on: September 24, 2006, 10:51:00 AM »

since you are using win32, did you configure anope to use mail with UseMail, and since you say you use win32, did you replace the SendMailPath to make use of anopesmtp or any other sendmail tool of your choice ?
best is to try and make sure that a build in command that sends emails, like sendpass works, then try the module again...
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

Kn0ck3D

  • Guest
(No subject)
« Reply #7 on: September 24, 2006, 11:54:25 AM »

hey Viper
for my sorry i do not know how to configure "services.conf" to send emails from my windows.
i saw the staff that u r talking abouy sendmailpath..
also i saw a file called anopesmtp inside the folder data..
please help me to confgiure it
Logged

n00bie

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 411
(No subject)
« Reply #8 on: September 24, 2006, 03:42:57 PM »

services.conf:
SendMailPath "anopesmtp 127.0.0.1"

and remember to replace the IP's with your smtp IP's.
Logged
I am always doing things that which I cannot do, in order that I may learn how to do it.

Kn0ck3D

  • Guest
(No subject)
« Reply #9 on: September 24, 2006, 04:24:36 PM »

I made that before and did not work
n00bie
Logged

katsklaw

  • Guest
(No subject)
« Reply #10 on: September 24, 2006, 05:31:23 PM »

using anopesmtp 127.0.0.1 assumes you have a properly configured MTA on 127.0.0.1 if you do not, then it will not work.
Logged
Pages: [1]   Go Up