异星工厂服务器无响应,没有找到WIN主机搭建服务器的教程

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

Windows

Go to your Factorio.exe folder (Probably 'C:\Program Files\Factorio\bin\x64\')

Create a text document, paste the following and make appropriate entries:

-----------------------------

@echo off ::============================================================================================================== ::Replace the appropriate entries below to suit your installation (Default install example shown) ::============================================================================================================== set FactorioExeLocation=C:\Program Files\Factorio\bin\x64\ set SaveFileName=YOURSAVENAME.zip set SaveLocation=C:\Users\YOURWINDOWSUSERACCOUNT\AppData\Roaming\Factorio\saves\ set ServerSettingsFileName=server-settings.json set ServerSettingsLocation=C:\Program Files\Factorio\data\ ::============================================================================================================== cd %FactorioExeLocation% echo. echo. echo PREPARING TO LAUNCH FACTORIO SERVER... echo. echo Save to be loaded: echo %SaveLocation%%SaveFileName% echo. echo Server Settings to load: echo %ServerSettingsLocation%%ServerSettingsFileName% echo. echo. echo *** Remember to use Ctrl+C to ensure saving when finished instead of simply closing this window *** echo. echo. pause 3 ::============================================================================================================== :: ***NOTE: The line below launches factorio in headless mode with desired server settings, add any other :: desired arguments to end of the line. Use "factorio.exe --help" for a list of all supported arguments. ::============================================================================================================== factorio.exe --start-server "%SaveLocation%%SaveFileName%" --server-settings "%ServerSettingsLocation%%ServerSettingsFileName%" pause 3

-----------------------------

Save the file as server.bat. Important: At 'Save as type:' select 'All Files' By default, windows will append the filetype automatically, so disabling this in order to provide your own is necessary.

Reminder: Be sure to have replaced YOURSAVENAME and YOURWINDOWSACCOUNTNAME with correct information.

Use the server.bat to start your server.

The console log will be shown in the window.

To close the server, select the console window press Control+C. If you just close it without pressing this, it will not save your game.

Forward Ports: You will find detailed instructions for your specific router on the web

88b1e12fef83319cf4143916b6cab23c.png如此简单明了,你有那里不懂?

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值