LinuxGSM icon indicating copy to clipboard operation
LinuxGSM copied to clipboard

[BUG] Squad server not listed in server browser

Open romanvoloboev opened this issue 3 years ago • 2 comments

I can't found my server in custom server browser when using your script. But in the same time on the same server when I'm using manual installation via SteamCMD or Docker image cm2network/squad -- everything is working and I can see server in custom browser.

Basic info

  • Distro: Ubuntu 22.04
  • Game: Squad
  • Command: ./SquadGameServer.sh FIXEDMAXTICKRATE=50 FIXEDMAXPLAYERS=100 RANDOM=ALWAYS Port=7787 QueryPort=27165
  • LinuxGSM version: v22.1.0

Further Information

All ports are opened via firewall. Server has 1 ip address. Hosted at Hetzner. I also tried to use MULTIHOME parameter, but no result. All server settings are default, except it name.

To Reproduce

Steps to reproduce the behaviour:

  1. Rent server at Hetzner.
  2. Install SQUAD server via your script.
  3. Change it default name and try to found at custom server browser.
2022-07-11 в 17 23 09

romanvoloboev avatar Jul 11 '22 14:07 romanvoloboev

Well, I can kinda reproduce it.

In this case just the used config is different.

instead of serverfiles/SquadGame/ServerConfig/squadserver.cfg the following config is used: serverfiles/SquadGame/ServerConfig/Server.cfg

I will check what we have in the scripts and do a PR

h3o66 avatar Aug 22 '22 19:08 h3o66

Created a fix for this.

To fix this manually, add the following to the common.cfg/squadserver.cfg

servercfg="Server.cfg"
servercfgfullpath="${servercfgdir}/${servercfg}"

h3o66 avatar Aug 22 '22 20:08 h3o66

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

github-actions[bot] avatar Oct 09 '23 00:10 github-actions[bot]