Anope IRC Services
Anope Development => Modules => Topic started by: Hassankhalid on November 22, 2006, 08:28:43 PM
-
Helpfull For New Poeple on Irc World
1: first of all login into shell
2: cd anopex x= version
3: go to anope/src/modules folder upload module there or weget in that folder like os_clientjoin.c
4: now go to main folder which is anopex
5: type make modules
6: gmake install
7: go to your irc server and type os modload name
easy?
hope so....
-
something like this...
1. login to shell
2. cd anope-1.7.17
(assuming the latest version)
3. cd src/modules
4. wget http://modules.anope.org/somemodule.c
5. cd ..
6. cd ..
7. make modules
8. make install
9. go to IRC and type /operserv modload modulename
without the .c extension
hope this will be more usefull for a noob ^^
-
You could join Steps 5 and 6 of n00bie's instructions into "cd ../.."
-
Ok, bare with me (noob here). I follow these instructions for loading modules but something is not working. I am using Anope 1.7.17 with unreal ircd v. 3.2.6.
When using this method to load modules I get this notice from operserv...
(..notice..) OperServ: Unable to load module bs_seen
Any ideas as to what is wrong? Any help is much appreciated. :)
-
whats the url for module you are using ??? the method below again :
1: http://modules.anope.org/download_module/Wm15TlYwTjNaTj09/bs_seen.c
click the url click save as give path ie desktop or any drive save that file on your pc.
2: login via ftp to your ircd or dedi where u have anope.
3:after login click anope-1.7.17 folder theres like 5 more folder you need click src folder when open than you need click module folder than upload that bs_seen.c file to module folder done.
4: login vis ssh to ircd go to folder where you have anope
cd anope-1.7.17
5: type make modules or gmake modules
6: type make install or gmake install
logout from ircd
7: go to your irc server you should be root for load module type
/os modload bs_seen
here you go still have problems let me know thanks.
[Edited on 27-12-2006 by Hassankhalid]
-
Originally posted by Hassankhalid
1: http://modules.anope.org/download_module/Wm15TlYwTjNaTj09/bs_seen.c
Since the url is likly to change you SHOULDNT give the download url to a module out but instead give out the url to the module's description page like http://modules.anope.org/viewmod.php?id=39
-
Nope, Ive had no luck. I have followed those (seems easy enough) instructions exactly, but when I enter the modload command I get the same notice..
(..notice..) OperServ: Unable to load module bs_seen
The bs_seen.c file is in my scr folder in modules, and I do the make modules / make install, but no luck loading it from IRC.
Again I am using Anope v. 1.7.17 with unreal IRCD v. 3.2.6.
Is there something that I am not aware of that is required to properly load modules?
-
u can put the module in the config file, where it has the module names, just past it in the right section, and then type /os restart i've tried /os modload bs_seen and that dont work, so i do it the other way.
-
No modules that did not come with Anope will load. We have followed the directions exactly. We placed all of the .c files in the src folder then re compiled. We have the following in our services.conf file: ModuleDelayedAutoload "cs_appendtopic cs_enforce ns_maxemail os_info hs_request ns_restictreg bs_seen ban_ip ircd_wallonreg ns_joinhelpchan os_killuser os_notinchanlist". Yet none of the modules load. We can not load them via the load module command either.
-
You put the source files into 'src/modules' not 'src' as you mentioned above.
-
Ironheads partner here...
Yes we put them in the src/modules folder still no love. Hell I tried both!
-
We are having all kinds of problems with Anope in any case but I guess this is the first issue ironhead is attempting to get resolved.
-
Originally posted by msithero
We are having all kinds of problems with Anope
makes me think the problems are probably caused by your setup/install/configuration and not anope itself...
have you checked whether the .so files of the modules you are trying to install are actually present in the target directory ?
[Edited on 2-1-2007 by Viper]
-
well something wrong with your anope installtion than i suggest you take a backup of all .db* files ie nicks channels bots all save some other folder and do a clean install of anope again or u want me do i can help thx.
-
Originally posted by Ironhead
No modules that did not come with Anope will load. We have followed the directions exactly. We placed all of the .c files in the src folder then re compiled. We have the following in our services.conf file: ModuleDelayedAutoload "cs_appendtopic cs_enforce ns_maxemail os_info hs_request ns_restictreg bs_seen ban_ip ircd_wallonreg ns_joinhelpchan os_killuser os_notinchanlist". Yet none of the modules load. We can not load them via the load module command either.
If you are still having issues .. PM me and I'll come help you.
-
Ok, anyone have a clue what the problem is?
Anope 1.6.5 on UnrealIRCd 3.2.6
I cant find on the modules descriptions where it says what verion of Anope they work for so the first thing i can assume is that this module is not for this version of anope.. but the modification time in the future error boggles me.
[*****@*** anope-1.6.5]# make modules
All done! Now run "make" (or possibly "gmake") to compile your modules.
See the INSTALL, README and FAQ files if you have any problems.
make[1]: Entering directory `/home/*****/anope-1.6.5/modules'
make[1]: Warning: File `ircd_init.c' has modification time 1.1e+02 s in the future
gcc -O2 -Wall -g -c ircd_init.c
ircd_init.c: In function `AnopeInit':
ircd_init.c:61: error: `MODULE_EXT' undeclared (first use in this function)
ircd_init.c:61: error: (Each undeclared identifier is reported only once
ircd_init.c:61: error: for each function it appears in.)
ircd_init.c: In function `load_chanserv':
ircd_init.c:75: warning: implicit declaration of function `anope_cmd_join'
ircd_init.c:76: error: `IRCDModule' undeclared (first use in this function)
ircd_init.c:83: warning: implicit declaration of function `anope_cmd_mode'
ircd_init.c: In function `cs_kick_rejoin':
ircd_init.c:101: error: `IRCDModule' undeclared (first use in this function)
ircd_init.c:113: warning: implicit declaration of function `anope_cmd_kick'
ircd_init.c: In function `load_services':
ircd_init.c:121: error: `IRCDModule' undeclared (first use in this function)
ircd_init.c: In function `load_bots':
ircd_init.c:391: error: `nbots' undeclared (first use in this function)
ircd_init.c:397: error: `IRCDModule' undeclared (first use in this function)
ircd_init.c: In function `AnopeFini':
ircd_init.c:415: error: `MODULE_EXT' undeclared (first use in this function)
make[1]: *** [ircd_init.o] Error 1
make[1]: Leaving directory `/home/saitek/anope-1.6.5/modules'
make: *** [modules] Error 2
[Edited on 22-1-2007 by dtgorm]
-
ircd_init only supports the 1.7 branch, as do most modules on the new modules site... follow the link to the old site to get old modules