Thread: Stop stock maps from messing with timelimit vars

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2012

    Stop stock maps from messing with timelimit vars

    Some stock maps like crystal, bm_sts, ctf_warforts and desert circle alter the map time limit (mp_timelimit) that overrides the servers default time limit in server.cfg This results in the server getting stuck on some maps for hours, and server operators having to go into every stock map config file and remove the offending line. This is a continual problem because when you update the server, it overwrites any changes you make in the config files.

    bm_sts is the worst offender, it sets the time limit to 999 (or 16 hours and 39 minutes), which is absurd.

  2. #2
    incognico nico's Avatar
    Join Date
    Aug 2015

    Re: Stop stock maps from messing with timelimit vars

    The maps don't alter the global limit, only the one while the map is running. If you want your server to change maps when no players are on then set mp_timelimit_empty to 20 or something and it will change maps every 20min when empty.

  3. #3
    Administrator AdamR's Avatar  
    Join Date
    Mar 2004
    Cardiff, South Wales [UK]

    Re: Stop stock maps from messing with timelimit vars

    If a map may genuinely take 4 hours or whatever to complete this is fine, it must be allowed to set itself a time limit to accommodate expectations. This is only a problem when a server becomes empty, which is precisely why I implemented "mp_timelimit_empty", so if a map causes a server to empty it'll only continue to run for 10 minutes (as standard) after the last player leaves.

    You can of course lower "mp_timelimit_empty" to anything you like, or 0 to turn that off completely.

    "bm_sts" would be an exception though. There's no way it takes 16+ hours to complete. Even on long mode I've not encountered it going on for more than 2 hours. That being said its scripted progression will always end the map significantly sooner, with the only exception being if a player idles in the lobby without starting the first round. (I don't know why the map doesn't just set the time limit to infinite if it cant be better predicted.)
    Adam "Adambean" Reece
    Sven Co-op team

    Also on: Steam | Facebook | Twitter | YouTube | Twitch
    Released AMXX plug-ins: Bind number slots | NextMap with Sven Co-op fix | Sven Co-op administrator icons

Posting Permissions

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