Anope IRC Services

Anope Development => Modules => Topic started by: Tom65789 on April 22, 2006, 01:23:01 AM

Title: cs_inhabitregistered & fantasy module -=(FINAL BETA! - Current Version: 1.0 (RC2))=-
Post by: Tom65789 on April 22, 2006, 01:23:01 AM
The Code is slowly coming to complete and stable. If you find any bugs please report them here asap so i can fix them asap :).

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

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

Make sure you check the README and INSTALL files first. and read over them carefully. if you do not understand what this module does or how to use it then i suggest you dont try to use it.

[Edited on 24-7-2006 by Tom65789]
Title:
Post by: Jan Milants on April 22, 2006, 11:10:00 AM
/me allready coded this something similar some time ago...

haven't had time to finish it the last few weeks though...
maybe you ll be able to use it, will edit this post with a link in  a few hrs, at college now so can't up it

[Edited on 22-4-2006 by Viper]
Title:
Post by: Tom65789 on April 22, 2006, 03:33:33 PM
alrighty then Viper thanks :D. was this a recent code or some from a while back?
Title:
Post by: Jan Milants on April 22, 2006, 04:25:24 PM
here s a link... actually it was just ready to become first beta (just missing some features you listed)
doesn't have the cmds to list access list for users not on the access list yet and things like that (wanted to do this - also was in original bs_fantasy i think, or bs_fan - but haven't got around to it as i d have to allow it to be set... not every1 s gonna like this)

i regulary check auths twice and things, code prolly still needs cleaning up and around line 3620 there s still an ugly workaround for a piece that didn't work

the code is very recent... about 1-2 weeks old (almost none of the code comes from the old versions of these modules.. everything s new) :)
mainly needs extended testing and steamlining... i think it s ready for use on smaller productive networks, mainly cause the feedback s needed
by now it s got a  small todo list as well heh... that s mean reason i didn't tell any1 about how far i d come with it

bs_fantasy_ext: version 1.0 (first public beta)
http://vips.hopto.org/~viper/bs_fantasy_ext.c

[edit: fixed link]

[Edited on 22-4-2006 by Viper]
Title:
Post by: Jimmy on April 26, 2006, 02:39:43 PM
I can't wait to see the cs_fantasy working cause many of the people who are having a channel on my server don't know exactly how to make users sop&vop etc.
Title:
Post by: Tom65789 on April 26, 2006, 09:34:22 PM
hmm Viper for the people who want to use that module on windows (havent tried it on *NIX yet lol) it doesnt compile for the free(invite); lines and some other undefined stuff. catch me on IRC if you want
Title:
Post by: TRAiNER4 on April 27, 2006, 03:07:41 AM
I gotta give you credit... I like this module... keep up the good work :D
Title:
Post by: TRAiNER4 on April 27, 2006, 03:17:00 AM
I found a bug... I typed !mute in a channel I was VOP in and it made the services segfault:

Quote
[Apr 26 22:05:15 2006] Read error from server: Undefined error: 0 (error num: 0)
[Apr 26 22:05:15 2006] Unloading addon.so
[Apr 26 22:05:15 2006] PANIC! waiting=-4 (Segmentation fault)
[Apr 26 22:05:16 2006] Backtrace: not available on this platform
[Apr 26 22:05:16 2006] Services terminating: Segmentation fault


This is on an UnrealIRCd network with anope-1.7.14
Title:
Post by: Tom65789 on April 27, 2006, 01:11:38 PM
hmmm, i was able to reproduce this. i'll have to take a look at it later or Viper can to fix this, i am unable to do it at the moment because im at work
Title:
Post by: Jan Milants on April 27, 2006, 09:57:27 PM
that should be fixed now.... also fixed a load of mem leaks |:(
Title:
Post by: Tom65789 on April 28, 2006, 10:08:10 PM
lol. now i just need to do some on the cs_fantasy XD
Title:
Post by: TRAiNER4 on April 29, 2006, 04:57:44 PM
Quote
Originally posted by Viper
that should be fixed now.... also fixed a load of mem leaks |:(
where can I get the new one?
Title:
Post by: Jan Milants on April 29, 2006, 05:12:05 PM
same link ....

gonna start a new thread for bs_fantasy_ext cause it keeps messing up tom's thread :)
Title:
Post by: Tom65789 on May 01, 2006, 04:58:13 PM
well this module is going good with some help from Viper and this should be out sometime within a week or 2. this depends on how much time i get to do this but the beta for it should be coming soon :). the current line count for it is about 1500 lines but i only have 5 of the commands working so far so there is alot to do :P

[Edited on 1-5-2006 by Tom65789]
Title:
Post by: Tom65789 on May 05, 2006, 11:25:30 AM
Should be expecting a beta after this weekend if i get it finished in time :)
Title:
Post by: Tom65789 on May 07, 2006, 05:23:21 PM
ok everyone the Beta is up and you can download it from here:

http://www.area51designz.com/c/anope/cs_fantasy.c

For Windows Users:

http://www.area51designz.com/c/anope/cs_fantasy.dll

do NOT use this on any network other than one which you aint bothered if they may crash or lockup!
Title:
Post by: Tom65789 on May 08, 2006, 06:55:44 PM
ok i fixed a huge amount of mem leaks as i did what Viper did in his and put return MOD_STOP; before a free so if you have 0.3 or below it is advised you update this module.

still got a few things to do but keep testing and reporting problems
Title:
Post by: Jan Milants on May 08, 2006, 09:48:28 PM
hush... no1 saw that ^.^

[size=-1]really had to mention my nick eh ? [/size]
Title:
Post by: Tom65789 on May 09, 2006, 12:47:08 PM
yesh lol.

anyway i've noticed a problem with the !set but i cant fix it at the moment as im at work but i'll try and update it when i get home.
Title:
Post by: Tom65789 on May 14, 2006, 08:11:38 PM
ok 0.7 is now out and it is advised you upgrade from any older version.

     Fixed ASSIGN issue with BotServ.
     Fixed !clear commands.
     Fixed Numerous Crashes.
     Added the Following Fantasy Commands:
           !voice
           !devoice
           !halfop
           !dehalfop
           !op
           !deop
           !protect
           !deprotect
           !owner
           !deowner

Should be expecting 0.8 within a few days so keep an eye out for it
Title:
Post by: Tom65789 on May 19, 2006, 11:04:00 PM
well 0.8 is out but i think its got problems with *NIX and because i dont have access to a test server on *NIX i can only test windows but if anyone can let me use one feel free to let me know
Title:
Post by: dydo on May 20, 2006, 03:36:17 PM
i found a bug

* dydomite0 sets mode: -qao ChanServ ChanServ ChanServ
* ChanServ sets mode: +qao ChanServ ChanServ ChanServ
-ChanServ- Banning|Kicking|Moding ChanServ is not Permitted on This Network
* ChanServ sets mode: +qao ChanServ ChanServ ChanServ
-ChanServ- Banning|Kicking|Moding ChanServ is not Permitted on This Network
* ChanServ sets mode: +qao ChanServ ChanServ ChanServ
-ChanServ- Banning|Kicking|Moding ChanServ is not Permitted on This Network


and another...

<dydomite0> !mute dydomite0
* ChanServ sets mode: +b ~q:*!*@127.0.0.1
-irc.anethirc.net- *** Global -- from services.anethirc.net: PANIC! buffer = :dydomite0 PRIVMSG #opers :!mute dydomite0
-irc.anethirc.net- *** LocOps -- Server services.anethirc.net[192.168.1.100] closed the connection
* ChanServ has quit IRC (irc.anethirc.net services.anethirc.net)
Title:
Post by: Tom65789 on May 20, 2006, 03:46:42 PM
hmm and the first one isnt really a bug its just a messy code. the !mute one i will take a look at but i think i see why so give me a few minutes to re-write it.
Title:
Post by: Trystan Scott Lee on May 20, 2006, 04:33:00 PM
make

cs_fantasy_full.c: In function 'do_info':
cs_fantasy_full.c:3312: warning: unused variable 'commastr'
cs_fantasy_full.c:3311: warning: unused variable 'need_comma'
cs_fantasy_full.c:3309: warning: unused variable 'end'

---------

make strict

cs_fantasy_full.c:251: error: expected identifier or '(' before '/' token
cs_fantasy_full.c:251: error: stray '#' in program
cs_fantasy_full.c:252: error: stray '#' in program
cs_fantasy_full.c:419: warning: ISO C does not allow extra ';' outside of a function
cs_fantasy_full.c: In function 'do_cs_fantasy':
cs_fantasy_full.c:874: error: 'xop_msgs' undeclared (first use in this function)
cs_fantasy_full.c:874: error: (Each undeclared identifier is reported only once
cs_fantasy_full.c:874: error: for each function it appears in.)
cs_fantasy_full.c: In function 'add_languages':
cs_fantasy_full.c:1611: warning: string length '786' is greater than the length '509' ISO C89 compilers are required to support
cs_fantasy_full.c:1717: warning: string length '1236' is greater than the length '509' ISO C89 compilers are required to support
cs_fantasy_full.c: In function 'do_levels':
cs_fantasy_full.c:2566: error: expected expression before '/' token
cs_fantasy_full.c: In function 'do_info':
cs_fantasy_full.c:3312: warning: unused variable 'commastr'
cs_fantasy_full.c:3311: warning: unused variable 'need_comma'
cs_fantasy_full.c:3309: warning: unused variable 'end'
cs_fantasy_full.c: In function 'list_global_opers':
cs_fantasy_full.c:4343: error: expected expression before '/' token
cs_fantasy_full.c:4363: error: expected expression before '/' token
make[1]: *** [cs_fantasy_full.o] Error 1
Title:
Post by: Tom65789 on May 20, 2006, 07:00:06 PM
ok all of those sould be fixed except these two because i cant really do anything about it but will not work on C89 compilers which are old compilers. so shouldnt be really much trouble

cs_fantasy_full.c:1611: warning: string length '786' is greater than the length '509' ISO C89 compilers are required to support
cs_fantasy_full.c:1717: warning: string length '1236' is greater than the length '509' ISO C89 compilers are required to support
Title:
Post by: dydo on May 21, 2006, 04:59:47 PM
well tell me when u get the new version out.
Title:
Post by: Tom65789 on May 21, 2006, 05:37:20 PM
should be out by tomorrow as i've had a few problems with my computer so i had to put it on hold unfortunately. check for it tomorrow
Title:
Post by: Tom65789 on May 21, 2006, 08:36:22 PM
ok 0.9 is done and !mute should work as well as everything else with some help from Trystan so thanks for the help :D 1.0 will be the Final Beta and look in the Version history of whats to come. also if you want anything adding just say in this thread and i will see if i can or not.
Title:
Post by: paul on May 22, 2006, 07:26:39 PM
Problems I've noticed (which is kinda big)

!kick can be used by anyone. ^^

Otherwise love the system

[Edited on 22-5-2006 by paul]
Title:
Post by: Tom65789 on May 22, 2006, 10:06:26 PM
hmm which version you using? and is this from just normal user up to ops and above?
Title:
Post by: Tom65789 on May 22, 2006, 11:35:47 PM
yes i see what this problem was but i have fixed it in 1.0 (RC1) so check back here tomorrow for it because i should have the final code ready by tomorrow :D Last chance for requests btw :P
Title:
Post by: paul on May 23, 2006, 02:09:47 AM
Woo hoo! Nope I got no requests i like it ^^
Title:
Post by: Tom65789 on May 23, 2006, 11:38:59 PM
ok im just fixing the !info K and !info B functions and checking the code and should be up by tomorrow
Title:
Post by: SpaceDoG on May 25, 2006, 11:34:22 PM
Ok now my question is, is there a way to turn fantasy off for channels or make it so you can only use the commands if you have access in that room? IE a room with 60+ people in it you don't want everyone doing !help in there. It would be nice if the channel founder could set it so that only people on the access list can use the commands otherwise the channel will be spammed with people futzin around in there.

[Edited on 25-5-2006 by SpaceDoG]
Title:
Post by: SpaceDoG on May 26, 2006, 12:42:04 AM
[May 25 18:29:54 2006] PANIC! buffer = :Jam|RoundBlows PRIVMSG #pwnin :!kb drach
e
[May 25 18:29:55 2006] PANIC! buffer = :Jam|RoundBlows PRIVMSG #pwnin :!kb drach
e


Dunno what happened but I'm on Unreal3.2.4 dev version with anope 1.7.14.
Title:
Post by: SpaceDoG on May 26, 2006, 01:38:33 AM
*** glibc detected *** ./services: munmap_chunk(): invalid pointer: 0x0805df15 ***
======= Backtrace: =========
/lib/libc.so.6(__libc_free+0x14a)[0x9e9dde]
/home/spacedog/servers/services/modules/runtime/cs_fantasy_full.so.t55v18(do_cs_fantasy+0x2c87)[0xb7cbcb47]
/home/spacedog/servers/services/modules/runtime/cs_fantasy_full.so.t55v18(my_csprivmsg+0x7e)[0xb7cbeede]
./services(process+0x16f)[0x808202f]
./services(main+0x1c5)[0x8070f35]
/lib/libc.so.6(__libc_start_main+0xc6)[0x99c7ce]
./services[0x80550f1]
Title:
Post by: Dave Robson on May 26, 2006, 07:28:26 AM
Quote
Originally posted by SpaceDoG
Ok now my question is, is there a way to turn fantasy off for channels or make it so you can only use the commands if you have access in that room? IE a room with 60+ people in it you don't want everyone doing !help in there. It would be nice if the channel founder could set it so that only people on the access list can use the commands otherwise the channel will be spammed with people futzin around in there.

[Edited on 25-5-2006 by SpaceDoG]


Just a suggestion, maybe you could respect the access level for "fantasy" just like botserv does?
Title:
Post by: Tom65789 on May 26, 2006, 10:33:20 AM
yeah i know about the !kb issue and it is fixed in 1.0 and i might do some access restrictions if i can be bothered. but im at work so i cant do anything atm
Title:
Post by: SpaceDoG on May 26, 2006, 12:25:06 PM
When is 1.0 expected to be released?
Title:
Post by: Tom65789 on May 26, 2006, 01:13:04 PM
when its ready? depends on how much time i get.
Title:
Post by: SpaceDoG on May 26, 2006, 01:35:21 PM
Awe I was hoping to use it too but with the kb crash i can't use it on my network unless there is a way I can disable that chunk of code or something...
Title:
Post by: Tom65789 on May 26, 2006, 05:49:04 PM
ill try and get it out today but no promises
Title:
Post by: SpaceDoG on May 26, 2006, 06:05:54 PM
Wooo hooo ^.^ You r0x0r my s0x0rz Tom ;-) Great module all in all though
Title:
Post by: Tom65789 on May 26, 2006, 11:37:02 PM
well i kinda got round to doing some but im not gonna get it out tonight but probably will have tomorrow morning.
Title:
Post by: dydo on May 27, 2006, 03:27:49 PM
i think we could use !op for opers to op themselves. and !halfop, !voice, !devoice, !owner,! deowner, !deop, !dehalfop, etc...
Title:
Post by: Tom65789 on May 27, 2006, 09:16:18 PM
thats what !up and !down are for :)
Title:
Post by: SpaceDoG on May 31, 2006, 02:22:36 PM
Quick question Tom... can we get a status update? ;-)
Title:
Post by: Tom65789 on May 31, 2006, 02:34:44 PM
yer been real busy so havent touched it in a while just needs a small tweak then it will be up
Title:
Post by: owine on June 01, 2006, 09:26:18 PM
hmm... just installed this and changed the InhabitModes in the conf file to just +o but it still set +qao when it joined the channel. is this compatable with cs_accessfounder?
Title:
Post by: Tom65789 on June 01, 2006, 10:17:31 PM
you sure. check the logs on load and see what results are given
Title:
Post by: owine 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.
Title:
Post by: Tom65789 on June 01, 2006, 10:51:55 PM
ok i'll take a look at it and fix it for 1.0
Title:
Post by: owine 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]
Title:
Post by: Tom65789 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]
Title: dumb newb question, but I\'m lost ....
Post by: omni 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 ?
Title:
Post by: Tom65789 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]
Title:
Post by: omni 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]
Title:
Post by: Tom65789 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
Title:
Post by: omni 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
Title:
Post by: Tom65789 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
Title:
Post by: Tom65789 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
Title:
Post by: Tom65789 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]
Title:
Post by: Jimmyhuybrechts 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 ?
Title:
Post by: Charles Kingsley 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.
Title:
Post by: Tom65789 on September 22, 2006, 03:02:09 PM
hmm, it may need the manifest. i'll take a look
Title:
Post by: Charles Kingsley on September 22, 2006, 03:57:56 PM
Certainly will.
Title:
Post by: Dagorath 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]
Title:
Post by: Tom65789 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
Title:
Post by: Dagorath 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. >.>
Title:
Post by: Tom65789 on January 24, 2007, 04:21:43 PM
ok i'll have a new version out within a little bit so keep checking back