NoeelMoeskops / Mordhau-Wine

Windows Mordhau Dedicated server run with Wine in a Docker container to allow for custom maps in Linux.
0 stars 2 forks source link

Rcon connectivity fails #2

Open clinicallylazy opened 3 years ago

clinicallylazy commented 3 years ago

After the updates to rcon in the December mordhau patches I'd like to get rcon working in concert with WINE, would it be possible to add the following line to the startup parameters?

-RconPort=${QueryPort}

NoeelMoeskops commented 3 years ago

I'm unfamiliar with Rcon, is the Rcon port always the same as the query port? Or should a new environment variable be introduced?

NoeelMoeskops commented 3 years ago

Also, how do you make a Rcon connection with the server? I searched for clients but could only find one (which required Windows). Can a simple telnet or nc connection cut it?

clinicallylazy commented 3 years ago

There are plugins for a few different code bases to use rcon, I primarily use the windows client for testing as I'm not developing anything on the rcon side right now.

The default port is the query port (though it can be set separately). If you don't designate it in the WINE setup it appears to just not accept the connections from what I can tell, at least that's the problem I've been having.

An alternative might be the ability to customize the startup parameters aside from the variables in the docker run so you can plug your own stuff in there.