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.

Tcl error in script for 'timer49

Old posts that have not been replied to for several years.
Locked
r
rudenstam

Post by rudenstam »

[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
User avatar
slennox
Owner
Posts: 593
Joined: Sat Sep 22, 2001 8:00 pm
Contact:

Post by slennox »

More info needed.

Eggdrop and netbots.tcl version.
List of non-slennox scripts you're running.
Output of '.tcl timers' and '.tcl utimers'.
User avatar
Yourname
Master
Posts: 358
Joined: Mon Sep 24, 2001 8:00 pm
Location: Toronto

Post by Yourname »

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:id: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.
User avatar
slennox
Owner
Posts: 593
Joined: Sat Sep 22, 2001 8:00 pm
Contact:

Post by slennox »

Was it also "OM" in your case, or a different word?
User avatar
Yourname
Master
Posts: 358
Joined: Mon Sep 24, 2001 8:00 pm
Location: Toronto

Post by Yourname »

No, its not just 'OM'. It happens with other words, sometimes i get even those ASCII letters like Ä


Dormant egghead.
User avatar
slennox
Owner
Posts: 593
Joined: Sat Sep 22, 2001 8:00 pm
Contact:

Post by slennox »

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 »

That's the problem.. it seems to be patternless.. just comes at random times in the partyline.. dunno why or nothing..
User avatar
Yourname
Master
Posts: 358
Joined: Mon Sep 24, 2001 8:00 pm
Location: Toronto

Post by Yourname »

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 :smile:
Dormant egghead.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

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 »

some sort :smile:

Ohh.. you meen that one.. :smile:

or ?
User avatar
Yourname
Master
Posts: 358
Joined: Mon Sep 24, 2001 8:00 pm
Location: Toronto

Post by Yourname »

Oh yeaaaaa.. THAT one!
*pfft* but whats THAT?
Dormant egghead.
r
rudenstam

Post by rudenstam »

lol

Well.. I will survive.. :smile:

Or at least I hope so.. or i hope that u hope so.. :smile: or something... :razz:
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

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.
Locked