| View previous topic :: View next topic |
| Author |
Message |
cache Master
Joined: 10 Jan 2006 Posts: 306 Location: Mass
|
Posted: Tue Jan 17, 2006 8:51 am Post subject: Stoned server? Munchies? Question.. |
|
|
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 |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Tue Jan 17, 2006 9:00 am Post subject: |
|
|
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 |
|
 |
cache Master
Joined: 10 Jan 2006 Posts: 306 Location: Mass
|
Posted: Tue Jan 17, 2006 9:16 am Post subject: |
|
|
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 |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Tue Jan 17, 2006 9:19 am Post subject: |
|
|
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 |
|
 |
cache Master
Joined: 10 Jan 2006 Posts: 306 Location: Mass
|
Posted: Tue Jan 17, 2006 9:26 am Post subject: |
|
|
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 |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Tue Jan 17, 2006 5:04 pm Post subject: |
|
|
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 |
|
 |
cache Master
Joined: 10 Jan 2006 Posts: 306 Location: Mass
|
Posted: Tue Jan 17, 2006 5:52 pm Post subject: |
|
|
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?  |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Tue Jan 17, 2006 11:27 pm Post subject: |
|
|
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 |
|
 |
cache Master
Joined: 10 Jan 2006 Posts: 306 Location: Mass
|
Posted: Wed Jan 18, 2006 5:37 am Post subject: |
|
|
Thanks demond,
I've put in a ping timer script and seems to be working better now.  |
|
| Back to top |
|
 |
|