avivace / ror2-server

Host your own Risk of Rain 2 dedicated server. No technical skills required. Runs everywhere.
https://hub.docker.com/r/avivace/ror2server
GNU General Public License v3.0
169 stars 29 forks source link

Server does not see any of arguments. #7

Closed KyberJeffHason closed 4 years ago

KyberJeffHason commented 4 years ago

Hello, I have problem. I am trying to run dedicated server on ubuntu 18.04 with this docker, but server does not see any of arguments I provided.

For example, I run:

docker run -p 25000:27015/udp -e R2_PSW='hello' avivace/ror2server:0.1

25000 port is working, but the password was not set for server and I can connect to the server without password. And I have same problem with R2_PLAYERS and -v $HOST_DIR and maybe other arguments.

And sorry for my english.

rchpweblo commented 4 years ago

I also have this problem in regards to the -v volume flag, it does not seem to load any mods even when providing it a properly set up folder

dubvulture commented 4 years ago

Environment variables seems to be working as I can see them being written in the server configuration file created here. So either that configuration is never actually used, or the game just ignores it.

As of the -v volume flag, that's probably another issue, it was suggested here but I'm not sure if it has been tested.

jwilling commented 4 years ago

As of the -v volume flag, that's probably another issue, it was suggested here but I'm not sure if it has been tested.

Yeah I did test it, and it didn't seem to work. I didn't look into it too deeply, so it definitely could have been my fault. Not trying to derail the thread too deeply, but here's the compose file I tried:

version "3"
services:
  riskofrain:
    container_name: riskofrain
    image: avivace/ror2server
    ports:
      - "27015:27015/udp"
    volumes:
      - ./data/BepInEx:/home/steam/ror2-dedicated/BepInEx
      - ./data/doorstop_config.ini/:/home/steam/ror2-dedicated/doorstop_config.ini
      - ./data/winhttp.dll:/home/steam/ror2-dedicated/winhttp.dll
dubvulture commented 4 years ago

The latest build should fix R2_* parameters being ignored. Let me know if there more problems.

Regarding the support for mods, see #4.