\players\ query

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

\players\ query

Post by 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

Higor
Godlike
Posts: 1765
Joined: Sun Mar 04, 2012 6:47 pm

Re: \players\ query

Post by 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.
ImageImage
Image unreal://23.111.157.138:7777
Image unreal://46.228.199.205:7788

User avatar
UT Sniper (SJA94)
Adept
Posts: 459
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: noob programmer
Location: England

Re: \players\ query

Post by 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

Post Reply