\players\ query

Discussions about Coding and Scripting
Post Reply
User avatar
UT Sniper (SJA94)
Inhuman
Posts: 753
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: Retard
Location: England
Contact:

\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: 1866
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.
User avatar
UT Sniper (SJA94)
Inhuman
Posts: 753
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: Retard
Location: England
Contact:

Re: \players\ query

Post by UT Sniper (SJA94) »

Ok thanks, didn't know about xServerQuery.
Post Reply