egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

stop bot from reconnecting to fast

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
sKy
Op


Joined: 14 Apr 2005
Posts: 194
Location: Germany

PostPosted: Sun Sep 16, 2007 1:40 pm    Post subject: stop bot from reconnecting to fast Reply with quote

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
View user's profile Send private message
iamdeath
Master


Joined: 11 Feb 2005
Posts: 323
Location: *HeLL*

PostPosted: Sun Sep 16, 2007 1:54 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
sKy
Op


Joined: 14 Apr 2005
Posts: 194
Location: Germany

PostPosted: Sun Sep 16, 2007 4:19 pm    Post subject: Reply with quote

Oh, I did not thought that there is a simple solution. Smile I will try it, thanks.
_________________
socketapi | Code less, create more.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber