it doesn't seem to work with players more than 4, despite adding the environment variable
aimen08 opened this issue ยท 11 comments
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.
please help.
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.
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, 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 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 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 ๐
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.
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>
Can confirm that this is still an issue, any more than 4 are booted with the no resources error, even with the fixmulti branch.
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.