| View previous topic :: View next topic |
| Author |
Message |
Mixis Voice
Joined: 07 Aug 2005 Posts: 5
|
Posted: Sun Aug 07, 2005 3:09 pm Post subject: Shoutcast V1.3 Error |
|
|
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 |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sun Aug 07, 2005 5:41 pm Post subject: |
|
|
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 |
|
 |
Mixis Voice
Joined: 07 Aug 2005 Posts: 5
|
Posted: Sun Aug 07, 2005 9:45 pm Post subject: |
|
|
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 |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Tue Aug 09, 2005 10:16 pm Post subject: |
|
|
This script was fixed by the author (quite a while ago).
The fixed script is available from the author's website. |
|
| Back to top |
|
 |
|