Starting a dedicated server: No such node (visibility)

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Post Reply
GetSchwifty
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed Mar 22, 2017 3:05 am
Contact:

Starting a dedicated server: No such node (visibility)

Post 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!

Loewchen
Global Moderator
Global Moderator
Posts: 8317
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

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

Post by Loewchen »

Post the log, post the batch file.

GetSchwifty
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed Mar 22, 2017 3:05 am
Contact:

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

Post 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!
Attachments
factorio-current.log
(1.01 KiB) Downloaded 39 times

daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

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

Post 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.
quick links: log file | graphical issues | wiki

GetSchwifty
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed Mar 22, 2017 3:05 am
Contact:

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

Post 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.
Attachments
factorio-current.log
(1.07 KiB) Downloaded 33 times

Loewchen
Global Moderator
Global Moderator
Posts: 8317
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

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

Post 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.

GetSchwifty
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed Mar 22, 2017 3:05 am
Contact:

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

Post 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.
Attachments
server-settings.json
(2.28 KiB) Downloaded 36 times

daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

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

Post 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,
quick links: log file | graphical issues | wiki

GetSchwifty
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed Mar 22, 2017 3:05 am
Contact:

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

Post 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?

daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

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

Post 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
quick links: log file | graphical issues | wiki

GetSchwifty
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed Mar 22, 2017 3:05 am
Contact:

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

Post by GetSchwifty »

Thanks a lot for the help :D

Post Reply

Return to “Technical Help”