Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: How To Install Addtional Module of Anope  (Read 35391 times)

0 Members and 1 Guest are viewing this topic.

Hassankhalid

  • Guest
How To Install Addtional Module of Anope
« 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....
Logged

n00bie

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 411
(No subject)
« Reply #1 on: November 22, 2006, 08:37:49 PM »

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 ^^
Logged
I am always doing things that which I cannot do, in order that I may learn how to do it.

Jobe

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1023
    • Anope IRC Services
(No subject)
« Reply #2 on: November 22, 2006, 11:03:45 PM »

You could join Steps 5 and 6 of n00bie's instructions into "cd ../.."
Logged
Your IP: ()
My IRC Status:

Come along and visit http://www.anopequotes.org/

Ironhead

  • Guest
(No subject)
« Reply #3 on: December 26, 2006, 10:27:10 PM »

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. :)
Logged

Hassankhalid

  • Guest
(No subject)
« Reply #4 on: December 27, 2006, 02:02:42 PM »

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]
Logged

Jobe

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1023
    • Anope IRC Services
(No subject)
« Reply #5 on: December 27, 2006, 10:30:47 PM »

Quote
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
Logged
Your IP: ()
My IRC Status:

Come along and visit http://www.anopequotes.org/

Ironhead

  • Guest
(No subject)
« Reply #6 on: December 31, 2006, 03:22:53 PM »

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?
Logged

BigBen

  • Anope User
  • Offline Offline
  • Posts: 79
(No subject)
« Reply #7 on: December 31, 2006, 03:28:36 PM »

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.
Logged

Ironhead

  • Guest
(No subject)
« Reply #8 on: December 31, 2006, 06:07:41 PM »

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.
Logged

heinz

  • Guest
(No subject)
« Reply #9 on: December 31, 2006, 09:46:19 PM »

You put the source files into 'src/modules' not 'src' as you mentioned above.
Logged

msithero

  • Guest
(No subject)
« Reply #10 on: January 02, 2007, 04:58:37 PM »

Ironheads partner here...

Yes we put them in the src/modules folder still no love. Hell I tried both!
Logged

msithero

  • Guest
(No subject)
« Reply #11 on: January 02, 2007, 04:59:39 PM »

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.
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #12 on: January 02, 2007, 06:08:19 PM »

Quote
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]
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

Hassankhalid

  • Guest
(No subject)
« Reply #13 on: January 03, 2007, 01:30:44 PM »

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.
Logged

katsklaw

  • Guest
(No subject)
« Reply #14 on: January 19, 2007, 07:54:22 PM »

Quote
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.
Logged

dtgorm

  • Guest
(No subject)
« Reply #15 on: January 22, 2007, 10:08:49 PM »

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.

Code: [Select]

[*****@*** 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]
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #16 on: January 23, 2007, 12:37:24 AM »

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
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)
Pages: [1]   Go Up