LsHallo / ets2-dedicated-convoy-server

Provides a docker container for ETS2/ATS multiplayer dedicated server.
Apache License 2.0
57 stars 11 forks source link

Not loading mods #7

Closed BlackRose01 closed 1 year ago

BlackRose01 commented 1 year ago

Hello again :)

now I try to load my local mods/maps but the game will not load them. The mods/server_packages will be synced via MEGA. I also looked into the container and the mods/server_packages were available and have the same user permissions like the other files.

KR, BlackRose01

Docker-Compose

version: '3'

services:
  ets2:
    user: "1000"
    build:
      context: steam-fix
    container_name: 'ETS2'
    restart: on-failure
    tty: true
    network_mode: host
    volumes:
      - "/opt/ets2/server_data:/app"
      - "/opt/ets2/game_data:/root/.local/share/Euro Truck Simulator 2"
      - "/opt/ets2/mods:/root/.local/share/Euro Truck Simulator 2/mod"
      - "/opt/ets2/server_packages.sii:/root/.local/share/Euro Truck Simulator 2/server_packages.sii"
      - "/opt/ets2/server_packages.dat:/root/.local/share/Euro Truck Simulator 2/server_packages.dat"
    environment:
      - "ETS_SERVER_UPDATE_ON_START=true"
      - "ETS_SERVER_NAME=xxx"
      - "ETS_SERVER_PASSWORD=xxx"
#      - "ETS_SERVER_LOGON_TOKEN=xxx"
      - "ETS_SERVER_PLAYER_DAMAGE=false"
      - "ETS_SERVER_HIDE_COLLIDING=false"
      - "ETS_SERVER_SERVICE_NO_COLLISION=true"
      - "ETS_SERVER_MODERATORS=xxx"
LsHallo commented 1 year ago

This is quite possible. I've just followed the official docs and not tried it myself.
Will try to use a mod later and report here if that works.

LsHallo commented 1 year ago

Okay I figured this one out too. You need to adjust your paths since I am now using a new image as a base image that saves the config files in /home/steam instead of /root.

Successful server: image

The server log will show 0 mods: image But then further down will list them: image

Documentation will be adapted accordingly.

8 will make these changes once merged.

BlackRose01 commented 1 year ago

Nice that works now. Thank you. But I am a little bit confused because when I go to my server then I cannot see the EU DLCs (east, baltic sea, balkane, etc.) in the DLC section. On my server I have the same output like you that it loaded them. So is it a display problem?

LsHallo commented 1 year ago

I think that has to do with mod optioning setting. When you open the server_packages.sii in a text editor you will see the DLC marked as optional. They should work in game but are not required to join. You could try changing the mod optioning setting to see if that has any effect.

On Thu, 18 May 2023, 11:36 BlackRose01, @.***> wrote:

Nice that works now. Thank you. But I am a little bit confused because when I go to my server then I cannot see the EU DLCs (east, baltic sea, balkane, etc.) in the DLC section. On my server I have the same output like you that it loaded them. So is it a display problem?

— Reply to this email directly, view it on GitHub https://github.com/LsHallo/ets2-dedicated-convoy-server/issues/7#issuecomment-1552795701, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFJE67VKSRBNEAFRIAZ4XGTXGXUTFANCNFSM6AAAAAAYCWRPV4 . You are receiving this because you commented.Message ID: @.***>

BlackRose01 commented 1 year ago

Ok, I will test it but at the moment it looks good. Thank you :)