Page 1 of 1

Starting a dedicated server: No such node (visibility)

Posted: Wed Mar 22, 2017 3:08 am
by GetSchwifty
I get an error message: "No such node (visibility)" when i run the batch file I made for my server.

I've reinstalled the game several times and done a file integrity check.

Does anyone know what this error message means and how to fix it?

Thanks a lot!

Re: Starting a dedicated server: No such node (visibility)

Posted: Wed Mar 22, 2017 6:12 am
by Loewchen
Post the log, post the batch file.

Re: Starting a dedicated server: No such node (visibility)

Posted: Wed Mar 22, 2017 12:36 pm
by GetSchwifty
The uploader doesn't allow .bat files so here are its contents:

bin\x64\factorio.exe --start-server saves/acerimmer.zip --server-settings saves\server-settings.json

See the attached log file as well.

Thanks!

Re: Starting a dedicated server: No such node (visibility)

Posted: Wed Mar 22, 2017 3:17 pm
by daniel34
I think it's an issue in your server-settings.json, make sure visibility is set like this:

Code: Select all

  "visibility":
  {
    "public": true,
    "lan": true
  },
Only change between true and false in the above example, don't add any extra fields.

If that still doesn't work then post your server-settings.json.

Re: Starting a dedicated server: No such node (visibility)

Posted: Wed Mar 22, 2017 7:56 pm
by GetSchwifty
Ok that helped. I had written "hidden" where "visibility" was because I misunderstood the instructions. However, now I've got a new error. That log is attached.

Re: Starting a dedicated server: No such node (visibility)

Posted: Wed Mar 22, 2017 8:10 pm
by Loewchen
GetSchwifty wrote:now I've got a new error:
Error Util.cpp:57: Error while reading file saves\server-settings.json: <unspecified file>(7): expected value
Its time to post the complete server-settings file.

Re: Starting a dedicated server: No such node (visibility)

Posted: Wed Mar 22, 2017 9:35 pm
by GetSchwifty
This is in Factorio -> saves, along with acerimmer.zip (my save file). The launch batch is in the factorio main folder. Just FYI.

Re: Starting a dedicated server: No such node (visibility)

Posted: Thu Mar 23, 2017 12:31 am
by daniel34
Error Util.cpp:57: Error while reading file saves\server-settings.json: <unspecified file>(7): expected value
On line 7 you are missing a number after max_players, set e.g. 0 for unlimited players.

Code: Select all

	"max_players": 0,

Re: Starting a dedicated server: No such node (visibility)

Posted: Fri Mar 24, 2017 2:23 pm
by GetSchwifty
Ok that finally worked. It looks like the server is up and running.

I'd test it but I can't connect on the same computer that's running the server. Guess I'll need to have my laptop run it :/

Do you guys know how to connect on the same computer that's hosting?

Re: Starting a dedicated server: No such node (visibility)

Posted: Fri Mar 24, 2017 2:38 pm
by daniel34
You can run both client and server on the same computer if they are different installations or use different config/log files. The easiest way to do this is to download the zip-version from the website, extract it somewhere and use it as server. You can then use your steam version as client.
See also this topic: viewtopic.php?f=49&t=41338

You also need to have different ports for the two instances, see this topic on how to change the port of one of the instances (default is 34197): viewtopic.php?f=49&t=37461&p=226172#p226172

Re: Starting a dedicated server: No such node (visibility)

Posted: Fri Mar 24, 2017 6:41 pm
by GetSchwifty
Thanks a lot for the help :D