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 

duplicate output out of order on multiple channels

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Wed May 17, 2006 9:50 am    Post subject: duplicate output out of order on multiple channels Reply with quote

Having posted this on the egghead's bugs mailing list and gotten no response, I figure I might as well try here. So:


I think this may be a bug I found. If not, would
appreciate any advise about how to fix Smile

I have noticed that if a bot is on multiple channels,
and a script is called on both channels at
approximately the same time, eggdrop will spit out
duplicate lines out of order on the channels that
called the script after the 1st channel.

So, for example, using an imdb script:


#chan1 (correct output order):
<rosc> .imdb is it college yet
<mybot> Title: Is It College Yet? (2002) (TV) -
http://www.imdb.com/title/tt0285627/
<mybot> Genre : Animation / Comedy
<mybot> Director: Karen Disher
<mybot> Runtime : 90 mins.
<mybot> Country : USA / South Korea
<mybot> Language: English
<mybot> Plot : Daria, Jane, and the rest of the
Lawndale High seniors face graduation and college in
this series finale TV-movie from MTV's 'Daria.'


#chan2 (weird output order):
<rosc> .imdb daria
<mybot> Genre : Animation / Comedy
<mybot> Country : USA / South Korea
<mybot> Language: English
<mybot> Title: 'Daria' (1997)
http://www.imdb.com/title/tt0118298/
<mybot> Tagline : Talks Slow, Thinks Fast
<mybot> Director: Ray Kosarin
<mybot> Runtime : 22 mins.
<mybot> Plot : A smart & cynical girl goes through
teenage life as an proud outsider in a world of mainly
idiotic teens and condescending adults.

Please refer to
http://forum.egghelp.org/viewtopic.php?p=63022#63022
for more discussion about this problem.

I've tried setting double-help 1 and double-help 0 in
the eggrop.conf with the same result. As best as I can
tell, this may be a problem with having threads
enabled?

Any info appreciated Smile
Back to top
View user's profile Send private message
DragnLord
Owner


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Wed May 17, 2006 12:19 pm    Post subject: Reply with quote

it's not an eggdrop problem, it's a matter of tcl scripting
using variable arrays that include the channel when scripting the output should clear the issue up
Back to top
View user's profile Send private message
Alchera
Revered One


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

PostPosted: Wed May 17, 2006 6:03 pm    Post subject: Reply with quote

I have used iMDB.tcl by B0unTy for 2 years at least (location error fixed) in a number of bots using multiple channels and I have yet to see this behaviour.

As DragnLord has indicated, the problem is Tcl script related. Maybe unload all scripts and test each one by one until the offending script is found?
_________________
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 -> Scripting Help 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