1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Hey Guest, is it this your first time on the forums?

    Visit the Beginner's Box

    Introduce yourself, read some of the ins and outs of the community, access to useful links and information.

    Dismiss Notice

KAG Restricted to only one map in mapcycle.cfg

Discussion in 'Server Help' started by Frederikam, Jan 28, 2014.

  1. Frederikam

    Frederikam Drill Rusher

    Messages:
    88
    I'm having a problem where my server only loads the first map in the ../Base/Rules/CTF/gamemode.cfg file's list. (And if I weren't too lazy I'd probably have the server up anyway)
    Code:
    mapcycle = Maps/TowerRush/World.png; Maps/TowerRush/World2.png;
    (As seen here: http://imgur.com/8rrqJsb)
    In this case World.png will be the only map to ever load. These maps are drawn by myself and are not vanilla (not that it should matter).
    My autoconfig.cfg contains the following options:
    Code:
    sv_gamemode = CTF
    sv_mapcycle = [I tried to use both the mapcycle.cfg's in both CTF/ and Maps/]
    sv_mapautocycle = 1
    sv_mapcycle_shuffle = 0
    The server is running on a "Ubuntu Server" (CLI ONLY). Here's the console log: http://imgur.com/7sAcSuH
    As you can see on the screenshot only World.png loads.
     
    Last edited: Jan 28, 2014
  2. jackitch

    jackitch :(){ :|: & };: Global Moderator Donator Tester
    1. SharSharShar - [SHARK]

    Messages:
    249
    iirc you should be using linebreaks between maps. I think that's what fixed mine the last time I had that issue. Not 100% sure that was the problem though.
     
  3. Downburst

    Downburst Mindblown Global Moderator Forum Moderator Donator Tester

    Messages:
    1,813
    I'm pretty sure that the maps should be in the mapcycle without the Base/
     
  4. Frederikam

    Frederikam Drill Rusher

    Messages:
    88
    That doesn't make any difference. Edit: Would you mind posting your mapcycle?
    Well since I can't easily copy/paste through VNC I just ended up writing mapcycle.cfg from memory (I was in a bit of a hurry). Turns out I wrote the path slightly wrong here on the forums. (I did however take a good look on autoconfig.cfg)
    [​IMG]
     
  5. Downburst

    Downburst Mindblown Global Moderator Forum Moderator Donator Tester

    Messages:
    1,813
    Check your autoconfig.cfg for "sv_mapautocycle = 1".

    PS. You can usually copy text just by selecting it.
     
  6. Frederikam

    Frederikam Drill Rusher

    Messages:
    88
    [​IMG]

    Since I use VNC to control my server I don't see how I could possible paste over to Windows.
     
  7. Leo

    Leo Haxor

    Messages:
    503
    If it says "sc macycle_shuffle = 0" then it's wrong. It should be "sv_mapcycle_shuffle = 0"
     
  8. Frederikam

    Frederikam Drill Rusher

    Messages:
    88
    That's because i typed it wrong on the forums only. The image in the above spoiler shows the option in the actual autoconfig.cfg.
     
  9. Downburst

    Downburst Mindblown Global Moderator Forum Moderator Donator Tester

    Messages:
    1,813
    The sv_mapcycle = line is blank. You have to put the right path in there right?
     
  10. Frederikam

    Frederikam Drill Rusher

    Messages:
    88
    Since it's blank and my set gamemode is "CTF" it will refer to what I have set up in the Base/Rules/CTF/mapcycle.cfg file. I also tried having sv_mapcycle refer to an identical mapcycle.cfg in my Maps folder, yielding to the same result.
     
  11. lavalord

    lavalord Haxor Staff Alumni Donator Tester

    Messages:
    672
    Have you tried just listing "Maps/TowerRush/World2.png" by itself and seeing if it will load?
    Are you sure "World2.png" is named exactly that and not "world2.png"?
    Have you tried loading "World2.png" ingame using /loadmap?
    Also usually if you just highlight text in the console it will automatically copy the selection.
     
  12. Frederikam

    Frederikam Drill Rusher

    Messages:
    88
    1. Yes
    2. Yes
    3. I just tried both .png files, but the same map was loaded in both cases. I even tried to wget my two maps, but I had the same result.
      Code:
      wget frederikam.site50.net/World.png
      wget frederikam.site50.net/World2.png
    4. Again I have no idea how to highlight text in the terminal.
     
  13. Downburst

    Downburst Mindblown Global Moderator Forum Moderator Donator Tester

    Messages:
    1,813
  14. Frederikam

    Frederikam Drill Rusher

    Messages:
    88
    I just went ahead and installed a tool for uploading images to imgur (in the process I ended up hacking the root user, because I didn't know the password:rekt:), so atleast I know the maps aren't identical.

    Code:
    mapcycle = Maps//World.png;
    Maps/World2.png; 
    These paths aren't valid, especially not the first one. My maps are located in "Maps/TowerRush/". I tried to run this but the server obviously couldn't find the maps.
     
  15. Downburst

    Downburst Mindblown Global Moderator Forum Moderator Donator Tester

    Messages:
    1,813
    Oh my bad, try now.

    And could you give the console log?
     
  16. Frederikam

    Frederikam Drill Rusher

    Messages:
    88
    http://pastebin.com/u6eYrUHF
    (I still can't copy, I just learned how to upload it to Pastebin)
     
  17. Downburst

    Downburst Mindblown Global Moderator Forum Moderator Donator Tester

    Messages:
    1,813
    So what happens when you /rcon /nextmap?
     
  18. Frederikam

    Frederikam Drill Rusher

    Messages:
    88
    It restarts the same map.
     
  19. Downburst

    Downburst Mindblown Global Moderator Forum Moderator Donator Tester

    Messages:
    1,813
    yes but what does it say at the logs.

    And what does it say on /rcon /loadmap Maps/TowerRush/World2.png
     
  20. lavalord

    lavalord Haxor Staff Alumni Donator Tester

    Messages:
    672
    I usually idle on IRC for the most part of the day, if you could join #kag or #kag.aus, I could give you real time support and we solve this a bit quicker.