Diyagi / vrising-server-docker

Docker Container to run V-Rising Dedicated Server on Ubuntu 24.04 using WineHQ 9
MIT License
9 stars 1 forks source link

Rcon returning not enabled with testannounce #11

Open Killerherts opened 3 months ago

Killerherts commented 3 months ago

I am getting an rcon not enable msg when I attempt to use the testannounce feature that was added

image

services:
  vrising:
    image: diyagi/vrising-server-docker:latest
    restart: unless-stopped
    stop_grace_period: 15s
    ports:
      - 27015:27015/udp
      - 27016:27016/udp
      - 25575:25575
    environment:
      TZ: "America/Chicago"
      PUID: 1001
      PGID: 1001
      VR_NAME: "[NA][CST] Bloodspace PVP No Wipe 2x Harvest No Raids"
      VR_DESCRIPTION: "Reduced durability loss no corpse loot no raid A Blood META Project"
      VR_GAME_PORT: 27015
      VR_QUERY_PORT: 27016
      VR_RCON_PORT: 25575
      VR_LIST_ON_EOS: "true"
      VR_LIST_ON_STEAM: "true"
      VR_SAVE_NAME: "world1"
      VR_RCON_ENABLED: "true"
      VR_RCON_PASSWORD: "G*"
      COMPILE_GAME_SETTINGS: "false"
      COMPILE_HOST_SETTINGS: "false"
      AUTO_UPDATE_CRON_EXPRESSION: "0 6 * * *"
      AUTO_UPDATE_ENABLED: "true"
      AUTO_ANNOUNCE_ENABLED: "true"
      AUTO_ANNOUNCE_CRON_EXPRESSION: "*/20 * * * *"
    volumes:
    - /mnt/toth/Backup/steamHosting/vRising1/server:/vrising/server
    - /mnt/toth/Backup/steamHosting/vRising1/data:/vrising/data
    - /mnt/toth/Backup/steamHosting/vRising1/announce:/vrising/announce

Am I missing something obvious as when I attempt to connect to rcon with the host system everything is fine.

I also tried to compile_host_setting enabled

Diyagi commented 3 months ago

Might be because you are passing true as an text true or false are an type in bash so you should use

VR_RCON_ENABLED: true

PS: Im working on a non invasive way to compile the json settings, so next image release you can remove both COMPILE_GAME_SETTINGS: "false" and COMPILE_HOST_SETTINGS: "false"

Diyagi commented 3 months ago

Also, if you are naming the announce files with just 0-name.announce, 1-name.announce and not 00-name.announce 01-name.announce the order might get messed up. Thats because when sorting by name 10 comes after 1 and not 9, unless you name them 01, 09 and 10. It should be fine if you dont have more than 9 announces tho.