Code Monkey home page Code Monkey logo

Comments (17)

Krumel avatar Krumel commented on August 15, 2024 2

Nice, thanks a lot! This also fixed my problems.

I think I stumbled upon this solution in my initial debugging, but dismissed it as being windows specific.

from space-engineers-dedicated-docker-linux.

Lucky4Luuk avatar Lucky4Luuk commented on August 15, 2024

Have you found a fix?

from space-engineers-dedicated-docker-linux.

Krumel avatar Krumel commented on August 15, 2024

Sadly not, but I haven't really tried since then. It might be worth a try to update the wine-version of the container, but I haven't found the time for that yet.

from space-engineers-dedicated-docker-linux.

Lucky4Luuk avatar Lucky4Luuk commented on August 15, 2024

Hmm, maybe. I tried updating the dll files and while it fixes the server running on my windows machine, the one running through this docker container now gives me a new error about there being no connection to steam possible, so I'm still stuck downloading mods. What have you done instead of running the server on debian, have you instead just bought a server online?

from space-engineers-dedicated-docker-linux.

Lucky4Luuk avatar Lucky4Luuk commented on August 15, 2024

Oh, I got it to work. The other error about downloading mods was caused by a mistake in my config. Updating the dll's as mentioned here worked!

from space-engineers-dedicated-docker-linux.

AManNamed2 avatar AManNamed2 commented on August 15, 2024

Hey man what was the mistake? Getting a similar issue

from space-engineers-dedicated-docker-linux.

mmmaxwwwell avatar mmmaxwwwell commented on August 15, 2024

Reading that aforementioned thread

Dalten • 2 months ago
solution found. keen you will need to hotfix 6 steam dll's in the DedicatedServer64 folder. In an updated copy of SteamCMD "C:\steamcmd\steamapps" in my case, the 6 dll's below need to be copied into the DedicatedServer64 directory, overwriting the older files.

steamclient.dll

steamclient64.dll

tier0_s.dll

tier0_s64.dll

vstdlib_s.dll

vstdlib_s64.dll

Thanks Nevcairiel for the workaround

from space-engineers-dedicated-docker-linux.

AManNamed2 avatar AManNamed2 commented on August 15, 2024

Nah I mean with SteamCMD claiming no connection. I've done the DLL change & while I can get it to work on windows without an issue my linux server does not agree
image

from space-engineers-dedicated-docker-linux.

mmmaxwwwell avatar mmmaxwwwell commented on August 15, 2024

What about this?

https://developer.valvesoftware.com/wiki/SteamCMD#Login_Failure:_No_Connection

from space-engineers-dedicated-docker-linux.

AManNamed2 avatar AManNamed2 commented on August 15, 2024

What about this?

https://developer.valvesoftware.com/wiki/SteamCMD#Login_Failure:_No_Connection

Haven't tried that but I also have very little idea of how to actually do it with pterodactyl. All I know is prior to updating the DLLs I was able to connect (and fail to download) and now I can't

from space-engineers-dedicated-docker-linux.

activedecay avatar activedecay commented on August 15, 2024

What about this?
https://developer.valvesoftware.com/wiki/SteamCMD#Login_Failure:_No_Connection

Haven't tried that but I also have very little idea of how to actually do it with pterodactyl. All I know is prior to updating the DLLs I was able to connect (and fail to download) and now I can't

The workaround for me was to just let the server keep running. Eventually, it figures itself out and downloads the mods. It doesn't take long, but it does take a few retries before it finally settles in.

Is there a way to change the image or change the docker scripts (I'm a complete newb) so that the DLL fix is in the code? I have a local repository clone and whenever I edit the entrypoint.bash I can't seem to get the image to contain my edits. Are the entry point files baked into the image when I use docker compose?

from space-engineers-dedicated-docker-linux.

mmmaxwwwell avatar mmmaxwwwell commented on August 15, 2024

The entry points are put in the container when the container is built. You can add a build section to your docker-compose.yml like here https://docs.docker.com/compose/compose-file/build/, and then run docker-compose build, then ./start. That should get you running with all your local changes. You will be replacing the image definition with the build definition in the docker-compose.yml.

from space-engineers-dedicated-docker-linux.

mmmaxwwwell avatar mmmaxwwwell commented on August 15, 2024

Another option is to use volume mounts to replace the entry point scripts. This way may be a little faster to iterate if your testing something.

from space-engineers-dedicated-docker-linux.

activedecay avatar activedecay commented on August 15, 2024
0@snake space-engineers-dedicated-docker-linux$ docker-compose build
se-server uses an image, skipping

I got "uses an image" errors when trying to build using master @174d1a8

--- a/entrypoint-space_engineers.bash
+++ b/entrypoint-space_engineers.bash
@@ -1,5 +1,13 @@
 #!/bin/bash
 source ~/.profile
 source ~/.bash_profile
+
+# temporary hack
+# fix dlls in the dedicated folder using the ones that come from the desktop SE client
+# because of a downloading issue (that should in an ideal world be resolved some day)
+cp /appdata/space-engineers/SpaceEngineersDedicated/steamclient64.dll /appdata/space-engineers/SpaceEngineersDedicated/DedicatedServer64/steamclient64.dll
+cp /appdata/space-engineers/SpaceEngineersDedicated/vstdlib_s64.dll  /appdata/space-engineers/SpaceEngineersDedicated/DedicatedServer64/vstdlib_s64.dll
+cp /appdata/space-engineers/SpaceEngineersDedicated/tier0_s64.dll /appdata/space-engineers/SpaceEngineersDedicated/DedicatedServer64/tier0_s64.dll
+
 cd /appdata/space-engineers/SpaceEngineersDedicated/DedicatedServer64/
 env WINEARCH=win64 WINEDEBUG=-all WINEPREFIX=/wineprefix wine /appdata/space-engineers/SpaceEngineersDedicated/DedicatedServer64/SpaceEngineersDedicated.exe -noconsole -path Z:\\appdata\\space-engineers\\SpaceEngineersDedicated -ignorelastsession

from space-engineers-dedicated-docker-linux.

mmmaxwwwell avatar mmmaxwwwell commented on August 15, 2024

Ah, you'll have to destroy the existing container with docker compose down first iirc

from space-engineers-dedicated-docker-linux.

activedecay avatar activedecay commented on August 15, 2024

Thanks for your help! pleasure working with you as always

The fix to get the patch inside the image was to stop and rm the container by running docker-compose down
Then change the docker-compose.yml file to include the line:

services:
  se-server:
+   build: .
    image: mmmaxwwwell/space-engineers-dedicated-docker-linux:latest
    container_name: space-engineers-dedicated-docker-linux
    restart: unless-stopped

Finally, run the docker-compose build and it creates a new image

$ docker images
REPOSITORY                                           TAG       IMAGE ID       CREATED          SIZE
mmmaxwwwell/space-engineers-dedicated-docker-linux   latest    d8162ae64176   10 minutes ago   4.02GB
mmmaxwwwell/space-engineers-dedicated-docker-linux   <none>    f4ba500786aa   11 months ago    4.02GB

Now, addressing the issue as it was written, and the original author's message about "Logging off Steam...", just let the server settle and it will eventually connect. I usually run the ./start script in this repository, and walk away. I think there's a restarting algorithm in the background that keeps trying if it's not up yet. I walked away and got some coffee and my SE server was up.

from space-engineers-dedicated-docker-linux.

mmmaxwwwell avatar mmmaxwwwell commented on August 15, 2024

It looks like the issue you were encountering has been resolved, and a new one for downloading the mods has replaced it. I have pushed a fix to the v2 branch, please test and re-open or open a new issue if you are still having problems.

from space-engineers-dedicated-docker-linux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.