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.

can't read "rp_kcount ... "

Support & discussion of released scripts, and announcements of new releases.
Post Reply
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

can't read "rp_kcount ... "

Post by Alchera »

I got this in DCC with a bot today (repeat.tcl):
<Enfield> [06:44] Tcl error in script for 'timer42396':
<Enfield> [06:44] can't read "rp_bcount(xander@219.95.186.144:#netserv:is away. reason:(out) since:(19:42:57) xÅÑN ?ÇrÎþt)": no such element in array
This was repeated 3 times then ceased. I guess the away message that was being repeated (that caused the error) was turned off.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
slennox
Owner
Posts: 593
Joined: Sat Sep 22, 2001 8:00 pm
Contact:

Post by slennox »

If I could hazard a guess, I would say it is eggdrop's issues with special characters infecting the utimer command. If that's the case, I'd probably have to switch over to a timestamp based mechanism; there's one I wrote one for sentinel a few years back that I may be able to just slot in. But I won't get time to look at it until next weekend.

Perhaps you can get the exact away message from your log so that it can be used for reproducing the problem.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

[06:44] Tcl error in script for 'timer42396':
[06:44] can't read "rp_bcount(xander@219.95.186.144:#netserv:is away. reason:(out) since:(19:42:57) 4,1xÅÑN ?ÇrÎþt)": no such element in array
[06:44] Tcl error in script for 'timer42397':
[06:44] can't read "rp_kcount(xander@219.95.186.144:#netserv:is away. reason:(out) since:(19:42:57) 4,1xÅÑN ?ÇrÎþt)": no such element in array
[06:47] Tcl error in script for 'timer42398':
[06:47] can't read "rp_scount(xander@219.95.186.144:#netserv:is away. reason:(out) since:(19:42:57) 4,1xÅÑN ?ÇrÎþt)": no such element in array
The above (from the log) is all I have.

This section:
4,1xÅÑN ?ÇrÎþt
looks like this: xÅÑN ?ÇrÎþt
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
slennox
Owner
Posts: 593
Joined: Sat Sep 22, 2001 8:00 pm
Contact:

Post by slennox »

I tested this today with my bot, and the string you gave (with colour codes and funny characters) didn't cause an error in repeat.tcl.

Maybe it's a Unicode-related issue on your bot.
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

maybe you try to get the real string with a raw connection from putty or something like this. knowing the troublesome character, there might be a solution to regsub it or something like that.
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Seems it just may have been one of those 'quirky' events as I have not detected another incident.

/me Shrugs :)
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Post Reply