UT3 Server Query

General forum for discussions regarding UTStatsDB
Kinsman
Posts: 16
Joined: Sat Oct 18, 2008 11:19 pm

UT3 Server Query

Postby Kinsman » Sat Oct 18, 2008 11:27 pm

Hi guys, first up thanks for the awesome stats system, its looking great. :mrgreen:

I just finished setting it up, and all looks good except the server queries, which I'm sure I've just messed up somehow, hence my posting for a little advice. As you can see here they aren't working using the UT3 Query.

http://serverstats.gamingsa.com/ut3stats/

Whereas I know the do query properly, as per this page.

http://serverstats.gamingsa.com/view/index3.php

I've used the IP and Query (not Game) ports, ticked UT3 Query and put 1234 in the password box as I have no idea what thats for.

I'm also unsure what the Server Links are used for, and simply added links to our servertrackers, as UT3 seems to be an unsupported protocal on my PC, even with Xfire running.

http://www.gamingsa.com/?p=server_stats&sid=421

Cheers for any help, and thanks again for all the hard work. 8-)

Panther
Site Admin
Posts: 500
Joined: Sat Dec 08, 2007 12:51 am
Contact:

Re: UT3 Server Query

Postby Panther » Sat Oct 18, 2008 11:51 pm

  • The "Query Server" field would contain the IP address or host name for the UT3 server.
  • For "Game Port" you must use the query port since with UT3 this port is not relative to the game port. The default port is 6500 if you're running only one server.
  • The "Password" field is for systems that require or display additional information in the query (i.e. El Muerte's ServerExt for UT2004).
  • "Query Type" would be set to UT3 for UT3....
  • "Server Link" is the URL for the server, such as "ut3://host.domain.com". Unfortunately, UT3 does not register the protocol ut3, but it still let's people know where to find the server.
  • The "Spectators" and "Bots" fields don't have any effect with UT3 since they're not included in the query results anyway.
On a related note, I've drastically improved the entire server query program which is currently available in the SVN repository. It will also be included in the next release.

Kinsman
Posts: 16
Joined: Sat Oct 18, 2008 11:19 pm

Re: UT3 Server Query

Postby Kinsman » Sun Oct 19, 2008 12:09 am

So it would seem I haven't done anything wrong then, it just doesn't work for us for some reason?

Panther
Site Admin
Posts: 500
Joined: Sat Dec 08, 2007 12:51 am
Contact:

Re: UT3 Server Query

Postby Panther » Sun Oct 19, 2008 1:42 am

Incorrect query port or firewalls are often the problem. Also, the sockets PHP module is required.

Kinsman
Posts: 16
Joined: Sat Oct 18, 2008 11:19 pm

Re: UT3 Server Query

Postby Kinsman » Sun Oct 19, 2008 3:01 am

Mmm, given we have two other methods of querying the servers working fine, I doubt its any of the above.

http://www.gamingsa.com/index.php?p=servers#gs4

http://serverstats.gamingsa.com/view/index3.php

Panther
Site Admin
Posts: 500
Joined: Sat Dec 08, 2007 12:51 am
Contact:

Re: UT3 Server Query

Postby Panther » Sun Oct 19, 2008 3:18 am

What is your server's address and query port?

BigDeal
Posts: 67
Joined: Fri Dec 14, 2007 6:41 pm

Re: UT3 Server Query

Postby BigDeal » Sun Oct 19, 2008 8:30 am

In the server query you show now the score from the red and blue team, maybe you can do it like for ut2004 where the players are sorted also for blue and red team (BattleTeamArena)

Panther
Site Admin
Posts: 500
Joined: Sat Dec 08, 2007 12:51 am
Contact:

Re: UT3 Server Query

Postby Panther » Sun Oct 19, 2008 11:51 am

In the server query you show now the score from the red and blue team, maybe you can do it like for ut2004 where the players are sorted also for blue and red team (BattleTeamArena)
That would be great, but here is what is returned from UT3 for the player team info:
team_ Team Team Team Team Team Team Team Team

Instead of "Team", it's supposed to display the team number! If they fix this then I can show it correctly in the query.

Kinsman
Posts: 16
Joined: Sat Oct 18, 2008 11:19 pm

Re: UT3 Server Query

Postby Kinsman » Sun Oct 19, 2008 3:20 pm

Hi, all the servers are on 202.136.100.195 and the query ports are fixed in the commandline for each as follows.
6500
6501
6502
6504

I've got our web guy checking if we have sockets enabled on that server too. :)

Ok, our webserver is linux/apache, no windows involved.

Panther
Site Admin
Posts: 500
Joined: Sat Dec 08, 2007 12:51 am
Contact:

Re: UT3 Server Query

Postby Panther » Sun Oct 19, 2008 8:24 pm

I tested this IP address on port 6500 and I am getting a response back from the server, but there's something unusual about it. I will look into it further.

Panther
Site Admin
Posts: 500
Joined: Sat Dec 08, 2007 12:51 am
Contact:

Re: UT3 Server Query

Postby Panther » Sun Oct 19, 2008 8:43 pm

The main server data is normally split into two parts but it's only one part on your system, so I've adjusted the server query to handle this. Try the new version in SVN.

Kinsman
Posts: 16
Joined: Sat Oct 18, 2008 11:19 pm

Re: UT3 Server Query

Postby Kinsman » Sun Oct 19, 2008 9:48 pm

I wonder if that because the servers run on Web Server 2008 perhaps?

Thanks for the update, which files do i need to grab from SVN?

Kinsman
Posts: 16
Joined: Sat Oct 18, 2008 11:19 pm

Re: UT3 Server Query

Postby Kinsman » Sun Oct 19, 2008 10:07 pm

Ah ok, serverquery.php, added it and it works like a charm thanks. :mrgreen:

http://serverstats.gamingsa.com/ut3stats/

Panther
Site Admin
Posts: 500
Joined: Sat Dec 08, 2007 12:51 am
Contact:

Re: UT3 Server Query

Postby Panther » Sun Oct 19, 2008 11:02 pm

Now you just need to fill in the server link address and you're set!

Kinsman
Posts: 16
Joined: Sat Oct 18, 2008 11:19 pm

Re: UT3 Server Query

Postby Kinsman » Mon Oct 20, 2008 12:17 am

Erm the script seems to add weird stuff in there even if I leave it blank?

if it wasnt adding the ports I would just put our server tracking links in, I guess i just add the server IP in this case?


Return to “UTStatsDB”