1.23 Integrated Heat Dispenser not fully cooling off

  • According to the wiki, the IHDs are supposed to freely exchange heat among the neighboring components, it's self, and the reactor hull so that the temperature is equal.
    http://wiki.industrial-craft.n…Integrated_Heat_Dispenser


    However, the temperature of all the IHDs remain very slightly above 0 long after my reactor has cooled off. Long after all the neighboring cooling cells have returned to normal. The IHDs should always balance the heat such that they wind up with the empty portion of any remainder.

    • Official Post

    Je, this bug is known for some time but not yet fixed.
    An issue with the heat dispersion code, only dispersing HEATDIFFERENCE/2, which in case of heat=1 is 0.


    Will be fixed soon.

  • Code
    HEATDIFFERENCE == 1 ? 1 : HEATDIFFERENCE HEATDIFFERENCE == 1 ? 1 : HEATDIFFERENCE /2;


    problem fixed?


    bah, forum's code tag is broken or i using it wrong.


    simple integrated check HD == 1 ? ! HD/2

  • Probably better would involve adding a mask of the low bit to the result of the existing check function (effectively always round up, but for integer and to the nearest even number).


    EG:
    Replace:
    HeatDiference = Delta >> 1
    With:
    HeatDifference = Delta >> 1 + Delta & 0x1


    Edit: I am presuming that calculating /if/ there is a difference occurs at a different stage than distributing the net delta.