新手玩家

- 贡献度
- 0
- 金元
- 60
- 积分
- 6
- 精华
- 0
- 注册时间
- 2020-2-13
|
要不要我教你
下载一个DAYZ SERVER
把
serverDZ.cfg文件里用笔记本打开改成如下
hostname = "haieee"; // Server name
password = ""; // Password to connect to the server
passwordAdmin = "234443"; // Password to become a server admin
maxPlayers = 60; // Maximum amount of players
verifySignatures = 2; // Verifies .pbos against .bisign files. (use only 2 )
forceSameBuild = 1; // Server will allow connection only to clients with same exe revision as server when active (value 0-1)
disableVoN = 0; // Enable/disable voice over network (value 0-1)
vonCodecQuality = 7; // Voice over network codec quality, the higher the better (values 0-30)
disable3rdPerson=0; //turn on/off 3rd person view for players on the particular server instance (value 0-1)
disableCrosshair=0; //turn on/off cross-hair on the particular server instance (value 0-1)
serverTime="SystemTime"; // Server start time //Initial ingame time of server. "systemTime" means the local time of the machine. Another possibility is to set the time to some value in "YYYY/MM/DD/HH/MM" format, f.e. "2015/4/8/17/23" .
serverTimeAcceleration=24; // Accelerated Time (value 0-24) // This is a time multiplier for in-game time. In this case, the time would move 24 times faster than normal, so an entire day would pass in one hour.
serverTimePersistent=0; // Persistent Time (value 0-1)// The actual server time is saved to storage, so when active, the next server start will use the saved time value.
loginQueueConcurrentPlayers=5; // Number of players concurrently processed during the login process. Should prevent massive performance drop during connection when a lot of people are connecting at the same time.
loginQueueMaxPlayers=500; // Maximum number of players that can wait in login queue
instanceId = 1; // DayZ server instance id, to identify the number of instances per box and their storage folders with persistence files
lootHistory =1; //how many persistence history files should been kept by instance, number is looped over during save
storeHouseStateDisabled = false; // Disable houses/doors persistence (value true/false), usable in case of problems with persistence
storageAutoFix = 1; // Checks if the persistence files are corrupted and replaces corrupted ones with empty ones (value 0-1)
class Missions
{
class DayZ
{
template="dayzOffline.chernarusplus"; // Mission to load on server startup. <MissionName>.<TerrainName>
// Vanilla mission: dayzOffline.chernarusplus
// DLC mission: dayzOffline.enoch
};
};
新建一个文件夹
@echo off
cls
set version=1.0
set wat=Dayz SA
title %wat% Watchdog
cd D:\SteamLibrary\steamapps\common\DayZ Server Exp
:watchdog
echo (%time%) %wat% started.
start "Dayz_SA" /wait /affinity FF /high "DayZServer_x64.exe" -config=serverDZ.cfg
echo (%time%) %wat% closed or crashed, restarting.
goto watchdog
CD是DAYZ SERVER位置
后改成BAT
|
|