zopanix / docker_factorio_server

Factorio Server in Docker
MIT License
31 stars 275 forks source link

unrecognised option '--disallow-commands' #13

Closed captncraig closed 8 years ago

captncraig commented 8 years ago

I think something may be wrong with the flags passed to factorio:

docker run -d   -p 5000:34197/udp   zopanix/factorio
f6255137e4d9ae3f072e28138c6cf946eae577168c84120bd0b7991bef7c0d1f
>docker logs f62
###
# Creating a new map [save.zip]
###
   0.000 2016-06-28 23:59:44; Factorio 0.13.0 (Build 22782, linux64, headless)
   0.000 Operating system: Linux
   0.000 Not rotating logs.
   0.000 Program arguments: "/opt/factorio/bin/x64/factorio" "--create" "save.zip" 
   0.000 Read data path: /opt/factorio/data
   0.000 Write data path: /opt/factorio
   0.000 Binaries path: /opt/factorio/bin
   0.028 Running in headless mode
   0.033 Loading mod core 0.0.0 (data.lua)
   0.042 Loading mod base 0.13.0 (data.lua)
   0.262 Checksum for core: 1399339455
   0.262 Checksum for mod base: 2039900801
   1.247 Custom inputs active: 0
   1.248 Factorio initialised
   1.249 Info Main.cpp:557: Creating new map save.zip
  18.078 Info Scenario.cpp:129: Map version 0.13.0-93
  18.210 Checksum for script /opt/factorio/temp/currently-playing/control.lua: 900459546
  18.211 Error Util.cpp:57: boost::filesystem::create_directory: No such file or directory
###
# New map created [save.zip]
###
###
# Launching Game
###
unrecognised option '--disallow-commands'

General options:
  -h [ --help ]                 display help
  --version                     show version information
  -v [ --verbose ]              enable verbose logging
  -c [ --config ] PATH          config file to use
  --no-log-rotation             don't rotate log file

Running options:
  -s [ --map2scenario ] arg     map to scenario conversion
  -m [ --scenario2map ] arg     scenario to map conversion
  --apply-update arg            immediately apply update package
  --create SAVE                 create a new map
  --map-gen-settings FILE       Map generation settings for use with --create. 
                                See data/map-gen-settings.example.json
  --start-server SAVE           start a multiplayer server
  --start-server-load-latest    start a multiplayer server and load the latest 
                                available save
  --until-tick TICK             run a save until given map tick
  --heavy                       run the game in heavy mode
  --complete                    run the game in complete heavy mode

Server options:
  --latency N                   multiplayer server latency, in ticks
  --latency-ms N                multiplayer server latency, in milliseconds
  --autosave-interval N (=2)    server autosave interval, in minutes
  --autosave-slots N (=3)       server autosave slots
  --allow-commands arg (=true)  allow (true), disallow (false), or restrict 
                                (admins-only) use of the command console
  --no-auto-pause               don't automatically pause when no players are 
                                connected
  --port N                      network port to use
  --rcon-port N                 Port to use for RCON
  --rcon-password PASSWORD      Password for RCON
  --server-settings FILE        Path to file with server settings. See 
                                data/server-settings.example.json

  --autoupdate-stage2 arg       internal use only
  --autoupdate-finished         internal use only
  --join-game-by-id ID          internal use only
zopanix commented 8 years ago

Hey, indeed. This is a new major version of factorio. I didn't noticed the flags had changed. I'm currently working on refactoring the image and add the new flags. Might be online later today

zopanix commented 8 years ago

Just released a new version which corrects everything and adds new feature. Had to refactor so options have changed. Just read the readme to see how it works now