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 Reload Maps

Discussion in 'Server Help' started by DragonShark, May 6, 2015.

  1. DragonShark

    DragonShark The one post after the other. Donator

    Messages:
    390
    Is there anyway to reload the maps or the config while ingame?
    So all the 20 players on the server will not be forced to get kicked because of a restart.
    Any way?
     
  2. Galen

    Galen Haxor Staff Alumni Donator

    Messages:
    1,262
    Not sure if it still works, but have you tried /rcon /reloadmapcycle?
     
  3. blackjoker77777

    blackjoker77777 Haxor Tester
    1. Zen Laboratories

    Messages:
    441
    I didn't try that for a long time... but wasn't it modified as they did to the "/rcon rebuild" ?
     
  4. DragonShark

    DragonShark The one post after the other. Donator

    Messages:
    390
    That command doesn't work. Also rcon rebuild doesn't work.
    Any other ways?
     
  5. blackjoker77777

    blackjoker77777 Haxor Tester
    1. Zen Laboratories

    Messages:
    441
    you sure you're logged to rcon? (/rcon /login password)
     
  6. makmoud98

    makmoud98 You are already DEAD Forum Moderator Staff Alumni Tester

    Messages:
    586
    or try the secret command that crashes the server 90% of the time: /rcon reload
     
    blackjoker77777 likes this.
  7. blackjoker77777

    blackjoker77777 Haxor Tester
    1. Zen Laboratories

    Messages:
    441
    the most important thing is that there is that 10% chance of it working (better than nothing) ::P:
     
  8. Asu

    Asu THD Team THD Team Forum Moderator

    Messages:
    1,580
    This rebuilds scripts (and also reloads iirc), but doesn't reload cfgs, including the mapcycle.
     
  9. makmoud98

    makmoud98 You are already DEAD Forum Moderator Staff Alumni Tester

    Messages:
    586
    it does reload cfgs from what @Geti told me
    EDIT:
    I think /rcon LoadMapCycle("Rules/CTF/mapcycle.cfg"); might also work
     
    Last edited: May 6, 2015
    Asu and blackjoker77777 like this.
  10. Geti

    Geti Please avoid PMing me (poke a mod instead) THD Team Administrator Global Moderator

    Messages:
    3,730
    Commands that work pretty reliably:
    rebuild rebuilds scripts that changed​
    Commands that don't work reliably, but do exist:
    reload should (attempt to) reload configs
    reloadall should (attempt to) reload everything​

    The explicit LoadMapCycle is likely the best case here, I think it actually is reloaded each time a map is loaded already though actually.
     
    Asu likes this.
  11. DragonShark

    DragonShark The one post after the other. Donator

    Messages:
    390
    Thanks everyone for the help.
    I get it now. :)
     
  12. pawelot

    pawelot Bison Rider

    Messages:
    29
    I'm sorry that I write this here but I did not want to make a new thread

    What must be the minimum requirements for a player to be able to use the server / rcon LoadMapCycle (`...`);?
     
  13. makmoud98

    makmoud98 You are already DEAD Forum Moderator Staff Alumni Tester

    Messages:
    586
    that is a script not a command, so you need full rcon to be able to do it. either log into rcon or if you are setting up seclevs make sure that one of the roles is rcon
    Code:
    roles = rcon;
     
  14. pawelot

    pawelot Bison Rider

    Messages:
    29
    thx
     
    makmoud98 likes this.