This is the error in my console while playing with your mod, as the mod itself seems to be ok ingame and working fine, console is constantly red. Do you know what might be the reason for it and how to fix that?
at Il2CppInterop.Runtime.Il2CppException.RaiseExceptionIfNecessary(IntPtr returnedException) in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/Il2CppException.cs:line 36 at Il2CppScheduleOne.ObjectScripts.Sprinkler.GetPots() at AutoWater.AutoWaterMod.CheckSprinklerNeedsWater(Sprinkler sprinkler) [16:10:58.656] [AutoWater] Error checking sprinkler: Il2CppInterop.Runtime.Il2CppException: System.NullReferenceException: Object reference not set to an instance of an object. --- BEGIN IL2CPP STACK TRACE --- System.NullReferenceException: Object reference not set to an instance of an object. at ScheduleOne.ObjectScripts.Sprinkler.GetPots () [0x00000] in <00000000000000000000000000000000>:0 --- END IL2CPP STACK TRACE --- at Il2CppInterop.Runtime.Il2CppException.RaiseExceptionIfNecessary(IntPtr returnedException) in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/Il2CppException.cs:line 36 at Il2CppScheduleOne.ObjectScripts.Sprinkler.GetPots() at AutoWater.AutoWaterMod.CheckSprinklerNeedsWater(Sprinkler sprinkler)
Before I had to reduce the Botanist workload because there were just some plants they would never get around to harvest with airpots and full spectrum. Now, on a fresh soil fill, by the time they're finished planting the seed, the pot is already watered so they focus on other important things such as Harvesting instead of watering until every plant is fully grown before harvesting, then by the time they've harvest 4-5, they just had so much watering to do, they would never get around to the last.
Now, the only time there's multiple to harvest is right at 7am. After those are harvested, as they finish planting the new seed, the next one is ready to harvest. Then they harvest that. Keeps them busy all day long. The only time the Botanist is able to step outside is at 4am. Not once do they spend their time watering. Just Harvest > (soil if necessary) > plant > Harvest continously all day long. Love it. Cannot recommend it enough.
Can't wait to use this mod when i finish this game legit, I was hoping someone would have done this thank you Lace, and i checked your curseforge out as well nice birthday reminders.
Update, I've released v1.1.0 which should fix the problem with the stuttering by running per frame 5 pots at a time which is relatively fast enough to not notice and solved a null error that appeared when placing the sprinklers.
15 comments
at Il2CppInterop.Runtime.Il2CppException.RaiseExceptionIfNecessary(IntPtr returnedException) in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/Il2CppException.cs:line 36
at Il2CppScheduleOne.ObjectScripts.Sprinkler.GetPots()
at AutoWater.AutoWaterMod.CheckSprinklerNeedsWater(Sprinkler sprinkler)
[16:10:58.656] [AutoWater] Error checking sprinkler: Il2CppInterop.Runtime.Il2CppException: System.NullReferenceException: Object reference not set to an instance of an object.
--- BEGIN IL2CPP STACK TRACE ---
System.NullReferenceException: Object reference not set to an instance of an object.
at ScheduleOne.ObjectScripts.Sprinkler.GetPots () [0x00000] in <00000000000000000000000000000000>:0
--- END IL2CPP STACK TRACE ---
at Il2CppInterop.Runtime.Il2CppException.RaiseExceptionIfNecessary(IntPtr returnedException) in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/Il2CppException.cs:line 36
at Il2CppScheduleOne.ObjectScripts.Sprinkler.GetPots()
at AutoWater.AutoWaterMod.CheckSprinklerNeedsWater(Sprinkler sprinkler)
Before I had to reduce the Botanist workload because there were just some plants they would never get around to harvest with airpots and full spectrum. Now, on a fresh soil fill, by the time they're finished planting the seed, the pot is already watered so they focus on other important things such as Harvesting instead of watering until every plant is fully grown before harvesting, then by the time they've harvest 4-5, they just had so much watering to do, they would never get around to the last.
Now, the only time there's multiple to harvest is right at 7am. After those are harvested, as they finish planting the new seed, the next one is ready to harvest. Then they harvest that. Keeps them busy all day long. The only time the Botanist is able to step outside is at 4am. Not once do they spend their time watering. Just Harvest > (soil if necessary) > plant > Harvest continously all day long. Love it. Cannot recommend it enough.
https://www.virustotal.com/gui/file/284a70d96e060de4932643145fcf4eefa772aa006c034550c75882f4a1dfebbb
Its also validated by Nexus Mods
Also I saw you are modding 7dtd and dying light which I'm also playing, so maybe I'll try them out!
Cheers!
PERFECT mod: Works as it should it does freeze the screen when they turn on but its less than a Millisecond!
About the micro stutter, I will try to make the automation in batches instead of all at the same time.
About the soil dispenser it's a very good idea, I've released AutoSoil
https://www.nexusmods.com/schedule1/mods/610
Thank you for the suggestion!