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.

Stoned server? Munchies? Question..

General support and discussion of Eggdrop bots.
Post Reply
c
cache
Master
Posts: 306
Joined: Tue Jan 10, 2006 4:59 am
Location: Mass

Stoned server? Munchies? Question..

Post by cache »

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
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

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
c
cache
Master
Posts: 306
Joined: Tue Jan 10, 2006 4:59 am
Location: Mass

Post by cache »

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: Select all

# 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.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

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
c
cache
Master
Posts: 306
Joined: Tue Jan 10, 2006 4:59 am
Location: Mass

Post by cache »

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.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

If there are problems with a server and the bot has no alternatives then the problem will persist.
# 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
c
cache
Master
Posts: 306
Joined: Tue Jan 10, 2006 4:59 am
Location: Mass

Post by cache »

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? :?
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

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: Select all

 tag when posting logs, code
c
cache
Master
Posts: 306
Joined: Tue Jan 10, 2006 4:59 am
Location: Mass

Post by cache »

Thanks demond,

I've put in a ping timer script and seems to be working better now. :wink:
Post Reply