389 posts
Location
Norway
Posted 17 January 2013 - 10:23 AM
CC Version1.481
Bug summaryRefuel at max fuel level(2^31-1) will give you a overflow and give you negative fuel level.
What you didEdited the NBT on my turtle to max value, then refueled with coal.
What you expected to happenThe java side code to prevent me from adding fuel beyond max value.
What actually happenedI got negative fuel level.http://puu.sh/1OAlb
871 posts
Posted 17 January 2013 - 10:59 AM
Note to self: never fuel a new turtle with more than 53,687,091 pieces of coal at once.
2447 posts
Posted 17 January 2013 - 11:10 AM
You'd need 1073742 buckets of lavq to reach that value. That just isn't going to happen.
15 posts
Posted 17 January 2013 - 12:04 PM
With vanilla CC fueling, I couldn't ever see this happening. However, with some peripheral addons (such as with misc. Peripherals' charging station), I could possibly imagine a turtle reaching Max fuel. Now, I still don't know what would happen as even with my turtles almost always docked at their charge stations while in a constantly loaded chunk, I am still not even 10% there after about 10 days. But in a few months or so, I might eventually see it happen. And if it does roll over, it might be the fault of misc. Peripherals, and not CC. But I might try out putting a piece of coal and trying to fuel if it ever does happen.
3790 posts
Location
Lincoln, Nebraska
Posted 17 January 2013 - 12:06 PM
Wow….nice job breaking things, Cruor! This is why we can't have nice things…..
2217 posts
Location
3232235883
Posted 17 January 2013 - 02:41 PM
now everyone is using that in game nbt editor :3
7508 posts
Location
Australia
Posted 17 January 2013 - 10:46 PM
724 posts
Posted 18 January 2013 - 04:37 AM
With vanilla CC fueling, I couldn't ever see this happening. However, with some peripheral addons (such as with misc. Peripherals' charging station), I could possibly imagine a turtle reaching Max fuel. Now, I still don't know what would happen as even with my turtles almost always docked at their charge stations while in a constantly loaded chunk, I am still not even 10% there after about 10 days. But in a few months or so, I might eventually see it happen. And if it does roll over, it might be the fault of misc. Peripherals, and not CC. But I might try out putting a piece of coal and trying to fuel if it ever does happen.
Good luck to wait about 3,4 year of real time ;)/> Doubt any server will have such uptime with current update rate.
2217 posts
Location
3232235883
Posted 18 January 2013 - 04:51 AM
Good luck to wait about 3,4 year of real time ;)/> Doubt any server will have such uptime with current update rate.
/me emagines a tekkit server that has been abandoned for 3 or 4 years
or cheat engine's speedhack :3