View Issue Details

IDProjectCategoryView StatusLast Update
0001514Industrial-Craft²machinespublic2015-01-17 12:12
ReporterPaul17041993 Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Product VersionBuilds for MC 1.7.10 
Summary0001514: Fluid Distributors can get jammed
DescriptionIf a Fluid distributor is set to distribute between two distributors set to concentrate, when the first is fed 1mB of a fluid it can potentially jam the other two (ones set to concentrate) with '0mB' of the fluid, only way to fix is to break the two jammed distributors.
TagsNo tags attached.
Minecraft Version

Activities

Chocohead

2015-01-17 11:55

developer   ~0003673

Gah, rounding errors. I expect it's ended up with 0.5mB in both, but fluid's stored as an int.

Paul17041993

2015-01-17 12:12

reporter   ~0003675

yea, you're not supposed to blindly divide ints for that very reason, essentially you should check if it's dividable by the required factor (key; mod op), take the remainder out out and divide the result provided it's still > 0, then re-add the remainder back in either in the tank or to any of the outputs.

probably should be an option to change whether it keeps or outputs the remainder, I see both being used, distilled water from a cold steam gen and when you want a perfect balance are examples of each.

Issue History

Date Modified Username Field Change
2015-01-17 08:41 Paul17041993 New Issue
2015-01-17 11:55 Chocohead Note Added: 0003673
2015-01-17 12:12 Paul17041993 Note Added: 0003675