arkmanager / ark-server-tools

Set of server tools used to manage ARK: Survival Evolved servers on Linux
MIT License
680 stars 144 forks source link

?customdynamicconfigurl="<link>" #1170

Closed TeH-BaK closed 3 years ago

TeH-BaK commented 3 years ago

So I was having issues with the dynamic config URL not changing to suit, so I had a word with a couple of the wildcard employees...

?customdynamicconfigurl=""

Turns out this Needs the quotes to be passed onto the command line, and so I even tried double quoting it in arkmanager.cfg and it just removes them, so will need a little patch to ensure the quotes are included.

I expect this might be a good time to do the same parsing for the new live tuning that's being added:

?CustomLiveTuningUrl=""

As I'm sure it'll need the same syntax.

Thanks again! BaK

klightspeed commented 3 years ago

So it needs the shell to pass the quotes to the program?

In that case, you need to either escape the quotes or quote the quotes - e.g.

ark_customdynamicconfigurl="\"https://your_server.example/example.conf\""

or

ark_customdynamicconfigurl='"your_server.example/example.conf"'
TeH-BaK commented 3 years ago

image

Yup, ok brilliant, thanks 👍