Exec not working/does nothing
-
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_buriedin 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_buriedit works perfectly.
I also tried making a cfg file "hello.cfg" with just "say hello" in it, and trying to execute it withexec hello.cfgThen nothing happens, but if I manually type
say helloIn 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.
-
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.
-
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.
-
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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login