更多
网页游戏
当前位置:攻略首页 > 单机游戏攻略 > 森林 > 正文

《森林》正式版服务器怎么设置 游戏专用服务器设置教程

2018-06-21 10:19:41 冒险游戏AVG 人气值:加载中...

  对于想要联机的小伙伴来说如果拥有自己的服务器那是一件再好不过的时间了,所以今天小编为大家带来的就是玩家“ccsingtao”翻译整理分享的森林游戏专用服务器设置教程,不会创建设置的玩家还不点击进来看看怎么操作的。

  游戏专用服务器设置教程

  游戏版本: V1.07

  一,安装并加载专用服务器程序

  你可以从Steam主界面中的库-工具中搜索并下载The Forest Dedicated Server安装。如果你想在不登录Steam账号的情况下启动专用服务器,可以下载SteamCMD。

  注意:

  l 如果从Steam启动专用服务器后,在游戏里的互联网服务器列表中仍然找不到你的服务器,那么尝试到专用服务器的文件夹中找到相关可执行文件或用它的快捷方式直接启动。

  l 若要在后台运行专用服务器,可以通过用“-batchmode” 作为命令行参数来启动专用服务器程序。

  安装后在Steam-库-已安装-工具里面,运行一次The Forest Dedicated Server来在你的电脑上创建服务器的相关文件夹。

  二,配置

  如下有两种方式来配置专用服务器。

  l 或用命令行参数;

  l 或用Server.cfg文件。

  注意:用命令行参数会覆盖在配置文件中的相关条目。

  二,甲.使用命令行来配置:

  用命令行工具启动专用服务器需要:

  1,在你的路由器和防火墙中为TCP/UDP打开8766, 27015 和 27016端口。

  2,创建快捷方式并添加:

  -serverip xxx.xxx.xxx.xxx -serversteamport8766 -servergameport 27015 -serverqueryport 27016 -servername TheForestGameDS-serverplayers 8 -difficulty Normal -inittype Continue -slot 1

  3,用这个快捷方式启动专用服务器或启动游戏。

  可用的命令行参数有:

  l -serverip // If you have a router, this address is the internal address,and you need to configure ports forwarding 设置服务器IP,注意,如果你使用内部网,这个IP就是你的内网IP

  l -serversteamport // Set the steam server port, default is 8766 设置Steam 通讯端口,如果你有路由器,需要在路由器里面打开该端口。下两个端口设置相同步骤。该端口默认是 8766

  l -servergameport // 同上,默认 27015

  l -serverqueryport // 同上,默认 27016

  l -servername // Set the server display name 设置服务器显示名称

  l -serverplayers // Set the max. number of players, default is 8 设置允许加入的最多玩家数,默认8

  l -serverpassword // Set the server password, default is none 设置服务器密码,空着表示没有密码,默认无

  l -serverpassword_admin // Set the server admin password, default is none 设置服务器管理员密码,空着表示没有。默认无

  l -serversteamaccount // Set the steam account, blank means anonymous (see Steam serveraccount bellow) 设置Steam账号,空着表示匿名或无名(参考如下的Steam服务器账号)

  l -enableVAC //Enable Valve Anti Cheat 设置是否允许作弊,必须设置on/开或off/关

  l -serverautosaveinterval // Set the autosave interval in minutes, default is 15 设置自动保存的时间间隔,默认15分钟

  l -difficulty // Set the game difficult level, default is Normal 设置游戏难度Peaceful/和平, Normal/一般或Hard/困难

  l -inittype // Set the init type of game, default is New 设置每次进入服务器需要玩家新开/new还是继续游戏/continue,强烈建议设置为 continue

  l -slot<1|2|3|4|5> // Set the save slot to use, default is 1 设置保存位置,默认1

  l -showlogs //Enable server log window 设置事件记录日志,必设项

  l -veganmode //Enable the vegan mode cheat (no enemies) 设置有/on 或无/off野人

  l -vegetarianmode// Enable the vegetarian mode cheat (no enemies during daytime) 设置是否允许白天有无野人

  l -resetholesmode// Reset all existing floor holes when loading a save 加载存档时是否重设已有地板孔洞,不知道是不是我翻译的这意思

  l -treeregrowmode// Enable Tree regrowth when sleeping 允许在玩家睡觉时被砍倒的树木生长

  l -nobuildingdestruction// Enemie and players cannot destroy buildings 是否允许建筑损毁

  l -allowenemiescreative// Enable enemy spawn in creative games 在创建模式下允许野人再生

  l -allowcheats //Allow clients to use the built in development console 是否允许玩家使用内置控制台

  l -configfilepath// Changes the config file path used by the server 允许自定义配置文档位置,空白为默认位置

  l -savefolderpath// Allows defining a custom folder for save slots 允许自定义保存文档位置,空白为默认位置

  注意:对配置文档的路径,所在文件夹必须先建立,但也可以通过启动专用服务器来建立相关文件夹。使用斜杠如/。比如:

  -configfilepath"d:/Your/Custom/Path/YourServerConfigFileName.cfg"

  二,乙.使用配置文档Server.cfg来配置

  Server.cfg文档可在你第一次启动专用服务器的时候自动被创建。

  Server.cfg文档默认位置位于:

  C:\Users\%USER%\AppData\LocalLow\SKS\TheForestDedicatedServer\ds\Server.cfg

  当然,你也可以通过如下方法找到该文件夹。

  同时按键盘左边的windows键+R键打开查找/搜索框,并输入 “%appdata%”回车。在弹出的文件夹栏里向上,找到Appdata 文件夹。一路向下:Appdata – LocalLow – SKS – TheForestDedicatedServer – DS - Server.cfg。

  用记事本打开该文档,Server.cfg中的内容如下(注意括号及内的内容是我加的):

  //Dedicated Server Settings.

  // ServerIP address - Note: If you have a router, this address is the internal address,and you need to configure ports forwarding (设置服务器IP,注意,如果你使用路由器,这个IP就是你的内网IP,你还需要设置端口转发。)

  serverIP192.168.1.***

  // SteamCommunication Port - Note: If you have a router you will need to open thisport. (Steam 通讯端口,如果你有路由器,需要在路由器里面打开该端口。下两个端口设置相同步骤。)

  serverSteamPort8766

  // GameCommunication Port - Note: If you have a router you will need to open thisport. (同上)

  serverGamePort27015

  // QueryCommunication Port - Note: If you have a router you will need to open thisport. (同上)

  serverQueryPort27016

  // Serverdisplay name (服务器显示的名字)

  serverName *********/NoModding,No Cheating

  // Maximumnumber of players (允许加入服务器的最多玩家数)

  serverPlayers8

  // EnableVAC (Valve Anti-cheat System at the server. Must be set off or on (是否允许作弊,必须设置on/开或off/关)

  enableVACon

  // Serverpassword. blank means no password (服务器密码,空着表示没密码)

  serverPassword

  // Serveradministration password. blank means no password(服务器管理员密码,空着表示没密码)

  serverPasswordAdmin***************

  // YourSteam account name. blank means anonymous (你的Steam账号,空着表示匿名或无名)

  serverSteamAccount******

  // Timebetween server auto saves in minutes - The minumum time is 15 minutes, thedefault time is 30 (自动保存时间间隔,最短15分钟,默认30分钟)

游侠网1

更多相关资讯请关注:森林专题

查看森林攻略大全

提示:支持键盘“← →”键翻页
森林The Forest
上市时间:2014-05-30
游戏平台:PC PS4
游戏类型:冒险游戏AVG
制作公司:SKS Games
游戏语言:英文,中文
发行公司:SKS Games
关于游侠 | 广告合作 | 人才招聘 | 友情链接 | 联系我们 | 网站地图 | 投诉建议 | 版权保护投诉指引
CopyRight © 1999-2023 ALi213.Net All Right Reserved 游侠网 版权所有 | 苏ICP备2023007791号