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.

Odd eggdrop behavior (flood-kick, -k etc)

General support and discussion of Eggdrop bots.
Post Reply
S
Shan
Voice
Posts: 3
Joined: Tue Oct 21, 2008 7:21 am

Odd eggdrop behavior (flood-kick, -k etc)

Post by Shan »

I don't have any custom scripts installed that could cause these, running v1.6.17 with alltools.tcl and action.fix.tcl.

I've set flood-kick to 0 everywhere, yet the bot still randomly floodkicks (Sometimes because of flood, but now once just during normal discussion) people that are not set as userflag f (friendly).

Also, every time I reop the bot (incase it was deopped, due to disconnect etc) it will -k channels if +k is set. Channelmode is -im+nt.. so should I set it as -im+ntk <key> to avoid this?

Any help? :)
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

If flood-kick is set to 0 then it won't react to text floods, you probably have some script doing the kicks. Same with the channel mode, if -k is not specified then it will never set the channel to -k.
S
Shan
Voice
Posts: 3
Joined: Tue Oct 21, 2008 7:21 am

Post by Shan »

Sir_Fz wrote:If flood-kick is set to 0 then it won't react to text floods, you probably have some script doing the kicks. Same with the channel mode, if -k is not specified then it will never set the channel to -k.
Yeah but the problem is that I don't :< I do have few scripts but I went through the code and there simply are no kick/flood/antikey functions
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

try .chanset #yourchan flood-chan 0:0 to control channel msg flood behavior. flood-kick is for a flood of kicks...
eggdrop.conf wrote:# flood-kick 3:10
# Set here how many kicks in how many seconds from one host constitutes
# a flood. Setting this to 0 or 0:0 disables kick flood protection for
# the channel.

# flood-chan 10:60
# Set here how many channel messages in how many seconds from one
# host constitutes a flood. Setting this to 0 or 0:0 disables
# flood protection for the channel.
And if the bot is removing the key, you must have .chanset #yourchan chanmode +nt-k or something similar. To fix it simply type .chanset #yourchan chanmode -im+nt. Make sure you do this during partyline chat with your bot. The static channel settings within eggdrop.conf ONLY apply for the first iteration of the bots life, when you first created it and started it up. All changes after this must be done on the partyline. If you edit the eggdrop.conf channel settings and .rehash/.restart expecting a change you won't see any, they will have no effect...
# Add each static channel you want your bot to sit in using the following
# command. There are many different possible settings you can insert into
# this command, which are explained below.
#
# channel add #lamest {
# chanmode "+nt-likm"
If you followed that example, this is your problem. You cannot afterwards edit the eggdrop.conf section and remove that k. You must use the partyline and use the .chanset #yourchan chanmode method mentioned above.
S
Shan
Voice
Posts: 3
Joined: Tue Oct 21, 2008 7:21 am

Post by Shan »

speechles wrote:try .chanset #yourchan flood-chan 0:0 to control channel msg flood behavior. flood-kick is for a flood of kicks...
eggdrop.conf wrote:# flood-kick 3:10
# Set here how many kicks in how many seconds from one host constitutes
# a flood. Setting this to 0 or 0:0 disables kick flood protection for
# the channel.

# flood-chan 10:60
# Set here how many channel messages in how many seconds from one
# host constitutes a flood. Setting this to 0 or 0:0 disables
# flood protection for the channel.
And if the bot is removing the key, you must have .chanset #yourchan chanmode +nt-k or something similar. To fix it simply type .chanset #yourchan chanmode -im+nt. Make sure you do this during partyline chat with your bot. The static channel settings within eggdrop.conf ONLY apply for the first iteration of the bots life, when you first created it and started it up. All changes after this must be done on the partyline. If you edit the eggdrop.conf channel settings and .rehash/.restart expecting a change you won't see any, they will have no effect...
# Add each static channel you want your bot to sit in using the following
# command. There are many different possible settings you can insert into
# this command, which are explained below.
#
# channel add #lamest {
# chanmode "+nt-likm"
If you followed that example, this is your problem. You cannot afterwards edit the eggdrop.conf section and remove that k. You must use the partyline and use the .chanset #yourchan chanmode method mentioned above.
Hey, thanks! I was indeed editing the conf file. Did changes with partyline, let's see if it helps.

*hug*
Post Reply