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

This subforum contains all the issues which we already resolved.
x2605
Inserter
Inserter
Posts: 41
Joined: Fri Jul 31, 2020 4:08 pm
Contact:

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

Post 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
English is not my native language. Sorry for bad English.
My mods :
Lua API global Variable Viewer (mod portal)
Lua API Event Trace (mod portal)
My tools :
Locale String Editor (github.io webapp)
x2605
Inserter
Inserter
Posts: 41
Joined: Fri Jul 31, 2020 4:08 pm
Contact:

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

Post 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"
English is not my native language. Sorry for bad English.
My mods :
Lua API global Variable Viewer (mod portal)
Lua API Event Trace (mod portal)
My tools :
Locale String Editor (github.io webapp)
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

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

Post by kovarex »

Ok, it actually says it in the log as error, so I'm moving this to not a bug.
Bilka
Factorio Staff
Factorio Staff
Posts: 3309
Joined: Sat Aug 13, 2016 9:20 am
Contact:

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

Post by Bilka »

Thanks for the report, the example file is fixed for the next version.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Post Reply

Return to “Resolved Problems and Bugs”