Multiplayer: Difference between revisions
Line 32: | Line 32: | ||
== Miscellaneous tips == | == Miscellaneous tips == | ||
* the key for [[Console commands]] will now initiate a chat in MP. To execute commands you need to | * the key for [[Console commands]] will now initiate a chat in MP. To execute commands you need to type '/c' before the command! | ||
* The key-combination SHIFT+SPACE pauses the game, even when typing in the chat input box. To prevent this from happening, change the keybinding in Options -> Other -> Pause game (bottom right) | * The key-combination SHIFT+SPACE pauses the game, even when typing in the chat input box. To prevent this from happening, change the keybinding in Options -> Other -> Pause game (bottom right) | ||
* Set the player's color using the command | * Set the player's color using the command |
Revision as of 09:47, 2 November 2014
This article contains content on features that will be included in Alpha 0.11.0. |
---|
These features are confirmed, but not yet added to the game. |
The multiplayer feature will be introduced with v0.11.0 and will be thought only for Lan-parties or Low-latency internet, because there is no much lag latency hiding mechanics introduced.
There is no server needed. Anybody can join an existing game, if he knows the IP of the game. He connects to the game, the game stops and the second players game downloads the current map. If the first hoster stops, the second player can continue to play and the first player can rejoin at any time. If the game desynchronizes, the map is redownloaded automatically and the game can continue
There will be no explicit support for making Factorio servers. If you want to make a world running 24/7 you need to start whole Factorio on your server machine and keep it running. The server instance will then have a character in the game just like anybody else. (http://www.factorioforums.com/forum/viewtopic.php?f=38&t=6220&hilit=server&start=40#p48983) (or you can use lua commands to get rid of the character)
Some links
- About how multiplayer is planned to work: TODO
- Interesting article: http://www.factorioforums.com/forum/viewtopic.php?f=5&t=6077#p47283
Playing over LAN
Both game instances need the installation of exactly same game-versions and mods!
Playing over LAN/Internet
Factorio uses the port 34197. The port can be changed in the config.
Factorio uses TCP and UDP. (The game builds it's own "reliable delivery" layer built on UDP to deal with packet loss and reordering issues.)
Issues
http://www.factorioforums.com/forum/viewtopic.php?f=5&t=6284#p49393
Report bugs and read Reportes bugs: http://www.factorioforums.com/forum/viewforum.php?f=52
Read this: http://www.factorioforums.com/forum/viewtopic.php?f=52&t=6283
Miscellaneous tips
- the key for Console commands will now initiate a chat in MP. To execute commands you need to type '/c' before the command!
- The key-combination SHIFT+SPACE pauses the game, even when typing in the chat input box. To prevent this from happening, change the keybinding in Options -> Other -> Pause game (bottom right)
- Set the player's color using the command
/c game.player[x].color = {r=0.7, g=0.5, b=0.1, a=0.9}
Where x is the player number. r, g and b are for red, green and blue respectively (possible values are between 0 and 1, use the right-most column on http://prideout.net/archive/colors.php). a is alpha channel aka Transparency of the color to the base texture. For single player, leave off the "[x]" to set the color.