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.

How to edit the channel rejoin timer for an eggdrop?

Old posts that have not been replied to for several years.
Locked
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

How to edit the channel rejoin timer for an eggdrop?

Post by awyeah »

Hi,

I would like to know how to edit the channel rejoin timer for
eggdrops. I am using the latest eggdrop1.6.15, running it on
OS such as FreeBSD/Linux.

Supponsingly the eggdrop joins a channel and is get banned
or the channel has it's limit full, which makes the bot unable to join
the channel.

Eventhough, when the eggdrop can't be able to join the channel
while as it is banned or the limit is full, a timer from time to time
like with a delay of 20-30secs continuously makes it try a join,
as long as the channel is in the bots channel list (.+chan #channelname).

I would like to know how to edit this timer, in the files bot files and
compile them to make the bot join an a less interval of time
by the defauly previously set one.

I think it is a numerical value and wouldn't take to much to do so.
However there are alot of files and very large ones even and searching
manually I don't know the correct and was unable to find it. I am aware
with C programming and have done java, tcl, perl, cgi, so I guess I
can handle it, editing is not a problem.

I'm not sure which files this relates too but its in one of the
".c" files chan.c probobaly, then again I'm not sure.

If anyone can help me please let me know, kthx.
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

These are variables located in the server module:

set server-cycle-wait 60
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 never-give-up 1
This settings makes the bot cycle forever through the server list until it successfully connects to one.


set server-timeout 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.
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

You didn't get my question.

I was referring to CHANNEL REJOIN TIMER
not SERVER REJOIN or cycle timer.
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
User avatar
]Kami[
Owner
Posts: 590
Joined: Thu Jul 24, 2003 2:59 pm
Location: Slovenia
Contact:

Post by ]Kami[ »

awyeah wrote:You didn't get my question.

I was referring to CHANNEL REJOIN TIMER
not SERVER REJOIN or cycle timer.
YooHoo is blind :P

Hm, i don't think you can change channel rejoin timmer..But im not 100% so don't give up yet, maybe other guys here know how to do it :mrgreen:
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

Kami wrote:YooHoo is blind :P
8) Must be 8) Coulda swore he was askin about the server mod lol

See what livin' in California's doin' to me :o
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

Neeeewp..

I guess ya should read the posts clearly
before writing the replies.

Server chaning is easy, and timer of the cycle
of connect and timeout all is mentioned in the .conf
files and are simple variables of numerical
values which can be changed easily.
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

If anyone has solution to the above
problem I posted, please let me know.

It would be really helpful, to me, kthx.
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
Locked