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.

Shoutcast V1.3 Error

Old posts that have not been replied to for several years.
Locked
M
Mixis
Voice
Posts: 5
Joined: Sun Aug 07, 2005 12:54 am

Shoutcast V1.3 Error

Post by Mixis »

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

Code: Select all

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: Select all

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

Last edited by Mixis on Sun Aug 07, 2005 10:44 pm, edited 2 times in total.
Mixis "mixing, mingling" has the nuance "intercourse (with others), especially sexual intercourse "]
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

next time use

Code: Select all

[/b] 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
M
Mixis
Voice
Posts: 5
Joined: Sun Aug 07, 2005 12:54 am

Post by Mixis »

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 "]
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

Post by DragnLord »

This script was fixed by the author (quite a while ago).
The fixed script is available from the author's website.
Locked