The server version depends on the iwd's you upload + binary
Printable View
I don't get you.
1.0 is the basic version
1.2 adds iw_15
1.3 adds a different iw_15 + localized file
So you can't use the same dir for 1.2 and 1.3
That's what I actually do. One directory - 2 (or more) servers.
You can read more here: https://en.wikipedia.org/wiki/Ln_(Unix)
So you are saying that in the folder "main" you have all iwd's + all localized files from 1.3?
And then in the fs_game you have the same mod for all 3 versions?
If you also use that "main" both for 1.2 and 1.3 servers, the players from 1.2 have to download a big-ass iw_15.iwd because it's not the same on the client
Let me show you my directories:
cod2/main/1.0/ - all files from 1.0
cod2/main/1.2/ - iw_15 from 1.2 and localized (I'm not sure about localized - IzNoGoD said something about it here)
cod2/main/1.3/ - iw_15 from 1.3 (yea, it's different with 1.2) and localized
cod2_1_0/main/ - here I linked cod2/main/1.0/
cod2_1_2/main/ - here I linked cod2/main/1.0/ and cod2/main/1.2/
cod2_1_3/main/ - here I linked cod2/main/1.0/ and cod2/main/1.3/
So, now about fs_game. Let's imagine, that I have a server with fs_game = "killtube". So, what I have here:
cod2/killtube/ - original fs_game with all files
cod2_1_0/killtube - link to the first one
cod2_1_2/killtube - link to the first one
cod2_1_3/killtube - link to the first one
So, if I wanna change all my servers, I just replace files once.
And here I found getCvarFloat("shortversion"). Just forgot about it. So, IzNoGoD is right again and I'll delete my own cvar in next commit.
And question to Killtube now: as I know, we use this to make our servers cracked. So, the question is: can we just turn it off with sv_cracked=0?
Update! :)
Fixed almost all from this message.
And also:
+ added dialog boxes
+ setup menu
+ now you can choose between lighttpd and apache2, when installing web server
+ torrent (now we can share main files each other! support it, please)
+ updated cod2_lnxded (thank you, Mitch)
cod2_lnxded now:
1.0: cod2_lnxded_1_0a
1.2: cod2_lnxded_1_2c_patch_va_loc
1.3: cod2_lnxded_1_3_patch_va_loc
And some screenshots:
Attachment 1341
Attachment 1340
Save over 1.5gig of disk space by replacing the localized_english 0-10 with this one file:Attachment 1344
You still gotto keep localized 11 though, but that's originally not part of 1.2 afaik. Doesn't hurt to include it though, fixes a tiny issue with the downloading message.