\players\ query

Discussions about Coding and Scripting

\players\ query

Postby UT Sniper (SJA94) » Thu Mar 07, 2019 7:22 pm

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
Find the Latest player inis https://ooper.000webhostapp.com/ut/newinis/ (2019 version)
My latest UT themed game Spawn Killer 4 Game
User avatar
UT Sniper (SJA94)
Adept
 
Posts: 420
Joined: Thu Jun 24, 2010 10:35 pm
Location: England
Personal rank: noob programmer

Re: \players\ query

Postby Higor » Thu Mar 07, 2019 9:34 pm

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.
Higor
Godlike
 
Posts: 1723
Joined: Sun Mar 04, 2012 6:47 pm

Re: \players\ query

Postby UT Sniper (SJA94) » Thu Mar 07, 2019 10:01 pm

Ok thanks, didn't know about xServerQuery.
Find the Latest player inis https://ooper.000webhostapp.com/ut/newinis/ (2019 version)
My latest UT themed game Spawn Killer 4 Game
User avatar
UT Sniper (SJA94)
Adept
 
Posts: 420
Joined: Thu Jun 24, 2010 10:35 pm
Location: England
Personal rank: noob programmer


Return to Coding, Scripting

Who is online

Users browsing this forum: No registered users and 3 guests

cron