Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2009
    Posts
    2

    Default Problem running half life 1 servers

    Hi, i'm trying to install hlshield patch on my linux servers
    http://forum.fastfrag.ro/index.php?P...r0h7&topic=8.0 to protect my servers against DDOS, the problem comes when i start the server, automatically de cpgs run hlds_amd, not hlds_run (if you look at that thread, it is needed to run hlds_run, because here is when the injector works(export LD_PRELOAD=./hlshield.so) ), any suggestions about forcing cgps to run hlds_run?

    Thanks!

  2. #2
    cPanel Staff
    Join Date
    Dec 2001
    Location
    Houston, TX
    Posts
    1,881

    Default

    cPGS handles the job of hlds_run itself and is hardcoded to not used hlds_run. What you can do however is in WHM in the Manage Game section for the user/game/install #, add the full command line you want to start the server with to the unique command line field and make sure it's enabled, then save the form. Now whenever the server is started from cPGS, it will simply run that command. The command is saved directly to /var/cpanel/gameserv_saved/user_game_install#_unique , so for example you might have /var/cpanel/gameserv_saved/tkclan_hl_0_unique with the following single line inside:

    /home/tkclan/.gameservers/hlds_l_0/hlds_run -game cstrike +maxplayers 32 +ip 208.74.120.242 +port 27019 +map cs_assault

    Then it should run that way from cPGS. If you run into trouble with it, feel free to put in a ticket and I'll see what I can do

  3. #3
    Registered User
    Join Date
    Mar 2009
    Posts
    2

    Default

    Yeah it worked like a charm! Thanks dude

Similar Threads & Tags
Similar threads

  1. Half Life 2 - Multiplayer (UPDATE)
    By barryflood22 in forum cPGS Discussions
    Replies: 1
    Last Post: 10-30-2010, 05:05 AM
  2. How To Install Half Life 2 Insurgency Mod
    By justmack14 in forum cPGS Discussions
    Replies: 5
    Last Post: 04-28-2009, 07:45 PM
  3. Half Life 1/2 Problems
    By Karateka in forum cPGS Discussions
    Replies: 1
    Last Post: 03-10-2009, 05:23 PM
  4. Half Life 2 - Edit Server Config
    By Raekwon8989 in forum cPGS Discussions
    Replies: 3
    Last Post: 02-24-2009, 11:28 PM
  5. N00b setup of steam for half-life
    By BubbaGum in forum cPGS Discussions
    Replies: 2
    Last Post: 02-28-2007, 01:04 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube