[MOD BUG] [COOKS CAN REFUEL]

Started by DanielTheDemiWizard, May 21, 2018, 01:20:15 PM

Previous topic - Next topic

DanielTheDemiWizard

I was messing about playing with a crap-a-ton of mods, and I came upon that with 'Cooks Can Refuel' activated, for some reasons the right button menus refuse to work at all. Ex. I click a pawn, right click on some wood that needs to be hauled, and I get no menu to tell them to do it.

Going into the debug menu and the log, and I get an error stating;
Argument cannot be null.
Parameter name: type

(pressed copy to clipboard, and this showed up too. Not sure if it's relevant)
  at System.Activator.CheckType (System.Type type) [0x00000] in <filename unknown>:0
  at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] in <filename unknown>:0
  at System.Activator.CreateInstance (System.Type type) [0x00000] in <filename unknown>:0
  at RimWorld.WorkGiverDef.get_Worker () [0x00000] in <filename unknown>:0
  at RimWorld.FloatMenuMakerMap.AddUndraftedOrders (Vector3 clickPos, Verse.Pawn pawn, System.Collections.Generic.List`1 opts) [0x00000] in <filename unknown>:0
  at RimWorld.FloatMenuMakerMap.ChoicesAtFor (Vector3 clickPos, Verse.Pawn pawn) [0x00000] in <filename unknown>:0
  at RimWorld.FloatMenuMakerMap.TryMakeFloatMenu (Verse.Pawn pawn) [0x00000] in <filename unknown>:0
  at RimWorld.Selector.HandleMapClicks () [0x00000] in <filename unknown>:0
  at RimWorld.Selector.SelectorOnGUI () [0x00000] in <filename unknown>:0
  at RimWorld.MapInterface.HandleLowPriorityInput () [0x00000] in <filename unknown>:0
  at RimWorld.UIRoot_Play.UIRootOnGUI () [0x00000] in <filename unknown>:0
  at Verse.Root.OnGUI () [0x00000] in <filename unknown>:0


In case it's important, other bugs I get are;

Mod Assemblies has incorrectly formatted target version 'Unknown'. For the current version, write: <targetVersion>0.18.1722</targetVersion>
Verse.Log:Error(String)
Verse.Log:ErrorOnce(String, Int32)
Verse.ModMetaData:Init()
Verse.ModMetaData:.ctor(String)
Verse.ModLister:RebuildModList()
Verse.ModLister:.cctor()
Verse.<>c__Iterator0:MoveNext()
Verse.<>c__Iterator0:MoveNext()
System.Collections.Generic.List`1:AddEnumerable(IEnumerable`1)
System.Collections.Generic.List`1:.ctor(IEnumerable`1)
System.Linq.Enumerable:ToList(IEnumerable`1)
Verse.LoadedModManager:LoadAllActiveMods()
Verse.PlayDataLoader:DoPlayLoad()
Verse.PlayDataLoader:LoadAllPlayData(Boolean)
Verse.Root:<Start>m__1()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__1()

Mod Glass_N_Lights-master has incorrectly formatted target version 'Unknown'. For the current version, write: <targetVersion>0.18.1722</targetVersion>
Verse.Log:Error(String)
Verse.Log:ErrorOnce(String, Int32)
Verse.ModMetaData:Init()
Verse.ModMetaData:.ctor(String)
Verse.ModLister:RebuildModList()
Verse.ModLister:.cctor()
Verse.<>c__Iterator0:MoveNext()
Verse.<>c__Iterator0:MoveNext()
System.Collections.Generic.List`1:AddEnumerable(IEnumerable`1)
System.Collections.Generic.List`1:.ctor(IEnumerable`1)
System.Linq.Enumerable:ToList(IEnumerable`1)
Verse.LoadedModManager:LoadAllActiveMods()
Verse.PlayDataLoader:DoPlayLoad()
Verse.PlayDataLoader:LoadAllPlayData(Boolean)
Verse.Root:<Start>m__1()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__1()

Mod RimWorld-DoorMat-1.0.8 has incorrectly formatted target version 'Unknown'. For the current version, write: <targetVersion>0.18.1722</targetVersion>
Verse.Log:Error(String)
Verse.Log:ErrorOnce(String, Int32)
Verse.ModMetaData:Init()
Verse.ModMetaData:.ctor(String)
Verse.ModLister:RebuildModList()
Verse.ModLister:.cctor()
Verse.<>c__Iterator0:MoveNext()
Verse.<>c__Iterator0:MoveNext()
System.Collections.Generic.List`1:AddEnumerable(IEnumerable`1)
System.Collections.Generic.List`1:.ctor(IEnumerable`1)
System.Linq.Enumerable:ToList(IEnumerable`1)
Verse.LoadedModManager:LoadAllActiveMods()
Verse.PlayDataLoader:DoPlayLoad()
Verse.PlayDataLoader:LoadAllPlayData(Boolean)
Verse.Root:<Start>m__1()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__1()

Mod RimworldMapReroll-2.2.3 has incorrectly formatted target version 'Unknown'. For the current version, write: <targetVersion>0.18.1722</targetVersion>
Verse.Log:Error(String)
Verse.Log:ErrorOnce(String, Int32)
Verse.ModMetaData:Init()
Verse.ModMetaData:.ctor(String)
Verse.ModLister:RebuildModList()
Verse.ModLister:.cctor()
Verse.<>c__Iterator0:MoveNext()
Verse.<>c__Iterator0:MoveNext()
System.Collections.Generic.List`1:AddEnumerable(IEnumerable`1)
System.Collections.Generic.List`1:.ctor(IEnumerable`1)
System.Linq.Enumerable:ToList(IEnumerable`1)
Verse.LoadedModManager:LoadAllActiveMods()
Verse.PlayDataLoader:DoPlayLoad()
Verse.PlayDataLoader:LoadAllPlayData(Boolean)
Verse.Root:<Start>m__1()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__1()

Could not find a type named CooksCanRefuel.WorkGiver_RefuelForCooks
Verse.Log:Error(String)
Verse.ParseHelper:FromString(String, Type)
Verse.DirectXmlToObject:ObjectFromXml(XmlNode, Boolean)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
System.Reflection.MethodBase:Invoke(Object, Object[])
Verse.DirectXmlToObject:ObjectFromXml(XmlNode, Boolean)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
System.Reflection.MethodBase:Invoke(Object, Object[])
Verse.<AllDefsFromAsset>c__Iterator2:MoveNext()
Verse.ModContentPack:LoadDefs(IEnumerable`1)
Verse.LoadedModManager:LoadAllActiveMods()
Verse.PlayDataLoader:DoPlayLoad()
Verse.PlayDataLoader:LoadAllPlayData(Boolean)
Verse.Root:<Start>m__1()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__1()

[RuntimeGC] MainTabWindow inserted.
Verse.Log:Message(String)
RuntimeGC.StaticConstructor:.cctor()
System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor(IntPtr)
System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor(RuntimeTypeHandle)
Verse.StaticConstructorOnStartupUtility:CallAll()
Verse.PlayDataLoader:<DoPlayLoad>m__2()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent()
Verse.LongEventHandler:LongEventsUpdate(Boolean&)
Verse.Root:Update_Patch1(Object)
Verse.Root_Entry:Update()

[HugsLib] v4.1.1 initialized AllowTool, BetterPawnControl
Verse.Log:Message(String)
HugsLib.Utils.ModLogger:Message(String, Object[])
HugsLib.HugsLibController:LoadReloadInitialize()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__1()

Also, sorry if this is on the wrong thread/thingy, I'm still new to this whole forum thing and didn't see anywhere specific where to post this. Hope it's kinda helpful? I dunno, but I would appreciate it if someone could tell me what's up, just for curiosity's sake. c:

BlackSmokeDMax

Running fine here. Looking at your log, it looks like a bunch of your mods are for the previous version of Rimworld. Very possible it is one of those messing with CooksCanRefuel.

DanielTheDemiWizard

As far as I'm aware, that's not the problem. I've checked running just CooksCanRefuel alone without any other mods active, still get the same bug. What an odd little thing, though.

BlackSmokeDMax

#3
Quote from: DanielTheDemiWizard on May 22, 2018, 12:28:32 PM
As far as I'm aware, that's not the problem. I've checked running just CooksCanRefuel alone without any other mods active, still get the same bug. What an odd little thing, though.

Maybe do a fresh install of your game? There are nearly 55,000 subscribers to the mod just on Steam, not sure how many are downloading and using manually like I am. If that was a standard issue with the mod, I'd think the uproar would be massive.

Sixdd

Working fine for me with ~250 mods active, most of them are steam workshop.