Oxygen Not Included

Oxygen Not Included

Mass Sensor
28 Comments
Den43k#bloodrust 17 Jul @ 8:22am 
NullReferenceException

UnityEngine.GameObject.GetComponent[T] () (at <82f243aab18c4f32918da2df41974365>:0)
MassSensor.Mod+DetailsScreen_OnSelectObject_Patch.Prefix (DetailsScreen __instance) (at <8b9a1c51cd8345e1aeda7fdfd2e4b131>:0)
(wrapper dynamic-method) DetailsScreen.DetailsScreen.OnSelectObject_Patch1(DetailsScreen,object)
EventSystem.Trigger (UnityEngine.GameObject go, System.Int32 hash, System.Object data) (at <7becb3f73037484c93dc2b548fe42a58>:0)
KMonoBehaviour.Trigger (System.Int32 hash, System.Object data) (at <7becb3f73037484c93dc2b548fe42a58>:0)
(wrapper dynamic-method) SelectTool.SelectTool.Select_Patch2(SelectTool,KSelectable,bool)
SelectTool.OnLeftClickDown (UnityEngine.Vector3 cursor_pos) (at <0fc850f6a6e247dd80ffaaaf03c47ba8>:0)
PlayerController.OnKeyDown (KButtonEvent e) (at <0fc850f6a6e247dd80ffaaaf03c47ba8>:0)
KIN  [author] 17 Nov, 2024 @ 8:00pm 
@WolfDK
Oh hey there! I have added compatibility with FastTrack! sorry for the wait!
WolfDK 15 Nov, 2024 @ 12:04pm 
My sensors do not have the ability to rename, and from what i can tell are also missing the Display options controls. It is likely a conflict with Fast Track, similar to what you had on Underground Conduits. Haven't checked though. (I'm BlueishTiger btw, new name, same me).
KIN  [author] 27 Sep, 2024 @ 2:47am 
@Warhead @Drian
Updated for the latest game version!
Warhead 8 Sep, 2024 @ 9:24pm 
hey so, i know it's been a while but, i really love this mod, and i can't get it to run even by it's self. i've saved the crash log, if you want to/have time to take a look. i can't find any other mod that does what this one does. so i'm very sad it's non functional rn. if anyone has any advice i'd greatly appreciate it.
Drian 21 Mar, 2024 @ 4:33pm 
Failure
KIN  [author] 2 Mar, 2023 @ 7:12am 
Updated for the QoL game update.
Neron-RK 28 Feb, 2023 @ 11:54am 
failure
Revsteban 2 Feb, 2023 @ 10:34pm 
I love this thing! great mod
Safti 23 Apr, 2022 @ 9:59am 
yeah, I use the no sensor limit mod already, but I would more prefer to send out automationsignals that are connected to the total mass, not the mass in the single tile, also the no sensor limit sensors are still limited to 100kg or smth like this
Safti 21 Apr, 2022 @ 2:44pm 
I would really appreciate if you could add a Automation Port for the Mass Sensor as the usual Atmo and Hydrosensor have a pretty low maximum pressure. This would be handy for showing the state of a unlimited tank with pixel packs. Anyways, it's a really nice mod :steamthumbsup::meepwow:
KIN  [author] 23 Mar, 2022 @ 7:13am 
Hey @|ScientisT|UA| Thanks for the report. will check it out
3GuB 23 Mar, 2022 @ 4:29am 
got crash
(lower part is first, upper is second)
3GuB 23 Mar, 2022 @ 4:27am 
SimAndRenderScheduler+Sim4000msUpdater.Update (ISim4000ms updater, System.Single dt) (at <53ba8544b0394db88dcaac034e1fe553>:0)
UpdateBucketWithUpdater`1[DataType].Update (System.Single dt) (at <53ba8544b0394db88dcaac034e1fe553>:0)
StateMachineUpdater+BucketGroup.AdvanceOneSubTick (System.Single dt) (at <53ba8544b0394db88dcaac034e1fe553>:0)
StateMachineUpdater.AdvanceOneSimSubTick () (at <53ba8544b0394db88dcaac034e1fe553>:0)
Game.SimEveryTick (System.Single dt) (at <33cbadb4d53344698461e1b8bda03e57>:0)
Game.Update () (at <33cbadb4d53344698461e1b8bda03e57>:0)

Build: U41-498381-SD
3GuB 23 Mar, 2022 @ 4:27am 
NullReferenceException: Object reference not set to an instance of an object

MassSensor.UI.PinnedManager.Create (MassSensor.Sensor sensor) (at <a06023ca0856417eb4caa16c20f4f89e>:0)
MassSensor.UI.PinnedManager.Add (MassSensor.Sensor sensor) (at <a06023ca0856417eb4caa16c20f4f89e>:0)
MassSensor.SensorsManager.Add (System.String name, MassSensor.Sensor reservoir) (at <a06023ca0856417eb4caa16c20f4f89e>:0)
MassSensor.Sensor.Sim4000ms (System.Single dt) (at <a06023ca0856417eb4caa16c20f4f89e>:0)
3GuB 17 Mar, 2022 @ 6:16am 
@KIN it works fine thanks
Konny87 17 Mar, 2022 @ 4:56am 
Very good Mod!!! Love it!

- Does not have an automation port (I didn't think it will be needed)

Unfortunately that's really a pity. If it had an automation port, one could build large liquid tank gauges with Pixel Packs. I have been looking for this for so long.
ruffryders_007 16 Mar, 2022 @ 3:02pm 
Fantastic. Works perfect.
KIN  [author] 16 Mar, 2022 @ 1:48am 
Thank you @ruffryders_007 for the log, It seems I forgot to include a dependency, I have pushed an update that should fix it for you and @|ScientisT|UA|
3GuB 15 Mar, 2022 @ 4:09pm 
also for some reason the game crashes at start when u have smoother light mod when its disabled and mass sensor mod enabled, but when both enabled the game doesnt crash
3GuB 15 Mar, 2022 @ 4:05pm 
@KIN okay ill send u log nex time when it crash
ruffryders_007 15 Mar, 2022 @ 8:24am 
Crashes my game on startup. Vanilla and DLC. Unsubbed from all mods. Resubbed to this one. Crash on startup again.

Exception while loading mod KIN.MassSensor at C:/Users/********/Documents/Klei/OxygenNotIncluded/mods/Steam/2768128560.
System.IO.FileNotFoundException: Could not load file or assembly 'PLib, Version=4.8.1.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
File name: 'PLib, Version=4.8.1.0, Culture=neutral, PublicKeyToken=null'
at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00222] in <33cbadb4d53344698461e1b8bda03e57>:0


Build: U41-498381-S
KIN  [author] 14 Mar, 2022 @ 6:56pm 
Hey @|ScientisT|UA|, Can you copy the error log and paste it here?
3GuB 14 Mar, 2022 @ 1:32pm 
Randomly crashes DLC
KIN  [author] 3 Mar, 2022 @ 6:19pm 
@zeus, as @b.leys said, this will report the total mass of all the connected tiles of an element, the atmo sensor only reports the mass of it's tile.
Diagan 3 Mar, 2022 @ 11:25am 
@zeus, no this is a little better than that. as it senses the mass in adjacent tiles as well.
ᶻᵉᵘˢ 3 Mar, 2022 @ 11:11am 
isnt this just an atmo sensor?