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
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
== Generic ==
== Generic ==
The UDP protocol is used for server queries.
The UDP protocol is used for server queries.
Here's a [[File:GTACQuery.inc.php|PHP class]] to utilize the server query:


== Query Types ==
== Query Types ==
Line 63: Line 64:
|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 80:
* '''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,591

edits