Jump to content
Sign in to follow this  
suchey

How to require client 1.90 on server?

Recommended Posts

Is there a way to require that all clients are using 1.90 when conecting to a dedicated server?

Share this post


Link to post
Share on other sites

One idea is to make use of this </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">1.90 - New: MP: Added server.cfg array checkfiles[] - list of files that should be checked for each player connecting. Example: checkfiles[]={"HWTL\dta\data3d.pbo","dta\data3d.pbo"}<span id='postcolor'>

and check a file that only the server and 1.90 have in common. You could probably copy the 1.90 Exe to the server folder and check that everyone is using the same one, but unfortunately people wil be forced to insert the CD, or forced to use a noCD exe.

Share this post


Link to post
Share on other sites

ok...thanks...I was hopeing it would be an easy add to the server.cfg...if 1.85 clients are allowed to connecto to 1.90 servers some of the added items really dont make much sence as they will have differeing configs due to 1.85.

Share this post


Link to post
Share on other sites

You could also modify the missions to check the version number of the client using the requiredVersion function.

Share this post


Link to post
Share on other sites

The files that changed from 1.85 to 1.90 are the executable, a few missions and the config.bin, resource.bin and the stringtable.csv in the res/bin folder. Checking for the executable may prevent players using NoCD patches from connecting, checking for config.bin may prevent players using Satchels Dynamic Range from connecting, so i would go for the res/bin/resource.bin. That files is small and shouldn't take that long to be checked...

OTOH, if you really DO want to keep out players using DR or NoCD...

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (benu @ Nov. 24 2002,16:22)</td></tr><tr><td id="QUOTE">Checking for the executable may prevent players using NoCD patches from connecting,

...<span id='postcolor'>

Checking for the executable will not prevent connecting only for players using NoCD patches, but also players using GOTY (as GOTY has different exe, because of different CD required).

Share this post


Link to post
Share on other sites

I am not sure how we check for resource.bin... the server is still 1.88, the server will match against its own version.

Only if the server was 1.90 could we check for 1.90 resource.bin on clients, otherwise how does server do compare?

Share this post


Link to post
Share on other sites

As soon as we have a 1.91 server this issue is no more(?), due to the new typeOf command introduced in 1.91.

Share this post


Link to post
Share on other sites

Can you explain how this new command is the solution?

Share this post


Link to post
Share on other sites

I guess you can make missions using this command and players with older versions (who do not have this command) will crash out of the game or something wink.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×