1. 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 [Fixed]Server loading wrong game mode

Discussion in 'Server Help' started by zoultrex_, Jul 9, 2015.

  1. zoultrex_

    zoultrex_ Catapult Fodder

    Messages:
    13
    After my servers crashed my machine I had to reboot it and to my surprise the game mode changed to TTH.
    I double checked the autoconfig file and it has the correct game mode sv_gamemode = CTF

    I don't understand how a crash+reboot could have changed the game mode, and worse, made it not load the correct game mode anymore.

    Is there somewhere else I can set the game mode?

    Please see below the server log where it shows that its loading CTF game mode

    [07:12:16] Loading script Rules/CommonScripts/NoSwears.as
    [07:12:17] Initializing Game Script
    [07:12:17] ############ GAMEMODE CTF
    [07:12:17] Server created on 0:50301 (BUILD 1537)
    [07:12:18] Server is identified as to the API as 191.96.4.14
    [07:12:18] Checking is server modded...
    [07:12:18] Missing file from standard version Rules/CTF/Scripts/CTF.as
    [07:12:18] **** This is a modded server ****
    [07:12:18] Attempting mod verification
    [07:12:18] CModVerify::verifyMods failed as there are no active mods
    [07:12:18] Whitelist inactive.
    [07:12:18] Loading blacklist from Base/Security/blacklist.cfg
    [07:12:18] Blacklist empty.
    [07:12:18] Loading ignorelist from Base/Security/ignorelist.cfg
    [07:12:18] Ignorelist empty.
    [07:12:18] Config file not found '/root/Security/seclevs.cfg'
    [07:12:18] Loading security levels from Base/Security/seclevs.cfg
    [07:12:18] Loading default security levels
    [07:12:18] Loading game rules from Rules/CTF/gamemode.cfg...
    [07:12:18] Loaded team 0 'Blue Team'
    [07:12:18] Loaded team 1 'Red Team'
    [07:12:18] Adding map to cycle 'Maps/WAR/DaviesPlains.png'
    [07:12:18] Adding map to cycle 'Maps/WAR/Juggernaut.png'
    [07:12:18] Adding map to cycle 'Maps/WAR/MurkshireHills.png'
    [07:12:18] Adding map to cycle 'Maps/WAR/Jungle.png'
    [07:12:18] Adding map to cycle 'Maps/WAR/MiddleIsland.png'
    [07:12:18] Adding map to cycle 'Maps/WAR/BlademireRidge.png'
    [07:12:18] Adding map to cycle 'Maps/WAR/Islands.png'
    [07:12:18] Adding map to cycle 'Maps/WAR/Crises.png'
    [07:12:18] Adding map to cycle 'Maps/WAR/EarthMoving.png'
    [07:12:18] Adding map to cycle 'Maps/WAR/DaviesPlains.png'
    [07:12:18] Adding map to cycle 'Maps/WAR/Juggernaut.png'
    [07:12:18] Adding map to cycle 'Maps/WAR/MurkshireHills.png'
    [07:12:18] Adding map to cycle 'Maps/WAR/Jungle.png'
    [07:12:18] Adding map to cycle 'Maps/WAR/MiddleIsland.png'
    [07:12:18] Adding map to cycle 'Maps/WAR/BlademireRidge.png'
    [07:12:18] Adding map to cycle 'Maps/WAR/Islands.png'
    [07:12:18] Adding map to cycle 'Maps/WAR/Crises.png'
    [07:12:18] Adding map to cycle 'Maps/WAR/EarthMoving.png'
    [07:12:18] Next map: Maps/WAR/DaviesPlains.png
    [07:12:18] Loading script Scripts/MapLoaders/LoadPNGMap.as
    [07:12:18] LOADING PNG MAP Maps/WAR/DaviesPlains.png
    [07:12:21] ############ GAMEMODE CTF
    [07:12:21] Not using shaders. Not adding hq2x
    [07:12:21] Restarting rules script: Rules/WAR/Scripts/WAR.as
    [07:12:24] NO PLAYERS - SERVER PAUSED (to change this behaviour set /sv_canpause 0
    [07:14:55] Closing console device: Signal 2 received
     
    Last edited: Jul 13, 2015
  2. makmoud98

    makmoud98 You are already DEAD Forum Moderator Staff Alumni Tester

    Messages:
    586
    Make sure you are modifying the autoconfig.cfg while the server is down
     
    blackjoker77777 likes this.
  3. zoultrex_

    zoultrex_ Catapult Fodder

    Messages:
    13
    Yup, done that.
    I have checked the autoconfig.cfg file many times and restarted the server many times.

    Did you see the server log I pasted on the first post? It says its loading CTF game mode but when you join the server is TTH, thats the strangest part to me.
     
  4. Asu

    Asu THD Team THD Team Forum Moderator

    Messages:
    1,580
    Code:
    [07:12:18] Missing file from standard version Rules/CTF/Scripts/CTF.as
    He's dead, Jim.
     
  5. makmoud98

    makmoud98 You are already DEAD Forum Moderator Staff Alumni Tester

    Messages:
    586
    forceupdate and then see if it works
     
  6. zoultrex_

    zoultrex_ Catapult Fodder

    Messages:
    13
    Hooray! It worked :)

    Thanks a lot makmoud98
    --- Double Post Merged, Aug 7, 2015, Original Post Date: Jul 13, 2015 ---
    I used this command again in hope that it would fix another problem I was having and it seems now that the game mode is sandbox.
    I trully don't understand what is it that the server does that change those game modes out of nowhere LOL.
    My autoconfig is saved with the server down and its supposed to load CTF
    --- Double Post Merged, Aug 10, 2015 ---
    Fixed, It was a typo in the game mode name
     
    makmoud98 likes this.