服务端游戏运行久了,服务器往往很卡,我们可以设置服务器每隔一段时间自动重启

或者关闭服务器的设置

 

# — Downloading without Logging In —
# Some games will have a dedicated server app id.
# Using this app enables anonymous download of the server.
# So you can download the files without logging in.
# 381690 is the dedicated server app id for Reign Of Kings.

# — Scripting Files —
# Place these files next to Server.exe and they will be run when specified.
# OnStart.bat – Runs before the game server is about to start.
# OnRestart.bat – Runs after the server has shut down but only when the restart command was used.
# OnShutdown.bat – Runs after the game server has shut down.
# OnPreUpdate.bat – Runs before an update is performed.
# OnPostUpdate.bat – Runs after an update is performed.

 

教程开始:

隐藏内容

此处内容需要权限查看

  • 普通用户特权:50钻石
  • 会员用户特权:50钻石
  • 高级用户特权:50钻石

发表评论

后才能评论