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 

Stoned server? Munchies? Question..

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
cache
Master


Joined: 10 Jan 2006
Posts: 306
Location: Mass

PostPosted: Tue Jan 17, 2006 8:51 am    Post subject: Stoned server? Munchies? Question.. Reply with quote

Hey, question...

I noticed my bot leaving and returning every hour.. so I watched in putty and it said 'stoned, gone for munchies' so I went in eggdrop.conf and turned it off...

But with stoned server off and I get disconnected my bot don't reconnect to chat server and just sits there running as a process..

When stone server is on, my bot reconnects when my isp drops and comes back on...

But I don't want bot to leave every hour for munchies and come right back lol...

Is there something im missing?

Thanks
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Tue Jan 17, 2006 9:00 am    Post subject: Reply with quote

Include a list of servers in the conf so that if a server gets stoned the bot will automatically jump to another.
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
cache
Master


Joined: 10 Jan 2006
Posts: 306
Location: Mass

PostPosted: Tue Jan 17, 2006 9:16 am    Post subject: Reply with quote

I have 2 servers listed in the conf but, to the same server as I don't want it going anywhere else..

like this:
Code:

# Both the port and password fields are optional; however, if you want to set a
# password you must also set a port. If a port isn't specified it will default to
# your default-port setting.
set servers {
  irc.network.com:7000:xxx
  irc.network.com:7000:xxx
}


And stoned servers I turned off so it sould stop cycling like every hour.
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Tue Jan 17, 2006 9:19 am    Post subject: Reply with quote

I have bots on DALnet and have 17 servers in the conf and there's never a problem.

... which is what I was getting at.
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
cache
Master


Joined: 10 Jan 2006
Posts: 306
Location: Mass

PostPosted: Tue Jan 17, 2006 9:26 am    Post subject: Reply with quote

I have 3 bots connected, and all have same settings in the conf except the nickname/ ports..

But only one keeps leaving around every hr to hr 1/2 saying stoned gone for munchies.
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Tue Jan 17, 2006 5:04 pm    Post subject: Reply with quote

If there are problems with a server and the bot has no alternatives then the problem will persist.

Quote:
# Set this to 1 if Eggdrop should check for stoned servers? (where the
# server connection has died, but Eggdrop hasn't been notified yet).

_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
cache
Master


Joined: 10 Jan 2006
Posts: 306
Location: Mass

PostPosted: Tue Jan 17, 2006 5:52 pm    Post subject: Reply with quote

So this is how it has to be?

Stone server set to 1: (A) Will reconnect bots on disconnect (B) Will make the bot jump servers every 1 to 2 hrs - even tho connection to server didn't die

Stone server set to 0: (A) Will not reconnect bots on disconnect (B) Will keep bot in room and not jump servers every 1 to 2 hrs

I just wanted to know if theres any other way to make bot (A) Reconnect on disconnect and (B) Not jump servers every 1-2 hrs when connection isn't dead...
But with only 1 and 0 as an option guess this is how it has to be?

Unless i am doing something wrong..... maybe I should try a different port to listen on? Confused
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Tue Jan 17, 2006 11:27 pm    Post subject: Reply with quote

nope, you are wrong

check-stoned set to 1 simply means the bot will jump to the next server if it hasn't received PONG response from the server for some pre-determined period of time (which is hardcoded in eggdrop and that sucks, but this is another story)

check-stoned set to 0 means eggdrop will stay connected until other peer resets the connection
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
cache
Master


Joined: 10 Jan 2006
Posts: 306
Location: Mass

PostPosted: Wed Jan 18, 2006 5:37 am    Post subject: Reply with quote

Thanks demond,

I've put in a ping timer script and seems to be working better now. Wink
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 -> Eggdrop 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