| View previous topic :: View next topic |
| Author |
Message |
sKy Op

Joined: 14 Apr 2005 Posts: 194 Location: Germany
|
Posted: Sun Sep 16, 2007 1:40 pm Post subject: stop bot from reconnecting to fast |
|
|
Sometimes in netsplit if some server is down the bot recognized that he got disconnected. Immediately the bot will try to reconnect.
The problem is that the bot is getting either "reconnect to fast", or "glined - to many clones from your host" (this is because the ghost of the bot seams to be still online).
Solution would be to stop the bot from reconnecting immediately and to give the connect command later. This could be done with scripting. But the connect to server is done automatically without a script, it`s the irc module.
Any idea how I could stop the bot from connecting anyway? _________________ socketapi | Code less, create more. |
|
| Back to top |
|
 |
iamdeath Master

Joined: 11 Feb 2005 Posts: 323 Location: *HeLL*
|
Posted: Sun Sep 16, 2007 1:54 pm Post subject: |
|
|
| Code: | # This settings makes the bot cycle forever through the server list until
# it successfully connects to one.
set never-give-up 1
# This setting defines how long Eggdrop should wait before moving from one
# server to another on disconnect. If you set 0 here, Eggdrop will not wait
# at all and will connect instantly. Setting this too low could result in
# your bot being K:Lined.
set server-cycle-wait 60
# Set here how long Eggdrop should wait for a response when connecting to a
# server before giving up and moving on to next server.
set server-timeout 60
# If the number of servers on the net gets below this number, the bot
# will jump to a new server (it will assume it's on the losing end of
# a netsplit). Set this to 0 to turn off. If your bot is running on
# any major IRC network, this should probably be turned off.
set servlimit 0
# Set this to 1 if Eggdrop should check for stoned servers? (where the
# server connection has died, but Eggdrop hasn't been notified yet).
set check-stoned 1 |
That might helps you in eggdrop.conf
Thanks
iamdeath _________________ |AmDeAtH @ Undernet
Death is only the *Beginning*... |
|
| Back to top |
|
 |
sKy Op

Joined: 14 Apr 2005 Posts: 194 Location: Germany
|
Posted: Sun Sep 16, 2007 4:19 pm Post subject: |
|
|
Oh, I did not thought that there is a simple solution. I will try it, thanks. _________________ socketapi | Code less, create more. |
|
| Back to top |
|
 |
|