Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server crashes when PugSharp's added #180

Closed
shitfacevk opened this issue Mar 4, 2024 · 5 comments
Closed

Server crashes when PugSharp's added #180

shitfacevk opened this issue Mar 4, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@shitfacevk
Copy link

I try to add PugSharp with the package _PugSharp_with_cssharp_and_runtime_linux_0.1.5-beta.zip.

I run Pterodactyl gamepanel and use parkervcp's egg

it seems to have the necessary libs.

(steamrt sniper 0.20240125.75305)_apt@a37a32d1-d4af-42db-a01c-a1239ff6ade0:~$ apt list --installed |grep libicu
 
 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
 
 libicu67/oldstable,now 67.1-7 amd64 [installed,automatic]
 libicu67/oldstable,now 67.1-7 i386 [installed,automatic]

[Pterodactyl Daemon]: Pulling Docker container image, this could take a few minutes to complete...
Pulling from parkervcp/steamcmd 
Status: Image is up to date for ghcr.io/parkervcp/steamcmd:sniper 
Digest: sha256:5d29419e3595c7c9d2db4ff80dbf24df16927602695ea4afa537cf3abcc3e9ae 
[Pterodactyl Daemon]: Finished pulling Docker container image
steam user is not set.
Using anonymous user.
tid(22) burning pthread_key_t == 0 so we never use it
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 1709170084
-- 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 '730' already up to date.
:/home/container$ ./game/bin/linuxsteamrt64/cs2 -dedicated $( [ "$VAC_ENABLED" == "1" ] || printf %s ' -insecure' ) -ip 0.0.0.0 -port ${SERVER_PORT} -tv_port ${TV_PORT} -maxplayers ${MAX_PLAYERS} $( [ "$RCON_ENABLED" == "0" ] || printf %s ' -usercon' ) +game_mode ${GAME_MODE} +game_type ${GAME_TYPE} +map ${SRCDS_MAP} +hostname "${SERVER_NAME}" +sv_password "${SERVER_PASSWORD}" +rcon_password "${RCON_PASSWORD}" +sv_setsteamaccount ${STEAM_GSLT}
Loaded /home/container/game/bin/linuxsteamrt64/libengine2.so, got 0x5606b0bb0670
Console initialized.
Steam AppId(730), BreakpadId(2347771)
InitSteamLogin_Internal: Initializing breakpad.
Using breakpad crash handler
Steam Universe is invalid, possibly asking before Steam was successfully initialized.
ResetBreakpadAppId: Universe is 0 (k_EUniverseInvalid)
ResetBreakpadAppId: Setting dedicated server app id: 2347773
Setting breakpad minidump AppID = 2347773
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Loaded libSDL3.so.0, got 0x5606b0cae460
Loaded /home/container/game/bin/linuxsteamrt64/libtier0.so, got 0x5606b0b9a330
Visibility enabled.
Loaded /home/container/game/bin/linuxsteamrt64/libfilesystem_stdio.so, got 0x5606b0cae920
Unknown read error 21
USRLOCAL path not found!
Loaded /home/container/game/bin/linuxsteamrt64/liblocalize.so, got 0x5606b0cc0e40
Loaded /home/container/game/bin/linuxsteamrt64/librendersystemempty.so, got 0x5606b0cd2f30
Loaded /home/container/game/bin/linuxsteamrt64/libresourcesystem.so, got 0x5606b0ce5450
Loaded /home/container/game/bin/linuxsteamrt64/libschemasystem.so, got 0x5606b0cf7970
Trying to set dxlevel (111) which is higher than the card can support (110)!
Loaded /home/container/game/bin/linuxsteamrt64/libmaterialsystem2.so, got 0x5606b0d09a70
---------------
Path ID:             File Path:
ADDONS               "/home/container/game/csgo_addons/" 
CONTENT              "/home/container/content/csgo/addons/metamod/" 
CONTENT              "/home/container/content/csgo/" 
CONTENT              "/home/container/content/csgo_imported/" 
CONTENT              "/home/container/content/csgo_core/" 
CONTENT              "/home/container/content/core/" 
CONTENTADDONS        "/home/container/content/csgo_addons/" 
CONTENTROOT          "/home/container/content/" 
DEFAULT_WRITE_PATH   "/home/container/game/csgo/addons/metamod/" 
EXECUTABLE_PATH      "/home/container/game/bin/linuxsteamrt64/" 
GAME                 "/home/container/game/csgo/pak01.vpk" (vpk) /home/container/game/csgo/pak01.vpk
GAME                 "/home/container/game/csgo_imported/pak01.vpk" (vpk) /home/container/game/csgo_imported/pak01.vpk
GAME                 "/home/container/game/csgo_core/pak01.vpk" (vpk) /home/container/game/csgo_core/pak01.vpk
GAME                 "/home/container/game/core/pak01.vpk" (vpk) /home/container/game/core/pak01.vpk
GAME                 "/home/container/game/csgo/addons/metamod/" 
GAME                 "/home/container/game/csgo/" 
GAME                 "/home/container/game/csgo_imported/" 
GAME                 "/home/container/game/csgo_core/" 
GAME                 "/home/container/game/core/" 
GAMEBIN              "/home/container/game/csgo/addons/metamod/bin/linuxsteamrt64/" 
GAMEBIN              "/home/container/game/csgo/addons/metamod/bin/" 
GAMEBIN              "/home/container/game/csgo/bin/linuxsteamrt64/" 
GAMEBIN              "/home/container/game/csgo/bin/" 
GAMEBIN              "/home/container/game/csgo_imported/bin/linuxsteamrt64/" 
GAMEBIN              "/home/container/game/csgo_imported/bin/" 
GAMEBIN              "/home/container/game/csgo_core/bin/linuxsteamrt64/" 
GAMEBIN              "/home/container/game/csgo_core/bin/" 
GAMEBIN              "/home/container/game/core/bin/linuxsteamrt64/" 
GAMEBIN              "/home/container/game/core/bin/" 
GAMEROOT             "/home/container/game/" 
MOD                  "/home/container/game/csgo/pak01.vpk" (vpk) /home/container/game/csgo/pak01.vpk
MOD                  "/home/container/game/csgo_imported/pak01.vpk" (vpk) /home/container/game/csgo_imported/pak01.vpk
MOD                  "/home/container/game/csgo_core/pak01.vpk" (vpk) /home/container/game/csgo_core/pak01.vpk
MOD                  "/home/container/game/csgo/" 
MOD                  "/home/container/game/csgo_imported/" 
MOD                  "/home/container/game/csgo_core/" 
PLATFORM             "/home/container/game/core/pak01.vpk" (vpk) /home/container/game/core/pak01.vpk
PLATFORM             "/home/container/game/core/" 
SHADER_SOURCE        "/home/container/src/shaders/csgo/addons/metamod/" 
SHADER_SOURCE        "/home/container/src/shaders/csgo/" 
SHADER_SOURCE        "/home/container/src/shaders/csgo_imported/" 
SHADER_SOURCE        "/home/container/src/shaders/csgo_core/" 
SHADER_SOURCE        "/home/container/src/shaders/core/" 
SHADER_SOURCE_MOD    "/home/container/src/shaders/csgo/addons/metamod/" 
SHADER_SOURCE_ROOT   "/home/container/src/shaders/" 
command line arguments:
-dedicated -ip 0.0.0.0 -port 27015 -tv_port 27020 -maxplayers 12 -usercon +game_mode 1 +game_type 0 +map de_dust2 +hostname Capt. Shitface - InHouse +sv_setsteamaccount <protected>
protected command line arguments (stripped from above):
+sv_password <protected> +rcon_password <protected>
Loaded /home/container/game/bin/linuxsteamrt64/libmeshsystem.so, got 0x5606b0d1c3b0
Loaded /home/container/game/bin/linuxsteamrt64/libworldrenderer.so, got 0x5606b0d2e4b0
Loaded /home/container/game/bin/linuxsteamrt64/libpulse_system.so, got 0x5606b0d40df0
Loaded /home/container/game/bin/linuxsteamrt64/libvscript.so, got 0x5606b0d54f90
Loaded /home/container/game/bin/linuxsteamrt64/libnetworksystem.so, got 0x5606b0d67080
Loaded /home/container/game/bin/linuxsteamrt64/libanimationsystem.so, got 0x5606b0d7b6a0
Loaded /home/container/game/bin/linuxsteamrt64/libvphysics2.so, got 0x5606b0d91580
Loaded /home/container/game/bin/linuxsteamrt64/libsoundsystem.so, got 0x5606b0da46f0
Loaded /home/container/game/bin/linuxsteamrt64/libscenesystem.so, got 0x5606b0dba9f0
Loaded /home/container/game/bin/linuxsteamrt64/libv8system.so, got 0x5606b0dd0090
Network System Initialized
MOD desires lightbiner GPU but is unsupported by HW (SupportsCompute=0 CubeMapArrays=0)
Loaded /home/container/game/bin/linuxsteamrt64/libserver_valve.so, got (nil)
 failed to dlopen /home/container/game/bin/linuxsteamrt64/libserver_valve.so error=/home/container/game/bin/linuxsteamrt64/libserver_valve.so: cannot open shared object file: No such file or directory
 failed to dlopen "/home/container/game/bin/linuxsteamrt64/libserver_valve.so" error=/home/container/game/bin/linuxsteamrt64/libserver_valve.so: cannot open shared object file: No such file or directory
Loaded libserver_valve.so, got (nil)
 failed to dlopen libserver_valve.so error=libserver_valve.so: cannot open shared object file: No such file or directory
 failed to dlopen "libserver_valve.so" error=libserver_valve.so: cannot open shared object file: No such file or directory
Loaded /home/container/game/csgo/addons/metamod/bin/linuxsteamrt64/libserver.so, got 0x5606b0de9e90
Physics Console Communications is not initialized
Loaded /home/container/game/bin/linuxsteamrt64/libengine2.so, got 0x5606b0bb0670
Loaded /home/container/game/csgo/bin/linuxsteamrt64/libhost.so, got 0x5606b0e1b790
Loaded /home/container/game/bin/linuxsteamrt64/libscenefilecache.so, got 0x5606b0e2e900
Loaded /home/container/game/bin/linuxsteamrt64/libparticles.so, got 0x5606b0e40e20
Loaded /home/container/game/csgo/bin/linuxsteamrt64/libmatchmaking.so, got 0x5606b0e53b70
No .vcds loaded or no scenes/scenes.vrman
GameTypes: missing mapgroupsSP entry for game type/mode (custom/custom).
GameTypes: missing mapgroupsSP entry for game type/mode (cooperative/cooperative).
GameTypes: missing mapgroupsSP entry for game type/mode (cooperative/coopmission).
[23:33:37.088] CSSharp: Initializing
[23:33:37.089] CSSharp: CoreConfig loaded.
[23:33:37.113] CSSharp: Globals loaded.
/entrypoint.sh: line 87:    45 Segmentation fault      ./game/bin/linuxsteamrt64/cs2 -dedicated $( [ "$VAC_ENABLED" == "1" ] || printf %s ' -insecure' ) -ip 0.0.0.0 -port ${SERVER_PORT} -tv_port ${TV_PORT} -maxplayers ${MAX_PLAYERS} $( [ "$RCON_ENABLED" == "0" ] || printf %s ' -usercon' ) +game_mode ${GAME_MODE} +game_type ${GAME_TYPE} +map ${SRCDS_MAP} +hostname "${SERVER_NAME}" +sv_password "${SERVER_PASSWORD}" +rcon_password "${RCON_PASSWORD}" +sv_setsteamaccount ${STEAM_GSLT}
container@pterodactyl~ Server marked as offline...
[Pterodactyl Daemon]: ---------- Detected server process in a crashed state! ----------
[Pterodactyl Daemon]: Exit code: 139
[Pterodactyl Daemon]: Out of memory: false
[Pterodactyl Daemon]: Aborting automatic restart, last crash occurred less than 60 seconds ago.
@MD-V
Copy link
Contributor

MD-V commented Mar 8, 2024

pleas try v0.1.6-beta

@shitfacevk
Copy link
Author

pleas try v0.1.6-beta

Its working.

but cant load config.

[ALL] Ⓞ Capt. Shitface‎: !lcf inhouse.json
Loading Config from file inhouse.json
Loading config was not possible. Error: Failed loading config from /home/container/game/csgo/PugSharp/Config/inhouse.json.

/game/csgo/PugSharp/Config/inhouse.json

{
  "maplist": ["de_vertigo", "de_dust2", "de_inferno", "de_mirage", "de_nuke", "de_overpass", "de_ancient", "de_vertigo"],
  "num_maps": 1,
  "players_per_team": 6,
  "min_players_to_ready": 6,
  "max_rounds": 24,
  "max_overtime_rounds": 6,
  "vote_timeout": 60000,
  "vote_map": "de_inferno",
  "server_locale": "en"
}

@TheR00st3r
Copy link
Member

Hi,

sry for the late response.

The json is missing the required fields matchid, team1 and team2.
It would work this way:

{
    "matchid": "1",
    "maplist": ["de_vertigo", "de_dust2", "de_inferno", "de_mirage", "de_nuke", "de_overpass", "de_ancient", "de_vertigo"],
    "num_maps": 1,
    "players_per_team": 6,
    "min_players_to_ready": 6,
    "max_rounds": 24,
    "max_overtime_rounds": 6,
    "vote_timeout": 60000,
    "vote_map": "de_inferno",
    "server_locale": "en",
    "team1":{
        "id": "1",
        "name": "Team 1"
    },
    "team2":{
        "id": "2",
        "name": "Team 2"
    }
  }

For future versions I will provide some default values for this fields.

@Apfelwurm Apfelwurm added the bug Something isn't working label May 19, 2024
@Apfelwurm
Copy link
Member

@shitfacevk did it work out for you?

@shitfacevk
Copy link
Author

@shitfacevk did it work out for you?

Sorry for the late reply!
I haven't used the server for a long time. But from what i remember i got it working with you solution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants