Skip to content

Commit

Permalink
fix(pvr): add fix for libc
Browse files Browse the repository at this point in the history
  • Loading branch information
dgibbs64 committed Sep 6, 2023
1 parent 5593658 commit 89ec08c
Show file tree
Hide file tree
Showing 39 changed files with 54 additions and 37 deletions.
4 changes: 3 additions & 1 deletion lgsm/config-default/config-lgsm/pvrserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ port="7777"

# Maps: bridge, datacenter, sand
defaultmap="datacenter"
# Get an API key from https://pavlov-ms.vankrupt.com/servers/v1/key
apikey=""

## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters="Pavlov ${defaultmap} -log -MultiHome=${ip} -Port=${port}"
startparameters="Pavlov ${defaultmap} -log -MultiHome=${ip} -Port=${port} ApiKey=${apikey}"

#### LinuxGSM Settings ####

Expand Down
1 change: 1 addition & 0 deletions lgsm/config-default/config-lgsm/untserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ defaultmap="PEI"
servername="LinuxGSM"
perspective="first" # Values: first, third, vehicle, Both.
gamemode="normal" # Values: normal, easy, gold.

## Game Server Login Token (GSLT): Required
# GSLT is required for running a public server.
# More info: https://docs.linuxgsm.com/steamcmd/gslt
Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/fix_ark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with ARK: Survival Evolved.
# Description: Resolves issues with ARK: Survival Evolved.

moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/fix_arma3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves an issue with ARMA3.
# Description: Resolves issues with ARMA3.

moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/fix_armar.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves an issue with Arma Reforger.
# Description: Resolves issues with Arma Reforger.

module_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/fix_av.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves startup issue with Avorion
# Description: Resolves issues with Avorion.

moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/fix_bo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Ballistic Overkill.
# Description: Resolves issues with Ballistic Overkill.

moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/fix_bt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves an issue with Barotrauma.
# Description: Resolves issues with Barotrauma.

module_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/fix_cmw.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves the issue of the not starting server on linux
# Description: Resolves issues with Chivalry: Medieval Warfare.

moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/fix_csgo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with CS:GO.
# Description: Resolves issues with Counter-Strike: Global Offensive.

moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/fix_dst.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Don't Starve Together.
# Description: Resolves issues with Don't Starve Together.

moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/fix_hw.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Hurtworld.
# Description: Resolves issues with Hurtworld.

moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/fix_ins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Insurgency.
# Description: Resolves issues with Insurgency.

moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/fix_kf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Killing Floor.
# Description: Resolves issues with Killing Floor.

moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/fix_kf2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Killing Floor 2.
# Description: Resolves issues with Killing Floor 2.

moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/fix_lo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# LinuxGSM fix_lo.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Description: Resolves installation issue with Last Oasis
# Description: Resolves various issues with Last Oasis.

moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/fix_mcb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves possible startup issue with Minecraft Bedrock.
# Description: Resolves various issues with Minecraft Bedrock.

moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/fix_mta.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Installs the libmysqlclient for database functions on the server.
# Description: Resolves various issues with Multi Theft Auto.

moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

Expand Down
14 changes: 14 additions & 0 deletions lgsm/modules/fix_pvr.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash
# LinuxGSM fix_pvr.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Pavlov VR.

moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

if [ ! -f "${serverfiles}/linux64/libc++.so" ] && [ -f "/usr/lib/x86_64-linux-gnu/libc++.so.1" ]; then
cp "/usr/lib/x86_64-linux-gnu/libc++.so.1" "${serverfiles}/linux64/libc++.so"
fi

export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${serverfiles}:${serverfiles}/linux64"
2 changes: 1 addition & 1 deletion lgsm/modules/fix_ro.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Red Orchestra.
# Description: Resolves issues with Red Orchestra.

moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/fix_rust.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves startup issue with Rust.
# Description: Resolves issues with Rust.

moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/fix_rw.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Rising World.
# Description: Resolves issues with Rising World.

moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/fix_samp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves issue that the default rcon password is not changed
# Description: Resolves issue that the default rcon password is not changed.

moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/fix_sdtd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with 7 Days to Die.
# Description: Resolves issues with 7 Days to Die.

moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/fix_sfc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Source Forts Classic.
# Description: Resolves issues with Source Forts Classic.

moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/fix_sof2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Soldier of Fortune 2.
# Description: Resolves issues with Soldier of Fortune 2.

moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/fix_squad.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Squad.
# Description: Resolves issues with Squad.

moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/fix_st.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves startup issue with Stationeers.
# Description: Resolves issues with Stationeers.

moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/fix_steamcmd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues related to SteamCMD.
# Description: Resolves issues with SteamCMD.

moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/fix_terraria.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves an issue with Terraria.
# Description: Resolves issues with Terraria.

moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/fix_tf2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Team Fortress 2.
# Description: Resolves issues with Team Fortress 2.

moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/fix_ts3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Teamspeak 3.
# Description: Resolves issues with Teamspeak 3.

moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/fix_unt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves startup issue with Unturned.
# Description: Resolves issues with Unturned.

moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/fix_ut.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Unreal Tournament.
# Description: Resolves issues with Unreal Tournament.

moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/fix_ut2k4.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Unreal Tournament 2004.
# Description: Resolves issues with Unreal Tournament 2004.

moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/fix_ut3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Unreal Tournament 3.
# Description: Resolves issues with Unreal Tournament 3.

moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/fix_vh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# LinuxGSM fix_rust.sh module
# Author: Alasdair Haig
# Website: https://linuxgsm.com
# Description: Resolves startup issue with Valheim
# Description: Resolves issues with Valheim,

moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/fix_wurm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Wurm Unlimited.
# Description: Resolves issues with Wurm Unlimited.

moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/fix_zmr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Zombie Master: Reborn.
# Description: Resolves issues with Zombie Master: Reborn.

moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

Expand Down

0 comments on commit 89ec08c

Please sign in to comment.