This was originally written by me on another forum, the first paragraph aimed at the other forum not habboxforum so it may not be so needed here, but I might as well put it here as well
Hello,
Well I've seen many threads on this forum saying "help with radio stats" and quite honestly a few lousy replies. People don't seem to put much effort into their repliesThey are good and useful but they often have to get peiced together and aren't quite complete. So, here is a thread for anyone that is having problems with radio statistics of any kind.
The radio statistics coding is most very likely NOT the problem.
1. First of all, make sure the radio details you enter to configure the radio statistics or enter to config_radio.php are definitely correct. A good way to do this is to try and broadcast to the SHOUTcast. If you can broadcast fine, then you can go onto the next step. If you can't broadcast, check that your SHOUTcast is turned on. If you get the error "Invalid Server Password" but in cast-control or whatever it says it is that password, then restart your SHOUTcast server. Your SHOUTcast has to be restarted for any settings to the configuration to be saved. Could explain why but there's no point really as you probably wouldn't understand (no offence!). If you get the error "Disconnected: 200" then someone is currently connected to your SHOUTcast or a SHOUTcast on the same port on the same server (it may not be supposed to be there!). If you get any other error, then it's very likely that it's a problem with the SHOUTcast at the SHOUTcast host's end. Try starting the SHOUTcast if it is off, otherwise contact the SHOUTcast host - if they are not down (which could also be causing the error).
2. Double check you've entered everything correctly, if you're copying and pasting from somewhere, make sure you haven't copied and pasted it with a space before or after the password/port/ip for example. It may sound silly but with MSN it happens often!
3. Can other people connect to your SHOUTcast? If you are hosting it on your own computer or something silly like that, it may be because of your internet connection or many many many other reasons which I can't be bothered to go into. It is useless to host a SHOUTcast on your computer, even if you leave it on all the time. Just giving one example, it'll buffer like hell because your internet is super super slow compared to data-centre speeds.
4. The radio statistics script connects to the server that the SHOUTcast is on through the port that the SHOUTcast is on. You need to make sure that this port is unblocked on BOTH servers (the one with the hosting that the radio statistics are on and the one hosting the SHOUTcast), (getting technical: inbound data and outbound data) for this to work. If you can connect to it to broadcast on it then it means that your SHOUTcast host has their firewall correctly configured, so you need to contact the host that is hosting the radio statistics script to unblock these ports on the firewall. They may also need the IP to allow the IP through the firewall, depending on what types of firewall they have.
Right, if you have a crappy host who didn't even know they have a firewall and don't know what a VPS stands for, give them these instructions:
Connect on SSH
Enter the following stuff (without the # or space after it)
# setup
Now press down on your keyboard and enter
Now press down, down, right right on your keyboard and press enter
Now press down 12 times on your keyboard and press right a few times until it goes to the end of whatever the first thing is there, eg text:tcp or 1234:tcp
Press space twice than left (so you're in a space where theres a space either side)
Now type the SHOUTcast port followed by :tcp
eg. 8000:tcp
Press down then enter.
Press down, down, right, then enter.
Then go to quit or just quit whatever you are on on to connect to SSH.
If they don't know how to connect to SSH then I seriously suggest you move host. These steps may sound silly but they should be clear if you're actually doing it, and it is easier than saying click bla bla because the interface is a bit weird.
If you have any questions or comments, post below. I don't think I will be able to edit this post soon so I suggest you read through the thread incase I've added anything to it.
Have fun!






They are good and useful but they often have to get peiced together and aren't quite complete. So, here is a thread for anyone that is having problems with radio statistics of any kind.
Reply With Quote

