Mapcycle is being overwritten

Discussion in 'Support & Feedback' started by noxrain, Apr 12, 2017.

  1. noxrain

    noxrain SCRUB

    Joined:
    Feb 15, 2016
    Messages:
    11
    Likes Received:
    10
    Hey guys,

    I really need help! I am trying to get the maps working. I start my linux server with an autoexec including
    sv_setsteamaccount XXX
    host_workshop_collection 904116115
    host_workshop_map 366676291​
    The server starts on the map above, which is fine. But unfortunately, voting doesnt work properly. I know I am supposed to edit the mapcycle and maplist files and enter the maps there that are supposed to be able to be voted. Problem is, the server seems to overwrite the file everytime I restart the server and it puts the default maps in again. So I cant get my voting menu to look any different then this:
    cs_italy
    de_dust
    de_aztec
    cs_office
    de_dust2
    de_train
    de_inferno
    de_nuke​
    While actually, I want it to be like this:
    workshop/156057488/kz_aztec
    workshop/156058093/kz_caulis_v2
    workshop/279166189/kz_chinablock
    workshop/288587982/kz_warehouse
    workshop/366676291/kz_redline
    workshop/386875795/kz_complex
    workshop/406080925/kz_za_tileblock
    workshop/431789622/kz_21loop_final_fix
    workshop/491405849/kz_crate_delight_go
    workshop/509126081/kz_rainrun_kn_f
    workshop/522846216/kz_spacus
    workshop/576215645/kz_chessblock
    workshop/621630951/kz_canyon
    workshop/633854360/kz_pollution
    workshop/636580309/kz_paradise​

    Can you guys help me figuring this out? Is there a way to force the server to use the maps that I want above or is there another way on putting those maps into the vote and remove the default ones? Also, I dont really understand why the mapcycle.txt gets reset every time.

    Thank you in advance.
     
    GameChaos likes this.
  2. noxrain

    noxrain SCRUB

    Joined:
    Feb 15, 2016
    Messages:
    11
    Likes Received:
    10
    Quick update: Now I created a custom mapgroup and put it into the server autoexec. Now, in the RTV I get both map groups in. The one with the kz and the default maps. So the vote is always a mix between standard maps and kz maps. Obviously I only want it to be kz maps. Any idea?
     
    GameChaos likes this.
  3. MachineChaos

    MachineChaos Zane Pro Player

    Joined:
    Aug 17, 2015
    Messages:
    704
    Likes Received:
    774
    Pretty weird, not entirely sure. A temporary fix may be to set the mapcycle to read only, might stop it from being overwritten, unless the file is being completely deleted and created again. Every time you want to edit it you would have to change it back to read/write though
     
    GameChaos likes this.
  4. Café

    Café CASUAL

    Joined:
    Jan 21, 2016
    Messages:
    76
    Likes Received:
    32
    I created I new mapcycle file and put +mapcyclefile mapcycle2.txt on my startup script and it seem to fixed this problem.
     
    noxrain likes this.
  5. noxrain

    noxrain SCRUB

    Joined:
    Feb 15, 2016
    Messages:
    11
    Likes Received:
    10
    Thanks for the tip, I will try that!
    I tried that, but the server just deletes the file on startup and creates a new one.
     

Share This Page