RimWorld

RimWorld

TechSales
James From HR 20 Jan, 2020 @ 11:37pm
Possible issues
So this change I think has started messing with hugslib exceptions for another of other mods like pick up and haul and carrying capacity fix. Not sure what's happening, I'll copy over a few of the error messages in a second.
< >
Showing 1-3 of 3 comments
James From HR 20 Jan, 2020 @ 11:49pm 
Could not execute post-long-event action. Exception: System.TypeInitializationException: An exception was thrown by the type initializer for TechSales.TechSalesHarmony ---> System.UnauthorizedAccessException: Access to the path "C:\Users\Dashb\OneDrive\Desktop\harmony.log.txt" is denied.
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0
at System.IO.StreamWriter..ctor (System.String path, Boolean append) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool)
at System.IO.File.AppendText (System.String path) [0x00000] in <filename unknown>:0
at Harmony.FileLog.FlushBuffer () [0x00000] in <filename unknown>:0
at Harmony.MethodPatcher.CreatePatchedMethod (System.Reflection.MethodBase original, System.String harmonyInstanceID, System.Collections.Generic.List`1 prefixes, System.Collections.Generic.List`1 postfixes, System.Collections.Generic.List`1 transpilers) [0x00000] in <filename unknown>:0
at Harmony.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, Harmony.PatchInfo patchInfo, System.String instanceID) [0x00000] in <filename unknown>:0
at Harmony.PatchProcessor.Patch () [0x00000] in <filename unknown>:0
at Harmony.HarmonyInstance.Patch (System.Reflection.MethodBase original, Harmony.HarmonyMethod prefix, Harmony.HarmonyMethod postfix, Harmony.HarmonyMethod transpiler) [0x00000] in <filename unknown>:0
at TechSales.TechSalesHarmony..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (intptr)
at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor (RuntimeTypeHandle type) [0x00000] in <filename unknown>:0
at Verse.StaticConstructorOnStartupUtility.CallAll () [0x00000] in <filename unknown>:0
at Verse.PlayDataLoader.<DoPlayLoad>m__2 () [0x00000] in <filename unknown>:0
at Verse.LongEventHandler.ExecuteToExecuteWhenFinished () [0x00000] in <filename unknown>:0
Verse.Log:Error(String, Boolean)
Verse.LongEventHandler:ExecuteToExecuteWhenFinished()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent()
Verse.LongEventHandler:LongEventsUpdate(Boolean&)
Verse.Root:Update_Patch1(Object)
Verse.Root_Entry:Update()

[ModMetaDataCleaner] Removed 0 Metadata and cleaned 227 PreviewImage.
Removed:
Cleaned: TechSales, ModCheck, Plant Growth Sync, RIMMSqol, Carry Capacity Fix, LED Lights, Vanilla Furniture Expanded - Art, ED-Laser Drill, [JDS] Simply Storage, LWM's Deep Storage, Hospitality, Tilled Soil, Buildable Terrain v1, Cryptorestore Caskets (1.0), [RH] Faction: Umbra Company (1.0), [RH] Faction: Militaires Sans Frontieres (1.0), Common Sense, SRTS Expanded, Dubs Bad Hygiene, RuntimeGC, No more sleeping Z's, Do Something for Idle, Expanded Roofing, Faster Thrumbo Lifecycle, Optimization - RAID, [1.0] RePower, Ceiling Grow Light, Zoological Orbital Traders, Let's Trade! [1.0], Vanilla Furniture Expanded - Medical Module, JecsTools, Doors Expanded, BioReactor, [T] MoreFloors, Block Convert, Quarry 1.0, Replace Stuff, Plant Growing Wall Light, Rah's Bionics and Surgery Expansion, No Burn Metal, Makeable Artifacts, Auto-Cut Blight, [PS] Reconditioning Pod, Makeable Artifacts for Taming Artifact, Age Reversing Mech Serum, Metals Trader, Deep Stack, Additional Joy Objects Classic, Craftable Glitterworld Medicine, [KIR]No Turret Barrels Replacing - More Vanilla Turrets Patch, More Vanilla Turrets 1.0, [KIR]No Turret Barrels Replacing[1.0], Mechalit Core 1.0, FishIndustry, [FSF] Rain Washes Away Filth, Genetic Rim, RunAndGun, Vault [1.0], No snowflakes, Taming Artifact, NoArmorPointCap, Endgame Buildings, Moloy Traits, Prisoner Harvesting, [O21] Barbed Wire (Unofficial Update Improved), Niche Tactical Weapons, Taming Inspiration, Vanilla Furniture Expanded, Trap Disable[1.0], Medical System Expansion, Mortar Accuracy, Sparkling Worlds Addon - Blue Moon Corp [1.0] - Standalone Addon, Sparkling Worlds - Core Mod [1.0] - Reduced features, ResearchPal, Snap Out!, HugsLib, [SYR] Doormats, Pick Up And Haul, More Faction Interaction, Subsurface Conduit, Tech Advancing, Harvest Organs Post Mortem, Impassable Chest-deep Water, [1.0] Rim Guns Extended, Mass Graves, SS Bigger Batteries, Bulk Stonecutting, QualityBuilder, Realistic Rooms, [1.0] No Infestation , Craft Neutroamine, Extended Turrets, Xen's Taming Fixer, ETRT: Industrial Tweaks, While You're Up [1.0], RT Fuse, [sd] advanced powergeneration, Centralized Climate Control, PrisonerRansom, Omni Core Drill, SS Researchable Stat Upgrades, More Mechanoids, Shoo!, Infinite Turrets, No Random Construction Quality, QualitySurgeon, Share The Load, Advanced Hydroponics, More Trade Ships, Simple sidearms, Feed The Colonists, Mad Skills, Faction Discovery, TechSales, ModCheck, Plant Growth Sync, RIMMSqol, Carry Capacity Fix, LED Lights, Vanilla Furniture Expanded - Art, ED-Laser Drill, [JDS] Simply Storage, LWM's Deep Storage, Hospitality, Tilled Soil, Buildable Terrain v1, Cryptorestore Caskets (1.0), [RH] Faction: Umbra Company (1.0), [RH] Faction: Militaires Sans Frontieres (1.0), Common Sense, SRTS Expanded, Dubs Bad Hygiene, RuntimeGC, No more sleeping Z's, Do Something for Idle, Expanded Roofing, Faster Thrumbo Lifecycle, Optimization - RAID, [1.0] RePower, Ceiling Grow Light, Zoological Orbital Traders, Let's Trade! [1.0], Vanilla Furniture Expanded - Medical Module, JecsTools, Doors Expanded, BioReactor, [T] MoreFloors, Block Convert, Quarry 1.0, Replace Stuff, Plant Growing Wall Light, Rah's Bionics and Surgery Expansion, No Burn Metal, Makeable Artifacts, Auto-Cut Blight, [PS] Reconditioning Pod, Makeable Artifacts for Taming Artifact, Age Reversing Mech Serum, Metals Trader, Deep Stack, Additional Joy Objects Classic, Craftable Glitterworld Medicine, [KIR]No Turret Barrels Replacing - More Vanilla Turrets Patch, More Vanilla Turrets 1.0, [KIR]No Turret Barrels Replacing[1.0], Mechalit Core 1.0, FishIndustry, [FSF] Rain Washes Away Filth, Genetic Rim, RunAndGun, Vault [1.0], No snowflakes, Taming Artifact, NoArmorPointCap, Endgame Buildings, Moloy Traits, Prisoner Harvesting, [O21] Barbed Wire (Unofficial Update Improved), Niche Tactical Weapons, Taming Inspiration, Vanilla Furniture Expanded, Trap Disable[1.0], Medical System Expansion, Mortar Accuracy, Sparkling Worlds Addon - Blue Moon Corp [1.0] - Standalone Addon, Sparkling Worlds - Core Mod [1.0] - Reduced features, ResearchPal, Snap Out!, HugsLib, [SYR] Doormats, Pick Up And Haul, More Faction Interaction, Subsurface Conduit, Tech Advancing, Harvest Organs Post Mortem, Impassable Chest-deep Water, [1.0] Rim Guns Extended, Mass Graves, SS Bigger Batteries, Bulk Stonecutting, QualityBuilder, Realistic Rooms, [1.0] No Infestation , Craft Neutroamine, Extended Turrets, Xen's Taming Fixer, ETRT: Industrial Tweaks, While You're Up [1.0], RT Fuse, [sd] advanced powergeneration, Centralized Climate Control, PrisonerRansom, Omni Core Drill, SS Researchable Stat Upgrades, More Mechanoids, Shoo!, Infinite Turrets, No Random Construction Quality, QualitySurgeon, Share The Load, Advanced Hydroponics, More Trade Ships, Simple sidearms, Feed The Colonists, Mad Skills, Faction Discovery, Core
Verse.Log:Message(String, Boolean)
Toolbox.ModMetaDataCleaner:CleanModMetaData()
Verse.LongEventHandler:UpdateCurrentSynchronousEvent(Boolean&)
Verse.LongEventHandler:LongEventsUpdate(Boolean&)
Verse.Root:Update_Patch1(Object)
Verse.Root_Entry:Update()



((Above is what I'm getting specifically for tech sales))



[HugsLib][ERR] Failed to apply Harmony patches for HugsLib.Hospitality. Exception was: System.UnauthorizedAccessException: Access to the path

[HugsLib][ERR] Failed to apply Harmony patches for HugsLib.CentralizedClimateControl. Exception was: System.UnauthorizedAccessException: Access to the path

[HugsLib][ERR] Failed to apply Harmony patches for HugsLib.RunAndGun. Exception was: System.UnauthorizedAccessException: Access to the path

[HugsLib][ERR] Failed to apply Harmony patches for HugsLib.DeepStack. Exception was: System.UnauthorizedAccessException: Access to the path

[HugsLib][ERR] Failed to apply Harmony patches for HugsLib.RePower. Exception was: System.UnauthorizedAccessException: Access to the path

[HugsLib][ERR] Failed to apply Harmony patches for HugsLib.CarryCapacityFix. Exception was: System.UnauthorizedAccessException: Access to the path



((This is a red text I'm getting in the debug list on the start screen, the full list for one is below. Sorry I don't know much about xml modding, if anymore is needed let me know:))



[HugsLib][ERR] Failed to apply Harmony patches for HugsLib.SubsurfaceConduit. Exception was: System.UnauthorizedAccessException: Access to the path "C:\Users\Dashb\OneDrive\Desktop\harmony.log.txt" is denied.
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0
at System.IO.StreamWriter..ctor (System.String path, Boolean append) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool)
at System.IO.File.AppendText (System.String path) [0x00000] in <filename unknown>:0
at Harmony.FileLog.Log (System.String str) [0x00000] in <filename unknown>:0
at Harmony.HarmonyInstance..ctor (System.String id) [0x00000] in <filename unknown>:0
at Harmony.HarmonyInstance.Create (System.String id) [0x00000] in <filename unknown>:0
at HugsLib.ModBase.ApplyHarmonyPatches () [0x00000] in <filename unknown>:0
Verse.Log:Error(String, Boolean)
HugsLib.Utils.ModLogger:Error(String, Object[])
HugsLib.ModBase:ApplyHarmonyPatches()
HugsLib.HugsLibController:EnumerateChildMods(Boolean)
HugsLib.HugsLibController:LoadReloadInitialize()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__1()

[HugsLib][ERR] Failed to apply Harmony patches for HugsLib.WhileYoureUp. Exception was: System.UnauthorizedAccessException: Access to the path "C:\Users\Dashb\OneDrive\Desktop\harmony.log.txt" is denied.
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0
at System.IO.StreamWriter..ctor (System.String path, Boolean append) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool)
at System.IO.File.AppendText (System.String path) [0x00000] in <filename unknown>:0
at Harmony.FileLog.Log (System.String str) [0x00000] in <filename unknown>:0
at Harmony.HarmonyInstance..ctor (System.String id) [0x00000] in <filename unknown>:0
at Harmony.HarmonyInstance.Create (System.String id) [0x00000] in <filename unknown>:0
at HugsLib.ModBase.ApplyHarmonyPatches () [0x00000] in <filename unknown>:0
Verse.Log:Error(String, Boolean)
HugsLib.Utils.ModLogger:Error(String, Object[])
HugsLib.ModBase:ApplyHarmonyPatches()
HugsLib.HugsLibController:EnumerateChildMods(Boolean)
HugsLib.HugsLibController:LoadReloadInitialize()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__1()
fridgeBaron  [developer] 29 Jan, 2020 @ 4:49pm 
I haven't been able to reproduce your bug so as a side fix I added an option to disable the harmony fix as its merely a cosmetic thing(It makes the books appear properly in the trade windows).
You should be able to simply check the disable harmony patch and restart the game and I'm hoping that fixes the issue for you.

Sorry for the delayed response
Last edited by fridgeBaron; 29 Jan, 2020 @ 4:49pm
James From HR 25 Feb, 2020 @ 8:36pm 
Thank you! That's fixed it for me!
< >
Showing 1-3 of 3 comments
Per page: 1530 50