缺氧
Default Building Settings
65 条留言
Kupie 11 月 12 日 上午 10:32 
Any chance we could have this set Tinker to "disabled" on generator buildings, too? It's fine if not, I can figure it out and make a PR too!
Aze  [作者] 2024 年 5 月 4 日 下午 7:04 
@Joren: Install Mod Updater. It's essential for modding this game.
Jerek 2024 年 5 月 4 日 下午 7:03 
Thanks, with that lead, I was able to figure out how to get it to update, and now it works!

I wasn't sure how to upload the full log, since I can't paste more than 1000 characters here. But when I looked at the log some more, I found this version: 2021.6.27.13

My copy of it was VERY out-of-date. I tried unsubscribing and resubscribing, but it was still the same. I tried unsubbing, launching the game, then quitting and subbing again, but that didn't work either. I did some googling, and found instructions to track down the mod files themselves and delete them. I restarted Steam, relaunched the game... and it crashed again -_-. So then I also verified all the files, restarted Steam again, and THEN it finally worked. I also loaded up my game and confirmed that newly built items have the right settings, so the mod is working great.

I really wish Steam would just let us click a button to redownload all our mods.

Thanks for your help diagnosing this problem that wasn't your fault!
Aze  [作者] 2024 年 5 月 4 日 下午 3:08 
@Joren: Could you please upload the full log? You're probably on an outdated mod version (this was fixed in 12/22...), and the log would confirm it. There's basically no way for this crash to be context sensitive, so it should be triggering on my end if a new variation had been introduced.
Jerek 2024 年 5 月 4 日 下午 2:48 
Sure, here's the exception in my Player.log file. I had to cut off a lot to keep it under the char count.

[21:36:32.410] [1] [ERROR] null Exception while loading mod Aze.DefaultBuildingSettings at C:/Users/USERNAME/OneDrive/Documents/Klei/OxygenNotIncluded/mods/Steam/1989737447.
HarmonyLib.HarmonyException: Ambiguous match for HarmonyMethod[(class=BuildingDef, methodname=Build, type=Normal, args=undefined)] ---> System.Reflection.AmbiguousMatchException: Ambiguous match found.
at System.RuntimeType.GetMethodImpl (System.String name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Reflection.CallingConventions callConv, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) [0x00059] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Type.GetMethod (System.String name, System.Reflection.BindingFlags bindingAttr) [0x0000e] in <695d1cc93cca45069c528c15c9fdd749>:0
at HarmonyLib.AccessTools.DeclaredMethod [...etc...]
Aze  [作者] 2024 年 5 月 4 日 上午 10:27 
@Joren: I just tested, and it's working fine for me. Could you provide a log?
Jerek 2024 年 5 月 2 日 上午 10:09 
This is consistently crashing on startup for me.

Though admittedly I haven't tried disabling my other mods, and I'm not seeing a bunch of other comments about this, so it's possible that it's a conflict between certain mods that I have.
Aze  [作者] 2024 年 2 月 28 日 下午 5:47 
@Bardagh: It shouldn't affect previously placed buildings, just new placements.
Bardagh 2024 年 2 月 28 日 下午 5:38 
I guess I'll just have to pay attention to when this gets updated & make sure to fix it before loading.
Aze  [作者] 2024 年 2 月 27 日 下午 4:30 
@Bardagh: Yeah, sorry. That's unavoidable. They should persist just fine until the next update.
Bardagh 2024 年 2 月 26 日 下午 10:13 
The recent update reset my settings to default.
Aze  [作者] 2024 年 2 月 24 日 下午 5:15 
@Moneybucks: I can't reproduce. DBS with Sweep Only enabled, and Hysteresis Storage active. I can generate a new world just fine.

Can you reproduce this 100% of the time?
Moneybucks 2024 年 2 月 24 日 下午 2:46 
Error in RationBoxComplete.TreeFilterable.OnPrefabInit at (183.5, 120.0, -19.5)

System.NullReferenceException: Object reference not set to an instance of an object
at HysteresisStorage.HysteresisStoragePatches+FilteredStorage_OnFilterChanged_Patch.Prefix (System.Collections.Generic.HashSet`1[T] tags, FilteredStorage __instance, FetchList2& ___fetchList, Storage ___storage, ChoreType ___choreType, Tag[] ___forbiddenTags) [0x0005d] in <82bba6ded5844081b4c9d7728673c2d2>:0
at (wrapper dynamic-method) FilteredStorage.FilteredStorage.OnFilterChanged_Patch1(FilteredStorage,System.Collections.Generic.HashSet`1<Tag>)
at FilteredStorage.OnOnlyFetchMarkedItemsSettingChanged (System.Object data) [0x0000c] in <ad63d841ef814a5d8bf82e8bc9ca21bd>:0
at EventSystem.Trigger (UnityEngine.GameObject go, System.Int32 hash, System.Object data) [0x000a7] in <1e2b7d5db95c4d6b84eabb7ca0270927>:0
Moneybucks 2024 年 2 月 24 日 下午 2:45 
at KMonoBehaviour.Trigger (System.Int32 hash, System.Object data) [0x00026] in <1e2b7d5db95c4d6b84eabb7ca0270927>:0
at Storage.SetOnlyFetchMarkedItems (System.Boolean is_set) [0x00016] in <ad63d841ef814a5d8bf82e8bc9ca21bd>:0
at DefaultBuildingSettings.Storages+SweepOnly_Patch.Postfix (TreeFilterable __instance) [0x00027] in <0ae9c1a87912474b9fa3558c8a4297ce>:0
at (wrapper dynamic-method) TreeFilterable.TreeFilterable.OnPrefabInit_Patch2(TreeFilterable)
at KMonoBehaviour.InitializeComponent () [0x00068] in <1e2b7d5db95c4d6b84eabb7ca0270927>:0
Build: U50-587362-S
Moneybucks 2024 年 2 月 24 日 下午 2:44 
Hi.
This mod appears to have a conflict with the hysteresis storage mod, if the "Sweep Only" option is enabled. Results in a crash on world generation, with the following stack trace.


Disabling the "Sweep Only" option is a workaround.
I'm not sure which mod is most 'responsible', so I'll post this comment on both discussion pages.
Aze  [作者] 2024 年 1 月 7 日 下午 7:14 
@DustyFennec: Thanks for the report. Fixed in the latest release.
DustyFennec 2024 年 1 月 7 日 上午 1:53 
Just putting this here so people know and with any luck the mod will get updated.
Using the setting 'sweep by default' for containers affects storage tiles even though they don't have an option in there UI to toggle this. This results in dupes not delivering anything to storage tiles without sweeping it.
BevansDesign 2023 年 8 月 13 日 下午 1:58 
This is a great mod. Any chance you could add an option to Forbid or Allow mutant seeds by default?
Kirishima 2023 年 5 月 16 日 上午 10:12 
很喜欢,感谢作者
like it,thankkkkkkk!
Sarge 2023 年 5 月 14 日 上午 6:54 
Great Mod!
Please also add "Auto-Disinfect off" - that would be great!
BabaTamara 2023 年 4 月 18 日 下午 2:41 
Hi! Thanks for this mod! A great QoL addition. Cheers!
moustif 2023 年 3 月 5 日 上午 9:03 
I wish I had found this mod earlier :D thank you very much anyway!
凉白开兑水 2022 年 12 月 18 日 上午 7:23 
Thanks!I can't play without this mod
The Tempted Man 2022 年 12 月 18 日 上午 2:51 
thanks
Aze  [作者] 2022 年 12 月 17 日 下午 5:39 
@Medic: This is now fixed.
Izzy 2022 年 12 月 16 日 上午 9:31 
as of update 535720 this crashes on startup
Morokael 2022 年 11 月 30 日 上午 10:22 
Amazing. Thank you so much!
跟我对枪?我自动锁头 2022 年 10 月 29 日 下午 8:56 
can u make them auto set suit on
乘風 2022 年 3 月 26 日 上午 3:11 
改变建筑物的设置,当你第一次建造它们时!

有些建筑物的设置几乎总是与默认设置不同,这个模块允许您配置其中一些以减少忘记的机会并最大限度地减少工作量。 这些可以单独启用和禁用。

特征:
将 atmo suit 和 jetpack 检查点设置为默认为 Vacancy Only。
将透气门设置为打开。
将存储设置为默认为 Sweep Only。
将建筑物设置为默认关闭修复。
将开关设置为初始化为非活动。
设置智能电池的默认范围。
为手动和煤炭/木材发电机设置默认阈值。
设置水库的默认范围。
Marcus 2022 年 3 月 17 日 上午 9:54 
Works great, one of my must have MOD's.
Luna 2021 年 12 月 18 日 下午 1:37 
update plz
Vulkandrache 2021 年 12 月 10 日 上午 3:08 
I do not have the config button anywhere in the mod menu.
I do not know why or how.
Darth Nihilus 2021 年 10 月 7 日 上午 1:30 
"Set buildings to default to Repair Off." ahhh at last i found you
Aze  [作者] 2021 年 1 月 2 日 下午 5:10 
@TarNation1101: I added support to change the initial state of automation switches, since that makes sense to me, but what others would make sense? Logic gates and other automation elements almost always need to be set to something different for each purpose, while this mod tries to fix the things that you set to a single specific value the majority of the time.
Narlindir 2020 年 12 月 1 日 下午 9:55 
ok now there is one!
amazing :sfhappy:
Thank you so very much :D
Aze  [作者] 2020 年 12 月 1 日 上午 11:07 
@Narlindir: Yes. There is an options button on this entry for this mod in the mods menu.
Narlindir 2020 年 12 月 1 日 上午 4:36 
Nice! is that in game?
Because I dont see a configuration menu in the default mod loader thing
Aze  [作者] 2020 年 12 月 1 日 上午 3:50 
@Narlindir: “this mod allows you to configure”, yes.
Narlindir 2020 年 11 月 30 日 下午 8:03 
can one configure these?
or at least pick and choose?

I am new but I dont think I want autoreapair set to off
(unless this is some late game stuff you do, if so please enlighten me)
TarNation1101 2020 年 11 月 26 日 下午 1:15 
Default automation settings would be a nice addition. :) Thanks for this wonderful mod. It would be worth it even just for the atmo docks.
The Scottican 2020 年 11 月 12 日 下午 9:10 
If not part of it already, set seed to be planted.
Aze  [作者] 2020 年 7 月 24 日 下午 5:09 
@le_potatoe: Glad we got it sorted. For anyone wondering, it was an out of date mod causing the issue.
le__potatoe 2020 年 7 月 24 日 下午 2:33 
just posted a new issue on your github page with my savegame attached
Aze  [作者] 2020 年 7 月 24 日 下午 1:32 
@le__potatoe: Can I get a save file?
le__potatoe 2020 年 7 月 24 日 下午 12:42 
@Aze: my colony has like tripple the amount of loading time than without this mod
would be really happy if you could look into it
Aze  [作者] 2020 年 7 月 4 日 下午 10:38 
@Elliottcable: Crazy delayed response, it looks like Steam unsubscribed me from this thread (ugh). I'll look into this. Only happens in Debug mode?
ELLIOTTCABLE on Discord 2020 年 5 月 12 日 下午 8:16 
So I'm pretty sure this mod is occasionally causing me crashes in Debug Mode when I place a new door and then unpause.

The error log looks something like this:

UnityEngine.Component.GetComponent[T] () (at <a35d771e78bd4d75a6f3aedeaad4d1ed>:0)
Door.QueueStateChange (Door+ControlState nextState) (at <dfdee8b9a425463eaf5100480bb21e0a>:0)
DefaultBuildingSettings.OnBuild_Patch+<>c__DisplayClass2_0.<OpenDoors>g__OpenDoor|0 (System.Object comp) (at <4c611f4b5a2e423e9e19d2c2e8a697c0>:0)
Scheduler.Update () (at <dfdee8b9a425463eaf5100480bb21e0a>:0)
GameScheduler.Update () (at <dfdee8b9a425463eaf5100480bb21e0a>:0)

(I'm having some trouble producing a reliable reproduction; but it's happened two or three times)
fuxing55 2020 年 5 月 5 日 下午 7:39 
机翻:
当你第一次建造它们的时候改变它们的设置!

有些建筑的设置几乎总是不同于默认设置,这个模块允许你配置其中一些,以减少遗忘的机会,并尽量减少努力。这些可以单独启用和禁用。

特征:

将atmo suit和jetpack checkpoints设置为默认值“仅空缺”。

打开透气门。

将“存储”设置为“默认”以“仅扫描”。

将“建筑物”设置为“默认”以关闭“修复”。

设置智能电池的默认范围。

为手动和煤/木材生成器设置默认阈值。

设置水库的默认范围。


Redsamme! <3 2020 年 4 月 9 日 下午 12:51 
Awesome work! I think this will definitely be one of my core mods. Very handy!
Aze  [作者] 2020 年 4 月 8 日 下午 10:17 
@Redsamme: Smart batteries, generators, and reservoirs are now supported. Thanks for the idea!