RimWorld

RimWorld

[KV] Supply and Demand
SineSwiper Apr 19, 2020 @ 8:43am
Could not find class SupplyAndDemand.Patch_FloatMenuMakerMap_ChoicesAtFor+Settings
Encountered this bug on load. Looks like this is a conflict with the v1.0 settings?

Could not find class SupplyAndDemand.Patch_FloatMenuMakerMap_ChoicesAtFor+Settings while resolving node ModSettings. Trying to use SupplyAndDemand.Settings instead. Full node: <ModSettings Class="SupplyAndDemand.Patch_FloatMenuMakerMap_ChoicesAtFor+Settings"><ScaleVisitors>True</ScaleVisitors><ScaleAdjustmentV2>400</ScaleAdjustmentV2></ModSettings>
Verse.Log:Error(String, Boolean)
Verse.ScribeExtractor:SaveableFromNode(XmlNode, Object[])
Verse.Scribe_Deep:Look(Settings&, Boolean, String, Object[])
Verse.Scribe_Deep:Look(Settings&, String, Object[])
Verse.LoadedModManager:ReadModSettings(String, String)
Verse.Mod:GetSettings()
SupplyAndDemand.SettingsController:.ctor(ModContentPack)
System.Reflection.MonoCMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoCMethod:InternalInvoke(Object, Object[])
System.Reflection.MonoCMethod:DoInvoke(Object, BindingFlags, Binder, Object[], CultureInfo)
System.Reflection.MonoCMethod:Invoke(BindingFlags, Binder, Object[], CultureInfo)
System.RuntimeType:CreateInstanceImpl(BindingFlags, Binder, Object[], CultureInfo, Object[], StackCrawlMark&)
System.Activator:CreateInstance(Type, BindingFlags, Binder, Object[], CultureInfo, Object[])
System.Activator:CreateInstance(Type, Object[])
StartupImpact.ModConstructor:Create()
StartupImpact.StartupImpact:.ctor(ModContentPack)
System.Reflection.MonoCMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoCMethod:InternalInvoke(Object, Object[])
System.Reflection.MonoCMethod:DoInvoke(Object, BindingFlags, Binder, Object[], CultureInfo)
System.Reflection.MonoCMethod:Invoke(BindingFlags, Binder, Object[], CultureInfo)
System.RuntimeType:CreateInstanceImpl(BindingFlags, Binder, Object[], CultureInfo, Object[], StackCrawlMark&)
System.Activator:CreateInstance(Type, BindingFlags, Binder, Object[], CultureInfo, Object[])
System.Activator:CreateInstance(Type, Object[])
Verse.LoadedModManager:CreateModClasses()
Verse.LoadedModManager:LoadAllActiveMods()
Verse.PlayDataLoader:DoPlayLoad()
Verse.PlayDataLoader:LoadAllPlayData(Boolean)
Verse.<>c:<Start>b__6_1()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.<>c:<UpdateCurrentAsynchronousEvent>b__27_0()
System.Threading.ThreadHelper:ThreadStart_Context(Object)
System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object)
System.Threading.ThreadHelper:ThreadStart()

Found my settings file here as Mod_1511375007_SettingsController.xml:

<?xml version="1.0" encoding="utf-8"?>
<SettingsBlock>
<ModSettings Class="SupplyAndDemand.Patch_FloatMenuMakerMap_ChoicesAtFor+Settings">
<ScaleVisitors>True</ScaleVisitors>
<ScaleAdjustmentV2>400</ScaleAdjustmentV2>
</ModSettings>
</SettingsBlock>
< >
Showing 1-1 of 1 comments
SineSwiper Apr 19, 2020 @ 8:45am 
Adjusting the mod settings in the menu seemed to change the XML to use "SupplyAndDemand.Settings", as the error suggested.
< >
Showing 1-1 of 1 comments
Per page: 1530 50