Last visit was: Wed May 08, 2024 8:18 pm It is currently Wed May 08, 2024 8:18 pm

All times are UTC




 [ 2 posts ] 
 Version Detection 
Author Message
Post Version Detection
Pat, how is Coop-or-Die detecting the client version that is connecting?


Wed Mar 26, 2003 6:15 pm
Post 
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";


Wed Mar 26, 2003 6:51 pm
Display posts from previous:  Sort by  
 [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: AbuseIPDB Amazon [Overload Bot 2021-12-26], claudebot [Bot 2024-04-20], Semrush [Bot 2021-12-30]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © phpBB Group.
Initial forum style by Vjacheslav Trushkin.