Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: update ns_regcode  (Read 4548 times)

0 Members and 1 Guest are viewing this topic.

cmvdeeden

  • Anope User
  • Offline Offline
  • Posts: 26
update ns_regcode
« 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

Logged

katsklaw

  • Supporter
  • Anope User
  • Offline Offline
  • Posts: 537
Re: update ns_regcode
« Reply #1 on: July 01, 2011, 01:49:38 AM »

No one can do anything about it unless you tell us what the errors are.
Logged

VisioN

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 82
    • myIRC Project Hosting IRC Network
Re: update ns_regcode
« Reply #2 on: July 01, 2011, 10:17:31 AM »

I use it for 1.8.6 and it works fine.
Logged
______________________________
VisioN
Find me: irc.myirc.net | irc.anope.org
Contact me: vision@myirc.net

WeAraBs.Net

  • Anope User
  • Offline Offline
  • Posts: 13
Re: update ns_regcode
« Reply #3 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
Logged

WeAraBs.Net

  • Anope User
  • Offline Offline
  • Posts: 13
Re: update ns_regcode
« Reply #4 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   ;)
Logged

Zemra

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 10
Re: update ns_regcode
« Reply #5 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
Logged

katsklaw

  • Supporter
  • Anope User
  • Offline Offline
  • Posts: 537
Re: update ns_regcode
« Reply #6 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
Logged
Pages: [1]   Go Up