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

it doesn't seem to work with players more than 4, despite adding the environment variable #36

Closed aimen08 closed 2 years ago

aimen08 commented 2 years ago

hello, i like the ease of use when it comes to this server, everything works well, this is the command i'm using docker run -p 27015:27015/udp -p 27016:27016/udp -e R2_PSW='autism' -e R2_PLAYERS=16 -e R2_HEARTBEAT=1 -e R2_HOSTNAME='Autism Nation' avivace/ror2server:latest

the server appears with 16 players but it wont work with more than 4. image

please help.

avivace commented 2 years ago

hello, i like the ease of use when it comes to this server, everything works well, this is the command i'm using docker run -p 27015:27015/udp -p 27016:27016/udp -e R2_PSW='autism' -e R2_PLAYERS=16 -e R2_HEARTBEAT=1 -e R2_HOSTNAME='Autism Nation' avivace/ror2server:latest

the server appears with 16 players but it wont work with more than 4. image

please help.

Hey! Thanks for the heads up, I think you are right and we're missing an additional setting required to allow more than 4 players in a lobby.

Can you try the morethan4players-fix branch and see if that works for you?

aimen08 commented 2 years ago

no still nothing , the server.cfg inside the docker image shows the additional setting, but still same problem ,

image

this is the error that appears when the 5th person try to login from console

image

avivace commented 2 years ago

@aimen08, can you try :

# clone this repository
git clone https://github.com/avivace/ror2-server/
# checkout to 
git checkout morethan4players-fix
# build docker image 
docker build . -t fixmulti
# run it with your desired settings
docker run -d -p 27015:27015/udp -p 27016:27016/udp -e R2_PSW='autism' -e R2_PLAYERS=16 -e R2_HEARTBEAT=1 -e R2_HOSTNAME='Autism Nation' fixmulti
avivace commented 2 years ago

@aimen08 any news on this?

aimen08 commented 2 years ago

@avivace hello, just didn't get 5 people to test this yet, we are currently 4 . i will update when the 5th person test it.

avivace commented 2 years ago

@avivace hello, just didn't get 5 people to test this yet, we are currently 4 . i will update when then the 5th person test it.

Great! Thanks :pray:

lu0se commented 2 years ago

It may be the official problem.When you run dedicated server on windows,it also doesn't work with players more than 4,we should submit this problem to the game official developer.

xxxsen commented 2 years ago

fixmulti branch still not ok, got error like this

<color=#FF0000>UNet Client Disconnect Error: NoResources</color>
NetworkManagerSystem.desiredHost={ hostType=None }
<color=#FF0000>ClientDisconnected due to error: NoResources</color>
LittleKingDW commented 2 years ago

Can confirm that this is still an issue, any more than 4 are booted with the no resources error, even with the fixmulti branch.

avivace commented 2 years ago

I looked this up a bit, and I couldn't find any time where more than 4 players were ever supported without a mod, so I guess it's just a visual value, but has no real effect. I'm closing this till we have new information.

sbblg commented 8 months ago

sv_maxplayers 16; steam_lobby_max_members 16; My server is run in Windows System.It need two