\players\ query

Discussions about Coding and Scripting
User avatar
UT Sniper (SJA94)
Masterful
Posts: 727
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: noob programmer
Location: England

\players\ query

Post by UT Sniper (SJA94) »

Is it a common problem that the \players\ UDP query command to not return every player if there are spectators in the server?

For example:
If there is 4 players in the server and 2 spectators, I only get data for 4 players, which may ignore some of the players and show the spectators instead, am I making a stupid mistake or is this a common problem?


Documentation:
Legacy:UT_Server_Query
Higor
Godlike
Posts: 1847
Joined: Sun Mar 04, 2012 6:47 pm

Re: \players\ query

Post by Higor »

XC_Engine fixes that for 'some' servers that don't use custom queries.
And unfortunately, most of the popular servers are using buggy XServerQuery which are out of XCGE's scope here.
ImageImage
Image unreal://23.111.157.138:7777
Image unreal://46.228.199.205:7788
User avatar
UT Sniper (SJA94)
Masterful
Posts: 727
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: noob programmer
Location: England

Re: \players\ query

Post by UT Sniper (SJA94) »

Ok thanks, didn't know about xServerQuery.