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.

too many channels

Old posts that have not been replied to for several years.
Locked
t
teroy

Post by teroy »

Hi all..is there a setting in the conf file which allows me to set up the maximum amount of channels one bot can connect to?

I have a bot connecting to 12 channels and its bringing up this error

[14:58] I'm on too many channels--can't join: #the_goobers

but basically it connects to all 12 channels, then after around 20 minutes it tries to join them all again [according to the log], it connects to a few then brings up this error. It shouldn't really connect to them again once its connected..right? Does anyone have any ideas?

TIA

troy
S
SniperAC

Post by SniperAC »

What Version you running?
t
teroy

Post by teroy »

Sorry i should have posted this

Eggdrop v1.6.4 (C)1997 Robey Pointer (C)2001 Eggheads
W
Wcc
Master
Posts: 278
Joined: Sun Oct 28, 2001 8:00 pm
Location: USA
Contact:

Post by Wcc »

1st, I would recomend upgrading to eggdrop 1.6.6. However, this is not your problem. You are getting this message because the irc server will only allow users to join a set ammount of channels. Eggdrop, as far as I know, has no limit to the number of channels it can be on.
W
Wcc
Master
Posts: 278
Joined: Sun Oct 28, 2001 8:00 pm
Location: USA
Contact:

Post by Wcc »

Er... I didn't read the entire post. Try upgrading to 1.6.6
t
teroy

Post by teroy »

The server accepts a user joining more than 10 channels

I'll try upgrade eggdrop and see if that makes a difference

Thanks
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

In your last post, you stated that the server accepts more than channel channels. This is correct, because 12 is larger than 10.
[14:58] I'm on too many channels--can't join: #the_goobers
This is a server message, and is not generated by eggdrop.

Eggdrop tries every so often to rejoin the channel, no matter if it is on it or not, this is to make sure it is on the channel, if not, it joins. A bot could somtimes be removed in a desynch situation, without notification to the bot.

If you are allready sitting in the limit of channels, then it is up to the server it sends this message or not. Some servers will not check if you are allready on the channel that is specified in the join command, they will just send a messages notifying the limit.

I sugest you contact a server admin, and ask if
t
teroy

Post by teroy »

Sorry if i didn't make myself clear, i know for sure that the server can handle more than 10 connections....from the same user - more like 100 last time i checked.

I had eggdrop running for around 7 months with 10 channels..no probs..then a few days ago added 2 more channels to the conf file, which is when it played up.

It seems to work fine now..I upgraded eggdrop to 1.6.6 and deleted its dynamic channel list..

Thankyou everyone :smile:
S
SniperAC

Post by SniperAC »

See I hit the nail on the head :wink:
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

SniperAC, this has nothing to do with the eggdrop version.

A server may allow 100 connections from one IP address, but each one of those connections has a limit as to how many channels it is allowed in. It doesn't make a new connection for each channel it joins, just sends a certain command, and the IRC server sends the required replies.

You say you used the bot in 10 channels for 7 months. Pretty cool, but you fail to understand basic math, as 10 is not 12, 10 is below 12, which means, if the channel limit is 12, then you are allowed in 10, because it is less than 12 (damn, I should have been a primary scholl teacher). Once you added the 2 extra channels, you where in 12 (is it driving home yet), which is the limit (according to the message received by the server).

To prove this fact, to a simple test, make one of the bots join an extra channel, if it joins, then there was a problem on the server end, sending stupid notices for no reason, if it fails to join, then my point is proved.

If any can prove otherwise, you are welcome to. But follow the messages. First, search the eggdrop directory for "on too many channels", this will lead you too the core.english.lang file, it shows the language ID of "0x65b", searching again for this will find the macro of IRC_TOOMANYCHANS, again, searching for this macro, leads to chan.c in the irc.mod directory. It is used in the got408 function, and if you read your RFC docs correctly, then the 408 code is for
405 ERR_TOOMANYCHANNELS
"<channel name> :You have joined too many channels"
- Sent to a user when they have joined the maximum
number of allowed channels and they try to join
another channel.
S
SniperAC

Post by SniperAC »

Ya but he said he upgraded and it worked so I was a lil right
t
teroy

Post by teroy »

i made the bot join up to 20 channels and it worked fine

It must have been the server sending stupid notices for no reason.

thanks ppl's

teroy thinks . o O (1 + 1 = 2) :razz:
Locked