Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. BO2 Server Hosting Support
  3. Exec not working/does nothing

Exec not working/does nothing

Scheduled Pinned Locked Moved BO2 Server Hosting Support
4 Posts 2 Posters 213 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Batpopeundefined Offline
    Batpopeundefined Offline
    Batpope
    wrote on last edited by
    #1

    Hello, I'm having an issue with my ZM server. Basically, when trying to exec a cfg file in my gamesettingsfolder, nothing happens.

    For example, if I want to manually change map and I do

    exec zm_classic_processing.cfg; map zm_buried
    

    in the server terminal, the cfg isn't loaded and the map breaks. But if I do

    ui_zm_gamemodegroup "zclassic"; ui_gametype "zclassic"; g_gametype "zclassic"; ui_zm_mapstartlocation "processing"; map zm_buried
    

    it works perfectly.
    I also tried making a cfg file "hello.cfg" with just "say hello" in it, and trying to execute it with

    exec hello.cfg
    

    Then nothing happens, but if I manually type

    say hello
    

    In the terminal, then the command executes like expected.

    Is there something I'm missing? Do I need IW4MAdmin for this? I read the documentation but couldn't find anything about it.

    Thanks in advance and sorry for the inconvenience.

    1 Reply Last reply
    0
    • Xerxesundefined Offline
      Xerxesundefined Offline
      Xerxes
      Plutonium Staff
      wrote on last edited by
      #2

      IIRIC the exec command can only execute stock cfg files packed inside the cfgs. while the exec token for the maprotation can only execute cfgs in the gamesettings folder.

      Batpopeundefined 1 Reply Last reply
      1
      • Xerxesundefined Xerxes

        IIRIC the exec command can only execute stock cfg files packed inside the cfgs. while the exec token for the maprotation can only execute cfgs in the gamesettings folder.

        Batpopeundefined Offline
        Batpopeundefined Offline
        Batpope
        wrote on last edited by
        #3

        Xerxes Thanks for the blazingly fast reply!
        Interesting, Is there a command like exec to execute custom cfgs or any inside gamesettings?. Do you know if maybe IW4Admin has something like this?

        1 Reply Last reply
        0
        • Xerxesundefined Offline
          Xerxesundefined Offline
          Xerxes
          Plutonium Staff
          wrote on last edited by
          #4

          You could write your own iw4ma plugin that sends each line of a cfg file to your server via rcon.
          but then again this would be overkill to just change the map.
          imho you should just change the map rotation and rotate the map.

          1 Reply Last reply
          1
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Donate