This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

adding modules to eggdrop

Discussion of Eggdrop's code and module programming in C.
Post Reply
B
BrewMaster
Voice
Posts: 34
Joined: Sat Jul 07, 2007 8:26 am

adding modules to eggdrop

Post by BrewMaster »

Hello,

I decided to try my hand at adding new modules to my eggdrop after seeing the new modules added on egghelp.org recently. I ran into issues of course.

I decompressed noclones module to my eggdrop1.6.19/src/mod dir.
I then ran make config from the eggdrop1.6.19 dir as well as make and make install DEST=mybotsdirectory.

I had no errors.

I added the following lines to my bots .conf file:
loadmodule noclones
set noclones-max 1
set noclones-kickmsg "max clones reached for channel"

I then started up the eggdrop process with no errors encountered.
I chanset #channelname +noclones via telnet session.

everything seams to be ok until someone joins the channel and the bot process immediately dies. I am not seeing any error messages.

Did I miss a step in setting up the module? any help would be appreciated. thank you.
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Did you get any coredump?
NML_375
B
BrewMaster
Voice
Posts: 34
Joined: Sat Jul 07, 2007 8:26 am

Post by BrewMaster »

no, I did not get a core dump file. I changed my log files to add debug information. and will post if i get any errors.

I do not think ulimit/unlimit is enabled on this shell.
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

No DEBUG file generated either? :/

I guess one way would be to start your eggie directly from within gdb..
NML_375
Post Reply