Currently the
version cvar is sended to the worldserver, in the next release (under development) it is completed by a checksum computed at run time (checksum of exe code).
The PHP code in the worldserver side that display the info is like this :
Code:
if ( $version == "3.20 x86 Oct 16 1998 Win32 RELEASE" )
$version_name = "classic quake2 3.20";
else if ( $version == "0.42 x86 Dec 16 2002 Win32 RELEASE" )
$version_name = "Quake2Max 0.42";
else if ( $version == "3.21 x86 Mar 23 2003 Win32 RELEASE" )
$version_name = "wsrvquake2 engine (Mar 23 2003)";
else if ( $version == "5 x86 Sep 27 2002 Win32 RELEASE" )
$version_name = "BeefQuake R5";
else
$version_name = "unreferenced engine";