SpecialAttack.net
https://forum.specialattack.net/

Help!: Problems with Live Stats MOTD
https://forum.specialattack.net/viewtopic.php?t=4934
Page 1 of 1

Author:  revalk [ 21 Feb 2009, 15:16 ]
Post subject:  Help!: Problems with Live Stats MOTD

Hey guys,

I've been using the wonderful tutorial/scripts from over here:
http://www.specialattack.net/content/ho ... board-motd

Now, I've got the image done up, and the text is overlaying and showing up properly with motdpic.php as far as information/materials are concerned. However, no matter what I do, I can't get any server to do anything but time out.

Here is a stock install I did for example:
http://www.agedinoakcasks.com/asd/motdpic.php
Here is the updated one I made:
http://www.agedinoakcasks.com/motd/motdpic.php

Not matter what, the server times out. Any ideas?

Thanks,
Revalk

Edit: I assume it's not my servers, as the default doesn't work either. The only thing I could think of was my web host, but I'm running PHP 4, and would be getting an error if I didn't have the image thing installed. I'm completely stumped.

Author:  dckjns [ 21 Feb 2009, 17:04 ]
Post subject:  Re: Help!: Problems with Live Stats MOTD

Timeout setting for whatever method you are using to query the servers?

Just taking a wild guess.

Author:  revalk [ 21 Feb 2009, 18:31 ]
Post subject:  Re: Help!: Problems with Live Stats MOTD

I tried setting the timeout for 30 seconds, and it's still timing out. If it takes 30 seconds for the server to respond, something's probably wrong. :(

Author:  [SpA]SaintK [ 21 Feb 2009, 18:56 ]
Post subject:  Re: Help!: Problems with Live Stats MOTD

Is the webserver behind a firewall by any chance?

Author:  revalk [ 21 Feb 2009, 19:18 ]
Post subject:  Re: Help!: Problems with Live Stats MOTD

How would I check that? My webserver is hosted by another company I pay per month kind of thing. I've got my generic cpanel, and then I just FTP everything.

Author:  revalk [ 23 Feb 2009, 09:34 ]
Post subject:  Re: Help!: Problems with Live Stats MOTD

Any chance I could get your motd config file? You could remove the rcon pass of course.

It seems very odd, but yours is still working.

Author:  [SpA]Spikespiegel [ 23 Feb 2009, 10:41 ]
Post subject:  Re: Help!: Problems with Live Stats MOTD

revalk wrote:
Any chance I could get your motd config file? You could remove the rcon pass of course.

It seems very odd, but yours is still working.
Sure, drop me a line on REMOVED, and I'll have a look at it when I get home :)

Author:  revalk [ 23 Feb 2009, 11:48 ]
Post subject:  Re: Help!: Problems with Live Stats MOTD

Email sent! Much love!

Author:  revalk [ 24 Feb 2009, 00:06 ]
Post subject:  Re: Help!: Problems with Live Stats MOTD

Damn. I really thought those files would provide some insight. It appears I was doing everything right after all, and that for some reason I do indeed have some issues getting the server info because I'm assuming there's something up with my web host.

Any ideas of what I need to look into? I have one of those standard cpanels that most webhosts come with. I've looked all through it, but I'm not seeing anything.

Author:  Mint [ 24 Feb 2009, 05:14 ]
Post subject:  Re: Help!: Problems with Live Stats MOTD

spam blackhawk, he's superman with ze zerverz!

zomezhing is broke? look no further, Blackhawk fixes,

your life is boring? look no further, Blackhawk fixes,

your zerver is fooked? look no further, Blackhawk fixes,

Saint is touchzing computerz? look no further, Blackhawk fixes,

Blackhawk, he'll fixed your motherfucking life any day of ze week!

Author:  [SpA]demm [ 24 Feb 2009, 09:22 ]
Post subject:  Re: Help!: Problems with Live Stats MOTD

Don't listen to Mint, Blackhawk breaks more than he fixes :demm:


What you could do to diagnose your problem: set up a local webserver and run your php script from there. If it works there, you know there is nothing wrong with your config and the cause for your problems is with your webhost. The server query class uses TCP/IP sockets to communicate with the game servers and some web hosts don't allow this.

Author:  revalk [ 24 Feb 2009, 10:05 ]
Post subject:  Re: Help!: Problems with Live Stats MOTD

Do you happen to know what ports it uses so I could maybe get in touch with my provider and get them opened?

Author:  [SpA]demm [ 24 Feb 2009, 10:22 ]
Post subject:  Re: Help!: Problems with Live Stats MOTD

The queries run via rcon, which means it uses the same port as the gameserver is listening to. The port should normally be 27015, but that depends on your server configuration.

Author:  [SpA]Blackhawk [ 24 Feb 2009, 10:26 ]
Post subject:  Re: Help!: Problems with Live Stats MOTD

[SpA]Mint wrote:
spam blackhawk, he's superman with ze zerverz!

zomezhing is broke? look no further, Blackhawk fixes,

your life is boring? look no further, Blackhawk fixes,

your zerver is fooked? look no further, Blackhawk fixes,

Saint is touchzing computerz? look no further, Blackhawk fixes,

Blackhawk, he'll fixed your motherfucking life any day of ze week!
Who is that guy? He must be like... umm... Captain Awesome?! :shock:

Edit: What demm said +1. Haven't dug much into the MOTD script, but you could add some debugging to see what the problem is.

Author:  [SpA]SaintK [ 24 Feb 2009, 13:40 ]
Post subject:  Re: Help!: Problems with Live Stats MOTD

You can also send the scripts to us and we can test it on our webserver.

Author:  revalk [ 25 Feb 2009, 21:42 ]
Post subject:  Re: Help!: Problems with Live Stats MOTD

Yeah, I emailed my web host, and they gave me some crap about how they couldn't open that port because other users on the same box might have security issues if they open it.

Lame. Thanks for all the help though guys. I may take you up on the test yet.

Author:  [SpA]SaintK [ 25 Feb 2009, 21:46 ]
Post subject:  Re: Help!: Problems with Live Stats MOTD

revalk wrote:
Yeah, I emailed my web host, and they gave me some crap about how they couldn't open that port because other users on the same box might have security issues if they open it.

Lame. Thanks for all the help though guys. I may take you up on the test yet.

How much servers do you got which require the motd?

Author:  revalk [ 26 Feb 2009, 10:01 ]
Post subject:  Re: Help!: Problems with Live Stats MOTD

We have 3 pubs, and 4 privates, but I'd likely only use it for the 3 pubs.

Author:  [SpA]SaintK [ 26 Feb 2009, 11:10 ]
Post subject:  Re: Help!: Problems with Live Stats MOTD

revalk wrote:
We have 3 pubs, and 4 privates, but I'd likely only use it for the 3 pubs.
We can host the motd for you if you want too.

Author:  revalk [ 04 Mar 2009, 22:45 ]
Post subject:  Re: Help!: Problems with Live Stats MOTD

Hey, saw your site was down for a couple days.

If you guys could host this for me, I'd love you forever! I'm sincerely impressed at how good you guys are to a fellow you barely know ;)

I will put together the files and configs, and upload them as I get time.

Thanks :)

Author:  [SpA]SaintK [ 06 Mar 2009, 21:00 ]
Post subject:  Re: Help!: Problems with Live Stats MOTD

revalk wrote:
Hey, saw your site was down for a couple days.

If you guys could host this for me, I'd love you forever! I'm sincerely impressed at how good you guys are to a fellow you barely know ;)

I will put together the files and configs, and upload them as I get time.

Thanks :)
Hi,

Yea we had some issue's on our webserver.

If you have the files ready, then send them over to saintk@specialattack.net and i'll put them online for you and pass you the url to use.

Author:  dinmaster [ 14 Aug 2009, 11:51 ]
Post subject:  Re: Help!: Problems with Live Stats MOTD

sorry for kicking a dead thread but im sort of stuck and maybe it is a dumb question but the pic shows up but the stats are not listed, stays blank like this:

Image

. is that the motd not being able to connect to the servers or my server not being able to get though the ports and whatnot? thanks

Author:  [SpA]lacop [ 14 Aug 2009, 13:53 ]
Post subject:  Re: Help!: Problems with Live Stats MOTD

I've added you on steam friends (at least I hope thats you), it'll be easier to debug it there.

Page 1 of 1 All times are UTC+02:00

Powered by phpBB® Forum Software © phpBB Limited