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

easiest way to fix install_docker #119

Merged
merged 1 commit into from
Jun 15, 2024
Merged

easiest way to fix install_docker #119

merged 1 commit into from
Jun 15, 2024

Conversation

bobuk
Copy link
Contributor

@bobuk bobuk commented Jun 1, 2024

Looks like nobody have tested install_docker last year.
the correct way to run it in docker (from steam account) is to uncomment this part

@mhixon4479
Copy link

mhixon4479 commented Jun 7, 2024

Hey,

Is this the only change you've made? I've rebuilt my image & it still segfaults on me:

cs2-modded-server    | CHostStateMgr::QueueNewRequest( Idle (console), 1 )
cs2-modded-server    | Source2Init OK
cs2-modded-server    | HostStateRequest::Start(HSR_IDLE):  loop(console) id(1) addons() desc(Idle (console))
cs2-modded-server    | SwitchToLoop console requested:  id [1] addons []
cs2-modded-server    | Host activate: Idle (console)
cs2-modded-server    | Loading map "de_dust2"
cs2-modded-server    | CHostStateMgr::QueueNewRequest( Loading (de_dust2), 2 )
cs2-modded-server    | Setting mapgroup to 'mg_active'
cs2-modded-server    | Could not reload plugin "/home/steam/cs2/game/csgo/addons/counterstrikesharp/plugins/disabled/RockTheVote/RockTheVote.dll"
cs2-modded-server    | HostStateRequest::Start(HSR_GAME):  loop(levelload) id(2) addons() desc(Loading (de_dust2))
cs2-modded-server    | SwitchToLoop levelload requested:  id [2] addons []
cs2-modded-server    | SV:  Level loading started for 'de_dust2'
cs2-modded-server    | CL:  CLoopModeLevelLoad::MaybeSwitchToGameLoop switching to "game" loopmode with addons ()
cs2-modded-server    | SwitchToLoop game requested:  id [2] addons []
cs2-modded-server    | SteamGameServer_Init()
cs2-modded-server    | Failed to initialize Steamworks SDK for gameserver.  Failed to load module '/home/steam/.steam/sdk64/steamclient.so'
cs2-modded-server    | dlopen failed trying to load:
cs2-modded-server    | /home/steam/.steam/sdk64/steamclient.so
cs2-modded-server    | with error:
cs2-modded-server    | /home/steam/.steam/sdk64/steamclient.so: cannot open shared object file: No such file or directory
cs2-modded-server    | [S_API] SteamAPI_Init(): Failed to load module '/home/steam/.steam/sdk64/steamclient.so'
cs2-modded-server    |  0 Failed to initialize Steamworks SDK for gameserver.  Failed to load module '/home/steam/.steam/sdk64/steamclient.so'
cs2-modded-server    |
cs2-modded-server    | /home/cs2-modded-server/install_docker.sh: line 207:   113 Segmentation fault      sudo -u $user /home/steam/cs2/game/bin/linuxsteamrt64/cs2 -dedicated -console -usercon -autoupdate -tickrate $TICKRATE $IP_ARGS -port $PORT +map de_dust2 -maxplayers $MAXPLAYERS -authkey $API_KEY +sv_setsteamaccount $STEAM_ACCOUNT +game_type 0 +game_mode 0 +mapgroup mg_active
cs2-modded-server exited with code 139

@bobuk
Copy link
Contributor Author

bobuk commented Jun 8, 2024

Yes. But the problem in your case is that you cannot change it locally. Look at the Dockerfile, it pulling all the code from github, not from the local directory.
So you have two options 1. wait till the author fix the problem or 2. change address of repo in Dockerfile (to my repo f.e.)

@mhixon4479
Copy link

mhixon4479 commented Jun 8, 2024

You're 100% right. This one's on me🤦‍♂️

Edit: Slava Ukraini

@kus kus merged commit 140a8b2 into kus:master Jun 15, 2024
@kus
Copy link
Owner

kus commented Jun 15, 2024

Thanks @bobuk

mavproductions added a commit to mavproductions/cs2-modded-server that referenced this pull request Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants