Community Forums
Connect with us on LinkedIn
  
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 17
  1. #1
    Member
    Join Date
    May 2007
    Posts
    105

    Default HL2 Issue

    Hey Guys.

    few issues i notice with the server control for hl2.

    When you upload a custom server.cfg file to the server. And then edit rcon etc in server control panel. It messes the the server.cfg file completely. Also once you restart the server after doing that players cannot move, until a new server.cfg file is uploaded.

    Also noticed that you cant set maxplayer from within server control. Had to open Advanced cfg editor, and add it that way.

    Maybe something to look at it one of the next few releases.

    Doing a great job darren! keep it up.

    Cheers,

    Chris Sutton

  2. #2
    Registered User
    Join Date
    Feb 2006
    Posts
    2

    Default

    Also noticed that you cant set maxplayer from within server control. Had to open Advanced cfg editor, and add it that way.

    also noticed that. unless you go to advanced settings, it sets it as a blank value meaning the server will set it self to 32 players regardless of the player limit set for the account.




    EDIT:

    looks like that will be fixed soon enough

    Unreleased (0.6.5)
    # Fixed MaxPlayers saving with TF2/HL2
    Last edited by cereal_killer; 04-04-2008 at 02:34 AM.

  3. #3
    Member
    Join Date
    May 2007
    Posts
    105

    Default

    hi Darren,

    just wondering if the issue with the server.cfg is on your to do list. Problem stated above:


    "When you upload a custom server.cfg file to the server. And then edit rcon etc in server control panel. It messes the the server.cfg file completely. Also once you restart the server after doing that players cannot move, until a new server.cfg file is uploaded."

    cheers mate

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

    Default

    Would it be possible for you to attach a custom server.cfg that is known to cause this in an email to me at darren@cpanel.net so I can try reproducing ? The config parser doesn't care about the order of configs so I'm not sure why syntactically correct config would cause problems.

  5. #5
    Member
    Join Date
    Feb 2008
    Posts
    93

    Default

    This ussually happens if your config was uploaded in DOS format.

    I think the error is when it dos2unix the file. It always takes the extra spaces out and wipes the "" values including the quotes.

    Example:

    Code:
    sv_region "-1"
    
    hostname "bobs your uncle"
    Becomes:

    Code:
    sv_region
    hostname
    That is it.
    The values and extra line has gone.

    Thanks
    Ant

  6. #6
    Member
    Join Date
    Nov 2007
    Posts
    151

    Default

    I also noticed that when I setup a server with a tickrate of 100 for CSS, it turned about to be only a constant 60 in-game.

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

    Default

    SyntaxLAMP - Do you se -tickrate 100 on the command line of the running game ?

    If someone can email me a server.cfg that causes it to goof I should be able to fix it fairly easily. It's not doing any dos2unix stuff to the configs but the newline format could be related.

  8. #8
    Member
    Join Date
    Feb 2008
    Posts
    93

    Default

    Randomly created:

    server.cfg
    Code:
    hostname "ugs-server"
    
    sv_region -1
    
    sv_alltalk 1
    
    sv_allowupload 1
    
    sv_allowdownload 1
    
    sv_downloadurl "http://nobody.needs.no/game/server/files"
    
    mp_timelimit 45
    This should work

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

    Default

    I just cut and pasted that to a cstrike/server.cfg for a hlds install and it didn't cause any problems. If this is still an issue in the 0.6.6 release, perhaps someone can put in a ticket with a problematic server.cfg in place already so I can see what it looks like without being filtered through my browser and text editor on the shell.

  10. #10
    Member
    Join Date
    May 2007
    Posts
    105

    Default

    Hey Darren,

    Ive just set up test server running CS:S.

    Server started off fine, no issues. To try and make this issue happen again, i tried change the round time using the cPGS area. Stoped, started... no issues, server still worked fine. I then change the default map using the drop down box, this has caused the issue we are talking about, where the players cannot move in the map. You can view this by connecting to my server with the IP 202.125.40.116:27016 pw: "cpgs"

    If you would like access to the core files using my login, just let me know.

    Cheers.
    Last edited by csutton; 04-23-2008 at 04:58 AM.

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

    Default

    Do you have before/after copies of the config to see what changed that would cause players to have the wind taken out of their sails ? I'll try to get all my steam games reinstalled at home, I just finished building a new box and it's awfully bare right now

  12. #12
    Member
    Join Date
    May 2007
    Posts
    105

    Default

    did you ever re-create this issue on your test server darren?

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

    Default

    I was able to find the cause of the "players can't move" issue, it is that if a custom config was used that didn't have the "sv_maxspeed" variable set, it would end up being added but set to 0 (zero) when the new config was saved, preventing anyone from moving. My options for this are to add a custom check for this one variable and warn if it's set to zero or to remove it from the simple config and rely on folks to add it to the advanced config editor. I'm opting for the latter since it would be the cleanest approach and prevent folks from shooting themselves in the foot without knowing they had a loaded gun
    I haven't been able to get it to eat a server config file yet. Maybe if you email me a before and after config I can better deduce how it's being modified ? I tried with the config I was emailed earlier but haven't been able to get it to mess up.

  14. #14
    Member
    Join Date
    May 2007
    Posts
    105

    Default

    ok i just recreated the problem, and yes it just the sv_maxspeed value being reset.... the sv_friction is also set incorrectly, feels like your walking on ice. Is it something i need to do to fix, or is it something you can write into the code?

    Thanks Darren

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

    Default

    For now, I've added sv_friction (set to 4) and sv_maxspeed (set to 320) if they are unset in the config. If this becomes an issue with other variables for this and/or other servers, another mechanism will probably be needed to prevent the code from being cluttered with specific variables and their defaults. Until 0.6.9 is released, just edit it manually. If you see other issues, let me know.

Similar Threads & Tags
Similar threads

  1. Hl2:dm
    By ShadowSeeker in forum cPGS Discussions
    Replies: 12
    Last Post: 11-03-2010, 01:51 PM
  2. DOD:S or HL2
    By Cyber-Surfer in forum cPGS Discussions
    Replies: 6
    Last Post: 06-03-2010, 02:18 PM
  3. Tick 100 for hl2 servers
    By bolhost in forum cPGS Discussions
    Replies: 1
    Last Post: 03-18-2009, 10:40 AM
  4. Custom HL2 Mods
    By omgwtfbbqhax in forum cPGS Discussions
    Replies: 1
    Last Post: 03-04-2009, 10:35 AM
  5. HL2 Tickrate
    By rh4u123 in forum cPGS Discussions
    Replies: 4
    Last Post: 08-26-2008, 01:28 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube