Anope IRC Services

Anope Development => Modules => Topic started by: cmvdeeden on July 01, 2011, 12:03:39 AM

Title: update ns_regcode
Post by: cmvdeeden on July 01, 2011, 12:03:39 AM
Is there anybody who can update the module 'ns_regcode' to make it work with the latest anope 1.8.6.? Currently doesn't work due errors while compiling.

http://modules.anope.org/index.php?page=view&id=78

Title: Re: update ns_regcode
Post by: katsklaw on July 01, 2011, 01:49:38 AM
No one can do anything about it unless you tell us what the errors are.
Title: Re: update ns_regcode
Post by: VisioN on July 01, 2011, 10:17:31 AM
I use it for 1.8.6 and it works fine.
Title: Re: update ns_regcode
Post by: WeAraBs.Net on March 08, 2012, 10:09:46 PM

sorry to reply here for old post

but this is the error

Quote
gcc -pipe -g -O2 -export-dynamic -rdynamic -Wall -fPIC -DPIC -shared -I../../include -c ns_                                                                  regcode.c
ns_regcode.c: In function `m_do_register':
ns_regcode.c:254: error: `PASSWORD_TRUNCATED' undeclared (first use in this function)
ns_regcode.c:254: error: (Each undeclared identifier is reported only once
ns_regcode.c:254: error: for each function it appears in.)
ns_regcode.c:262: error: incompatible types in assignment
ns_regcode.c: In function `do_confirm':
ns_regcode.c:375: error: incompatible types in assignment
*** Error code 1

can any one fix it
Title: Re: update ns_regcode
Post by: WeAraBs.Net on March 09, 2012, 12:40:33 AM


i found this module and its working

[05:22‹NickServ›] To complete your registration you need to enter a passcode.
[05:22‹NickServ›] Type: /msg NickServ PROCEED passcode
[05:22‹NickServ›] Your passcode is: uD3H8WLJP
[05:23‹NickServ›] Nickname nick registered under your account: *nick@*.D0FFCC8A.A8919B01.IP

try to use it   ;)
Title: Re: update ns_regcode
Post by: Zemra on July 08, 2013, 09:26:00 AM
ns_regcode.c:254:31: error: âPASSWORD_TRUNCATEDâ undeclared (first use in this function)
ns_regcode.c:254:31: note: each undeclared identifier is reported only once for each function it appears in
ns_regcode.c:262:22: error: incompatible types when assigning to type âchar[32]â from type âchar *â
ns_regcode.c: In function âdo_confirmâ:
ns_regcode.c:375:22: error: incompatible types when assigning to type âchar[32]â from type âvoid *â
make[1]: *** [ns_regcode.o] Error 1
Title: Re: update ns_regcode
Post by: katsklaw on July 10, 2013, 09:24:19 PM
There is an unsupported version that fixed the PASSWORD_TRUNCATED error at http://modules.anope.org/files/78/2.0.0/41/ns_regcode.c