Timberborn

Timberborn

SmartPower
ihsoft  [developer] 21 Sep, 2024 @ 5:27pm
The mods is broken. What to do?
It's a common place for you, folks, to report the "mod is broken" cases. Most of the times it gets broken due to a new game update or a new release in the dependent mods. It happens. It's the world in which we, the modders and players, live. Feel free to report here crashes, I promise to give updates when the fix is ready. Or you can start your own discussion, it will work too :)
< >
Showing 1-15 of 26 comments
boskoff 22 Sep, 2024 @ 9:01am 
Can't make it working with the latest Update 6...
ihsoft  [developer] 23 Sep, 2024 @ 11:36pm 
Originally posted by boskoff:
Can't make it working with the latest Update 6...
The latest version should work. What error do you get?
boskoff 29 Sep, 2024 @ 12:24am 
The game just breaks every time I enable SmartPower, can't even start. Also the v 1.11.2 does not solve this
boskoff 29 Sep, 2024 @ 3:06am 
Originally posted by ihsoft:
Originally posted by boskoff:
Can't make it working with the latest Update 6...
The latest version should work. What error do you get?
Exception report - latest Harmony is enabled.
v0.6.8.0-b8673b4-xsw
MissingMethodException: Method not found: System.Reflection.MethodInfo HarmonyLib.AccessTools.DeclaredMethod(string,System.Type[],System.Type[])
System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <20a025bba6874f73adca28fec451f638>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <20a025bba6874f73adca28fec451f638>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <20a025bba6874f73adca28fec451f638>:0)
HarmonyLib.PatchClassProcessor.RunMethod[S,T] (T defaultIfNotExisting, T defaultIfFailing, System.Func`2[T,TResult] failOnResult, System.Object[] parameters) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
Rethrow as HarmonyException: Patching exception in method static System.Reflection.MethodBase IgorZ.SmartPower.UI.ConsumerFragmentServicePatch::TargetMethod()
HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
HarmonyLib.PatchClassProcessor.Patch () (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
IgorZ.TimberDev.Utils.HarmonyPatcher.Patch (System.String patchId, System.Type[] patchTypes) (at <d31bd07e93b446d488793fda7886c1ac>:0)
IgorZ.TimberDev.Utils.HarmonyPatcher.PatchRepeated (System.String patchId, System.Type[] patchTypes) (at <d31bd07e93b446d488793fda7886c1ac>:0)
IgorZ.SmartPower.UI.Configurator.Configure (Bindito.Core.IContainerDefinition containerDefinition) (at <d31bd07e93b446d488793fda7886c1ac>:0)
Bindito.Core.Internal.ContainerDefinition.Install (Bindito.Core.IConfigurator configurator) (at <7fcf1d7acfcb468395a149bb7aede58e>:0)
Bindito.Core.Internal.ContainerDefinition.InstallAll (System.String contextName, System.Func`2[T,TResult] predicate) (at <7fcf1d7acfcb468395a149bb7aede58e>:0)
Bindito.Unity.SceneConfigurator.Bindito.Core.IConfigurator.Configure (Bindito.Core.IContainerDefinition containerDefinition) (at <09d53fc2332b42b391c138ec8cfe7aae>:0)
Bindito.Core.Internal.ConfiguratorRunner.RunConfigurators (System.Collections.Generic.IEnumerable`1[T] configurators) (at <7fcf1d7acfcb468395a149bb7aede58e>:0)
Bindito.Core.Internal.ContainerCreator.ConfigureContainer (Bindito.Core.IContainer container, System.Collections.Generic.IEnumerable`1[T] configurators, Bindito.Core.Internal.IBinder binder, Bindito.Core.Internal.IProvisionListenerNotifier provisionListenerNotifier, Bindito.Core.Internal.IInjectionListenerNotifier injectionListenerNotifier) (at <7fcf1d7acfcb468395a149bb7aede58e>:0)
Bindito.Core.Internal.ContainerCreator.CreateContainer (System.Collections.Generic.IEnumerable`1[T] configurators) (at <7fcf1d7acfcb468395a149bb7aede58e>:0)
Bindito.Core.Internal.ContainerCreator.CreateChildContainer (System.Collections.Generic.IEnumerable`1[T] configurators) (at <7fcf1d7acfcb468395a149bb7aede58e>:0)
Bindito.Core.Internal.Container.CreateChildContainer (System.Collections.Generic.IEnumerable`1[T] configurators) (at <7fcf1d7acfcb468395a149bb7aede58e>:0)
Bindito.Core.Internal.Container.CreateChildContainer (Bindito.Core.IConfigurator[] configurators) (at <7fcf1d7acfcb468395a149bb7aede58e>:0)
Bindito.Unity.SceneConfigurator.CreateSceneContainer () (at <09d53fc2332b42b391c138ec8cfe7aae>:0)
Bindito.Unity.SceneConfigurator.Awake () (at <09d53fc2332b42b391c138ec8cfe7aae>:0)
Last edited by boskoff; 29 Sep, 2024 @ 3:06am
ihsoft  [developer] 2 Oct, 2024 @ 11:20pm 
Originally posted by boskoff:
Originally posted by ihsoft:
The latest version should work. What error do you get?
Exception report - latest Harmony is enabled.
v0.6.8.0-b8673b4-xsw
This error happens if you have BepInEx installed in the game. Usually happens to those who had old setups for u5. Find an cleanup all that is related to BepInEx
Last edited by ihsoft; 2 Oct, 2024 @ 11:20pm
boskoff 6 Oct, 2024 @ 3:57am 
Originally posted by ihsoft:
Originally posted by boskoff:
Exception report - latest Harmony is enabled.
v0.6.8.0-b8673b4-xsw
This error happens if you have BepInEx installed in the game. Usually happens to those who had old setups for u5. Find an cleanup all that is related to BepInEx
Did that, thank you! Werified the files integrity of the game. Smart Power works! Thanks!
Mizo013 10 Oct, 2024 @ 8:37am 
Originally posted by boskoff:
Originally posted by ihsoft:
This error happens if you have BepInEx installed in the game. Usually happens to those who had old setups for u5. Find an cleanup all that is related to BepInEx
Did that, thank you! Werified the files integrity of the game. Smart Power works! Thanks!

I deleted, then reinstalled game but still can not use this mod. What did you do?
ihsoft  [developer] 10 Oct, 2024 @ 9:37am 
Originally posted by Mizo013:
Originally posted by boskoff:
Did that, thank you! Werified the files integrity of the game. Smart Power works! Thanks!

I deleted, then reinstalled game but still can not use this mod. What did you do?
Just removing the game from Steam is not enough. All the custom files, like bepinex, will stay on disk. You need to manually clean the folder.
CMfly 17 Oct, 2024 @ 6:48am 
I've cleared out the game folder and then uninstalled the game and reinstalled. I am still getting an error.

v0.6.8.4-e18214b-sm NullReferenceException: Object reference not set to an instance of an object MonoMod.RuntimeDetour.DetourHelper.GetIdentifiable (System.Reflection.MethodBase method) (at <4e2760c7517c4ea79c633d67e84b319f>:0) MonoMod.RuntimeDetour.ILHook..ctor (System.Reflection.MethodBase from, MonoMod.Cil.ILContext+Manipulator manipulator, MonoMod.RuntimeDetour.ILHookConfig& config) (at <4e2760c7517c4ea79c633d67e84b319f>:0) MonoMod.RuntimeDetour.ILHook..ctor (System.Reflection.MethodBase from, MonoMod.Cil.ILContext+Manipulator manipulator, MonoMod.RuntimeDetour.ILHookConfig config) (at <4e2760c7517c4ea79c633d67e84b319f>:0) HarmonyLib.Public.Patching.ManagedMethodPatcher.DetourTo (System.Reflection.MethodBase replacement) (at <474744d65d8e460fa08cd5fd82b5d65f>:0) HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) (at <474744d65d8e460fa08cd5fd82b5d65f>:0) Rethrow as HarmonyException: IL Compile Error (unknown location) HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) (at <474744d65d8e460fa08cd5fd82b5d65f>:0) HarmonyLib.PatchClassProcessor.Patch () (at <474744d65d8e460fa08cd5fd82b5d65f>:0) HarmonyLib.Harmony.<PatchAll>b__11_0 (System.Type type) (at <474744d65d8e460fa08cd5fd82b5d65f>:0) HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) (at <474744d65d8e460fa08cd5fd82b5d65f>:0) HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) (at <474744d65d8e460fa08cd5fd82b5d65f>:0) HarmonyLib.Harmony.PatchAll () (at <474744d65d8e460fa08cd5fd82b5d65f>:0) Mods.DivaBeaver.EnhancedGoodsUI.Scripts.Initializer.StartMod () (at <e20e4bbe37b44b96921c7ce276fd07e9>:0) Timberborn.ModManagerScene.IModStarter.StartMod (Timberborn.ModManagerScene.IModEnvironment modEnvironment) (at <1f287722fe4f49ab99c6d808110b5b2f>:0) Timberborn.ModManagerScene.ModCodeStarter.StartMod (Timberborn.Modding.Mod mod) (at <1f287722fe4f49ab99c6d808110b5b2f>:0) Timberborn.ModManagerScene.ModCodeStarter.StartMods () (at <1f287722fe4f49ab99c6d808110b5b2f>:0) Timberborn.ModManagerScene.ModCodeStarter.Start () (at <1f287722fe4f49ab99c6d808110b5b2f>:0) Timberborn.ModManagerSceneUI.ModManagerScenePanel.LoadModsAndStartGame () (at <5897f43151b342b685623f8a97eb0885>:0) Timberborn.ModManagerSceneUI.ModManagerScenePanel.<InitializeModManagerPanel>b__14_0 (UnityEngine.UIElements.ClickEvent _) (at <5897f43151b342b685623f8a97eb0885>:0) UnityEngine.UIElements.EventCallbackFunctor`1[TEventType].Invoke (UnityEngine.UIElements.EventBase evt) (at <01dbb7470c154d4698aa8a7518127b34>:0) UnityEngine.UIElements.EventCallbackRegistry+DynamicCallbackList.Invoke (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.VisualElement target) (at <01dbb7470c154d4698aa8a7518127b34>:0) UnityEngine.UIElements.EventDispatchUtilities.HandleEventAcrossPropagationPath (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.VisualElement target, System.Boolean isCapturingTarget) (at <01dbb7470c154d4698aa8a7518127b34>:0) UnityEngine.UIElements.EventDispatchUtilities.DispatchToCachedElementUnderPointerOrPanelRoot (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, System.Int32 pointerId, UnityEngine.Vector2 position) (at <01dbb7470c154d4698aa8a7518127b34>:0) UnityEngine.UIElements.EventDispatchUtilities.DispatchToCapturingElementOrElementUnderPointer (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, System.Int32 pointerId, UnityEngine.Vector2 position) (at <01dbb7470c154d4698aa8a7518127b34>:0) UnityEngine.UIElements.PointerEventBase`1[T].Dispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <01dbb7470c154d4698aa8a7518127b34>:0) UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel) (at <01dbb7470c154d4698aa8a7518127b34>:0) UnityEngine.UIElements.EventDispatcher.ProcessEventQueue () (at <01dbb7470c154d4698aa8a7518127b34>:0) UnityEngine.UIElements.EventDispatcher.OpenGate () (at <01dbb7470c154d4698aa8a7518127b34>:0) UnityEngine.UIElements.EventDispatcherGate.Dispose () (at <01dbb7470c154d4698aa8a7518127b34>:0) UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel) (at <01dbb7470c154d4698aa8a7518127b34>:0) UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at <01dbb7470c154d4698aa8a7518127b34>:0) UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at <01dbb7470c154d4698aa8a7518127b34>:0) UnityEngine.UIElements.PanelEventHandler.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.EventSystems.BaseEventData sourceEventData) (at <a2afb4a13a5546aaa83af425746a3bb9>:0) UnityEngine.UIElements.PanelEventHandler.OnPointerUp (UnityEngine.EventSystems.PointerEventData eventData) (at <a2afb4a13a5546aaa83af425746a3bb9>:0) UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerUpHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at <a2afb4a13a5546aaa83af425746a3bb9>:0) UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at <a2afb4a13a5546aaa83af425746a3bb9>:0) UnityEngine.EventSystems.EventSystem:Update()


Is there somewhere else I should be looking to clean up?
CMfly 17 Oct, 2024 @ 6:52am 
Maybe I have a different problem, I tried launching the game with the 'macos workaround' option and I was able to start the game with this mod enabled. I don't have this problem with any of the other mods I have tried.
ihsoft  [developer] 17 Oct, 2024 @ 3:30pm 
Originally posted by CMfly:
Maybe I have a different problem, I tried launching the game with the 'macos workaround' option and I was able to start the game with this mod enabled. I don't have this problem with any of the other mods I have tried.
Where did you enable/disable this "macros workaround" option? Also, in the crash log, I don't see any references to the mod. By a chance, are you playing on Linux? It an be something related to Harmony in general. I never got reports like this from the Windows players.
CMfly 18 Oct, 2024 @ 5:10am 
I am on a mac with m1 processor. When you launch the game there are a few options one of them is called mac os workaround or something similar. This and harmony and timberapi were the only mods enabled when I tested on the latest public release.
TrazzeL 18 Oct, 2024 @ 6:24am 
Hey, just trying this mod out and got this error. Is the load order any reason?

v0.6.8.4-e18214b-sw
MissingMethodException: Method not found: System.Reflection.MethodInfo HarmonyLib.AccessTools.DeclaredMethod(string,System.Type[],System.Type[])
System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <20a025bba6874f73adca28fec451f638>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <20a025bba6874f73adca28fec451f638>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <20a025bba6874f73adca28fec451f638>:0)
HarmonyLib.PatchClassProcessor.RunMethod[S,T] (T defaultIfNotExisting, T defaultIfFailing, System.Func`2[T,TResult] failOnResult, System.Object[] parameters) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
Rethrow as HarmonyException: Patching exception in method static System.Reflection.MethodBase IgorZ.SmartPower.UI.ConsumerFragmentServicePatch::TargetMethod()
HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
HarmonyLib.PatchClassProcessor.Patch () (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
IgorZ.TimberDev.Utils.HarmonyPatcher.Patch (System.String patchId, System.Type[] patchTypes) (at <d31bd07e93b446d488793fda7886c1ac>:0)
IgorZ.TimberDev.Utils.HarmonyPatcher.PatchRepeated (System.String patchId, System.Type[] patchTypes) (at <d31bd07e93b446d488793fda7886c1ac>:0)
IgorZ.SmartPower.UI.Configurator.Configure (Bindito.Core.IContainerDefinition containerDefinition) (at <d31bd07e93b446d488793fda7886c1ac>:0)
Bindito.Core.Internal.ContainerDefinition.Install (Bindito.Core.IConfigurator configurator) (at <7fcf1d7acfcb468395a149bb7aede58e>:0)
Bindito.Core.Internal.ContainerDefinition.InstallAll (System.String contextName, System.Func`2[T,TResult] predicate) (at <7fcf1d7acfcb468395a149bb7aede58e>:0)
Bindito.Unity.SceneConfigurator.Bindito.Core.IConfigurator.Configure (Bindito.Core.IContainerDefinition containerDefinition) (at <09d53fc2332b42b391c138ec8cfe7aae>:0)
Bindito.Core.Internal.ConfiguratorRunner.RunConfigurators (System.Collections.Generic.IEnumerable`1[T] configurators) (at <7fcf1d7acfcb468395a149bb7aede58e>:0)
Bindito.Core.Internal.ContainerCreator.ConfigureContainer (Bindito.Core.IContainer container, System.Collections.Generic.IEnumerable`1[T] configurators, Bindito.Core.Internal.IBinder binder, Bindito.Core.Internal.IProvisionListenerNotifier provisionListenerNotifier, Bindito.Core.Internal.IInjectionListenerNotifier injectionListenerNotifier) (at <7fcf1d7acfcb468395a149bb7aede58e>:0)
Bindito.Core.Internal.ContainerCreator.CreateContainer (System.Collections.Generic.IEnumerable`1[T] configurators) (at <7fcf1d7acfcb468395a149bb7aede58e>:0)
Bindito.Core.Internal.ContainerCreator.CreateChildContainer (System.Collections.Generic.IEnumerable`1[T] configurators) (at <7fcf1d7acfcb468395a149bb7aede58e>:0)
Bindito.Core.Internal.Container.CreateChildContainer (System.Collections.Generic.IEnumerable`1[T] configurators) (at <7fcf1d7acfcb468395a149bb7aede58e>:0)
Bindito.Core.Internal.Container.CreateChildContainer (Bindito.Core.IConfigurator[] configurators) (at <7fcf1d7acfcb468395a149bb7aede58e>:0)
Bindito.Unity.SceneConfigurator.CreateSceneContainer () (at <09d53fc2332b42b391c138ec8cfe7aae>:0)
Bindito.Unity.SceneConfigurator.Awake () (at <09d53fc2332b42b391c138ec8cfe7aae>:0)
ihsoft  [developer] 20 Oct, 2024 @ 5:27pm 
Originally posted by TrazzeL:
Hey, just trying this mod out and got this error. Is the load order any reason?

v0.6.8.4-e18214b-sw
MissingMethodException: Method not found: System.Reflection.MethodInfo HarmonyLib.AccessTools.DeclaredMethod(string,System.Type[],System.Type[])
This class of errors usually happens due to having BepInex in the game folder from the u5 modding. If you don't know how to find and delete those files, just de-install the game and then manually cleanup whatever left in the game's root folder.
TrazzeL 21 Oct, 2024 @ 5:29am 
It works! Thank you very much!
< >
Showing 1-15 of 26 comments
Per page: 1530 50