ZeroK-RTS / Zero-K-Infrastructure

Website, lobby launcher and server, steam deployment, .NET based tools and other vital parts of Zero-K infrastructure
GNU General Public License v3.0
49 stars 51 forks source link

The lobby downloading part seem incompatible with GAMEMODE #2972

Open versus666 opened 6 months ago

versus666 commented 6 months ago

Linux Mint 21.2 Victoria. Fresh Zero-K semi-portable v104 from zerok.itch.io/zero-k with the requited dependencies. Default configuration for Gamemode.

*Without Gamemode the downloads are fine. Startup time is a few seconds (before 104 it usually took more than 15-20 seconds before getting in the interface, even when not checking files integrity). /home/versus666/.spring/Zero-K.bin.x86_64

Zero-K.exe Information: 0 : Trying to start with GUI Zero-K.exe Information: 0 : Checking for self-upgrade Zero-K.exe Information: 0 : PackageRefresh complete - packages changed Zero-K.exe Information: 0 : Querying default engine Zero-K.exe Information: 0 : Reseting configs and deploying AIs Zero-K.exe Information: 0 : Connecting to steam API Zero-K.exe Warning: 0 : Error initializing steam, disabling susbystem: steam_api assembly: type: member:(null) library not found Zero-K.exe Information: 0 : Starting Zero-K.exe Information: 0 : Chobby connected to wrapper Zero-K.exe Information: 0 : Chobbyla >> WrapperOnline {"UserID":"REDACTED","InstallID":"REDACTED","DefaultServerHost":"zero-k.info","DefaultServerPort":8200,"IsSteamFolder":false} Zero-K.exe Information: 0 : Chobbyla << DiscordUpdatePresence {"details":"In menu"} Zero-K.exe Information: 0 : Chobbyla << DiscordUpdatePresence {"details":"In menu"} Zero-K.exe Information: 0 : Chobbyla << DownloadFile {"Name":"Onyx Cauldron 2.2","FileType":"MAP"} Zero-K.exe Information: 0 : starting download Onyx Cauldron 2.2 Zero-K.exe Information: 0 : Chobbyla >> DownloadFileProgress {"FileType":"MAP","Name":"Onyx Cauldron 2.2","Progress":"0.00","SecondsRemaining":37536076,"TotalLength":99934710,"CurrentSpeed":2}

*With Gamemode on a fresh Zero-K semi-portable the interface load instantly but there is a lot of errors in the log and it's impossible to download anything like mods and maps. gamemoderun /home/versus666/.spring/Zero-K.bin.x86_64

Zero-K.exe Information: 0 : Checking for self-upgrade Zero-K.exe Warning: 0 : Error getting new version number: An exception occurred during a WebClient request. Zero-K.exe Warning: 0 : Error loading package master from http://repos.springrts.com/ Zero-K.exe Error: 0 : Error reading version list from https://repos.springrts.com/ba: System.NotSupportedException: The URI prefix is not recognized. at System.Net.WebRequest.Create (System.Uri requestUri, System.Boolean useUriBase) [0x000db] in :0 at System.Net.WebRequest.Create (System.Uri requestUri) [0x00017] in :0 at PlasmaShared.Utils.DownloadFile (System.String url, System.Nullable`1[T] ifModifiedSince) [0x00018] in :0 at PlasmaDownloader.Packages.PackageDownloader+Repository+<>c__DisplayClass16_0.b__0 () [0x0002b] in :0 And so on for https://repos.springrts.com/area17, https://repos.springrts.com/bar, https://repos.springrts.com/chobby, https://repos.springrts.com/byar, https://repos.springrts.com/aa, https://repos.springrts.com/chiliui, etc then : Zero-K.exe Error: 0 : https://repos.springrts.com/zkmenu/packages/00650435aa0931c6e03f4799abcbe4b0.sdp failed System.Net.WebException: An exception occurred during a WebClient request. ---> System.NotSupportedException: The URI prefix is not recognized. at System.Net.WebRequest.Create (System.Uri requestUri, System.Boolean useUriBase) [0x000db] in :0 at System.Net.WebRequest.Create (System.Uri requestUri) [0x00017] in :0 at System.Net.WebClient.GetWebRequest (System.Uri address) [0x00000] in :0 at System.Net.WebClient.DownloadDataAsync (System.Uri address, System.Object userToken) [0x0001c] in :0 --- End of inner exception stack trace --- Zero-K.exe Error: 0 : Error downloading zkmenu:stable System.ApplicationException: FileList has download failed

And a popup appear stating "Download of ZKmenu:stable has failed". The lobby never launch.

*With Gamemode on a USED (launched previously without the gamemoderun prefix) Zero-K semi-portable is the same as previously BUT the game, the _hide_benchmarkvxxx.sdfz files are downloaded tho and creating a room, starting or joining a game is fine. Just NO downloads possible. gamemoderun /home/versus666/.spring/Zero-K.bin.x86_64