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.
Old posts that have not been replied to for several years.
r
rudenstam
Post
by rudenstam » Mon Mar 25, 2002 9:39 pm
[00:36:25] <Fur-Distorted> [00:37] Tcl error in script for 'timer49':
[00:36:25] <Fur-Distorted> [00:37] list element in quotes followed by "OM" instead of space
what does this mean ?
Got it after started up netbots
the bot doesn't crash.. that messege just comes once in a while
slennox
Owner
Posts: 593 Joined: Sat Sep 22, 2001 8:00 pm
Contact:
Post
by slennox » Tue Mar 26, 2002 6:10 am
More info needed.
Eggdrop and netbots.tcl version.
List of non-slennox scripts you're running.
Output of '.tcl timers' and '.tcl utimers'.
Yourname
Master
Posts: 358 Joined: Mon Sep 24, 2001 8:00 pm
Location: Toronto
Post
by Yourname » Sun Mar 31, 2002 7:51 am
It happened to me too, only i thought its some other script, but NO.. for me it happens with other words..
Eggdrop: 1.6.9
Script : netbots latest.
.tcl timers
Tcl: {2 bop_settimer timer328481} {2 mc
frequency timer328482} {4 sl_bxaway timer317761} {2 cl_timer timer328483} {32 ai_sendmsg timer327206}
.tcl utimers
Tcl: {4 repeat_timr timer328706} {4 sl_txqueuereset timer328705}
Dormant egghead.
slennox
Owner
Posts: 593 Joined: Sat Sep 22, 2001 8:00 pm
Contact:
Post
by slennox » Sun Mar 31, 2002 9:56 am
Was it also "OM" in your case, or a different word?
Yourname
Master
Posts: 358 Joined: Mon Sep 24, 2001 8:00 pm
Location: Toronto
Post
by Yourname » Wed Apr 03, 2002 11:37 am
No, its not just 'OM'. It happens with other words, sometimes i get even those ASCII letters like Ä
Dormant egghead.
slennox
Owner
Posts: 593 Joined: Sat Sep 22, 2001 8:00 pm
Contact:
Post
by slennox » Wed Apr 03, 2002 1:14 pm
Okay. I'm afraid there's not much I can do unless either of you can observe an event that triggers it, or some sort of pattern.
r
rudenstam
Post
by rudenstam » Wed Apr 03, 2002 8:07 pm
That's the problem.. it seems to be patternless.. just comes at random times in the partyline.. dunno why or nothing..
Yourname
Master
Posts: 358 Joined: Mon Sep 24, 2001 8:00 pm
Location: Toronto
Post
by Yourname » Tue Apr 09, 2002 6:56 am
Ok, its no good. I tried my level-best to see what/when triggered that error, but twuz no good.
I dont seem to see what exactly causes it.
Anyways, i still have my eyes open
Dormant egghead.
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Tue Apr 09, 2002 7:15 am
I seem to remember some sort of script that was capable of logging timers for debugging. Creating the ability to detect the command causing issues.
r
rudenstam
Post
by rudenstam » Tue Apr 09, 2002 12:04 pm
some sort
Ohh.. you meen that one..
or ?
Yourname
Master
Posts: 358 Joined: Mon Sep 24, 2001 8:00 pm
Location: Toronto
Post
by Yourname » Wed Apr 10, 2002 7:08 am
Oh yeaaaaa.. THAT one!
*pfft* but whats THAT?
Dormant egghead.
r
rudenstam
Post
by rudenstam » Wed Apr 10, 2002 8:01 am
lol
Well.. I will survive..
Or at least I hope so.. or i hope that u hope so..
or something...
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Wed Apr 10, 2002 12:56 pm
My brain just aint what it used to be with Tcl since I moved to a new job.
The following is a snippet of code, that will log the exect command called, when the timer caused an error.
rename timer _timer
rename utimer _utimer
proc timer {time cmd} {
_timer $time [list debug_timer t $cmd]
}
proc utimer {time cmd} {
_utimer $time [list debug_timer u $cmd]
}
proc debug_timer {t cmd} {
if {[catch $cmd a]} {
if {$t = "t"} {
putlog "Timer error: [lindex $cmd 0] : $a"
} else {
putlog "Utimer error: [lindex $cmd 0] : $a"
}
}
}
I get a feeling that it aint 100% good code, but I don't have much time to refind it.
Note, that this may break scripts that require the ability to delete timers.