PDA

View Full Version : GSQlib version 1.0 released


Azazel
13th May, 2003, 06:56 PM
<a href="http://www.skamp.net/projects/gsqlib/">GSQlib</a> is a PHP library for setting up <a href="http://www.ut2003area.net/">web</a> <a href="http://www.quake3area.net/">pages</a> showing <a href="http://www.skamp.net/projects/gsqlib/demo/">game servers</a>' settings, as well as the list of connected players, along with their scores, pings, etc... It currently supports UT2003, IGI2, Q3A, UT and HL.

<a href="http://www.skamp.net/projects/gsqlib/#download">Version 1.0</a> is considered to be stable. Read more for the complete list of changes from preceding beta.ChangeLog:

liza.inc.php: new include file, adding optional support for LIZA's error handling function, used by GSQ.php and UDP.php.
GSQ.php: added function _getGamespyPlayers(), replacing the equivalent function in IGI2.php, UT.php.
GSQ.php: added 3 constants (GSQ_NOCOLOR, GSQ_COLOR_HEX, GSQ_COLOR_CLASSES) for use with GSQ_Q3A::evalColors(), thus avoiding the use of "magic numbers".
GSQ.php: added the key "gotAllInfos" in the array returned by getAllInfos(), which is a success / failure boolean of all query functions (using the AND operator). The change has been applied in every game class.
Q3A.php: added modified function gamespyQuery(), more appropriate to Quake III's particular protocol.
UT2003.php, UT.php: corrected and updated the list of known game modes and mutators.
all game classes: re-arranged keys of the infos array, general code cleanup, got rid of FPS.php which was quite useless.

An updated version of the game class supporting UT can be <a href="http://www.skamp.net/projects/gsqlib/#changelog">downloaded</a> separately, complying with UT version 451's changes.