Old 26th January 2003, 05:14   #1
the_voice_85
Junior Member
 
Join Date: Jan 2003
Posts: 8
DJ to SERVER protocol

I was wondering if anyone could give me the DJ to Server protocol Shoutcast uses?
the_voice_85 is offline   Reply With Quote
Old 26th January 2003, 05:16   #2
Sawg
Guest
 
Posts: n/a
http://forums.radiotoolbox.com/viewtopic.php?t=74
  Reply With Quote
Old 26th January 2003, 16:08   #3
the_voice_85
Junior Member
 
Join Date: Jan 2003
Posts: 8
connont logon

My scirpt can make a connection to the server now, but it keeps saying this "invalid password" even when the password is correct. Is the password encrypted?
the_voice_85 is offline   Reply With Quote
Old 26th January 2003, 18:37   #4
Sawg
Guest
 
Posts: n/a
nope
  Reply With Quote
Old 28th January 2003, 20:53   #5
the_voice_85
Junior Member
 
Join Date: Jan 2003
Posts: 8
whats the problem then?

If the password isnt encrypted and the password i send is correct, why does ShoutCAST still say its invailid?
the_voice_85 is offline   Reply With Quote
Old 28th January 2003, 21:28   #6
Tom
Moderator
 
Join Date: Apr 2000
Posts: 4,491
Not sure why you are still getting the error, but let me assure you the password is not encrypted. Try getting a hold of 1.8.9 of the DNAS because upon an invalid password it will spit out both the correct password as well as what it was sent. What are you writing the script in anyway (i.e. PHP, etc.)?

Tom
Tom is offline   Reply With Quote
Old 29th January 2003, 01:54   #7
Vchat20
Major Dude
 
Vchat20's Avatar
 
Join Date: Aug 2002
Posts: 1,273
well, maybe you can try a combo of the username and password as the password for the script. cuz I know that the username is required to login to the server in your browser, even though it is always admin no matter who installed the server. keep that in mind.
Vchat20 is offline   Reply With Quote
Old 29th January 2003, 01:58   #8
Jay
Moderator Alumni
 
Jay's Avatar
 
Join Date: May 2000
Location: Next Door
Posts: 8,942
no the username is not passed to the server at all during source communication only the password.
Jay is offline   Reply With Quote
Old 29th January 2003, 02:09   #9
Vchat20
Major Dude
 
Vchat20's Avatar
 
Join Date: Aug 2002
Posts: 1,273
ok. sry bout that. it was a guess. maybe you just need to look over your server config again and make sure your script is configured correctly according to the server config. at least just look over both once to make sure. sometimes when im working on stuff similar to this, i screw stuff up alot.
Vchat20 is offline   Reply With Quote
Old 31st January 2003, 02:32   #10
the_voice_85
Junior Member
 
Join Date: Jan 2003
Posts: 8
reply to tom

I downloaded the latest ShoutCAST Server, and im writing the script in MRC (mIRC Script) the cmd line is as follows:
on *:sockopen:shoutcast:{
if $sockerr > 0 { return }
echo -s ***Connection established to $did(shoutcast,4).text $+ !
sockwrite -nt shoutcast $did(shoutcast,6).text $crlf
}
the_voice_85 is offline   Reply With Quote
Old 31st January 2003, 03:38   #11
Jay
Moderator Alumni
 
Jay's Avatar
 
Join Date: May 2000
Location: Next Door
Posts: 8,942
what shows up in the shoutcast log on connection.
Jay is offline   Reply With Quote
Old 31st January 2003, 03:46   #12
the_voice_85
Junior Member
 
Join Date: Jan 2003
Posts: 8
reply

Heres what mirc and ShoutCAST say
mIRC:
***Connection established to 127.0.0.1!
invalid password

ShoutCAST Server:
<01/30/03@22:40:45> [main] client main thread starting
<01/30/03@22:40:45> [source] listening for connection on port 8001
<01/30/03@22:41:28> [source] invalid password from <edited> 127.0.0.1
the_voice_85 is offline   Reply With Quote
Old 31st January 2003, 04:10   #13
Jay
Moderator Alumni
 
Jay's Avatar
 
Join Date: May 2000
Location: Next Door
Posts: 8,942
there is your problem for some reason no password is being passed to the server. just nothing.
Jay is offline   Reply With Quote
Old 31st January 2003, 04:14   #14
the_voice_85
Junior Member
 
Join Date: Jan 2003
Posts: 8
What do i send then? i followed the protocol on the weblink twards the top.
the_voice_85 is offline   Reply With Quote
Old 31st January 2003, 04:24   #15
the_voice_85
Junior Member
 
Join Date: Jan 2003
Posts: 8
Now its sending a new error (3 params)
<01/30/03@23:20:28> [source] invalid password from 64.135.203.169 <edited> 64.135.203.216
the_voice_85 is offline   Reply With Quote
Old 31st January 2003, 05:31   #16
Jay
Moderator Alumni
 
Jay's Avatar
 
Join Date: May 2000
Location: Next Door
Posts: 8,942
oh now you are passing the address 64.135.203.216 as the password.
Jay is offline   Reply With Quote
Old 31st January 2003, 13:20   #17
the_voice_85
Junior Member
 
Join Date: Jan 2003
Posts: 8
LOL that sounds great :P well, im weeding through my script seeing what the error, because it appears to bee sending my ip number as a password
the_voice_85 is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump