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 

Shoutcast V1.3 Error

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive
View previous topic :: View next topic  
Author Message
Mixis
Voice


Joined: 07 Aug 2005
Posts: 5

PostPosted: Sun Aug 07, 2005 3:09 pm    Post subject: Shoutcast V1.3 Error Reply with quote

In DCC chat with my bot I get this error....

Code:
MBot > shoutcast: checking if stream is online
MBot > Tcl error [isonline]: can't read "streamstatus": no such variable

.status all
MBot > I am Bot, running eggdrop v1.6.17: 6 users (mem: 128k).
MBot > Online for 00:10 (terminal mode) - CPU: 00:01 - Cache hit: 23.0%
MBot > Admin: MiXiS <email: M@MBot.lame.org>
MBot > Config file: eggdrop.conf
MBot > OS: CYGWIN_NT-5.1 1.5.18(0.132/4/2)
MBot > Tcl library: /usr/local/lib/tcl8.4
MBot > Tcl version: 8.4.11 (header version 8.4.11)
MBot > *** shoutcast.tcl v1.03 by domsen
MBot > Botnet nickname: MBot

Is there anything I need to do or undo??
Code:

.set errorinfo
MBot > Currently: "puts $temp "$streamstatus\n$repl\n$curhigh\n$cursong\n$bitrate\n$stitle\n$sgenre\n$surl""
MBot > Currently: (procedure "isonline" line 56)
MBot > Currently: invoked from within
MBot > Currently: "isonline $_time1 $_time2 $_time3 $_time4 $_time5"
<<<appended>>>

.set errorinfo (after i type .dj )
MBot > [15:18] #MiXiS# set errorInfo
MBot > Currently: can't read "streamstatus": no such variable
MBot > Currently: while executing
MBot > Currently: "if { $streamstatus == "1" } { return 1 } else { return 0 }"
MBot > Currently: (procedure "status" line 19)
MBot > Currently: invoked from within
MBot > Currently: "status"
MBot > Currently: (procedure "dj" line 4)
MBot > Currently: invoked from within
MBot > Currently: "dj $nick "
MBot > Currently: (procedure "pub_dj" line 1)
MBot > Currently: invoked from within
MBot > Currently: "pub_dj $_pub1 $_pub2 $_pub3 $_pub4 $_pub5"


_________________
Mixis "mixing, mingling" has the nuance "intercourse (with others), especially sexual intercourse "]


Last edited by Mixis on Sun Aug 07, 2005 10:44 pm; edited 2 times in total
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sun Aug 07, 2005 5:41 pm    Post subject: Reply with quote

next time use [code] tag when posting code

the problem you experienced is caused by lame scripting that fails to recognize the situation where the string "standalone" is absend from server's output (not to mention likely incorrect handling of that socket connection); your best bet is to contact the author and ask for a fix, since this is faulty logic
Back to top
View user's profile Send private message Visit poster's website
Mixis
Voice


Joined: 07 Aug 2005
Posts: 5

PostPosted: Sun Aug 07, 2005 9:45 pm    Post subject: Reply with quote

Thanx but i fixed it myself

P.S i will be writing a tutoral on how to set up shoutcast.tcl through a router/firewall.
_________________
Mixis "mixing, mingling" has the nuance "intercourse (with others), especially sexual intercourse "]
Back to top
View user's profile Send private message
DragnLord
Owner


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

PostPosted: Tue Aug 09, 2005 10:16 pm    Post subject: Reply with quote

This script was fixed by the author (quite a while ago).
The fixed script is available from the author's website.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive 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