egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

can't read "rp_kcount ... "

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sun Jan 30, 2005 8:45 am    Post subject: can't read "rp_kcount ... " Reply with quote

I got this in DCC with a bot today (repeat.tcl):
Quote:
<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
Back to top
View user's profile Send private message Visit poster's website
slennox
Owner


Joined: 22 Sep 2001
Posts: 593

PostPosted: Mon Jan 31, 2005 11:21 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Visit poster's website
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Mon Jan 31, 2005 1:39 pm    Post subject: Reply with quote

Quote:
[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:
Quote:
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
Back to top
View user's profile Send private message Visit poster's website
slennox
Owner


Joined: 22 Sep 2001
Posts: 593

PostPosted: Sun Feb 20, 2005 3:06 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Visit poster's website
De Kus
Revered One


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Sun Feb 20, 2005 4:36 am    Post subject: Reply with quote

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...
Back to top
View user's profile Send private message MSN Messenger
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Mon Feb 21, 2005 6:15 pm    Post subject: Reply with quote

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

/me Shrugs Smile
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber