Oxygen Not Included

Oxygen Not Included

Reverse-Cycle AquaTuner
89 Comments
SADPAPATYA 26 Apr, 2024 @ 12:15pm 
up :(
► ▻ 溺水權 ◅ ◄ 24 Apr, 2023 @ 11:06pm 
ubate pls
Curio_M 26 Jan, 2022 @ 8:04am 
This mod was so cool...This machines was so efficient, they are always helped me to boil different liquidsand more! Please, someone fix it, that mod remake below is so bad!
BlackAeronaut 14 Dec, 2021 @ 11:47am 
There's a workable alternative to this mod that works in Vanilla and DLC:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2499782382
KittenCanaveral 18 Oct, 2021 @ 4:14am 
Will this be updated for the current game, it was a fun mod.
DDRMANIAC007 18 Aug, 2021 @ 10:45am 
Would be great if someone did a fix for this mod. Only one of it's kind.
Swoop 22 Jul, 2021 @ 5:13pm 
update please
AceOfSpades 25 Apr, 2021 @ 3:08pm 
Do you have to have the DLC in order for this to show?
johnc 11 Sep, 2020 @ 5:58pm 
Sadly, getting the same error as EterniaLogic.
AeryToast 17 May, 2020 @ 6:55am 
When using the Reverse Aquatuner HV submerged in supercoolant, it goes below 0.0 Kelvin causing the game to throw an assert, Hanging the game.


[13:50:53.563] [50] [INFO] Reporting error.
[13:50:53.563] [50] [INFO] SimMessage: Assert failed: 0.0f < final_temperature && final_temperature <= SIM_MAX_TEMPERATURE
[13:50:53.563] [50] [INFO] simlib/SimFrameManager.cpp:385
群坤坤 16 May, 2020 @ 11:23pm 
这个如果用岩浆泵加上高压水库那就是无限储存热量了
3GuB 13 Mar, 2020 @ 10:22am 
@Ronivan how to create custom animations?
Ronivan 12 Mar, 2020 @ 11:04am 
Hey what you guys think about this model? https://i.imgur.com/DKzGSZs.png

I'm working on custom animations for every building in this mod now.
Ronivan 12 Mar, 2020 @ 11:01am 
Don't worry, I've fixed the issue. It was not your mod fault, but steam for not updating it properly.
BoNes  [author] 12 Mar, 2020 @ 1:06am 
Does your output.log (C:\Users\USERNAME\AppData\LocalLow\Klei\Oxygen Not Included) reveal anything about the crash?
Ronivan 10 Mar, 2020 @ 4:42pm 
I'm still not able to use this mod. It crushes as soon as the game loads. I'm not using Blow Dryer. Tried unsub + cleaning mod folder, and still no go.
Lucky Strike 9 Mar, 2020 @ 12:08am 
@BoNes The error was caused by a conflict with Blow Dryer. Whenever I tried loading both mods this crash occurred. So I tried replacing PLib in your mod or in Blow Dryer or both, with no luck… same error :(. Well guess I’ll disable Blow Dryer for now^^
BoNes  [author] 8 Mar, 2020 @ 4:24pm 
@Lucky Strike: I don't know why it'd be crashing like that. It sounds like something is conflicting with PLib, and that's outside my control.

The only thing I can suggest is to go to the PLib Github [github.com] and try different versions of the PLib.dll but I don't know how much luck you'd have with that.
Lucky Strike 8 Mar, 2020 @ 1:08pm 
@[TRR] Aurelian thanks mate, managed to install it manually.

Sadly still getting the same error :(
Aurelia 8 Mar, 2020 @ 10:58am 
@Lucky Strike you put it here: C:\Users\USERNAME\Documents\Klei\OxygenNotIncluded\mods\local or \mods\dev - can be useful to have a mod in there, though. Prevents the game from auto-disabling all mods if you have a crash (you get an option to disable all the mods, or continue in an unstable state).
Lucky Strike 8 Mar, 2020 @ 10:42am 
How do I install mods from GitHub btw? Wanna try mannualy intalling it, maybe it helps...
Lucky Strike 8 Mar, 2020 @ 10:40am 
Works as long as don’t open the mod menu after activating the mod. If I open the mod menu with your mod active the game crashes as soon as I close it, via the close or x button (does not crash if I exit the mod menu via esc key).

Output log [pastebin.com]

Seems to be a problem with PLib… :/
Storm[HUN] 7 Mar, 2020 @ 1:39am 
Quickly tested: No crash when enabled in current patch, and no crash when enabled alongside Blow Dryer. Went as far as building a RCAT in the game, but did not sue it yet, so far so good though.

Thank you!
BoNes  [author] 7 Mar, 2020 @ 12:36am 
Update to support latest version. Also updated PLib so it should fix BlowDryer incompatibility issues... I haven't tested this myself, so could you please let me know how things go.
Storm[HUN] 6 Mar, 2020 @ 1:10am 
Greetings! The mod crashes with the latest patch.

As for the BlowDryer incompatibility, this was talked about on the modding discord, it's caused by using an old version of Plib if I remember correctly.
BoNes  [author] 29 Feb, 2020 @ 1:56am 
I've looked into it, and I'm not sure why it conflicts with the Blow Dryer mod. It could just be something as simple as they both mess with the same game code, so the game freaks out.
DDRMANIAC007 28 Feb, 2020 @ 11:44pm 
Mod still crashes with Blow Dryer.
Fireflower20002 26 Feb, 2020 @ 3:15pm 
@BoNes

Thanks. I will notify you if I have any other problems.
BoNes  [author] 26 Feb, 2020 @ 3:13pm 
I transferred over the old code to the newer version of ONI. However, this change required me to almost start from scratch as my IDE chucked a major fit when I set the target framework to .NET 4.0 (it was on 3.5)

The main thing that I was concerned about in my previous comment is that the game DLLs are using .NET 4.0 now. So if you tried to boot this mod up in an older version (not sure if this would currently include the main branch), then it'd most likely burst into flames.

The mod itself should still work just as it did. The code behind the scenes should all work the exact same way.
Fireflower20002 26 Feb, 2020 @ 3:05pm 
@BoNes

So did you make a new version or did you update this one so that it works on newer versions.

Please be specific.
creeperlization 26 Feb, 2020 @ 4:25am 
Thanks for your working
BoNes  [author] 26 Feb, 2020 @ 2:08am 
I have had to create a whole new project and transfer my old code over to it, this is because Klei seems to upgraded to .NET 4.0 (they were using .NET 3.5). This caused several compiler errors. The complete rebuild seems to have fixed the issues though.

I've uploaded a new version. I'd expect that it'll only work on the versions of ONI since the 4.0 upgrade. And I'm not sure if the main branch is still 3.5 or using 4.0... I've booted it up in the beta branch and it doesn't crash, game loads correctly and the buildings are showing up where they should. I haven't had the time to fully brute force test it yet, so if you have issues can you let me know?
BoNes  [author] 26 Feb, 2020 @ 1:11am 
Sorry I hadn't been on steam in a little bit. Just come on to find the messages about crashes. I'm looking into it and I'll see if I can get a fix up shortly.
Fireflower20002 23 Feb, 2020 @ 10:54am 
Please Fix this
单跳标记点,60分白送就 20 Feb, 2020 @ 7:08am 
broken in new beta..pls fix it .
Aurelia 16 Feb, 2020 @ 7:06pm 
Found a bug (kinda). For the reverse cycle thermo regulator, when the temperature exceeds ~9600 the game crashes. Pretty sure this is the games fault due to not being able to handle temperatures hotter than that, but could you do something similar to what you did with the minimum temperature for the machine, but make it so it's for the max temperature for the gas?
DDRMANIAC007 13 Feb, 2020 @ 2:31pm 
Mod now conflicts with other mods since the last update. An example I found was this:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1855385913
Running the 2 together and only them still results in crash.
McyD 8 Feb, 2020 @ 9:07am 
It seems broken on the last update.
son-goku 13 Jan, 2020 @ 11:49pm 
@BoNes, I put about 600 kg of Ethanol in a small bowl (if you will) and put the tuner into it. I have it run until I get the entombment notification and disable the building until the ethanol is back to its regular temperature.

Sure, it's -40°C in the air around it but it's Rime, so nothing new there :D
BoNes  [author] 13 Jan, 2020 @ 5:09pm 
@Gabe Newell: Here's how I do the delta getting worse...
[HarmonyPatch(typeof(AirConditioner), "UpdateState")]
class AirConditionerPatch
{
static bool Prefix(ref AirConditioner __instance, out float __state, float dt)
{
__state = __instance.temperatureDelta;

if (__instance.temperatureDelta > 0f)
{
// Read temp and adjust the delta
GameObject go = __instance.gameObject;
PrimaryElement elem = go.GetComponent<PrimaryElement>();
float temp = elem.Temperature;
float temp_diff = (temp < 73.15f) ? (temp - 8.15f) / 65f : 1f;

// Gets EXPONENTIALLY worse
__instance.temperatureDelta = __instance.temperatureDelta * temp_diff * temp_diff;
}

return true;
}

static void Postfix(AirConditioner __instance, float __state)
{
// Restore original delta
__instance.temperatureDelta = __state;
}}
BoNes  [author] 13 Jan, 2020 @ 5:08pm 
Sorry I haven't replied to comments for a few weeks... been busy over X-Mas and then had other RL issues pop up.

@[Y]ushura Raki: The option to adjust wattage has been in there for a long while already. In the mods menu click the options button next to this mod.

@son-goku: You should try submerging the machine in liquid (in the case of the regulator, a puddle of liquid so it doesn't flood the machine) and use a tepidizer to heat the liquid.
[Y]ushura_ 30 Dec, 2019 @ 7:09am 
Please make option to adjust the wattage, it stressing me out to reach the wattage required
son-goku 25 Dec, 2019 @ 9:16am 
What's the mechanic for the tuner itself cooling? I play on rime and I have to warm up some cool slush so I can turn it to water and the machine can process maybe 20 packets of water before it reaches the -200°C. It cools itself by roughly 6-7°C per packet. Seems excessive.
tyrian 18 Dec, 2019 @ 3:28am 
I saw your code :
reverse HV
「buildingDef.SelfHeatKilowattsWhenActive = 0f;」
so,How can you low the temperature ??
I'm making my own mod, I wang to auto turn off my cooler machine when the temperature is below -160℃, but, your effect is more elegant, first slow down , and then power off !!?!?!?!?
it was awsome , so how can I create this effect to my own mod ??
the absolutly zero is killing me down, I don't why the game crashed. whatever:steamfacepalm:
thanks !
Nahinalau 12 Dec, 2019 @ 9:24pm 
So cool! Thank you for the lower minimum temperature!
davawen 10 Dec, 2019 @ 5:57am 
Working great now, thankyou ! <3
BoNes  [author] 9 Dec, 2019 @ 9:14pm 
I honestly don't know what would be causing that. Deleting the folder and resubbing should've definitely fixed it (if the simple unsub -> resub didn't work). The MinimumOperatingTemperature should be set to 73.15 in the new version.

I've uploaded the mod files to my GitHub: https://github.com/Lord-BoNes/ONI-Mods/tree/master/LiquidConditionerReversed
The file you want is LiquidConditionerReversed.dll... overwrite the one in the mod folder.
davawen 9 Dec, 2019 @ 10:49am 
Even after unsubscribing, deleting the folder then resuscribe, It still didn't work :/
I looked at the program with JetBrain DotPeek, and at Line 57 of 'AirConditionerReversedConfig', the 'MinimumOperatingTemperature' is still at 273, so I don't know if it's Steam not updating the mod or something like that ??

((MinimumOperatingTemperature) EntityTemplateExtensions.AddOrGet<MinimumOperatingTemperature>(go)).minimumTemperature = (__Null) 273.0;
BoNes  [author] 8 Dec, 2019 @ 8:17pm 
@d.arthaud: I've just disabled my developer version of the mod so I could test this. Then I subscribed to this mod and started Oxygen Not Included. Everything worked exactly like it should. You should try unsubscribing and resubscribing to this mod. If it doesn't work the first time, start ONI in between unsubbing and resubbing.
davawen 8 Dec, 2019 @ 11:32am 
Seems like they are still bonded to 0c ?
And the game did say to me that the mod got updated ?_?