GameServerManagers / LinuxGSM

The command-line tool for quick, simple deployment and management of Linux dedicated game servers.
https://linuxgsm.com
MIT License
4.23k stars 808 forks source link

[BUG] Arma 3 server works unstable on Ubuntu 20.04 #4021

Open nordost8 opened 1 year ago

nordost8 commented 1 year ago

Hello! I have problem with arma3 on my Ubuntu 20.04. I have been looking for help on various Arma3 forums for a long time but still have not received an answer. Mods on the server do not appear in the list of required server mod, as well as voice chat. And the problem is not in the Arma server, not in the server configuration files.

First problem: Mods do not appear in the list of required server mods in the server browser (@ace, @cba_a3). Players can log in without these mods and play with intermittent errors. This is silly. I expected and it should have prompted them to download the necessary mods.

At first I noticed that my mods are not displayed in the list of mods on the server. People from different Arma 3 communities tried to help me and I have already demonstrated many times that I have all the mods correctly located in the server folder and correctly specified in the launch command:

./arma3server -name=server -config=server.cfg -mod="mods/@cba_a3;mods/@ace"

log: https://pastebin.com/6sVd0yHZ

No errors in log.

You can see everything is ok. There are no fatal errors. Mods work great, you can play with them on the server. BUT THEY DO NOT SHOW IN THE LIST OF REQUIRED MODS! And that creates a million problems. Players log in without them, they get errors, sometimes the server just throws out such players:

https://imgur.com/a/rhmsSDn Mods not showing up.

Second problem:

Voice chat does not work on the server. It is configured correctly in server.cfg:

// Disable Voice over Net (VoN) //  0 = voice enabled. // 1 = voice disabled. disableVoN = 0;

// VoN Codec Quality // 0-10 = 8kHz (narrowband). // 11-20 = 16kHz (wideband). // 21-30 = 32kHz (ultrawideband). vonCodecQuality = 3;

I have all required ports open.

It feels like the server just doesn't want to respond to steam about his mods, and also doesn't want to accept voices

I also tried different hosting

Maybe you can shed some light? I am sure that many people will want to install the server on the most popular Linux machine - Ubuntu. And it is important to solve this problem :(

peejaybee commented 1 year ago

I had similar problems with mods today on Debian 11.7. I believe it is due to the quotes around the mod list that were added in PR #3845. I edited config-default/_default.cfg to remove the quotes around the mod list (note that they don't appear around the servermod list, and those work fine.)

Here's how you reproduce it:

dgibbs64 commented 1 year ago

@peejaybee Quotes can be a pain at times. A discussion about the quotes is needed. Potentially by someone who is a bit more of an expert than me in this area. It can be confusing to figure out when to use " ' or \" etc

peejaybee commented 1 year ago

Yeah, that's for certain.

One thing I didn't try was seeing if moving to double quotes would help. Then maybe we could get the benefit of #3485 and still have things work.

peejaybee commented 1 year ago

@dgibbs64 Okay, I tried using escaped double quotes, and got the same error.

Params came across as -mod="mods/@cba_a3\;mods/@cup_terrains_core\;mods/@cup_terrains_maps\;mods/@rhsafrf\;mods/@rhsgref\;mods/@rhssaf\;mods/@rhsusaf" so the escaping worked, but it appears that single or double quotes mess it up.