GameServerManagers / LinuxGSM

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

[Bug]: Counter strike 1.6 linux dedicated server crashes with mods metamod and amxmodx #4525

Open franckdeb opened 4 months ago

franckdeb commented 4 months ago

User story

As a game server manager

Game

Counter strike 1.6

Linux distro

Debian 11

Command

command: mods-install

Further information

After a fresh install with linuxgsm (app 90 for cstrike server), server is running fine. If i add mods (metamod, amxmodx and then amxmodxcs) with linuxgsm mods-install, server is starting fine, but then if a player join the server crashes.

Relevant log output

No response

Steps to reproduce

using linuxgsm v24.1.5 ./csserver install ./csserver mods-install Metamod -> works fine Amxmodx -> works fine Amxmodxcs -> if a player join the server, it crashes

franckdeb commented 3 months ago

Since the last build update (hlds 9907), there are lot of issues to run plugins with metamod. Have to use hlds build 8486, so in steamcmd app 90 -beta Steam_Legacy and it is possible to run plugins again.

nliakm commented 1 month ago

Hi, I'm having the exact same problem.

Since the last build update (hlds 9907), there are lot of issues to run plugins with metamod. Have to use hlds build 8486, so in steamcmd app 90 -beta Steam_Legacy and it is possible to run plugins again.

Can you give more details on how to do that? Thanks!

nliakm commented 1 month ago

NVM got it to work. If anyone has the same problem:

# export path for steamcmd when running steamcmd installed from gsm
export LD_LIBRARY_PATH=/home/serveruser/.steam/steamcmd/linux32:$LD_LIBRARY_PATH

# update gamefiles
/home/serveruser/.steam/steamcmd/linux32/steamcmd +force_install_dir "/home/serveruser/serverfiles" +login anonymous +app_update 90 -beta Steam_Legacy +app_set_config 90 -beta Steam_Legacy mod cstrike validate +quit

Don't forget to change the dll inside serverfiles/cstrike/liblist.gam back to the metamod_i386.so, because that file will be overridden.