Tanks not fill more >32Mb at the chunks border.
Ghostlyr opened this issue ยท 10 comments
Have found a significant bug with all tanks from addon when its located at the chunks border - they not filling more 32MB.
No any errors on logs.
Steps to reproduce:
- Place any iron tank at the chunk border (i have marked it with cobblestone)
- Fill with more 32MB any fluid
- Unload this chunk or re-join to game and fill one more bucket.
- Unload chunk or reload worn again and be perplexed happens: block shows what it fully filled, but really you cant take away more 32 MB and it Waila shows is not filled more.
Product Versions
MC 1.7.10 Forge 1614.
Buildcraft 7.1.16.
IronTanks 1.0.1.50
Other installed mods: industrialcraft, ironchest, NEI, codechickencore, Waila. All updated to lastest versions.
Very interesting; so you're saying if you put another tank off the border and filled it then reloaded this doesn't happen? I'm not sure why/how the chunk border is messing with the tank.
I haven't tried with the version of forge you're using either so there may be something there too.
The fact that the tank shows full when it's not is probably the real bug; reloading just reloads the item data and forge is pretty good about cleaning up junk data (like a liquid container with more than its max).
Yes, am I unable to reproduce the problem off the chunk border. And after such bug tank loses the ability to be filled - bucket anyway remains in the hand, indicators show that filling does, but after one more world reloading tank fullness goes back to 32 MB.
I'm unable to test right now; could be able to tonight but is it possible to roll back to forge 10.13.4.1448 to see if it still happens. That's the version that IronTank was built against.
Also, any other mods loaded besides Buildcraft? Just have to ask.
So, I fixed #1 which feels very similar. Then I refactored a whole bunch of code and looking back I'm wondering if I re-introduced the bug on by trying to set the capacity on instantiation again https://github.com/Indemnity83/irontank/blob/master/src/main/java/com/indemnity83/irontank/tile/TileIronTank.java#L25
Getting closer ... steps to reproduce
- Place a tank down, fill it exactly (48 clicks with a bucket on a gold tank)
- Log out and back in
- NO ISSUE
- Attempt to add more fluid ... nothing happens (as expected)
- Log out and back in
- Tank now shows 32 / 48 buckets
I belive I have it fixed with commit 2c9bd4b. I'll leave the issue open for a bit to have people verify. Update your version to the 1.7.10-1.0.2.54-beta release here:
https://minecraft.curseforge.com/projects/iron-tanks/files/2336499