Giter Club home page Giter Club logo

colony-survival-server's People

Contributors

dids avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

colony-survival-server's Issues

Cannot connect to server

Thank you for creating this docker image, I am trying to set it up, but seems like I am having some issues, hope you can give a helping hand :)

My configuration (docker-compose) looks like this:

  colony-survival:
    image: didstopia/colony-survival-server
    ports:
      - "27016:27016/udp"
      - "27016:27016/tcp"
      - "27017:27017/tcp"
    environment:
      - "SERVER_NAME=LOST WORLD"
      - "SERVER_PASSWORD=password"
    volumes:
      - './colony-survival:/steamcmd/colonysurvival'

This is the logs from the container

Logs
colony-survival_1  | ╔═════════════════════════════════════════════════╗
colony-survival_1  | ║    _____  _     _     _              _          ║
colony-survival_1  | ║   |  __ \(_)   | |   | |            (_)         ║
colony-survival_1  | ║   | |  | |_  __| |___| |_ ___  _ __  _  __ _    ║
colony-survival_1  | ║   | |  | | |/ _| / __| __/ _ \| |_ \| |/ _| |   ║
colony-survival_1  | ║   | |__| | | (_| \__ \ || (_) | |_) | | (_| |   ║
colony-survival_1  | ║   |_____/|_|\__|_|___/\__\___/| |__/|_|\__|_|   ║
colony-survival_1  | ║                               | |               ║
colony-survival_1  | ║                               |_|               ║
colony-survival_1  | ╠═════════════════════════════════════════════════╣
colony-survival_1  | ║ You are using an image that is based on         ║
colony-survival_1  | ║ a base image maintained by Didstopia.           ║
colony-survival_1  | ║                                                 ║
colony-survival_1  | ║ For more information:                           ║
colony-survival_1  | ║ https://github.com/Didstopia/docker-base-images ║
colony-survival_1  | ╚═════════════════════════════════════════════════╝
colony-survival_1  |
colony-survival_1  |
colony-survival_1  | Running as user: docker
colony-survival_1  | Setting up scheduled jobs..
colony-survival_1  |  * Starting enhanced syslogd rsyslogd
colony-survival_1  | rsyslogd: imklog: cannot open kernel log (/proc/kmsg): Operation not permitted.
colony-survival_1  | rsyslogd: activation of module imklog failed [v8.32.0 try http://www.rsyslog.com/e/2145 ]
colony-survival_1  |    ...done.
colony-survival_1  |  * Starting periodic command scheduler cron
colony-survival_1  |    ...done.
colony-survival_1  | Scheduled jobs now running!
colony-survival_1  |
colony-survival_1  | Updating Colony Survival..
colony-survival_1  |
colony-survival_1  | Redirecting stderr to '/app/Steam/logs/stderr.txt'
colony-survival_1  | [  0%] Checking for available updates...
colony-survival_1  | [----] Verifying installation...
colony-survival_1  | Steam Console Client (c) Valve Corporation - version 1676336512
colony-survival_1  | -- type 'quit' to exit --
colony-survival_1  | Loading Steam API...OK
colony-survival_1  | @sSteamCmdForcePlatformType linux
colony-survival_1  | "@sSteamCmdForcePlatformType" = "linux"
colony-survival_1  |
colony-survival_1  | Connecting anonymously to Steam Public...OK
colony-survival_1  | Waiting for client config...OK
colony-survival_1  | Waiting for user info...OK
colony-survival_1  | force_install_dir /steamcmd/colonysurvival
colony-survival_1  | Please use force_install_dir before logon!
colony-survival_1  | app_info_update 1
colony-survival_1  | app_update 748090 validate
colony-survival_1  |  Update state (0x5) verifying install, progress: 0.77 (1345388 / 174293679)
colony-survival_1  |  Update state (0x5) verifying install, progress: 60.54 (105508723 / 174293679)
colony-survival_1  | Success! App '748090' fully installed.
colony-survival_1  | quit
colony-survival_1  |
colony-survival_1  | Starting Colony Survival..
colony-survival_1  |
colony-survival_1  | [UnityMemory] Configuration Parameters - Can be set up in boot.config
colony-survival_1  |     "memorysetup-bucket-allocator-granularity=16"
colony-survival_1  |     "memorysetup-bucket-allocator-bucket-count=8"
colony-survival_1  |     "memorysetup-bucket-allocator-block-size=4194304"
colony-survival_1  |     "memorysetup-bucket-allocator-block-count=1"
colony-survival_1  |     "memorysetup-main-allocator-block-size=16777216"
colony-survival_1  |     "memorysetup-thread-allocator-block-size=16777216"
colony-survival_1  |     "memorysetup-gfx-main-allocator-block-size=16777216"
colony-survival_1  |     "memorysetup-gfx-thread-allocator-block-size=16777216"
colony-survival_1  |     "memorysetup-cache-allocator-block-size=4194304"
colony-survival_1  |     "memorysetup-typetree-allocator-block-size=2097152"
colony-survival_1  |     "memorysetup-profiler-bucket-allocator-granularity=16"
colony-survival_1  |     "memorysetup-profiler-bucket-allocator-bucket-count=8"
colony-survival_1  |     "memorysetup-profiler-bucket-allocator-block-size=4194304"
colony-survival_1  |     "memorysetup-profiler-bucket-allocator-block-count=1"
colony-survival_1  |     "memorysetup-profiler-allocator-block-size=16777216"
colony-survival_1  |     "memorysetup-profiler-editor-allocator-block-size=1048576"
colony-survival_1  |     "memorysetup-temp-allocator-size-main=4194304"
colony-survival_1  |     "memorysetup-job-temp-allocator-block-size=2097152"
colony-survival_1  |     "memorysetup-job-temp-allocator-block-size-background=1048576"
colony-survival_1  |     "memorysetup-job-temp-allocator-reduction-small-platforms=262144"
colony-survival_1  |     "memorysetup-temp-allocator-size-background-worker=32768"
colony-survival_1  |     "memorysetup-temp-allocator-size-job-worker=262144"
colony-survival_1  |     "memorysetup-temp-allocator-size-preload-manager=262144"
colony-survival_1  |     "memorysetup-temp-allocator-size-nav-mesh-worker=65536"
colony-survival_1  |     "memorysetup-temp-allocator-size-audio-worker=65536"
colony-survival_1  |     "memorysetup-temp-allocator-size-cloud-worker=32768"
colony-survival_1  |     "memorysetup-temp-allocator-size-gfx=262144"
colony-survival_1  | Mono path[0] = '/steamcmd/colonysurvival/colonyserver_Data/Managed'
colony-survival_1  | Mono config path = '/steamcmd/colonysurvival/colonyserver_Data/MonoBleedingEdge/etc'
colony-survival_1  | Preloaded 'lib_burst_generated.so'
colony-survival_1  | Preloaded 'libe_sqlite3.so'
colony-survival_1  | Preloaded 'libsteam_api.so'
colony-survival_1  | Loading player data from /steamcmd/colonysurvival/colonyserver_Data/data.unity3d
colony-survival_1  | Initialize engine version: 2021.3.14f1 (eee1884e7226)
colony-survival_1  | [Subsystems] Discovering subsystems at path /steamcmd/colonysurvival/colonyserver_Data/UnitySubsystems
colony-survival_1  | Forcing GfxDevice: Null
colony-survival_1  | GfxDevice: creating device client; threaded=0; jobified=0
colony-survival_1  | NullGfxDevice:
colony-survival_1  |     Version:  NULL 1.0 [1.0]
colony-survival_1  |     Renderer: Null Device
colony-survival_1  |     Vendor:   Unity Technologies
colony-survival_1  | Begin MonoManager ReloadAssembly
colony-survival_1  | - Completed reload, in  0.166 seconds
colony-survival_1  | ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
colony-survival_1  | ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
colony-survival_1  | ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
colony-survival_1  | ERROR: Shader GUI/Text Shader shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
colony-survival_1  | WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - All subshaders removed
colony-survival_1  | WARNING: Shader Did you use #pragma only_renderers and omit this platform?
colony-survival_1  | WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?colony-survival_1  | ERROR: Shader Legacy Shaders/Diffuse shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
colony-survival_1  | WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - All subshaders removed
colony-survival_1  | WARNING: Shader Did you use #pragma only_renderers and omit this platform?
colony-survival_1  | WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?colony-survival_1  | UnloadTime: 1.313246 ms
colony-survival_1  | Current directory: /steamcmd/colonysurvival, launch arg: /steamcmd/colonysurvival/colonyserver.x86_64
colony-survival_1  | New current directory: /steamcmd/colonysurvival
colony-survival_1  | [2023-02-24_07-45-46][Log]:Thread log (Re)started
colony-survival_1  | [2023-02-24_07-45-46][Log]:Detected version 0.9.0.44
colony-survival_1  | [2023-02-24_07-45-46][Log]:Current version: 0.9.0.44
colony-survival_1  | [2023-02-24_07-45-47][Log]:Acquired server file lock
colony-survival_1  | [2023-02-24_07-45-47][Log]:Loading world named [LOST WORLD]
colony-survival_1  | [2023-02-24_07-45-47][Log]:dedicated steam sdk workaround: /app/.steam/sdk64/steamclient.so found, doing nothing
colony-survival_1  | [2023-02-24_07-45-47][Log]:Loading mod Colony Survival Localization 0.9.0
colony-survival_1  | [2023-02-24_07-45-47][Log]:Loading mod Colony Survival 0.9.0
colony-survival_1  | [2023-02-24_07-45-47][Log]:Registered 94 & 95 callbackhandlers/interfaces, and 63 implementation instances
colony-survival_1  | [2023-02-24_07-45-47][Log]:Mod: AfterModsLoaded
colony-survival_1  | [2023-02-24_07-45-47][Log]:Waiting for patches of type AudioPatch to load...
colony-survival_1  | [2023-02-24_07-45-47][Log]:Read worldDB version 4
colony-survival_1  | [2023-02-24_07-45-47][Log]:Mod: AfterSelectedWorld
colony-survival_1  | [2023-02-24_07-45-47][Log]:Mod: AddItemTypes
colony-survival_1  | [2023-02-24_07-45-47][Log]:Mod: AfterAddingBaseTypes
colony-survival_1  | [2023-02-24_07-45-48][Log]:Found 83 registered researchables
colony-survival_1  | [2023-02-24_07-45-48][Log]:All startup chunks loaded
colony-survival_1  | [2023-02-24_07-45-48][Log]:Mod: AfterItemTypesDefined
colony-survival_1  | [2023-02-24_07-45-48][Log]:Mod: AfterWorldLoad
colony-survival_1  | [2023-02-24_07-45-48][Log]:Initialized ServerManager
colony-survival_1  | [2023-02-24_07-45-48][Log]:Initializing networking of type: SteamOnline
colony-survival_1  | [2023-02-24_07-45-48][Log]:Hosting on 0.0.0.0:27016
colony-survival_1  | [S_API] SteamAPI_Init(): Loaded local 'steamclient.so' OK.
colony-survival_1  | [2023-02-24_07-45-48][Log]:Completed loading near-banner chunks queued from startup
colony-survival_1  | CAppInfoCacheReadFromDiskThread took 17 milliseconds to initialize
colony-survival_1  | ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
colony-survival_1  | Setting breakpad minidump AppID = 366090
colony-survival_1  | [S_API FAIL] Tried to access Steam interface SteamNetworkingUtils004 before SteamAPI_Init succeeded.
colony-survival_1  | [2023-02-24_07-45-48][Log]:[SteamAPI] SteamManager Initialized.
colony-survival_1  | [2023-02-24_07-45-48][Log]:Starting networking type SteamOnline
colony-survival_1  | [2023-02-24_07-45-48][Log]:[UPnP/PMP] Starting NAT discovery for automatic port forwarding
colony-survival_1  | [2023-02-24_07-45-48][Log]:Mod: AfterNetworkSetup
colony-survival_1  | [2023-02-24_07-45-49][Log]:[SteamAPI] Connected to steam servers with public IP = <redacted>
colony-survival_1  | [2023-02-24_07-46-04][Log]:[UPnP/PMP] Completed NAT discovery
colony-survival_1  | [2023-02-24_07-50-47][Log]:Autosaved world in 31.2773 ms
colony-survival_1  | [2023-02-24_07-55-47][Log]:Autosaved world in 0.7399 ms
colony-survival_1  | [2023-02-24_08-00-47][Log]:Autosaved world in 0.6797 ms

For me it looks like it should have started up successfully by these logs, and telnetting to on port 27016 makes it connect. However there are no response on the steam port 27017.
So when using the add new server tool in Steam, it keeps saying server is not responding.

Any help would be highly appreciated :)

A couple newb questions

Hi Dids! Thanks for putting this dedicated server together. I couldn't get the classic steamcmd method to work due to some unknown steam networking issue (seen here).

But this docker method works! I'm not familiar with Linux or Docker, so I had a few troubles. I thought it might be helpful for myself and others if you could add a couple more instructions to the readme:

  1. What order of .sh commands should be run and when should we use the others? It looks like docker_build.sh and docker_run.sh worked.

  2. You mention you can use two environment variables to configure the server. How do you set those up? I tried setting up standard Linux environment variables via the export command, but they don't seem to get passed into docker.

Thanks!

0.7.0 update

The new update removed the colonyserverdedicated.exe file and made things a bit trickier to run.

I’m not behind my computer right now but to fix this you should:

  • copy over steamclient.so from linux64/steamclient.so to ~/.steam/sdk64/steamclient.so after the update/installation of colony survival
  • forward port 27004 instead of 27016
  • change colonyserverdedicated.exe in server.sh to colonyserver.x86_64 without mono
  • and possibly add the following parameters to the server command colonyserver.x86_64 -batchmode -nographics ...

Not showing up in Server List

I have the server up and running and port forwarded 27016-17 on my router but am still unable to see the server in the server list. Is there anything else I'm missing?

version: '2'
services:
  colony:
    image: didstopia/colony-survival-server
    environment:
      SERVER_NAME: foo
      SERVER_PASSWORD: bar
    ports:
      - "27016:27016"
      - "27017:27017/tcp"
    volumes:
      - "...:/steamcmd/colonysurvival"
    restart: always

No errors in the logs.

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.