Results 1 to 10 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
    Thank you, IzNoGoD :)
    I'm a bit confused now, so much bugs here. But I expected it.
    I'll try to fix the most of them soon in few next commits.
    In next update I wanna add a menu, where you can check, what do you want to install.


    Quote Originally Posted by IzNoGoD View Post
    What are you using zram-config for?
    So, I'll make a question about it there.


    Quote Originally Posted by IzNoGoD View Post
    Why do you need mysql-server and php5-cgi just for installing a web server, which is most likely going to be used for redirect stuff?
    Already made a question about mysql and phpmyadmin (what required php5-cgi)


    Quote Originally Posted by IzNoGoD View Post
    You don't seem to be setting the owner or file permissions on the php.ini file when overwriting the old one
    Well... it's root's file, so do we need to change it? Or do you mean, that after sed file permissions can change?


    Quote Originally Posted by IzNoGoD View Post
    The linking of the phpmyadmin can fail in case such a directory and/or link already exists. Use -f for ln to force the link to be created regardless (might cause dataloss if there's a phpmyadmin folder with files in it already though)
    In this case, I think, better to fail with link then lose data.


    Quote Originally Posted by IzNoGoD View Post
    You're completely removing the apache2 program during the installation, without informing the user about it. Worse, you remove it and its config files, which are most likely custom (apt-get purge)
    Will fix it in update - there are no this shit. And I ask about prefer web server.


    Quote Originally Posted by IzNoGoD View Post
    You're trying to execute the cod2_servers.sh from the original location. This might fail if this original user is root, and the user has no read-rights on the root dir (default situation). Better to use the /home/$user/ stuff for that. (I am not 100% sure this will happen, but better safe than sorry)
    Can you tell more about it, please? I'm not sure that I understood it correct.


    Quote Originally Posted by IzNoGoD View Post
    Your description for last localized file only seems off for 1.2. I recall 1.2 missing the last localized file, causing the server to message PC_PATCH_CLIENTDOWNLOADDISCONNECTED on a few occasions. 1.2 should only differ in iw_15.iwd compared to 1.0
    So, iw_15 only for 1.2 and iw_15 and localized files for 1.3, right?


    Quote Originally Posted by IzNoGoD View Post
    The link included in the git project seems already dead. Reporting it per comments.
    That's why I wanna add torrent there (already did, in fact, but didn't upload it yet).


    Quote Originally Posted by IzNoGoD View Post
    Please keep in mind that copying the pb folder will automatically enable your punkbuster. The sv_pb cvar does not influence this for some strange reason. You might want to add a separate question for it.
    Didn't know about that...


    Quote Originally Posted by IzNoGoD View Post
    You're limiting users to one server per fs_game. Users cannot run multiple servers from the same (named) fs_game folder due to the .sh file being named after the fs_game.
    Didn't think about that, you're right.


    Quote Originally Posted by IzNoGoD View Post
    There's no input checking on port or cracked cvars
    Will ask :)


    Quote Originally Posted by IzNoGoD View Post
    There's no need to set sv_version afaik
    Well, can we identify server version somehow?
    found getCvarFloat("shortversion")


    P.S. I missed some remarks, where I can answer only "You're right, IzNoGoD"
    Last edited by Lonsofore; 4th May 2017 at 06:57.

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

    kubislav23 (4th May 2017)

  3. #2
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts
    Quote Originally Posted by Lonsofore View Post
    Well, can we identify server version somehow? (yea, 1.3 we can identify by gamestate, but what about 1.2?)
    The server version depends on the iwd's you upload + binary

  4. #3
    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?

  5. #4
    ... 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.

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

    kung foo man (17th March 2019)

  7. #5
    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.

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

    kung foo man (15th April 2022)

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
  •