I have been trying to execute a config via rcon (rcon admin execconfig pub.cfg) that is both in the server’s main and base directory, but always get “Can’t find config”. I can execute it without problems via the dedicated server’s interface (or using +exec pub.cfg in the .bat).
Any ideas what could be wrong? Is this a bug?
execconfig: Can't find config
[QUOTE=popoklatsch;350056]I have been trying to execute a config via rcon (rcon admin execconfig pub.cfg) that is both in the server’s main and base directory, but always get “Can’t find config”. I can execute it without problems via the dedicated server’s interface (or using +exec pub.cfg in the .bat).
Any ideas what could be wrong? Is this a bug?[/QUOTE]
try
rcon admin exec pub.cfg
or
rcon exec pub.cfg
[QUOTE=togsj777;350062]try
rcon admin exec pub.cfg
or
rcon exec pub.cfg[/QUOTE]
I already tried that - doesn’t work either.
in the server console type the following:
exec p
and then hit tab
you will see everything with the first letter of ‘p’
if you see it in the list that appears, there may be a inadvertant space after pub .cfg
or something of an error in the title.
You may want to start by typing just
exec with a space after and then hit tab
that will show every file that you are permitted to execute.
[QUOTE=sparky;350470]in the server console type the following:
exec p
and then hit tab
you will see everything with the first letter of ‘p’
if you see it in the list that appears, there may be a inadvertant space after pub .cfg
or something of an error in the title.
You may want to start by typing just
exec with a space after and then hit tab
that will show every file that you are permitted to execute.[/QUOTE]
As stated in my first post: I can execute it through the server console; the problem is with using rcon.
So he suggested to see if the config name would actually show up when pressing <TAB> when ingame
have you done that yet?
[QUOTE=Crytiqal;351409]So he suggested to see if the config name would actually show up when pressing <TAB> when ingame
have you done that yet?[/QUOTE]
Yes, tried that too. There is actually no config at all that can be executed via rcon, not even those that were installed in the base directory (like “server_campaign_resistance_coop” etc.)
I suppose that the commmand “rcon admin execconfig” just does not work (and neither does “rcon admin exec”), you have to use the server’s console to do that. Strange, but oh well.
While using some trial and error, I found that “rcon exec xxx.cfg” actually is the right command. I really thaught that I had already tried that…
