Jump to content

not compatible with Quick Smelt

Fixed 1.3.0 1.4.6

Her_Toxic_Man

Posted

Hi, this is a great plugin, really well done! Could you please make it compatible with the Quick Smelt plugin? That would be fantastic and done quickly. The oven switches off, but Quick Smelt keeps it running even though the oven is off.

tacman1981

Posted

Like I suspected, Quick Smelt uses a repeating timer to keep things burning. It doesnt check if the oven is off and continues with the InvokeRepeating which keeps burning things in the furnaces. Quick Smelt must add a proper guard that stops it from cooking while turned off 😞

tacman1981

Posted

There is a possible fix for quick smelt so it doesn't continue to repeat the cook timer. inside Cook in quick smelt, you could add this guard to prevent it looping while turned off.

if (Furnace == null || !Furnace.IsOn())
{
    StopCooking();
    return;
}

This should prevent the timer from continuing after my plugin turns the furnace off.

tacman1981

Posted

Changed Status from Pending to Not a Bug

Changed Fixed In to 1.3.0

tacman1981

Posted

inside the quick smelt plugin itself. look for "public void Cook()" and add the piece of code just after the { under the method name. this will force it to check if the furnace is off, and deactivate the repeating timer.

tacman1981

Posted

I have added a way for Quick Smelt to control the furnaces being turned off and on, if quick smelt is installed. thanks to your report I figured out a way to add it to mine, so this will work with the default quick smelt plugin now. No longer requiring users to edit in a snippet to another plugin. Marking as fixed

tacman1981

Posted

Changed Status from Not a Bug to Fixed

Changed Fixed In from 1.3.0 to 1.3.1

Her_Toxic_Man

Posted

On 3/12/2026 at 1:35 PM, tacman1981 said:

There is a possible fix for quick smelt so it doesn't continue to repeat the cook timer. inside Cook in quick smelt, you could add this guard to prevent it looping while turned off.

if (Furnace == null || !Furnace.IsOn())
{
    StopCooking();
    return;
}

This should prevent the timer from continuing after my plugin turns the furnace off.

Hey, this worked, but now I have a problem since the client update: when it's burning and I remove the wood, but there are still ores left, it continues to melt them even though there's no more wood left 😞 Do you have another code for me to fix this? Otherwise, it works perfectly 🙂

tacman1981

Posted

hmmm, I'll look into it tonight, I think I got an idea how to handle this, but I want to test it first. ill push an update either tonight or tomorrow morning once I confirm it works.

Her_Toxic_Man

Posted

Mine is slightly modified, so I'd be happy if you used this one 🙂 I have the electric oven with me, that's why 🙂

tacman1981

Posted (edited)

i wont be editing quicksmelt, that previous fix I offered before, was temporary until I could figure out the problem in my code. you can try this 1, It checks for wood being removed, then toggle ovens off, in theory.

 

FurnaceNoOreStop.cs

Edited by tacman1981
more info
Her_Toxic_Man

Posted

Now it works with the wood, but if you remove the ore, it continues to burn. What also bothers me is that if you turn the oven off but then exit the oven menu, the oven automatically turns back on.

Her_Toxic_Man

Posted

Okay, it only stays on if it turns itself on after you exit the UI. If you stay in and do it manually, it works. I think that feature needs to be removed; the oven turning on when you exit the UI is very annoying and also causes some kind of problems.

tacman1981

Posted

3 hours ago, Her_Toxic_Man said:

Okay, it only stays on if it turns itself on after you exit the UI. If you stay in and do it manually, it works. I think that feature needs to be removed; the oven turning on when you exit the UI is very annoying and also causes some kind of problems.

i have no intention to remove it, but I will make a config setting for it, so others aren't forced to deal with this 1. thank you for your suggestion, expect an update soon

Her_Toxic_Man

Posted

Hey, the UI works great, but unfortunately the problem with the wood isn't fixed 😞 I remove the wood and it keeps burning without wood 😞

Screenshot 2026-05-02 041107.png

tacman1981

Posted

6 hours ago, Her_Toxic_Man said:

Hey, the UI works great, but unfortunately the problem with the wood isn't fixed 😞 I remove the wood and it keeps burning without wood 😞

Screenshot 2026-05-02 041107.png

Give this 1 a try. I separated wood and ore logic so they don't try to fight each other. I think I done the check wrong in the previous update by combining them.

FurnaceNoOreStop.cs

tacman1981

Posted

ok i will push the update to mark this fixed. thank you for your assistance.

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.5m
Total downloads
Customers
11k
Customers served
Files Sold
158.3k
Marketplace sales
Payments
3.4m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.