vinanrra / Docker-7DaysToDie

7 days to die server using LinuxGSM in Docker with backups, monitor, auto-installable mods and more
GNU General Public License v3.0
209 stars 42 forks source link

[BUG]Recent updates have made the game unplayable. #254

Closed 7-rate closed 3 weeks ago

7-rate commented 3 weeks ago

Recent updates have made the game unplayable. Details are below.

Describe the bug I am running a server with VERSION=latest_experiemental. Yesterday, when I started playing, there were some bug behaviors, such as not being able to press the E key for storage and not being able to see the store. When I quit and restarted the server, it stopped at the "creating player" screen and would not start.

To Reproduce. Steps to reproduce the behavior: 1.

  1. start docker to VERSION=latest_experiemental 2. (It does not respond when I press the E key!). 3. Restart the game. 4.
  2. can't boot

Expected behavior Ability to play the game normally

Versions:

rate:~$ docker compose version
Docker Compose version v2.4.1
rate:~$ docker version
Client: Docker Engine - Community
 Version:           27.0.3
 API version:       1.46
 Go version:        go1.21.11
 Git commit:        7d4bcd8
 Built:             Sat Jun 29 00:02:23 2024
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          27.0.3
  API version:      1.46 (minimum version 1.24)
  Go version:       go1.21.11
  Git commit:       662f78c
  Built:            Sat Jun 29 00:02:23 2024
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.7.18
  GitCommit:        ae71819c4f5e67bb4d5ae76a6b735f29cc25774e
 runc:
  Version:          1.7.18
  GitCommit:        v1.1.13-0-g58aa920
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Docker/Docker-compose

```docker version: '2' services: 7dtdserver: image: vinanrra/7dtd-server container_name: 7dtdserver environment: - START_MODE=1 # Change between START MODES - VERSION=latest_experiemental # Change between 7 days to die versions - PUID=1000 # Remember to use same as your user - PGID=1000 # Remember to use same as your user - TimeZone=Asia/Tokyo # Optional - Change Timezone - TEST_ALERT=NO # Optional - Send a test alert - UPDATE_MODS=NO # Optional - This will allow mods to be update on start, each mod also need to have XXXX_UPDATE=YES to update on start - MODS_URLS="" # Optional - Mods urls to install, must be ZIP or RAR. - ALLOC_FIXES=NO # Optional - Install ALLOC FIXES - ALLOC_FIXES_UPDATE=NO # Optional - Update Allocs Fixes before server start - UNDEAD_LEGACY=NO # Optional - Install Undead Legacy mod, if DARKNESS_FALLS it's enable will not install anything - UNDEAD_LEGACY_VERSION=stable # Optional - Undead Legacy version - UNDEAD_LEGACY_UPDATE=NO # Optional - Update Undead Legacy mod before server start - DARKNESS_FALLS=NO # Optional - Install Darkness Falls mod, if UNDEAD_LEGACY it's enable will not install anything - DARKNESS_FALLS_UPDATE=NO # Optional - Update Darkness Falls mod before server start - DARKNESS_FALLS_URL=False # Optional - Install the provided Darkness Falls url - CPM=NO # Optional - CSMM Patron's Mod (CPM) - CPM_UPDATE=NO # Optional - Update CPM before server start - BEPINEX=NO # Optional - BepInEx - BEPINEX_UPDATE=NO # Optional - Update BepInEx before server start - BACKUP=YES # Optional - Backup server - BACKUP_HOUR=5 # Optional - Backup hour 0-23 - BACKUP_MAX=7 # Optional - Max backups to keep - MONITOR=NO # Optional - Keeps server up if crash volumes: - /path/to/folder/7DaysToDie:/home/sdtdserver/.local/share/7DaysToDie/ # 7 Days To Die world saves - /path/to/folder/LGSM-Config:/home/sdtdserver/lgsm/config-lgsm/sdtdserver # LGSM config folder - /path/to/folder/ServerFiles:/home/sdtdserver/serverfiles/ # Optional - serverfiles folder - /path/to/folder/LogFolder:/home/sdtdserver/log/ # Optional - Logs folder - /path/to/folder/BackupFolder:/home/sdtdserver/lgsm/backup/ # Optional - If BACKUP=NO, backups folder ports: - 26900:26900/tcp # Default game ports - 26900:26900/udp # Default game ports - 26901:26901/udp # Default game ports - 26902:26902/udp # Default game ports - 8080:8080/tcp # OPTIONAL - WEBADMIN - 8081:8081/tcp # OPTIONAL - TELNET - 8082:8082/tcp # OPTIONAL - WEBSERVER https://7dtd.illy.bz/wiki/Server%20fixes restart: unless-stopped # INFO - NEVER USE WITH START_MODE=4 or START_MODE=0 ```

Additional context Here is the log when the game could not be started

7dtdserver  | 2024-07-05T22:20:53 26436.141 INF Allowing player with id EOS_00029a5fbbea404eb8cbb13f166a21d1
7dtdserver  | 2024-07-05T22:20:53 26436.278 INF RequestToEnterGame: EOS_00029a5fbbea404eb8cbb13f166a21d1/rate98326
7dtdserver  | 2024-07-05T22:21:00 26442.629 INF Time: 440.53m FPS: 20.00 Heap: 1216.4MB Max: 1681.9MB Chunks: 17 CGO: 0 Ply: 0 Zom: 0 Ent: 0 (4) Items: 0 CO: 0 RSS: 2104.0MB
7dtdserver  | 2024-07-05T22:21:30 26472.681 INF Time: 441.03m FPS: 20.00 Heap: 1213.3MB Max: 1681.9MB Chunks: 17 CGO: 0 Ply: 0 Zom: 0 Ent: 0 (4) Items: 0 CO: 0 RSS: 2104.4MB
7dtdserver  | 2024-07-05T22:21:32 26474.929 INF Dymesh: Update items to send for rate98326 id: -1  recieved: 4
7dtdserver  | 2024-07-05T22:21:32 26474.930 INF Dymesh: Items to send: 0   Added: 2   chunks: 4
7dtdserver  | 2024-07-05T22:21:47 26490.134 INF RequestToSpawnPlayer: 171, rate98326, 6
7dtdserver  | 2024-07-05T22:21:47 26490.174 WRN Parameter 'IsMale' not found in animator
7dtdserver  | 2024-07-05T22:21:47 26490.175 INF Created player with id=171
7dtdserver  | 2024-07-05T22:21:47 26490.239 ERR Buff Class not found for ''
7dtdserver  | 2024-07-05T22:21:47 26490.240 ERR Buff Class not found for 'uffstatuscheck02d

7dtdserver  | 2024-07-05T22:21:47 26490.240 ERR Buff Class not found for ''
7dtdserver  | 2024-07-05T22:21:47 26490.240 ERR Buff Class not found for ''
7dtdserver  | 2024-07-05T22:21:47 26490.240 ERR Buff Class not found for 'th3
7dtdserver  | 2024-07-05T22:21:47 26490.240 ERR Buff Class not found for 'aoeeffect
7dtdserver  | EndOfStreamException: Attempted to read past the end of the stream.
7dtdserver  |   at PooledBinaryReader.FillBuffer (System.Int32 _numBytes) [0x00030] in <6f2e3fc88762481ca91b5544f100bd83>:0
7dtdserver  |   at PooledBinaryReader.ReadString () [0x00049] in <6f2e3fc88762481ca91b5544f100bd83>:0
7dtdserver  |   at BuffValue.Read (System.IO.BinaryReader _br, System.Int32 _version) [0x0005f] in <6f2e3fc88762481ca91b5544f100bd83>:0
7dtdserver  |   at EntityBuffs.Read (System.IO.BinaryReader _br) [0x0002d] in <6f2e3fc88762481ca91b5544f100bd83>:0
7dtdserver  |   at PlayerDataFile.ToPlayer (EntityPlayer _player) [0x002fb] in <6f2e3fc88762481ca91b5544f100bd83>:0
7dtdserver  |   at GameManager.RequestToSpawnPlayer (ClientInfo _cInfo, System.Int32 _chunkViewDim, PlayerProfile _playerProfile) [0x002ab] in <6f2e3fc88762481ca91b5544f100bd83>:0
7dtdserver  |   at NetPackageRequestToSpawnPlayer.ProcessPackage (World _world, GameManager _callbacks) [0x00007] in <6f2e3fc88762481ca91b5544f100bd83>:0
7dtdserver  |   at ConnectionManager.ProcessPackages (INetConnection _connection, NetPackageDirection _disallowedDirection, ClientInfo _clientInfo) [0x000f0] in <6f2e3fc88762481ca91b5544f100bd83>:0
7dtdserver  |   at ConnectionManager.Update () [0x000a1] in <6f2e3fc88762481ca91b5544f100bd83>:0
7dtdserver  |
7dtdserver  | 2024-07-05T22:22:00 26502.706 INF Time: 441.53m FPS: 19.99 Heap: 1214.6MB Max: 1681.9MB Chunks: 17 CGO: 0 Ply: 0 Zom: 0 Ent: 0 (5) Items: 0 CO: 0 RSS: 2123.4MB

I assume that some data is corrupted based on the logs and the circumstances we have investigated, but we do not have the details.

For other information,

Thank you in advance

CooperWallace commented 3 weeks ago

Are you going from stable to the experimental branch? This sounds like it has to do specifically with the game itself, and not the container.