Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2007
    Location
    London
    Posts
    1,577
    Tokens
    36

    Latest Awards:

    Default [TUT] Fixing Radio Stats

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

    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!
    Kind Regards,

    Guy
    __________________

    Since 2007. Unbelievable Uptime. Web hosting, resellers, master resellers, linux VPS, windows VPS, shoutcasts, at the lowest prices on the net.
    Tech-Hosts.co.uk.


  2. #2
    Join Date
    Nov 2005
    Posts
    4,486
    Tokens
    921

    Latest Awards:

    Default

    You said; 'the radio stats coding is not scrappy'
    Well, tbh.. On Habboring, I have seen some very scrappy coding in the radio status scripts. Some stuff that isn't needed and some that just makes the code ugly. The one that I used to use needed a very good clean up as the code was all over the place and just in big chunks.
    "RETIRED" FROM HABBO(X)

    :¬:

    TOMSPIT / COWLY05


  3. #3
    Join Date
    Nov 2007
    Location
    London
    Posts
    1,577
    Tokens
    36

    Latest Awards:

    Default

    I don't think I used the word scrappy, what my point meant was that the PHP will most likely work and it's unlikely to be the problem. I wasn't talking about if it's messy/scrappy.
    Kind Regards,

    Guy
    __________________

    Since 2007. Unbelievable Uptime. Web hosting, resellers, master resellers, linux VPS, windows VPS, shoutcasts, at the lowest prices on the net.
    Tech-Hosts.co.uk.


  4. #4
    Join Date
    Nov 2005
    Posts
    4,486
    Tokens
    921

    Latest Awards:

    Default

    Quote Originally Posted by iUnknown View Post
    I don't think I used the word scrappy, what my point meant was that the PHP will most likely work and it's unlikely to be the problem. I wasn't talking about if it's messy/scrappy.
    Aha, I see. I should've quoted your post, tee hee.
    "RETIRED" FROM HABBO(X)

    :¬:

    TOMSPIT / COWLY05


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •