ServerQuery: Difference between revisions

no edit summary
(Created page with "{{DISPLAYTITLE:Server Query}} == Generic == The UDP protocol is used for server queries. == Query Types == Ping using value 0x00, or query using value 0x01. == Query Reques...")
 
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:Server Query}}
{{DISPLAYTITLE:Server Query}}
== Generic ==
{{AlertInformationBox|This page is for advanced users only}}<br><br>
 
== Summary ==
The UDP protocol is used for server queries.
The UDP protocol is used for server queries.
Here's a [[File:GTAC.class.php|PHP class]] to utilize the server query:


== Query Types ==
== Query Types ==
Line 63: Line 66:
|Server Information Flags
|Server Information Flags
|Required if '''Request Flags''' contains '''Server Information'''
|Required if '''Request Flags''' contains '''Server Information'''
|See Table Below: Server Information Flags
|See Table Below: Server Information Flags
|0 or 1
|0 or 1
|Bit flags which specify the server information data to fetch.
|Bit flags which specify the server information data to fetch.
Line 79: Line 82:
* '''Request Flags''' contains '''Player Information'''<br>
* '''Request Flags''' contains '''Player Information'''<br>
* '''Player Information Flags''' contains '''Extra Player Information Flags'''
* '''Player Information Flags''' contains '''Extra Player Information Flags'''
|See Table Below: Player Information Flags
|See Table Below: Extra Player Information Flags
|0 or 1
|0 or 1
|Bit flags which specify the extra player information data to fetch.
|Bit flags which specify the extra player information data to fetch.
2,756

edits