Coder Social home page Coder Social logo

onimods's Introduction

List of Mods

Mod Description
Increased Meter Limits Increases default unit limit for Liquid/Gas/Conveyor meters.
Dispenser Edibles Allows edibles to be used in storage dispensers.
No Radiation Exposure Animation Disables duplicant radiation exposure animation.
Hysteresis Storage Prevent duplicants from storing items below specified threshold.
Violent Volcanoes Volcanoes emit dangerous rocks while erupting.
Sweep Zones Sweep zones automatically assign sweep errand to debris.
Configurable Timers Set current time for timer sensors.
Automation Bypass Pass automation wires through bypassed ports.
Resource Sensor Automation sensor that outputs logic based on counted materials.

Credits

@pardeike for Harmony
@Peter Han for PLib
@Cairath for ONI Modding Guide
@aki-art for Utility Functions

onimods's People

Contributors

berkays avatar

Watchers

 avatar

onimods's Issues

build error when running the ILMerge for IncreasedMeterLimit

Hi, i'm getting this ILMerge error in trying to build your repository. I've tried VS 2019 and VS2022. ILMerge appears installed and working in the correct directory listed. The Plib.dll and IncreasedMeterLimit.dll appear to be built and in the correct place.

1> An exception occurred during merging:
1> Unable to cast object of type 'System.Compiler.Class' to type 'System.Compiler.DelegateNode'.
1> at System.Compiler.SystemTypes.Initialize(Boolean doNotLockFile, Boolean getDebugInfo, PostAssemblyLoadProcessor postAssemblyLoad)
1> at System.Compiler.TargetPlatform.ResetCci(String platformAssembliesLocation, Version targetVersion, Boolean doNotLockFile, Boolean getDebugInfo, PostAssemblyLoadProcessor postAssemblyLoad)
1> at ILMerging.ILMerge.Merge()
1> at ILMerging.ILMerge.Main(String[] args)
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(5578,5): error MSB3073: The command ""C:\Users\hb\source\repos\ONI-mods-berkay\packages\ILMerge.3.0.41\build..\tools\net452\ILMerge.exe" /ndebug /out:IncreasedMeterLimitMerged.dll IncreasedMeterLimit.dll PLib.dll /targetplatform:v4,"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin"
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(5578,5): error MSB3073: " exited with code 1.

Resource Sensor Global Oddness,

TLDR; Resource Sensor Global only reads values of current planet player is viewing regardless of actual location of sensor.

Global seems a bit finicky in that it only looks at the planet the player is currently viewing. So my sensor on planet 2 is reading food. When I am viewing planet 2 it turns green cause I'm low food. But if I go back to planet 1 it appears to turn off again. Pausing and going back to view planet 2 the counter shows the value for how much food is on planet 1 instead of 2.

Crash Resource Sensor

Error in ResourceSensorSideScreen.ResourceSensorSideScreen.OnPrefabInit at (1424.6, 27.2, 0.0)

System.NullReferenceException: Object reference not set to an instance of an object
at ResourceSensor.ResourceSensorSideScreen.SetElements () [0x00037] in <34418fa9d0fc477893f83bd1e0bdcf82>:0
at ResourceSensor.ResourceSensorSideScreen.OnPrefabInit () [0x00006] in <34418fa9d0fc477893f83bd1e0bdcf82>:0
at KMonoBehaviour.InitializeComponent () [0x00068] in <3ca21dc18eae422d87255277091f8593>:0
Build: U51-600112-SD

I did nothing special, just clicked on the sensor. There has been no problem so far, this is the first time an error has occurred.
Mods and game are up to date.

[Hysteresis Storage] Endless container loading

Sometimes dupes or autosweepers, for no apparent reason, start loading over and over again storage containers, without the container actually holding anything more, even after you deselect the material being loaded, I lost the log to overwriting, but i did took a few videos for you to see:
https://gemoo.com/tools/upload-video/share/568001338325843968?codeId=DGqnbLNRlANOO&card=568001334030876672
https://gemoo.com/tools/upload-video/share/568001555334938624?codeId=Pa685ENz9GKo5&card=568001551266463744

I disabled all the mods i had and the problem persisted with only hysteresis storage enabled.
I could not reproduce the issue, and i have seen it pop up a couple of times only. The only way to fix it is to destroy the container affected, reloading didn't fix it. The game had a huge fps drop when i let it go for a long time.

EDIT: I changed the host for the videos.

Resource Sensor not declaring state correctly.

Testing it a bit more it seems there are two issues.
If there is 0 of the items in the room/area then it will always be red regardless of settings.
image

Second is that it appears to ignore it's own readings of an item. So I put a sensor on my second planet to tell the first planet that it needs food sent. But I noticed that on global it detects food from the first planet and reports 122kg but still remains red.
image

Both states/situations I unpaused and ran for several moments to allow them to update to any changes.

Automation Bypass crashes on automation overlay

When switching to automation overlay (Shift+F2), the game (Spaced Out edition) crashes:

MissingMethodException: System.Collections.IEnumerator KCompactedVector`1.GetEnumerator()
(wrapper dynamic-method) OverlayModes+Logic.OverlayModes+Logic.UpdateUI_Patch2(OverlayModes/Logic)
OverlayModes+Logic.Update () (at <990b4cf9a7d84305ad7eaef1059b672b>:0)
OverlayScreen.LateUpdate () (at <990b4cf9a7d84305ad7eaef1059b672b>:0)
Build: U47-561558-SD

The issue appeared after the game update to June 2023 Quality of Life.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.