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.

Uptime contest

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
s
sauk
Voice
Posts: 16
Joined: Sun Jul 05, 2020 4:33 am

Post by sauk »

You have no idea how grateful I am for the help.
s
sauk
Voice
Posts: 16
Joined: Sun Jul 05, 2020 4:33 am

Post by sauk »

I got this error when I try !stop.
-10:58:22- (Uptime) [09:58:22] Tcl error [::uptime::stop]: can't unset "::uptime::tend": no such variable
User avatar
CrazyCat
Revered One
Posts: 1217
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

Ok, source corrected, I changed the way it works when developing and forget that.

To correct that without copy/paste the source, find the following line:

Code: Select all

		unset ::uptime::tend
Replace with:

Code: Select all

		unset ::uptime::tstart
I'll add your two new queries in the day, but it will be the last additions. The script is quite simple, you can now use it (or its parts) as example to add what you want in it.

Edit : the last version is on gitlab
Remind I won't accept new demands for this script.
s
sauk
Voice
Posts: 16
Joined: Sun Jul 05, 2020 4:33 am

Post by sauk »

Hey hello again, after some months of using script it works perfectly but has one "error" if we can call it like that.

Sometimes on NetSplits the bot eliminates netsplitted people when they dont deserve to get eliminated cause they didnt disconnect from server and they still voiced and with same uptime on server.

Can that "Error" be fixed somehow?
User avatar
CrazyCat
Revered One
Posts: 1217
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

Quite complex to do as (I think) a netsplit runs two binds: the SIGN and the SPLT.
I can't provoc netsplits on my network, so I can't test which one called first.

And another difficulty: if someone leaves the channel during the netsplit, how can I manage ?

I'll make some tries but I can't promise I'll have a fix for the script.
s
sauk
Voice
Posts: 16
Joined: Sun Jul 05, 2020 4:33 am

Post by sauk »

CrazyCat wrote:Quite complex to do as (I think) a netsplit runs two binds: the SIGN and the SPLT.
I can't provoc netsplits on my network, so I can't test which one called first.

And another difficulty: if someone leaves the channel during the netsplit, how can I manage ?

I'll make some tries but I can't promise I'll have a fix for the script.
Maybe checking after split who still voiced.

Thank you for your time.
User avatar
vam2u
Voice
Posts: 31
Joined: Sat Mar 27, 2021 11:19 pm
Location: Malaysia

Post by vam2u »

I need help, done below but I'm still not able to get the script started.

.chanset +upcontest #my_channel.
Successfully set modes { +upcontest } on #my_channel.
User avatar
CrazyCat
Revered One
Posts: 1217
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

Did you do !start ?
User avatar
vam2u
Voice
Posts: 31
Joined: Sat Mar 27, 2021 11:19 pm
Location: Malaysia

Post by vam2u »

CrazyCat wrote:Did you do !start ?
Yes I did in the channel :-)
User avatar
CrazyCat
Revered One
Posts: 1217
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

If the eggdrop doesn't say "Uptime contest is now running!" when you type !start, there is a trouble with the bind.
Don't you use a script which colorize your line ? or having set your irc client to use colors by default ?
User avatar
vam2u
Voice
Posts: 31
Joined: Sat Mar 27, 2021 11:19 pm
Location: Malaysia

Post by vam2u »

CrazyCat wrote:If the eggdrop doesn't say "Uptime contest is now running!" when you type !start, there is a trouble with the bind.
Don't you use a script which colorize your line ? or having set your irc client to use colors by default ?
My bad, It's my flag setting :-)
Btw, how do I add a !status to check for current alive and still in the contest users?
Post Reply