QuoteShouldn't it be equal ONLY? If less than the client's version can connect, then the older versions can connect too right? The version keep increasing ex.1.01, 1.02, 1.03... then what do i do if i want only the equal ones can connect?
The wording is little tricky. I understand how it can be a little confusing, as it threw me for a loop when I read it the first time, too.
Notice it says less than or equal to the client,
not the server.If the client's version is 1, and the server's version is 1: the server is the same as the client, so the client can connect.
If the client's version is 1, and the server's version is 2: the server is GREATER THAN the client. The client cannot connect.
The only way it's possible for a client's version to be higher than the server's version is if the client's version number is changed and the server's is not. This isn't possible unless you let the users edit the project file directly or you forget to update
both version numbers when you push the client update.
QuoteAnd by the way, if I change it in both my cfg file and my script, i'm changing my client, not the server right? Even if I changed it, can the server detect others whose client is older and ask them to update?
If you change your server
cfg.ini file, you are updating the
server version number.If you change your script
VERSION (line 63,) you are updating the
client version number....Make your changes to a duplicate copy of your project (updated maps, additional scripts, whatever.) When you're done, update the version in the script. Now you have the "old version" which is the one that's currently live, and the "new" version which is your working version.
When you're ready to release your working version, make it available to your players and change the version in your server configuration file to match it.