Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 39

Thread: [CoD2] Install CoD2 on your VDS much faster!

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Private Lonsofore's Avatar
    Join Date
    Oct 2016
    Posts
    86
    Thanks
    82
    Thanked 38 Times in 25 Posts
    Quote Originally Posted by Ni3ls View Post
    The server version depends on the iwd's you upload + binary
    I use my fs_game for 1.0 and 1.3. If I will use it for 1.2 too - how can I detect current game version?

  2. #2
    ... connecting
    Join Date
    Jul 2013
    Posts
    1
    Thanks
    1
    Thanked 1 Time in 1 Post
    Lonsofore*

    You removed iw_01.iwd & iw_02.iwd.

    Remove localized files too and the servers will still start.

  3. The Following User Says Thank You to teufel For This Useful Post:

    kung foo man (17th March 2019)

  4. #3
    Private Lonsofore's Avatar
    Join Date
    Oct 2016
    Posts
    86
    Thanks
    82
    Thanked 38 Times in 25 Posts
    Quote Originally Posted by teufel View Post
    Lonsofore*

    You removed iw_01.iwd & iw_02.iwd.

    Remove localized files too and the servers will still start.
    Too late answer. I don't support this torrent and repo anymore because of my Docker version, so I highly recommend to use it instead.

    P.S. And we talked about localized two years ago here.

  5. The Following User Says Thank You to Lonsofore For This Useful Post:

    kung foo man (15th April 2022)

  6. #4
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    Thread sticky-d.
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  7. The Following User Says Thank You to IzNoGoD For This Useful Post:

    Lonsofore (3rd May 2017)

  8. #5
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts
    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

  9. #6
    Private Lonsofore's Avatar
    Join Date
    Oct 2016
    Posts
    86
    Thanks
    82
    Thanked 38 Times in 25 Posts
    That's what I actually do. One directory - 2 (or more) servers.
    You can read more here: https://en.wikipedia.org/wiki/Ln_(Unix)

  10. #7
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts
    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

  11. #8
    Private Lonsofore's Avatar
    Join Date
    Oct 2016
    Posts
    86
    Thanks
    82
    Thanked 38 Times in 25 Posts
    Quote Originally Posted by Ni3ls View Post
    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?
    Last edited by Lonsofore; 3rd May 2017 at 13:46.

  12. #9
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts
    Quote Originally Posted by Lonsofore View Post
    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?
    Ah see I knew it wasn't just 1 folder. But as Izno said, no need for version checker. The binary will decide since it loads specific files.

    sv_cracked = 0 will turn it into a normal cracked server

  13. #10
    Private Lonsofore's Avatar
    Join Date
    Oct 2016
    Posts
    86
    Thanks
    82
    Thanked 38 Times in 25 Posts
    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:
    Click image for larger version. 

Name:	42d96afebe4545f999f771314ff8b734[1].png 
Views:	72 
Size:	4.0 KB 
ID:	1341
    Click image for larger version. 

Name:	5ea65cb5f0aa478bbddd21aa27458945[1].png 
Views:	68 
Size:	8.3 KB 
ID:	1340
    Last edited by Lonsofore; 6th May 2017 at 21:19.

  14. The Following 3 Users Say Thank You to Lonsofore For This Useful Post:

    kung foo man (6th May 2017),voron00 (7th May 2017),YuriJurek (6th May 2017)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •