speedvoltage / hl2dm-bugfix

Half-Life 2: Deathmatch w/ Bug Fixes, QoL Improvements and Added Features
https://developer.valvesoftware.com/wiki/SDK2013_GettingStarted
Other
15 stars 1 forks source link

Crash StartUP state #3

Closed crywolfy closed 1 week ago

crywolfy commented 1 week ago

Redirecting stderr to '/home/container/Steam/logs/stderr.txt' Logging directory: '/home/container/Steam/logs' [ 0%] Checking for available updates... [----] Verifying installation... UpdateUI: skip show logoSteam Console Client (c) Valve Corporation - version 1731433425 -- type 'quit' to exit -- Loading Steam API...OK Connecting anonymously to Steam Public...OK Waiting for client config...OK Waiting for user info...OK Success! App '1007' already up to date. Success! App '232370' already up to date. :/home/container$ ./srcds_run -game hl2mp cstrike -console -port ${SERVER_PORT} +map ${SRCDS_MAP} +sv_setsteamaccount ${STEAM_TOKEN} +ip 0.0.0.0 -strictportbind -norestart -maxplayers 24 Auto detecting CPU Using default binary: ./srcds_linux Enabling debug mode Using shader api: shaderapiempty_srv.so Using Breakpad minidump system. Version: 9353550 AppID: 232370 Setting breakpad minidump AppID = 232370 Using breakpad crash handler File hash information not found: Hashing all VPK files for pure server operation. Loaded 0 VPK file hashes from /home/container/hl2mp/custom/Exploit_Patches.vpk for pure server operation. File hash information not found: Hashing all VPK files for pure server operation. Loaded 0 VPK file hashes from /home/container/hl2mp/custom/Exploit_Patches.vpk for pure server operation. Loaded 11 VPK file hashes from /home/container/hl2mp/hl2mp_pak.vpk for pure server operation. Loaded 11 VPK file hashes from /home/container/hl2mp/hl2mp_pak.vpk for pure server operation. Loaded 1231 VPK file hashes from /home/container/hl2/hl2_textures.vpk for pure server operation. Loaded 574 VPK file hashes from /home/container/hl2/hl2_sound_vo_english.vpk for pure server operation. Loaded 383 VPK file hashes from /home/container/hl2/hl2_sound_misc.vpk for pure server operation. Loaded 448 VPK file hashes from /home/container/hl2/hl2_misc.vpk for pure server operation. Loaded 5 VPK file hashes from /home/container/platform/platform_misc.vpk for pure server operation. ConVarRef mat_dxlevel doesn't point to an existing ConVar server_srv.so loaded for "Classic Deathmatch" Segmentation fault cat: hlds.43.pid: No such file or directory email debug.log to linux@valvesoftware.com Sat Nov 23 06:26:10 UTC 2024: Server Quit container@pterodactyl~ Server marked as offline... [Pterodactyl Daemon]: ---------- Detected server process in a crashed state! ---------- [Pterodactyl Daemon]: Exit code: 130 [Pterodactyl Daemon]: Out of memory: false [Pterodactyl Daemon]: Aborting automatic restart, last crash occurred less than 60 seconds ago. [Pterodactyl Daemon]: Updating process configuration files... [Pterodactyl Daemon]: Ensuring file permissions are set correctly, this could take a few seconds...

changing back server_srv.so to original , server starts , im assuming this is to blame This: https://gist.github.com/Adrianilloo/6359896e79b6b135d3c925c627c9554b#loose-fixes i have tryed bouth ways.

yurakone commented 1 week ago

Recording 2024-11-23 103112 - frame at 0m2s

https://github.com/user-attachments/assets/f1fb32d4-f453-47e4-9c44-f9e18bbe802d

Same crashes at start on Windows.

Clean SteamCMD installation, without addons.

speedvoltage commented 1 week ago

Windows works fine. Set your srcds to prerelease with -beta prerelease in steamcmd.

image

For Linux, I have not been able to test it so far, so I will get back to you with details, but other folks are also having issues with Linux, so hang tight.

crywolfy commented 1 week ago

Seems like -beta prerelease works on linux too , but it cannot be used because -beta prerelease maps have different CRC and such default HL2DM from steam without -beta prerelease cannot connect Either different map error, or server is using a newer version.

You should be compiled the binary for -beta beta branch to work with current servers and not '-beta prerelease'

yurakone commented 1 week ago

Seems like -beta prerelease works on linux too , but it cannot be used because -beta prerelease maps have different CRC and such default HL2DM from steam without -beta prerelease cannot connect Either different map error, or server is using a newer version.

You should be compiled the binary for -beta beta branch to work with current servers and not '-beta prerelease'

-beta prerelease have 9353550 patch/server/client version, the same as public release. You can just use public versions of maps, it's easier than compiling binaries.

speedvoltage commented 1 week ago

image Tested with Debian 12. The server boots.

Seems like -beta prerelease works on linux too , but it cannot be used because -beta prerelease maps have different CRC and such default HL2DM from steam without -beta prerelease cannot connect Either different map error, or server is using a newer version.

You should be compiled the binary for -beta beta branch to work with current servers and not '-beta prerelease'

Replace the SRCDS maps with the ones from your game to match. You cannot boot the server in anything other than -beta prerelease.

I have updated the instructions in the latest release.

Since Windows and Linux work following the instructions in the latest release, I will close this issue.