Page 1 of 1

MP "Fake player"

Posted: Wed Mar 16, 2016 2:21 am
by Ardragoon
i love this game.
but i dont have 5h a day to play it.

so i decidet to start a server. only for me.
everything works fine. but...

if i leave the server the server pauses.
i know that the server pause when no players online.

but i want it to run even if no player is online.
Is there a possibility to run "fake players"?
Just to let the server know that theres someone on?

so if anyone has an solution i would appreciate it a lot :D

PS: Its an windows server.

greets
Ardragoon

Re: MP "Fake player"

Posted: Wed Mar 16, 2016 7:23 am
by Koub
You can run Factorio.exe --help to get a list of options.

Code: Select all

General options:
  -h [ --help ]                 display help
  --version                     show version information
  -c [ --config ] PATH          config file to use

Running options:
  -s [ --map2scenario ] arg     map to scenario conversion
  --apply-update arg            immediately apply update package
  --create SAVE                 create a new map
  --start-server SAVE           start a multiplayer server
  --mp-load-game SAVE           start Factorio and load a game in multiplayer
  --mp-connect ADDRESS          start factorio and connect to address
  --load-game SAVE              start Factorio and load a game in singleplayer
  --benchmark SAVE              load save and run benchmark
  --benchmark-ticks N (=1 000)  number of ticks for benchmarking. Default is
                                1000
  --force-opengl                use OpenGL for rendering
  --force-d3d                   use Direct3D for rendering
  --fullscreen BOOL             start game in windowed mode (saved to
                                configuration)
  --max-texture-size N          maximal size of texture that the game can use
                                (saved to configuration). Should be power of
                                two greater than 2048
  --graphics-quality arg        accepted values: normal, low, very-low
  --video-memory-usage arg      accepted values: all, high, medium, low

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
  --disallow-commands           disallow use of the command console
  --peer-to-peer                use peer-to-peer communication
  --no-auto-pause               don't automatically pause when no players are
                                connected
Last one may be what you want :)

Re: MP "Fake player"

Posted: Wed Mar 16, 2016 10:10 pm
by Bisa
also be mindful of the evolution factor that will increase with time - might leave you with nasty biters, more than you can handle if you leave it over night with no players to progress and build accordingly

Re: MP "Fake player"

Posted: Wed Mar 16, 2016 11:24 pm
by Ardragoon
i tryed "-help" but it wont work.
but with "--help" it works like a charm. X_x

every server has it own commands -.-

thx for the reply :D

and thx bisa for the info. never thought on that.
I will run more servers on different options to see whats happening.
from now on im courios whats happening in future :D

thx a lot ;)

greets
Ardragoon

Re: MP "Fake player"

Posted: Thu Mar 17, 2016 5:48 pm
by Bisa
Ardragoon wrote:i tryed "-help" but it wont work.
but with "--help" it works like a charm. X_x
just some random curiosa information:

-- vs - options are generally - being shorthand versions and -- the full word, example:
--help == -h
--verbose == -v
and so on

good luck with your server :)

Re: MP "Fake player"

Posted: Fri Mar 18, 2016 12:16 am
by Ardragoon
very good to know :>

and an info for you.
biter evolution stops if nobody is online. the rest works like a charm.

my biter evolution was at 24,4% last night.
after 24h it was 24,4% again but every chest was full with steel plates :D

i will have a look tomorow after work again. but if the evolution stops it would be perfekt ;)

greets
ARdragoon

Re: MP "Fake player"

Posted: Fri Mar 18, 2016 8:26 am
by Bisa
Ardragoon wrote:biter evolution stops if nobody is online. the rest works like a charm.
wow, I did not expect that - please let me know your results going forward, this seem a bit "exploitable" to me :lol:

Re: MP "Fake player"

Posted: Sat Mar 19, 2016 12:45 am
by Ardragoon
ok... im totaly wrong X_x

Evolution wont stop. Maybe there was a little bug or something.

because tonight im at 50% biter evolution. oO

every other "evolution test server" is growing.
so. sry. evolution isnt stopable ;)

greets
ardragoon

Re: MP "Fake player"

Posted: Sat Mar 19, 2016 10:48 am
by prg
You can stop it manually before you go offline with

Code: Select all

/c game.map_settings.enemy_evolution.enabled=false
Don't forget to turn it on again when you reconnect.

Re: MP "Fake player"

Posted: Sat Mar 19, 2016 11:04 am
by kovarex
Bisa wrote:
Ardragoon wrote:i tryed "-help" but it wont work.
but with "--help" it works like a charm. X_x
just some random curiosa information:

-- vs - options are generally - being shorthand versions and -- the full word, example:
--help == -h
--verbose == -v
and so on

good luck with your server :)
But mainly, the commands with one dash (-), can be combinable, so for example if you have option -a -b -c, you can combine it to -abc.
But as still you can have command called "abc", you need to say it by double dash (--), that you want to call command abc instead of a + b + c.

This is the standard way hot to deal with it, not our invention :)

Re: MP "Fake player"

Posted: Sat Mar 19, 2016 12:44 pm
by Bisa
kovarex wrote:But mainly, the commands with one dash (-), can be combinable, so for example if you have option -a -b -c, you can combine it to -abc.
But as still you can have command called "abc", you need to say it by double dash (--), that you want to call command abc instead of a + b + c.
TIL - well, today I learned that which I somehow already knew by experience but never thought about before, thnx :)