Page 1 of 1

[SOLVED] 14.8 Win/Server <unspecified file><4>: expected ':'

Posted: Wed Sep 21, 2016 3:12 pm
by impetus maximus
i'm trying to set up a headless server from the package version in win7, and play on the same machine.

i've...
  • unzipped the 0.14.8 package to c:/program files
  • created a server.bat file in bin/x64 with the following
    code
  • created \bin\x64\saves and copied my save "4.zip" to it.
  • copied \config\config.ini file and created 'server-config.ini'
  • changed write-data=__PATH__executable__\..\..\ to write-data=__PATH__executable__\..\..\server in 'server-config.ini'
  • created the \server folder, and copied player-data.json to it.
  • changed my port number in \config\config.ini to 34198
  • opened server-settings.example.json in notepad. entered my data including login & token, and saved as server-settings.json in bin\x64
opening a console with admin privliges i cd to 'C:\Program Files\Factorio_0.14.8\bin\x64' hit [enter].
type 'server.bat' [enter]

and i get this
headless.error.png
what does this error mean, and how can i fix it please.
thanks for reading.

Re: 0.14.8 Win/Server <unspecified file><4>: expected ':'

Posted: Wed Sep 21, 2016 3:36 pm
by HanziQ
My guess would be an error in the server-settings.json file

Re: 0.14.8 Win/Server <unspecified file><4>: expected ':'

Posted: Wed Sep 21, 2016 3:41 pm
by impetus maximus
thanks. can i PM you the file to check it out for me?

Re: 0.14.8 Win/Server <unspecified file><4>: expected ':'

Posted: Wed Sep 21, 2016 3:52 pm
by HanziQ
Sure

Re: 0.14.8 Win/Server <unspecified file><4>: expected ':'

Posted: Wed Sep 21, 2016 3:59 pm
by impetus maximus
well i can't add an attachment to a PM so here is a snapshot (with my token changed)
server-settings.json.png

Re: 0.14.8 Win/Server <unspecified file><4>: expected ':'

Posted: Wed Sep 21, 2016 4:11 pm
by HanziQ

Code: Select all

"tags": ["tag1", "tag2"],

Re: 0.14.8 Win/Server <unspecified file><4>: expected ':'

Posted: Wed Sep 21, 2016 4:14 pm
by impetus maximus
IT VERKS! MUH HAHAHAHA!
thank you!