Hi
I wanted to create a multiplayer server with a persistent world.
to do so I need two piece of information, I read somewhere that this is possible but I have no idea where to start.
but first of all, how do I run command in the game console?
what is the command to remove the current player character?
what is the command to disable evolution on the game? (it wouldn't be fair as the server will run 24/7 even when no players are looking after it
do I need to create a mod and distribute it to every player?
lua: how do I remove player and disable evolution
-
- Filter Inserter
- Posts: 253
- Joined: Wed Feb 20, 2013 9:35 pm
- Contact:
Re: lua: how do I remove player and disable evolution
Try this start post first https://forums.factorio.com/forum/vie ... =25&t=4858, it will give you links where you can find most of the stuff you are looking for.
-
- Filter Inserter
- Posts: 253
- Joined: Wed Feb 20, 2013 9:35 pm
- Contact:
Re: lua: how do I remove player and disable evolution
jeroon wrote:Try this start post first https://forums.factorio.com/forum/vie ... =25&t=4858, it will give you links where you can find most of the stuff you are looking for.
thanks I get something working. now, I can test in game for the endless resources (so I managed to get it to work) but
it seems I cannot get any feedback on having changed the time based evolution factor.
is there a print comomand of srt? I tried print(..) and also tried showmessagedialog but doesn't work with integer and don't know how convert to string in lua
EDIT: nevermind figured it out
/c game.player.print(game.evolutionfactor)