Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
I found out that he will not save it. When I turn off the server and turn it on again, his record disappears...
The archive file exists, but he cannot read the archive file
The mechanism of how a server auto saves:
When there are players on the server, a hidden server timer will start running, the timer will reset to 0 when all players leave the server, but will start again when a player joins. When this timer reaches a certain number, specified in this parameter "SaveIntervalHour=" in the ServerSettings.ini file, then an auto save will be executed.
So, an auto save will NOT take place if no players stay on that server long enough.
You also mentioned an archive file, which must be located in the LF\Saved\SaveGames folder somewhere in your SteamCMD folder. depending on how your SteamCMD program was installed. A dedicated server save consists of a folder and 4 files within that folder. If you want to load that save, just copy that folder name and paste into the ServerSettings.ini file after the "SaveName=". The "SaveName=" is the file to load when you run StartServer.bat to start a dedicated server, and is also the name for the server to auto-save as.
So, to load that archive file, you may need to edit "SaveName=".
There also might be save corruption. To see if there are files missing, go to LF\Saved\SaveGames in your SteamCMD folder to check:
<SaveFileName>_Level.sav
<SaveFileName>_Persistent.sav
<SaveFileName>_Player.sav
<SaveFileName>_Slot.sav
If either of <SaveFileName>_Level.sav or <SaveFileName>_Slot.sav is missing or corrupted, a load will result in a fresh new game.
xcopy ServerSettings.ini "%cd%\LF\Saved\Config\" /y
LF\Binaries\Win64\LFServer.exe ?listen -log -Port=7777 -QueryPort=27015 -CRASHREPORTS
exit
This is its original internal code StartServer.bat, how can I modify it? Read the SaveName file???
I am pretty sure that after playing for 3 hours, I restarted the server, but did not read the previous record
ServerSettings.ini
[SystemSettings]
IngameAdminPassword=
SaveName=Moon1
;In-game time
SaveIntervalHour=2
DefaultMessageOfTheDay=
I guess you are talking about auto save, but not manual save because leaving "IngameAdminPassword=" blank results in no one having access to manual save.
Since SaveIntervalHour=2 (auto save every 10 real minutes) and you've played for 3 hours, there must be a folder Moon1 created by the server in <SteamCMD installation path>\LF\Saved\SaveGames , and the 4 files within must've been periodically overwritten multiple times during those 3 hours. You can right click on any of those 4 files to bring up the Properties window, and go to the General tab to see the time when the file was created, modified, and accessed.
However, that save may also be overwritten by the auto save from your restarted server.
So, if you can make sure that the save was indeed from the previous server session and not from the restarted server, then the next to check is whether that save is corrupted or not.
A corrupted save, when loaded, will always start a completely new game.
You can test it without starting a dedicated server to avoid further auto save overwrites. The test can be done in a non-dedicated server.
1) Copy Moon1 to <System Drive>:\Users\<User Name>\AppData\Local\LF\Saved\SaveGames\
2) Start Night of the Dead.
3) Go to Multiplayer -> Player Server -> Host Game -> Load Game .
4) A window will pop up. Select Moon1 and then click on Load Game.
5) If you see your character outside of a bunker at day 0 hour 9, then this is a new game, which means the save is corrupted. In some cases of a corrupted save, your character may retain the inventory items.