TrainCarts icon indicating copy to clipboard operation
TrainCarts copied to clipboard

Carts can phase through blocks

Open FireController1847 opened this issue 4 years ago • 15 comments

BkCommonLib version: 1.15.2-v3
TrainCarts version: 1.15.2-v2-SNAPSHOT
Spigot version: Paper 1.15.2 273

Problem or bug: Carts can phase through blocks, resulting in many redstone contraptions using carts to break entirely.

Expected behaviour: Carts are properly handled and do not phase through blocks.

Steps to reproduce: Place two rails with a block on either end. Slowly but surely push the cart into the block, eventually it will fall off the track and begin phasing through the block.

FireController1847 avatar Jul 04 '20 20:07 FireController1847

Please use /train version to give us the actual versions (Including build)

Also, you may check your trains behaviour by shift-left clicking it and then run /train info. This will usually list what the train would do when colliding with entities and blocks.

Andre601 avatar Jul 04 '20 20:07 Andre601

My apologies, I had just used the versions from my previous bug report as I was reporting this in somewhat of a hurry. Now that I've taken care of the, erm, situation, here's the correct info:

BKCommonLib: 1.15.2-v4 Build 791 TrainCarts: 1.15.2-v1 Build 585 (however, in my other server where we were using the latest v2 snapshot, it was also an issue, though I can't get the exact build on that now since we've updated to 1.16 and temporarily removed TrainCarts) Spigot: Paper 1.15.2 Build 283

Here's a short gif showing the issue 20200704233009-7c011ad592 gif-2-mp4 com

And here is the train info while the train is inside of a block:

image

FireController1847 avatar Jul 04 '20 20:07 FireController1847

I cannot really reproduce this bug despite trying it on my own 1.15 test server with the exact same settings, so it must be something on your end... (And yes, I changed properties to also take in entities later and that didn't change anything) image

Andre601 avatar Jul 04 '20 20:07 Andre601

Train_Carts.zip

Here are my configuration files. I wonder if it's something I've set somehow?

FireController1847 avatar Jul 04 '20 21:07 FireController1847

Related to #319, seems like it's not truly fixed completely.

bbayu123 avatar Jul 04 '20 21:07 bbayu123

Can you verify using 1.16.1-v1 for BK and TC so we know whether this is still relevant or not?

bbayu123 avatar Aug 04 '20 04:08 bbayu123

Appears to be fixed as of TrainCarts 1.16 v2 Build 698 w/ BKCommonLib 1.16 v1 Build 838, using PaperMC 1.16.1 Build 117

Further testing might need to be done on the newest v1, however.

Not sure if I changed my configuration at all, but I unfortunately don't have the time currently to test with my old config (or if it works). I don't believe I've reset my config but I recently completely reconfigured my server so I'm not sure.

FireController1847 avatar Aug 04 '20 05:08 FireController1847

I would say that result is recent enough to be called resolved, however, if you do find it reappearing, feel free to reopen this.

bbayu123 avatar Aug 04 '20 05:08 bbayu123

This is still apparently an issue as on BKCommonLib 2 build 944 and TrainCarts 2 build 749 on Paper 1.16.4 build 282. We have found that the issue is easier to reproduce if, instead of putting two rails, put one rail between two blocks. It will almost always phase through the blocks. At a terrible guess, I would assume that it is because of the custom collision physics modifying the hitbox to be bigger than a block? But that's a random guess.

I can't re-open the issue because you closed it, but I think it needs to be re-opened.

FireController1847 avatar Nov 18 '20 00:11 FireController1847

There is no BKCommonLib 2 and TrainCarts 2. I assume you mean the latest 1.16.4 releases?

Also, could you provide steps to reproduce this and a list of all used plugins?

Andre601 avatar Nov 18 '20 10:11 Andre601

My apologies, I did mean the 1.16.4-v2 snapshots. The steps to reproduce are the same as in the original post (but, as I said use one rail instead of two). The full plugin list of my production server can be found here.

FireController1847 avatar Nov 18 '20 18:11 FireController1847

Sorry for the late response, I know this has been a while, but check the latest development builds and see if it is fixed there, so I can confirm whether this is still relevant.

bbayu123 avatar May 28 '21 06:05 bbayu123

@bbayu123 I should be able to get to it in the next couple of days, I will report back here with the status.

FireController1847 avatar May 28 '21 06:05 FireController1847

Sorry for the late response, I know this has been a while, but check the latest development builds and see if it is fixed there, so I can confirm whether this is still relevant.

I had an admin look into it and it does still appear to be an issue. Sorry this took me so long, it's been a busy week.

FireController1847 avatar Jun 01 '21 06:06 FireController1847

Labelling issue as important since you confirmed it is still an issue, and it doesn't appear to have been fixed yet.

bbayu123 avatar Aug 25 '21 08:08 bbayu123