BuildCraft|Core

BuildCraft|Core

7M Downloads

Quarry arm is built too far

SpaceToad opened this issue · 7 comments

commented

As reported several times, on some occasions, the quarry arm is built very far away.

commented

I believe the problem is that the box in TileQuarry is not being initialized as a result of faulty logic in either createUtilsIfNeeded or updateEntity. This makes the default x/y/z min and max to Integer.MAX_VALUE.

commented

Values looked good during debug sessions - but did you find something more specifically wrong?

commented

No, I didn't check very thoroughly. I just went through and quickly evaluated because I am busy with other things at the time. I don't know where else the numbers would be set to wrong values as they are taken from the box and it is only modified the aforementioned methods.

commented

Sort of figured it out. A drill often eventually shows up 2-10 mins later, not sure why, but if you look far enough in one direction, you will see a framework and drill hovering in the distance. And if you go there you can see it, until you try to look at it from any other angle, then it disappears. If you go back to your original orientation, the partial framework and drillbit shows up again. Its really odd. I'm hoping this is enough for a developer to say "Oh, I know why that's happening" and fix it.

-Kelly

commented

@kellyschoenhofen unfortunately, that we say already :-(. If you save and load your world, you'll see the drill a the proper location. Need to dig further.

commented

that sounds like a render bug, where the current transformation matrix is
being reset for some reason ... (ie, rendering at coords X, while
physically being at Coords Y; ) the reason that it only works from a
specific angle is because the perspective transform from the direction of
the actual location of the item (wouldn't surprise me if this only worked
looking along a line that passes through (0,0).

On Mon, Apr 28, 2014 at 9:38 AM, kellyschoenhofen
[email protected]:

Sort of figured it out. A drill often eventually shows up 2-10 mins later,
not sure why, but if you look far enough in one direction, you will see a
framework and drill hovering in the distance. And if you go there you can
see it, until you try to look at it from any other angle, then it
disappears. If you go back to your original orientation, the partial
framework and drillbit shows up again. Its really odd. I'm hoping this is
enough for a developer to say "Oh, I know why that's happening" and fix it.

-Kelly


Reply to this email directly or view it on GitHubhttps://github.com//issues/1640#issuecomment-41513289
.

“Getting information off the Internet is like taking a drink from a fire
hydrant.”
– Mitchell Kapor

commented

Happened to be a real computation desynchronization. Nothing to do with a render bug ;-)