JunimoHost / junimohost-stardew-server

headless stardew server inside a container
MIT License
23 stars 6 forks source link

Update 1.6 compatibility #1

Open leonelafonsoe opened 3 months ago

leonelafonsoe commented 3 months ago

yes, I know it was updated just hours ago but I can share the errors I get and maybe find the cause

CSC : error CS1705: Assembly 'Stardew Valley' with identity 'Stardew Valley, Version=1.6.2.24081, Culture=neutral, PublicKeyToken=null' uses 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' which has a higher version than referenced assembly 'System.Runtime' with identity 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' [/root/junimohost-stardew-server/mod/JunimoServer/JunimoServer.csproj] CSC : error CS1705: Assembly 'StardewModdingAPI' with identity 'StardewModdingAPI, Version=4.0.1.0, Culture=neutral, PublicKeyToken=null' uses 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' which has a higher version than referenced assembly 'System.Runtime' with identity 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' [/root/junimohost-stardew-server/mod/JunimoServer/JunimoServer.csproj] CSC : error CS1705: Assembly 'MonoGame.Framework' with identity 'MonoGame.Framework, Version=3.8.0.1641, Culture=neutral, PublicKeyToken=null' uses 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' which has a higher version than referenced assembly 'System.Runtime' with identity 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' [/root/junimohost-stardew-server/mod/JunimoServer/JunimoServer.csproj] /root/junimohost-stardew-server/mod/JunimoServer/Services/GalaxyAuth/GalaxyAuthOverrides.cs(46,57): error CS0246: The type or namespace name 'SteamHelper' could not be found (are you missing a using directive or an assembly reference?) [/root/junimohost-stardew-server/mod/JunimoServer/JunimoServer.csproj] /root/junimohost-stardew-server/mod/JunimoServer/Services/GalaxyAuth/GalaxyAuthOverrides.cs(16,24): error CS0246: The type or namespace name 'GalaxyHelper' could not be found (are you missing a using directive or an assembly reference?) [/root/junimohost-stardew-server/mod/JunimoServer/JunimoServer.csproj] /root/junimohost-stardew-server/mod/JunimoServer/Services/GalaxyAuth/GalaxyAuthOverrides.cs(17,24): error CS0246: The type or namespace name 'GalaxyHelper' could not be found (are you missing a using directive or an assembly reference?) [/root/junimohost-stardew-server/mod/JunimoServer/JunimoServer.csproj] CSC : error CS1705: Assembly 'xTile' with identity 'xTile, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' uses 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' which has a higher version than referenced assembly 'System.Runtime' with identity 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' [/root/junimohost-stardew-server/mod/JunimoServer/JunimoServer.csproj]

mrthinger commented 3 months ago

The sever is going to need a lot of work to run. This was based on a hack I made to authorize multiple servers using 1 steam ID.

leonelafonsoe commented 3 months ago

What about a simpler approach and use 1 id for each server? is it possible?

mrthinger commented 3 months ago

This worked by having another game create steam login tickets that would be sent to each game. The main issue is that getting steam auth to work headlessly was computationally expensive. You could try to put steam in this container or just disable this part and use direct IP connection, but you lose auth when doing so.

Asukaaa648 commented 3 months ago

I've met the same error! CSC : error CS1705: 标识为“Stardew Valley, Version=1.6.3.24087, Culture=neutral, PublicKeyToken=null”的程序集“Stardew Valley”所使用的“System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”版本高于所引用的标识为“System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”的程序集“System.Runtime” [/starv/junimohost-stardew-server/mod/JunimoServer/JunimoServer.csproj] CSC : error CS1705: 标识为“StardewModdingAPI, Version=4.0.4.0, Culture=neutral, PublicKeyToken=null”的程序集“StardewModdingAPI”所使用的“System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”版本高于所引用的标识为“System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”的程序集“System.Runtime” [/starv/junimohost-stardew-server/mod/JunimoServer/JunimoServer.csproj] CSC : error CS1705: 标识为“MonoGame.Framework, Version=3.8.0.1641, Culture=neutral, PublicKeyToken=null”的程序集“MonoGame.Framework”所使用的“System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”版本高于所引用的标识为“System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”的程序集“System.Runtime” [/starv/junimohost-stardew-server/mod/JunimoServer/JunimoServer.csproj] /starv/junimohost-stardew-server/mod/JunimoServer/Services/GalaxyAuth/GalaxyAuthOverrides.cs(46,57): error CS0246: 未能找到类型或命名空间名“SteamHelper”(是否缺少 using 指令或程序集引用?) [/starv/junimohost-stardew-server/mod/JunimoServer/JunimoServer.csproj] /starv/junimohost-stardew-server/mod/JunimoServer/Services/GalaxyAuth/GalaxyAuthOverrides.cs(16,24): error CS0246: 未能找到类型或命名空间名“GalaxyHelper”(是否缺少 using 指令或程序集引用?) [/starv/junimohost-stardew-server/mod/JunimoServer/JunimoServer.csproj] /starv/junimohost-stardew-server/mod/JunimoServer/Services/GalaxyAuth/GalaxyAuthOverrides.cs(17,24): error CS0246: 未能找到类型或命名空间名“GalaxyHelper”(是否缺少 using 指令或程序集引用?) [/starv/junimohost-stardew-server/mod/JunimoServer/JunimoServer.csproj] CSC : error CS1705: 标识为“xTile, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null”的程序集“xTile”所使用的“System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”版本高于所引用的标识为“System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”的程序集“System.Runtime” [/starv/junimohost-stardew-server/mod/JunimoServer/JunimoServer.csproj]