Skip to content

Commit

Permalink
Fix: Hotfix 2023-11-23 hlds update (#169)
Browse files Browse the repository at this point in the history
Co-authored-by: joe <[email protected]>
  • Loading branch information
leojonathanoh and joeltimothyoh authored Nov 27, 2023
1 parent fc94fe2 commit e6b28e0
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 25 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci-master-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ on:
jobs:
test-build-hlds:
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' || github.repository_owner != 'startersclan'
steps:
- uses: actions/checkout@v3
- name: Test build
Expand Down
8 changes: 8 additions & 0 deletions build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,14 @@ RUN echo "[BUILD] Applying game fixes"; \
# Create steam_appid.txt containing the game's appid to prevent crashes on first run
echo "[BUILD] CLIENT_APPID: $CLIENT_APPID"; \
echo "$CLIENT_APPID" > "$SERVER_DIR/steam_appid.txt"; \
# Create necessary symlinks for hlds
if [ "$APPID" = 90 ]; then \
echo "[UPDATE] Applying hotfixes for hlds"; \
# Hotfix "Error:./libstdc++.so.6: version CXXABI_1.3.8' not found"
ln -sfnv /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 /server/libgcc_s.so.1; \
ln -sfnv /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /server/libstdc++.so.6; \
ln -sfnv /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /steamcmd/linux32/libstdc++.so.6; \
fi; \
# Create necessary symlinks for srcds/cs2
if [ "$APPID" = 730 ]; then \
mkdir -p /root/.steam/sdk64; \
Expand Down
4 changes: 2 additions & 2 deletions test/build-hlds-cstrike.env
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ APPID=90
CLIENT_APPID=10
GAME=cstrike
MOD=cstrike
FIX_APPMANIFEST=true
FIX_APPMANIFEST=
INSTALL_COUNT=
LATEST=true
CACHE=
NO_CACHE=
NO_TEST=
NO_PUSH=true
STEAM_LOGIN=true
STEAM_LOGIN=
61 changes: 40 additions & 21 deletions test/hlds-valve
Original file line number Diff line number Diff line change
@@ -1,21 +1,40 @@

Console initialized.
Using breakpad crash handler
Setting breakpad minidump AppID = 70
Forcing breakpad minidump interfaces to load
dlopen failed trying to load:
/root/.steam/sdk32/steamclient.so
with error:
/root/.steam/sdk32/steamclient.so: cannot open shared object file: No such file or directory
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Protocol version 48
Exe version 1.1.2.2/Stdio (valve)
Exe build: 17:23:32 May 24 2018 (7882)
STEAM Auth Server
Protocol version 48
Exe version 1.1.2.2/Stdio (valve)
Exe build: 21:47:32 Aug 8 2018 (7882)
Server IP address 172.16.0.2:27015
couldn't exec listip.cfg
couldn't exec banned.cfg

Console initialized.
Using breakpad crash handler
Setting breakpad minidump AppID = 70
Forcing breakpad minidump interfaces to load
dlopen failed trying to load:
/root/.steam/sdk32/steamclient.so
with error:
/root/.steam/sdk32/steamclient.so: cannot open shared object file: No such file or directory
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Protocol version 48
Exe version 1.1.2.2/Stdio (valve)
Exe build: 17:23:32 May 24 2018 (7882)
STEAM Auth Server

Protocol version 48
Exe version 1.1.2.2/Stdio (valve)
Exe build: 21:47:32 Aug 8 2018 (7882)
Server IP address 172.16.0.2:27015
couldn't exec listip.cfg
couldn't exec banned.cfg

Console initialized.
Using breakpad crash handler
Setting breakpad minidump AppID = 70
Forcing breakpad minidump interfaces to load
dlopen failed trying to load:
/root/.steam/sdk32/steamclient.so
with error:
/root/.steam/sdk32/steamclient.so: cannot open shared object file: No such file or directory
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Protocol version 48
Exe version 1.1.2.2/Stdio (valve)
Exe build: 19:52:19 Aug 3 2020 (8684)
STEAM Auth Server
Server IP address 172.17.0.3:27015
couldn't exec listip.cfg
couldn't exec banned.cfg
2 changes: 1 addition & 1 deletion test/update-hlds-cstrike.env
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ NO_PULL=true
NO_CACHE=
NO_TEST=
NO_PUSH=true
STEAM_LOGIN=true
STEAM_LOGIN=
7 changes: 7 additions & 0 deletions update/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ RUN --mount=type=secret,id=STEAM_USERNAME \
ls -al "$SERVER_DIR/steamapps"; \
i=$(( i+1 )); \
done; \
if [ "$APPID" = 90 ]; then \
echo "[UPDATE] Applying hotfixes for hlds"; \
# Hotfix "Error:./libstdc++.so.6: version CXXABI_1.3.8' not found"
ln -sfnv /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 /server/libgcc_s.so.1; \
ln -sfnv /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /server/libstdc++.so.6; \
ln -sfnv /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /steamcmd/linux32/libstdc++.so.6; \
fi; \
echo "[UPDATE] Performing cleanup"; \
# Clean up a different set of files for srcds/cs2
if [ "$APPID" = 730 ]; then \
Expand Down

0 comments on commit e6b28e0

Please sign in to comment.