Page 1 of 1

[1.1.0] --start-server-load-scenario execution parameter for Factorio windows version fails

Posted: Tue Nov 24, 2020 3:51 am
by x2605
--start-server-load-scenario <scenario> commandline parameter for factorio 1.1 for windows getting failed.
--start-server <savefile> works ok.

example

Code: Select all

factorio.exe --start-server-load-scenario scenario_name ...
See "0.003 Program arguments:" below for detailed running command I used.
It's not depending on contents of a scenario folder. Even it could be run with empty folder named "0test" under scenario folder when Factorio 1.0.

log

Code: Select all

   0.002 2020-11-24 12:39:33; Factorio 1.1.0 (build 56997, win64, full)
   0.002 Operating system: Windows 10 (version 2004) 
   0.003 Program arguments: ".\bin\x64\factorio.exe" "--port" "34300" "--start-server-load-scenario" "0test" "--map-gen-settings" ".\map-gen-settings.json" "--map-settings" ".\map-settings.json" "--server-settings" ".\server-settings.json" 
   0.003 Read data path: E:/Server/Factorio_1.1.0/data
   0.003 Write data path: E:/Server/Factorio_1.1.0 [144063/202842MB]
   0.003 Binaries path: E:/Server/Factorio_1.1.0/bin
   0.012 System info: [CPU:         ===CENSORED===
   0.012 Running in headless mode
   0.020 Loading mod core 0.0.0 (data.lua)
   0.089 Loading mod base 1.1.0 (data.lua)
   0.469 Loading mod base 1.1.0 (data-updates.lua)
   0.653 Checksum for core: 1359792165
   0.654 Checksum of base: 2334436397
   0.858 Prototype list checksum: 1154245852
   0.906 Info PlayerData.cpp:70: Local player-data.json available, timestamp 1606189161
   0.906 Info PlayerData.cpp:77: Cloud player-data.json unavailable
   0.910 Factorio initialised
   0.913 Error CommandLineMultiplayer.cpp:346: Hosting multiplayer game failed: Key "negative_path_cache_delay_interval" not found in property tree at ROOT.path_finder
   0.916 Info ServerMultiplayerManager.cpp:140: Quitting multiplayer connection.
   0.916 Info ServerMultiplayerManager.cpp:783: updateTick(4294967295) changing state from(Ready) to(Closed)
   0.958 Goodbye

[1.1.0] "map-settings.example.json" is missing "negative_path_cache_delay_interval"

Posted: Tue Nov 24, 2020 4:06 am
by x2605
I catched the point of problem.
"map-settings.example.json" file in released zip file is missing newly added parameter,

Code: Select all

{
  "path_finder":
  {
    "negative_path_cache_delay_interval": 20
which is newly added in "data\base\prototypes\map-settings.lua"

Re: [1.1.0] --start-server-load-scenario execution parameter for Factorio windows version fails

Posted: Wed Nov 25, 2020 2:04 am
by kovarex
Ok, it actually says it in the log as error, so I'm moving this to not a bug.

Re: [1.1.0] --start-server-load-scenario execution parameter for Factorio windows version fails

Posted: Wed Nov 25, 2020 8:21 am
by Bilka
Thanks for the report, the example file is fixed for the next version.