Colony Survival

Colony Survival

Zobrazit statistiky:
Using mods on a server does not work
Hello,

I'm running a CS Server (0.9.1.3) on Debian Linux, the game is running great. Now I try to install a mod, successfull:

steam@server:~/colonysurvival/steamapps$ /home/steam/steamcmd/steamcmd.sh +force_install_dir "/home/steam/colonysurvival/" +login USERNAME +workshop_download_item 366090 1929738051 Redirecting stderr to '/home/steam/Steam/logs/stderr.txt' [ 0%] Checking for available updates... [----] Verifying installation... Steam Console Client (c) Valve Corporation - version 1679680174 -- type 'quit' to exit -- Loading Steam API...OK Logging in user 'USERNAME' to Steam Public...FAILED (invalid cached credentials) password: Enter the current code from your Steam Guard Mobile Authenticator app Two-factor code:XXXXX OK Waiting for client config...OK Waiting for user info...OK Downloading item 1929738051 ... Success. Downloaded item 1929738051 to "/home/steam/colonysurvival/steamapps/workshop/content/366090/1929738051" (343784 bytes) Steam>

I found this howto:

https://colonysurvival.fandom.com/wiki/Dedicated_Server#Mods

But the command from this howto

ln -s /home/steam/colonysurvival/steamapps/workshop/content/366090/1929738051 Sign

makes no sense?

I have new folder with the mod /home/steam/colonysurvival/steamapps/workshop/content/366090/1929738051/ with the contend

autoload icons localization meshes modInfo.json modInfo.json-original Sign.dll

And I have create the file /home/steam/colonysurvival/gamedata/savegames/Test\ World/modstate.json:

{"Enabled":true,"ModName":"1929738051","ModVersionLastKnown":"0.1.2.0"}

But I have no Sign in the game. Any ideas whats wrong?

If I start a singleplayer game I can select and use the mod ingame.
Naposledy upravil Exxter; 29. dub. 2023 v 8.31
< >
Zobrazeno 14 z 4 komentářů
you have downloaded the mods to the colonysurvival mods folder when you need to download them to the colonysurvivaldedicatedserver mods folder

this is why you can use it in singleplayer
Thx for your answer, but it does not work. I copy the folder to /home/steam/colonysurvival/gamedata/mods/ (this is the only folder called "mods" I have). I restart the server but the mod is not installed on the server.

I start the server with a simple bash-Script:

#!/bin/bash echo "Starte CS-Server ..." cd /home/steam/colonysurvival ./colonyserver.x86_64 -batchmode -nographics +server.world "Test World" +server.networktype SteamOnline +server.name "DE/GER" +server.rconpassword XXXXXX exit 0

And the mod-folder ( I translate the mod to german, because this there is a file called modInfo.json-original):

root@sa /home/steam/colonysurvival # ls gamedata/mods/1929738051/ autoload icons localization meshes modInfo.json modInfo.json-original Sign.dll root@sa /home/steam/colonysurvival #

No idea whats wrong?

The complete server start output:

steam@server:~/colonysurvival$ ./start.sh Starte CS-Server ... [UnityMemory] Configuration Parameters - Can be set up in boot.config "memorysetup-bucket-allocator-granularity=16" "memorysetup-bucket-allocator-bucket-count=8" "memorysetup-bucket-allocator-block-size=4194304" "memorysetup-bucket-allocator-block-count=1" "memorysetup-main-allocator-block-size=16777216" "memorysetup-thread-allocator-block-size=16777216" "memorysetup-gfx-main-allocator-block-size=16777216" "memorysetup-gfx-thread-allocator-block-size=16777216" "memorysetup-cache-allocator-block-size=4194304" "memorysetup-typetree-allocator-block-size=2097152" "memorysetup-profiler-bucket-allocator-granularity=16" "memorysetup-profiler-bucket-allocator-bucket-count=8" "memorysetup-profiler-bucket-allocator-block-size=4194304" "memorysetup-profiler-bucket-allocator-block-count=1" "memorysetup-profiler-allocator-block-size=16777216" "memorysetup-profiler-editor-allocator-block-size=1048576" "memorysetup-temp-allocator-size-main=4194304" "memorysetup-job-temp-allocator-block-size=2097152" "memorysetup-job-temp-allocator-block-size-background=1048576" "memorysetup-job-temp-allocator-reduction-small-platforms=262144" "memorysetup-temp-allocator-size-background-worker=32768" "memorysetup-temp-allocator-size-job-worker=262144" "memorysetup-temp-allocator-size-preload-manager=262144" "memorysetup-temp-allocator-size-nav-mesh-worker=65536" "memorysetup-temp-allocator-size-audio-worker=65536" "memorysetup-temp-allocator-size-cloud-worker=32768" "memorysetup-temp-allocator-size-gfx=262144" Mono path[0] = '/home/steam/colonysurvival/colonyserver_Data/Managed' Mono config path = '/home/steam/colonysurvival/colonyserver_Data/MonoBleedingEdge/etc' Preloaded 'lib_burst_generated.so' Preloaded 'libe_sqlite3.so' Preloaded 'libsteam_api.so' Loading player data from /home/steam/colonysurvival/colonyserver_Data/data.unity3d Initialize engine version: 2021.3.14f1 (eee1884e7226) [Subsystems] Discovering subsystems at path /home/steam/colonysurvival/colonyserver_Data/UnitySubsystems Forcing GfxDevice: Null GfxDevice: creating device client; threaded=0; jobified=0 NullGfxDevice: Version: NULL 1.0 [1.0] Renderer: Null Device Vendor: Unity Technologies Begin MonoManager ReloadAssembly - Completed reload, in 0.085 seconds ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable) ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable) ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable) ERROR: Shader GUI/Text Shader shader is not supported on this GPU (none of subshaders/fallbacks are suitable) WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - All subshaders removed WARNING: Shader Did you use #pragma only_renderers and omit this platform? WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off? ERROR: Shader Legacy Shaders/Diffuse shader is not supported on this GPU (none of subshaders/fallbacks are suitable) WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - All subshaders removed WARNING: Shader Did you use #pragma only_renderers and omit this platform? WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off? UnloadTime: 1.046848 ms Current directory: /home/steam/colonysurvival, launch arg: ./colonyserver.x86_64 New current directory: /home/steam/colonysurvival [2023-04-29_14-07-48][Log]:Thread log (Re)started [2023-04-29_14-07-48][Log]:Detected version 0.9.1.3 [2023-04-29_14-07-48][Log]:Current version: 0.9.1.3 [2023-04-29_14-07-48][Log]:Acquired server file lock [2023-04-29_14-07-48][Log]:Loading world named [Test World] [2023-04-29_14-07-48][Log]:dedicated steam sdk workaround: /home/steam/.steam/sdk64/steamclient.so found, doing nothing [2023-04-29_14-07-48][Log]:Loading mod Colony Survival Localization 0.9.0 [2023-04-29_14-07-48][Log]:Loading mod Colony Survival 0.9.0 [2023-04-29_14-07-48][Log]:Registered 94 & 95 callbackhandlers/interfaces, and 63 implementation instances [2023-04-29_14-07-48][Log]:Mod: AfterModsLoaded [2023-04-29_14-07-49][Log]:Waiting for patches of type AudioPatch to load... [2023-04-29_14-07-49][Log]:Read worldDB version 4 [2023-04-29_14-07-49][Log]:Mod: AfterSelectedWorld [2023-04-29_14-07-49][Log]:Mod: AddItemTypes [2023-04-29_14-07-49][Log]:Mod: AfterAddingBaseTypes [2023-04-29_14-07-49][Log]:Found 83 registered researchables [2023-04-29_14-07-49][Log]:All startup chunks loaded [2023-04-29_14-07-49][Log]:Mod: AfterItemTypesDefined [2023-04-29_14-07-49][Log]:Mod: AfterWorldLoad [2023-04-29_14-07-49][Log]:Initialized ServerManager [2023-04-29_14-07-49][Log]:Initializing networking of type: SteamOnline [2023-04-29_14-07-49][Log]:Hosting on 0.0.0.0:27004 dlopen failed trying to load: steamclient.so with error: steamclient.so: cannot open shared object file: No such file or directory [S_API] SteamAPI_Init(): Loaded '/home/steam/.steam/sdk64/steamclient.so' OK. (First tried local 'steamclient.so') CAppInfoCacheReadFromDiskThread took 3 milliseconds to initialize Setting breakpad minidump AppID = 366090 [S_API FAIL] Tried to access Steam interface SteamNetworkingUtils004 before SteamAPI_Init succeeded. [2023-04-29_14-07-49][Log]:[SteamAPI] SteamManager Initialized. [2023-04-29_14-07-49][Log]:Starting networking type SteamOnline [2023-04-29_14-07-49][Log]:[UPnP/PMP] Starting NAT discovery for automatic port forwarding [2023-04-29_14-07-50][Log]:Mod: AfterNetworkSetup ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable) [2023-04-29_14-07-51][Log]:[SteamAPI] Connected to steam servers with public IP = 111.222.333.444 [2023-04-29_14-07-56][Log]:Completed loading near-banner chunks queued from startup [2023-04-29_14-08-06][Log]:[UPnP/PMP] Completed NAT discovery [2023-04-29_14-08-34][Log]:New pending tcp connection [2023-04-29_14-08-34][Log]:Thread tcp sending (Re)started [2023-04-29_14-08-35][Log]:AuthTicket from XXXXXXXXXXXX probably OK [2023-04-29_14-08-35][Log]:Connected player: Exxter (1 (XXXXXXXXXXXX)) [2023-04-29_14-08-36][Log]:Connected Exxter

I run much game servers like minecraft, 7d2d, rising world, ark survival evolved and many others, but I have never so long trouble using mods :/

I found this: https://www.reddit.com/r/colonysurvival/comments/eat9uo/adding_mods_to_colony_server/

OK, so I load a world (on Windows) in coop, enable the mod, start the server, and I can use and see the mod. Good.
Now I search in the Windows Explorer on all my SSD's after "modstate.json", and found nothing... :(
Naposledy upravil Exxter; 29. dub. 2023 v 7.11
Zun  [vývojář] 29. dub. 2023 v 8.36 
> Now I search in the Windows Explorer on all my SSD's after "modstate.json", and found nothing... :(

Mod state is in gamedata/savegames/yourworldname/worldconfig.json these days.
And yeah dedicated server mod support needs a little help...
aah, it works. OK, I copy the complete worldconfig.json from the Windows Computer to the Linux Server:

{WorldType:1,ModConfigEntries:[{ModName:Sign,ModVersionLastKnown:0.1.2.0,Enabled:true},{ModName:PrettyRealistic,ModVersionLastKnown:1.1.2}]}

And now it works. Thanks very much :-)
Naposledy upravil Exxter; 29. dub. 2023 v 11.35
< >
Zobrazeno 14 z 4 komentářů
Na stránku: 1530 50

Datum zveřejnění: 19. dub. 2023 v 9.03
Počet příspěvků: 4