Timberborn

Timberborn

TimberApi
161 Comments
Panchito Mágico 12 Jul @ 5:59am 
Please compatibility with Config. Factions </3
Scroller 3 Jul @ 7:36am 
@TheBloodEyes - Thanks for letting us know.
TheBloodEyes  [author] 3 Jul @ 1:49am 
@Scroller The author fixed the issue, it was as easily fixable on his side. So everything should work now.
Scroller 21 Jun @ 6:40am 
@Air - The author of that mod has said that they can't do a fix because it actually needs to be done for -this- mod.
Air 20 Jun @ 10:01pm 
For anyone having trouble. Right now the mod Moddable Bindito [For Modders] is causing the error with its recent update.
YemCilmaz 20 Jun @ 10:16am 
+++
TimberApi.SingletonSystem.SingletonLifecycleServicePatcher.LoadSingleton[T] (System.Collections.Generic.IEnumerable`1[T] singletons, System.Action`1[T] action) (at <0673fedbcca9497a90c561275f1aa775>:0)
TimberApi.SingletonSystem.SingletonLifecycleServicePatcher.LoadAllPrefix (Timberborn.SingletonSystem.ISingletonRepository ____singletonRepository) (at <0673fedbcca9497a90c561275f1aa775>:0)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Timberborn.SingletonSystem.SingletonLifecycleService.LoadAll_Patch1(Timberborn.SingletonSystem.SingletonLifecycleService)
Timberborn.SingletonSystem.SingletonLifecycleUnityAdapter.Start () (at <9117b1294fcf4df390fc07f3eef2285e>:0)
YemCilmaz 20 Jun @ 10:16am 
I am having a problem with the following error log and with the existing update..

v0.7.9.4-957f3c3-sw
NullReferenceException: Object reference not set to an instance of an object
TimberApi.SpecificationSystem.GeneratedSpecLoader.PostLoad () (at <514fe957c82a4375b887fa4e42e2be35>:0)
TimberApi.SingletonSystem.SingletonLifecycleServicePatcher+<>c.<LoadAllPrefix>b__0_1 (TimberApi.SingletonSystem.ITimberApiPostLoadableSingleton singleton) (at <0673fedbcca9497a90c561275f1aa775>:0)+++
oliverrook 5 Jun @ 4:24pm 
Alright. This mod does work with only it and harmony enabled, so it must be a conflict.
oliverrook 5 Jun @ 4:22pm 
*Just this and harmony
oliverrook 5 Jun @ 4:22pm 
I seem to also be getting the crash some people are talking about with the UIBuilder class. Will test to see if it works with only this mod enabled.
TheBloodEyes  [author] 2 Jun @ 7:40am 
@Salfordshire search for TimberApi under #individual-mods or ask in #mod-users
Salfordshire 2 Jun @ 5:54am 
hi what is the discord channel? since this has gone in it seem I now cant even load the game and it crashing out on loading mods. cheers.
TheBloodEyes  [author] 2 Jun @ 1:29am 
@traisjames for any bugs go to the timberborn discord, and check invidual mods.
traisjames 1 Jun @ 5:31pm 
I also just had a crash after it working the last few days. I can send logs if you want.
jesus.leiva.t 31 May @ 6:49pm 
Hi! I'm experiencing repeated crashes in Timberborn after the recent update of TimberAPI. The game crashes whenever I select certain Builder's Huts (not all of them, just specific ones). The crash log consistently shows this error:

IndexOutOfRangeException: Index was outside the bounds of the array.
Timberborn.BuildingsNavigation.BoundsMesh.Append...

The issue did not happen before the latest TimberAPI update. I suspect there's a conflict with buildings created before the update, or a compatibility issue with other mods using TimberAPI


Thanks in advance!
TheBloodEyes  [author] 31 May @ 5:13am 
Fixed map editor crash
TheBloodEyes  [author] 31 May @ 3:11am 
@Flaerion It does not.. in experimental harmony crashes the game. Nothing leads that TimberApi even could be close to the problem.

If you experience crashes please ask help in the discord. There won't be any support in comments and mostly it's wrong as wel.
Flaerion 30 May @ 10:54pm 
This mod outright crashes my entire game on any attempt to load.. sad to lose what was dependent on it.
andiiis 23 May @ 11:09pm 
same for me. crash with the map editor :-(
Sodavid 21 May @ 9:11am 
this mod crashes when you try to edit a map
Arancara 18 May @ 11:44am 
Seems like the latest update 7 does not like this mod and causes an instant crash

v0.7.8.1-6eeaeed-sw
ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
Could not load file or assembly 'TimberApi.UIBuilderSystem, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
Could not load file or assembly 'TimberApi.UIBuilderSystem, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
Could not resolve type with token 010000a4 from typeref (expected class 'Timberborn.BlockSystem.IPostTransformChangeListener' in assembly 'Timberborn.BlockSystem, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null') assembly:Timberborn.BlockSystem, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null type:Timberborn.BlockSystem.IPostTransformChangeListener member:(null)
Could not resolve type with token 01000051 from typeref (expected class
City Builder 14 May @ 5:07pm 
Just tested edit map and like others it crashes with this and Harmony installed but did not have any crashes with the game playing with this, Harmony and a handful of active mods. Seems its limited to the map editor, perhaps it's in the game map editing code not playing nice with anything like mods or even just timberapi and harmony but no active mods.
Tatinme 14 May @ 1:09am 
Just tested, launched a game with only TimberApi (plus required Harmony) and it crashed on launching map editor, but new game looks fine.
TheBloodEyes  [author] 13 May @ 7:21am 
@nordstern Works just fine, you either have to update the game or go to stable. Late experimental won't be supported if it would break something.
nordstern 13 May @ 5:23am 
TimberAPI causes the crash. I hope the modder will fix it. Currently i can play only with a few mods, because many basemods the others needs like these one are not working anymore.
Leithalia 11 May @ 2:04pm 
Any chance anyone knows why the "singleton" error and crash happens? It happens even when harmony and TimberApi are my only mods. so i dont see it being a conflict.
Mainly happens when i go into edit or play a map.. it loads the menu fine.. idk..
GamerBear80 10 May @ 6:04am 
I cannot use the IronTeeth faction while TimberApi is active, any ideas?
City Builder 12 Apr @ 4:37pm 
Working fine here, maybe it's a mod you've got in stalled that I don't.
Ragnarac 12 Apr @ 4:26pm 
still seems to crash 2 days after your update...
鸡【蛋柿】子 8 Apr @ 5:13am 
TimberApi.SingletonSystem.SingletonLifecycleServicePatcher.LoadSingleton[T] (System.Collections.Generic.IEnumerable`1[T] singletons, System.Action`1[T] action) (at <0c70afd3d7a74b639cd9e035defd34c1>:0)
TimberApi.SingletonSystem.SingletonLifecycleServicePatcher.LoadAllPrefix (Timberborn.SingletonSystem.ISingletonRepository ____singletonRepository) (at <0c70afd3d7a74b639cd9e035defd34c1>:0)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Timberborn.SingletonSystem.SingletonLifecycleService.LoadAll_Patch1(Timberborn.SingletonSystem.SingletonLifecycleService)
Timberborn.SingletonSystem.SingletonLifecycleUnityAdapter.Start () (at <a00d649e079a4a109c9d6aef3597daa8>:0)
鸡【蛋柿】子 8 Apr @ 5:13am 
v0.7.3.0-623d6ef-xsw
NullReferenceException: Object reference not set to an instance of an object
TimberApi.SpecificationSystem.GeneratedSpecLoader.PostLoad () (at <ed062fbbbe1c493daf9b9738d52336fa>:0)
TimberApi.SingletonSystem.SingletonLifecycleServicePatcher+<>c.<LoadAllPrefix>b__0_1 (TimberApi.SingletonSystem.ITimberApiPostLoadableSingleton singleton) (at <0c70afd3d7a74b639cd9e035defd34c1>:0)
鸡【蛋柿】子 8 Apr @ 5:13am 
游戏更新后mod好像出错了
Marcoevich 3 Apr @ 2:44pm 
Thank you man, appreciate your work :)
TheBloodEyes  [author] 3 Apr @ 12:41pm 
It has been updated for version 0.7.2.0
City Builder 3 Apr @ 5:11am 
@TheBloodEyes, most of us know that its great when a mod works on experimental and most wait patiently for when modders can get the time to update. Don't let the vocal minority get you down. Keep up the great work it makes many people happy when they can use the mods of choice when modders have time to update their mods to make them work again.
TheBloodEyes  [author] 3 Apr @ 2:58am 
@Med3, because you maybe only start the game after the first day of an update. Which will break most mods.

The game updated yesterday, I haven't updated yes. Experimental modding is a privilege in general. I update it when I have time.
Med3 3 Apr @ 2:35am 
why dose this mod doesn't work on the experimental branch for months now?
it breaks up so many other mods this way...
Sgt_Clark13 2 Apr @ 10:12am 
Looks like WooSai is right, it's broken. BobingAbout managed to get his stuff working, so hopefully it's an easy fix. Seems like a scripting error.
WooSai 2 Apr @ 9:28am 
Looks like the new update to the experimental branch broke this again,
City Builder 1 Mar @ 10:33am 
And I read in Steam forums they said to check file integrity of the game and that could stop the crashing even though steam finds no integrity problem, anyway it worked for me and now Timbereborn experimental and mods are working again.
City Builder 1 Mar @ 10:31am 
@helium Make sure ti unsubscribe TimberAPI then subscribe again (I had to do this twice to finally see in game that the version was truly updated) and then check the file integrity in Steam. When I checked the file integrity it said all was fine but it wasn't until after I did that, that the game stopped crashing from TimerAPI.
helium 1 Mar @ 10:25am 
still crashing with TimberApi on latest experimental

ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
Could not resolve type with token 01000075 from typeref (expected class 'Timberborn.Persistence.IObjectSerializer`1' in assembly 'Timberborn.Persistence, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null') assembly:Timberborn.Persistence, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null type:Timberborn.Persistence.IObjectSerializer`1 member:(null)
SFT 27 Feb @ 3:51pm 
Alright then, cool.
TheBloodEyes  [author] 27 Feb @ 10:46am 
@SFT this is pure coincidence. I don't update by the game version.
SFT 27 Feb @ 9:54am 
Great naming btw, having mod version match update version makes things simple(r), thanks for swift update and Your work
SFT 27 Feb @ 9:51am 
Mod version 7.11 works on update 0.7.1.1 (most recent hotfix)
PHP8 27 Feb @ 8:51am 
crashing on 0.7.1.1
azzyclio182 27 Feb @ 6:46am 
im run on 0.7.11.0
TheBloodEyes  [author] 27 Feb @ 6:13am 
@azzyclio182 are you sure the mod has been updated for you and you are on 0.7.11.0?
azzyclio182 27 Feb @ 4:04am 
it is still crashing hope you fix it soon for the experimental