Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Feb 2009
    Posts
    11

    Default Half Life 2 - Edit Server Config

    I setup a HL2 server (CS:S).

    When you log in to cPanel, go to manage it, and edit server configuration file...

    If its a field that isnt in the server config by defualt, like for example "Start Money". If I set it to 16000 or anything it wont save.

    Saved Launch Value: ip=66.109.23.20
    Saved Launch Value: defmap=de_prodigy
    Saved Launch Value: port=27015
    Saved Launch Value: maxplayers=12
    Saved Launch Value: autoupdate=1
    Saved Config Value: hostname=Raekwon Test CSS Server
    Saved Config Value: mp_timelimit=45
    Saved Config Value: rcon_password=lolomg
    Saved Config Value: sv_allowupload=1
    Saved Config Value: sv_allowdownload=1
    Saved Config Value: mp_timelimit=45
    Saved Config Value: sv_alltalk=1
    But... if I go to advanced config editor and add....
    Code:
    mp_startmoney "16000"
    It does save, and now I can edit/change it on Server Configuration at Manage game server.

    Values that dont exist in the config file are not being written unless you manually add an initial value first.

    Hope I made it clear.

    Also: Under Server IP beside Server Name it has the server ip like 66.109.23.20 but not with the port like it should... 66.109.23.20:27015.
    Last edited by Raekwon8989; 02-22-2009 at 10:35 PM.

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

    Default

    Yeh, this is an issue I've been trying to work out the best way to handle. I'm planning on changing it up quite a bit so that admins can have more control over what options clients are allowed to change, it's just a huge change that will require a lot of typing, debugging and banging my head on the desk. The current method I'd started with for the most important values, like IP and Ports, are not very efficient. The original method allowed anyone to save any option they wanted to. My current plan is to merge the two and have the backend decide what options were submitted that will be allowed to save, trying to keep it as flexible as possible.
    The port not showing is an issue with some of the servers due to the way it's parsing the qstat information. I'll try to normalize this across all servers since it annoys me too

  3. #3
    Member
    Join Date
    Feb 2009
    Posts
    11

    Default

    Ah, thanks for the reply.

    I think the options are fine with what it offers currently, because owners of game servers who want to do more advanced configurations can do so with the advanced configuration editor. Also, hosting server providers dont control game configuration like for example "Starting Money" in HL2 mods. They care about slots, tickrate, ip, port... etc.

    But I guess having any option that can be configured client side, also controlled by the host (WHM) user is a good idea just in case.


    Anyways, hope to see this bug fixed soon. My server is Fedora Core 5 i686 btw.

    EDIT: In order for ppl to upload custom maps and do stuff cPGS doesnt in its GUI.... they need to use ftp, where gameservers is a hidden folder. You need to tell your clients where to find it and how to uncover it in their ftp client in a lot of cases. I think something should be changed about that. And I dont mean expand the GUI, I mean maybe make the gameservers folder not hidden or something. Not sure. Maybe make it optional to have the gameservers folder hidden or not in WHM, and create a Web FTP specially for cPGS that only allows them to upload and access maps, mods folders, etc. In which case the host can control disk space quote for maps and everything.... Those are my thoughts.

    EDIT: Another idea... Maybe have it so the hoster in WHM can define all configuration options for game themselves, so anything the game configuration can possible have they can add themselves. For example again, Start Money on HL2 mods. I would go cPGS in WHM, go to game, add new option.

    Name = "Start Money"
    Config = "mp_startmoney"
    defualt_value "0"
    max_value "10000"

    Then save each game configuration options as a template, and be able to change settings per account package or per user.

    Taking away all the extra work from you. All you would have to do is create the basic configuration and not make decisions for cPGS hosts. Leave it to them.

    Hope you understand that.
    Last edited by Raekwon8989; 02-24-2009 at 02:23 AM.

  4. #4
    Member
    Join Date
    Feb 2009
    Posts
    11

    Default

    oh and gameservers should have a disk + bandwidth quota separately so you can package web hosting with it.

Similar Threads & Tags
Similar threads

  1. Half Life 2 - Multiplayer (UPDATE)
    By barryflood22 in forum cPGS Discussions
    Replies: 1
    Last Post: 10-30-2010, 06:05 AM
  2. How To Install Half Life 2 Insurgency Mod
    By justmack14 in forum cPGS Discussions
    Replies: 5
    Last Post: 04-28-2009, 08:45 PM
  3. Problem running half life 1 servers
    By ebrainte in forum cPGS Discussions
    Replies: 2
    Last Post: 03-14-2009, 12:46 PM
  4. Half Life 1/2 Problems
    By Karateka in forum cPGS Discussions
    Replies: 1
    Last Post: 03-10-2009, 06:23 PM
  5. N00b setup of steam for half-life
    By BubbaGum in forum cPGS Discussions
    Replies: 2
    Last Post: 02-28-2007, 02:04 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube