Page 1 of 1

[0.17.17] Headless server unable to parse rcon password argument

Posted: Sat Mar 23, 2019 8:53 am
by Azias
Hello,

I was trying to experiment with the headless server on a centOS machine and while trying to set the rcon password I encountered a small problem, the server doesn't seem to parse the argument correctly.

I'm using the following script to run it:

Code: Select all

#! /bin/bash

rconport='mypassword'
rconpassword='27015'
save='saves/Save01.zip'
settings='data/server-settings.json'

/opt/glibc-2.18/lib/ld-2.18.so --library-path /opt/glibc-2.18/lib ./bin/x64/factorio --start-server $save --rcon-port $rconport --rcon-password $rconpassword --server-settings $settings --executable-path ./bin/x64/factorio
When I run it I only get the following message:

Code: Select all

Argument ‘mypassword’ failed to parse

[The whole usage help text...]
And I still get same error when I don't use the variables too.


Am I missing something or should I post this in the bugs section since it may be a problem with the experimental version that I'm running ?

Re: [0.17.17] Headless server unable to parse rcon password argument

Posted: Sat Mar 23, 2019 11:45 am
by orzelek
If you are really using it as you wrote.. you have password and port reversed.