pardeike / Achtung2

Command your colonists like a boss!
https://www.patreon.com/pardeike
MIT License
28 stars 10 forks source link

Getting error when opening mods list with Achtung enabled #73

Open ilyvion opened 2 weeks ago

ilyvion commented 2 weeks ago
[S_API WARN] CClientUGC::SetRankedByTrendDays() failed - can only be used when querying for all files!

UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Steam.SteamManager:SteamAPIDebugTextHook (int,System.Text.StringBuilder)
Steamworks.SteamUGC:SetRankedByTrendDays (Steamworks.UGCQueryHandle_t,uint)
Brrainz.CrossPromotion:FetchPromotionMods ()
Brrainz.CrossPromotion/<>c:<ModLister_RebuildModList_Postfix>b__8_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()
pardeike commented 2 weeks ago

Can you supply more information/versions about all pieces involved: Operating System, Rimworld, processor and Achtung version. Do you use Steam?

ilyvion commented 2 weeks ago

OS: Win 10 RW: 1.5.4104 Processor: Intel Core i9-9900K Achtung: v3.9.5.0 Steam: Yes

I think I've discovered the source of the problem, and it's probably mostly a non-problem in that case: For developing mods, I use a custom copy of the Rimworld directory placed somewhere else than the usual Steam installation directory (I also keep separate copies of 1.4, and 1.3), and this error only happens in that copy, not when launched in the proper Steam location.

I only encountered this "bug" in the first place from adding Achtung-specific content to one of my mods.