多人游戏
This article contains content on features that are included in Alpha 0.11.0, an "experimental release" of the game that is not considered as "stable release" by the developers yet.
多人游戏的功能产生于v0.11.0版本,建议在局域网或低延迟互联网上使用,因为这样会不那么卡顿。
从技术上讲这是一个用户-用户的游戏,不需要服务器。
只要知道游戏的IP地址,任何人都可以加入一个已经存在的游戏。他加入游戏时,游戏将暂停以等待新玩家下载地图。如果原先的玩家退出了游戏,第二名玩家可以继续游戏,同时第一名玩家还可以随时重新加入。如果游戏需要同步,地图会被自动重新下载,然后游戏会继续进行。
在局域网/互联网上联机
v0.11版游戏可能不能正常在互联网上玩。注意,卡顿和延迟取决于连接速度和响应时间。
- 所有玩家的游戏版本和安装的mod必须完全一致。 (提示:也许有人没有装剧情包?)
- 为了更流畅的进行游戏,主机可以关闭自动保存。
- 游戏使用端口34197。端口可以在设置中更改。
- 游戏仅支持 UDP协议。请确保你的路由器有正确的设置。(游戏拥有自己的“可靠通信层”建立在UDP之上来解决丢包问题。)
- 请确保没有防火墙或杀毒软件阻止了UDP数据包。
- 请看“更多指导”来正确设置路由器。
- 所有的玩家都能互相连接是十分必要的。不仅仅是必要,而是从理论上说,所有的玩家都需要有公共的IP地址,即使在NAT中也是如此。看 为什么我不能超过三人同时联机?
- 同时联机人数的理论上限是65535. :)
语音聊天
- 建议使用一些聊天软件,因为你会需要说很多话(配合连接,建造,传递物品...)。 语音服务器:多人游戏论坛。
寻找其他玩家
- 使用论坛中的多人游戏版面.
- 很多人使用蛤蟆吃(Hamachi)或Evolve来寻找其他玩家。这有助于在玩家之间建立一个虚拟私有网络。看看下面的软件。
- 一些人在 Steam 上寻找其他玩家。
异星工厂服务器:为什么要p2p?
There where some discussions about, why Factorio doesn't use the client+server-model, but instead uses the peer-to-peer-priniciple. With v0.11 there will be no explicit support for making Factorio "servers". That will come with v0.12!
If you want to make a world running 24/7 you need to start whole Factorio on your "server" machine and keep it running, it works just as a peer. The server instance will then have a character in the game just like anybody else.
Some links
Headless server
- Linux Headless server / vnc (Maybe too soon?): http://www.factorioforums.com/forum/viewtopic.php?f=53&t=6449
- Dedicated Multiplayer Server Guide
Game types
Coop
Coop-game runs without any further preparation ( http://www.factorioforums.com/forum/viewtopic.php?f=53&t=6501 )
PvP
Technical Implementation
More Tools/Infos
- use mods for planning. See basic planner, Planning-Tool-Mod...
- look into multiplayer forum, most other questions are answered there.
And always remember that Factorio in v0.11 isn't intended to work well on internet connections, so keep patient. ;)
More Guides
- How To set up a Factorio Multiplayer Server | Guide | Tutorial, by Teaspoon
- Dedicated Multiplayer Server Guide, by Icecube45
- Tips to connect in multiplayer, by Nondre
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!
- Set the player's color using the command
/c game.players[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.
Software for routing / establishing connection
- http://www.factorioforums.com/forum/viewtopic.php?f=53&t=6393
- http://www.factorioforums.com/forum/viewtopic.php?f=53&t=6386
- http://www.factorioforums.com/forum/viewtopic.php?f=49&t=7690
- A guide for connecting with evolve
This article is a stub, and not comprehensive. |
---|
You can help this wiki by expanding it. |