Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: 1 2 [3]   Go Down

Author Topic: cs_inhabitregistered & fantasy module -=(FINAL BETA! - Current Version: 1.0 (RC2))=-  (Read 51625 times)

0 Members and 1 Guest are viewing this topic.

owine

  • Anope User
  • Offline Offline
  • Posts: 130
(No subject)
« Reply #50 on: June 01, 2006, 10:22:24 PM »

from logchan

Code: [Select]

<Global> OperServ: owine: modload cs_fantasy_full
<Global> Trying to load module [cs_fantasy_full]
<Global> [cs_accessfounder] InHabitModes set to +o
<Global> [cs_accessfounder] InHabitRevenge has been enabled
* ChanServ (services@services.hak5.org) has joined #services
* ChanServ sets mode +q #services ChanServ
* ChanServ sets mode +a #services ChanServ
* ChanServ gives channel operator status to ChanServ
<Global> Loading module cs_fantasy.so [Status: 0]
<Global> Module loading status:


looks like it reads it but ignores it.
Logged

Tom65789

  • Anope User
  • Offline Offline
  • Posts: 343
    • www.t65789.co.uk
(No subject)
« Reply #51 on: June 01, 2006, 10:51:55 PM »

ok i'll take a look at it and fix it for 1.0

owine

  • Anope User
  • Offline Offline
  • Posts: 130
(No subject)
« Reply #52 on: June 02, 2006, 12:41:20 AM »

also, the module allows an AOP to kick an SOP of founder using !k.

edit: looks like anyone can use !k to kick anybody in the channel.

[Edited on 5-6-2006 by owine]
Logged

Tom65789

  • Anope User
  • Offline Offline
  • Posts: 343
    • www.t65789.co.uk
(No subject)
« Reply #53 on: June 16, 2006, 11:17:00 AM »

well after alot of work Version 1.0 (RC1) the final beta is released so that should do it. please report any final bugs you find:

overview of the changes:

     Added the Following Commands:
           !info N
           !info B
           !info K
     Fixed normal users been able to use !kick or !k
     Fixed the last memory leak (hopefully).
     Better !up !down functions so it cant be repeated.
     Fixed a crash on !kb.
     Fixed InhabitModes.
     Completed Full Code.

[Edited on 16-6-2006 by Tom65789]

omni

  • Guest
dumb newb question, but I\'m lost ....
« Reply #54 on: June 26, 2006, 12:09:04 AM »

I have the service running fine and it loaded without any errors, ie chanserv is sitting in all the channels

However thats all he does.  None of the commands work, what am I missing that I have to do ?
Logged

Tom65789

  • Anope User
  • Offline Offline
  • Posts: 343
    • www.t65789.co.uk
(No subject)
« Reply #55 on: June 26, 2006, 11:47:07 PM »

Your using Unreal3.2.5? or are you using Unreal3.2.4 or another IRCd?

[Edited on 26-6-2006 by Tom65789]

omni

  • Guest
(No subject)
« Reply #56 on: June 27, 2006, 01:40:59 AM »

Sorry, should have provided more details:
Anope 1.7.14
Unreal 3.2.5
Running OS: FC5

Output of "make modules"
Code: [Select]
]0;ircd@XXX:/src/anope-1.7.14[ircd@XXX anope-1.7.14]$ make modules
*** Building src
make[1]: Entering directory `/src/anope-1.7.14/src'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/src/anope-1.7.14/src'
(cd src/modules ; ./configure ; make 'CFLAGS=-pipe -g -O2 -pthread -export-dynamic' 'CC=gcc' 'ANOPELIBS=-lnsl -lbsd   -ldl' 'LDFLAGS=' 'BINDEST=/XXX/ircd/anope' 'INSTALL=/usr/bin/install' 'INCLUDEDIR=../include' 'RM=/bin/rm' 'CP=/bin/cp' 'TOUCH=/bin/touch' 'SHELL=/bin/sh' 'DATDEST=/XXX/ircd/anope' 'RUNGROUP=' 'MODULE_PATH=/XXX/ircd/anope/modules/' 'RDB=' 'MYSQL=' 'SHARED=-shared' 'MODULEFLAGS=-fPIC -DPIC -shared' all; )
make[1]: Entering directory `/src/anope-1.7.14/src/modules'
gcc -pipe -g -O2 -pthread -export-dynamic -rdynamic -Wall -fPIC -DPIC -shared -I../../include -c cs_fantasy_full.c
gcc -shared bs_fantasy_ext.o -o bs_fantasy_ext.so
gcc -shared cs_appendtopic.o -o cs_appendtopic.so
gcc -shared cs_enforce.o -o cs_enforce.so
gcc -shared cs_fantasy_full.o -o cs_fantasy_full.so
gcc -shared cs_inhabitregistered.o -o cs_inhabitregistered.so
gcc -shared cs_tban.o -o cs_tban.so
gcc -shared hs_request.o -o hs_request.so
gcc -shared ns_maxemail.o -o ns_maxemail.so
gcc -shared ns_noop.o -o ns_noop.so
gcc -shared os_info.o -o os_info.so
make all in dummy...
make[2]: Entering directory `/src/anope-1.7.14/src/modules/dummy'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/src/anope-1.7.14/src/modules/dummy'
make[1]: Leaving directory `/src/anope-1.7.14/src/modules'
*** All done, now (g)make install to install Anope/Modules

[Edited on 27-6-2006 by omni]
Logged

Tom65789

  • Anope User
  • Offline Offline
  • Posts: 343
    • www.t65789.co.uk
(No subject)
« Reply #57 on: June 27, 2006, 04:48:10 PM »

hmm yes Unreal3.2.5. This is not the first case of this happening. i'll take a look when i have access to my code and a Compiler to try and fix it. Im Currently on Holiday in another country so im distant from my coding software lol

omni

  • Guest
(No subject)
« Reply #58 on: June 28, 2006, 01:07:13 AM »

I will backdate to 3.2.4 and see if this fixes the problem.  I will let you know if it is a issue with 3.2.5
Logged

Tom65789

  • Anope User
  • Offline Offline
  • Posts: 343
    • www.t65789.co.uk
(No subject)
« Reply #59 on: June 29, 2006, 04:27:42 PM »

this is only a problem that seems to be occuring on Unreal3.2.5 so its just got me thinking a bit

Tom65789

  • Anope User
  • Offline Offline
  • Posts: 343
    • www.t65789.co.uk
(No subject)
« Reply #60 on: July 02, 2006, 01:12:47 AM »

well i seem to have got it working on a version of Unreal3.2.5 but i dont know what was actually wrong with it. i jsut hope it is fixed. Version 1.0 RC2 should be out very very soon with alot of updates and bugs fixes and a stable release

Tom65789

  • Anope User
  • Offline Offline
  • Posts: 343
    • www.t65789.co.uk
(No subject)
« Reply #61 on: July 24, 2006, 02:41:03 PM »

ok After much work, RC2 is finally out. The file has been split into modules to make it easier to find the bugs and update them. Just looking to find the rest of the memory leaks. If anyone is willing to give a hand in making this code better please let me know :)

You can download the .tar.gz from the following places:

http://t65789.serveftp.com/cs_fantasy-1.0-RC2.tar.gz
http://www.area51designz.com/c/anope/cs_fantasy-1.0-RC2.tar.gz
http://www.onenetirc.com/anope/cs_fantasy-1.0-RC2.tar.gz
http://www.T65789.co.uk/cs_fantasy-1.0-RC2.tar.gz
http://vips.hopto.org/~tom65789/cs_fantasy-1.0-RC2.tar.gz

See CHANGES for the fixes.

Windows dll's:

http://t65789.serveftp.com/cs_fantasy.dll
http://www.area51designz.com/c/anope/cs_fantasy.dll
http://www.onenetirc.com/anope/cs_fantasy.dll
http://www.T65789.co.uk/cs_fantasy.dll
http://vips.hopto.org/~tom65789/cs_fantasy.dll

----------------


Im also thinking about changing it so you can make !help into .help or something like the BS Fantasy where you have configurable triggers. If enough people want this then please post and say so and i may get round to doing it!

[Edited on 24-7-2006 by Tom65789]

Jimmyhuybrechts

  • Guest
(No subject)
« Reply #62 on: September 22, 2006, 01:40:54 PM »

I am on unreal 3.25 and latest anope svn.
I have windows server 2003 and downloaded the dll and put it in the modules folder.

Now whenever i try loading cs_fantasy it just Unable to load cs_fantasy. Do you know a way to let it work ?
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
(No subject)
« Reply #63 on: September 22, 2006, 02:25:42 PM »

I replied to your last post, but I think you'll be much better taking the .c and compiling it yourself.
Logged

Tom65789

  • Anope User
  • Offline Offline
  • Posts: 343
    • www.t65789.co.uk
(No subject)
« Reply #64 on: September 22, 2006, 03:02:09 PM »

hmm, it may need the manifest. i'll take a look

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
(No subject)
« Reply #65 on: September 22, 2006, 03:57:56 PM »

Certainly will.
Logged

Dagorath

  • Guest
(No subject)
« Reply #66 on: December 31, 2006, 05:39:30 PM »

Hullos.

New to the forum, so, see above firstly! ^

Attempted to try out cs_fantasy on a test server, had absolutely no luck thus far. Not... entirely sure why. Been away from *nix for quite a while ("relearning" sucks :/), so the fault is likely entirely mine. >.>

Anyway, when I attempt to "make modules", I get...


Code: [Select]
(cd lang ; make 'CFLAGS=-pipe -g -O2 -export-dynamic' 'CC=gcc' 'ANOPELIBS='  'LDFLAGS=' 'BINDEST=/home/dagorath/services' 'INSTALL=/usr/bin/install'  'INCLUDEDIR=../include' 'RM=/bin/rm' 'CP=/bin/cp'  'TOUCH=/usr/bin/touch' 'SHELL=/bin/sh' 'DATDEST=/home/dagorath/services'  'RUNGROUP=' 'MODULE_PATH=/home/dagorath/services/modules/' 'RDB=' 'MYSQL=' 'SHARED=-shared' 'MODULEFLAGS=-fPIC -DPIC -shared' all language.h ; )  `language.h' is up to date.  (cd include ; make 'CFLAGS=-pipe -g -O2 -export-dynamic' 'CC=gcc' 'ANOPELIBS='  'LDFLAGS=' 'BINDEST=/home/dagorath/services' 'INSTALL=/usr/bin/install'  'INCLUDEDIR=../include' 'RM=/bin/rm' 'CP=/bin/cp'  'TOUCH=/usr/bin/touch' 'SHELL=/bin/sh' 'DATDEST=/home/dagorath/services'  'RUNGROUP=' 'MODULE_PATH=/home/dagorath/services/modules/' 'RDB=' 'MYSQL=' 'SHARED=-shared' 'MODULEFLAGS=-fPIC -DPIC -shared' )  *** Building src  gcc  -pipe -g -O2 -export-dynamic -fPIC -DPIC -shared -I../include/ -c mod_version.c  gcc -pipe -g -O2 -export-dynamic actions.o base64.o botserv.o channels.o chanserv.o commands.o compat.o  config.o datafiles.o encrypt.o events.o helpserv.o hostserv.o init.o ircd.o language.o list.o log.o mail.o main.o  memory.o memoserv.o messages.o misc.o modules.o news.o nickserv.o operserv.o  process.o send.o servers.o sessions.o slist.o sockutil.o timeout.o users.o       -o services  (cd src/modules ; ./configure ; make 'CFLAGS=-pipe -g -O2 -export-dynamic' 'CC=gcc' 'ANOPELIBS='  'LDFLAGS=' 'BINDEST=/home/dagorath/services' 'INSTALL=/usr/bin/install'  'INCLUDEDIR=../include' 'RM=/bin/rm' 'CP=/bin/cp'  'TOUCH=/usr/bin/touch' 'SHELL=/bin/sh' 'DATDEST=/home/dagorath/services'  'RUNGROUP=' 'MODULE_PATH=/home/dagorath/services/modules/' 'RDB=' 'MYSQL=' 'SHARED=-shared' 'MODULEFLAGS=-fPIC -DPIC -shared' all; )  make all in cs_fantasy...  "Makefile", line 5: Could not find ../Makefile.sub  make: fatal errors encountered -- cannot continue  *** Error code 1    Stop in /home/dagorath/anope-1.7.17/src/modules.  *** Error code 1

Makefile.sub is -definitely- there. I know this because I shunted it around a bit just to be sure it wasn't somewhere it wasn't meant to be. I also completely recompiled (from clean) to be utterly sure things weren't... skewiff.

Still no luck. :|

Any ideas, pretty-please with very scrumptious cherries on top? :D

Addendum:

Just tried to "gmake modules" again out of curiousity.

Effectively the same return up til

Code: [Select]
make all in cs_fantasy...  gmake[2]: Entering directory `/home/dagorath/anope-1.7.17/src/modules/cs_fantasy'  gcc -pipe -g -O2 -export-dynamic -rdynamic -Wall -fPIC -DPIC -shared -I../ -I../../../include -c cs_fantasy.c  cs_fantasy.c:23:18: bans.c: No such file or directory  functions.h:69: warning: 'do_ban' used but never defined  functions.h:70: warning: 'do_unban' used but never defined  gmake[2]: *** [cs_fantasy.o] Error 1  gmake[2]: Leaving directory `/home/dagorath/anope-1.7.17/src/modules/cs_fantasy'

...at which point it gives the error and moves onto the "dummy" directory.

[Edited on 31-12-2006 by Dagorath]
Logged

Tom65789

  • Anope User
  • Offline Offline
  • Posts: 343
    • www.t65789.co.uk
(No subject)
« Reply #67 on: January 01, 2007, 04:41:48 PM »

i'll probably need to update it for the latest anope because i havent updated it for a while...i'll try and find some time to edit it but really busy with other things at the moment

Dagorath

  • Guest
(No subject)
« Reply #68 on: January 02, 2007, 10:09:32 PM »

I wondered if that was it. No worries - I'm mostly currently looking for a way to set up something lazily anyway. I should probably just do some damned coding myself for once, rather than depending on other people to have already done it. >.>
Logged

Tom65789

  • Anope User
  • Offline Offline
  • Posts: 343
    • www.t65789.co.uk
(No subject)
« Reply #69 on: January 24, 2007, 04:21:43 PM »

ok i'll have a new version out within a little bit so keep checking back
Pages: 1 2 [3]   Go Up