Traincraft-5 icon indicating copy to clipboard operation
Traincraft-5 copied to clipboard

[4.3.1_007] Linking cart problem

Open ccgfok opened this issue 8 years ago • 5 comments

It started when I quit and re-login into game, it confusioned. To re-produce:

  1. Give your own loco and some cart.
  2. Make link between it, like this: 2017-02-16_21 33 58
  3. Quit, and then re-login, and cart will float, except locomotive: 2017-02-16_21 34 18
  • For addition, if I make longer train, and then quit game and then re-login this world, it make a confusion. 2017-02-16_21 38 43 2017-02-16_21 38 51

ccgfok avatar Feb 16 '17 14:02 ccgfok

A temporary way to fix this is to detach all carts from each other (Best solution with freight carts carrying cargo currently) or you could break down passenger carts. The bug used to be worse before version 6.

TheSpareAce avatar Feb 16 '17 17:02 TheSpareAce

The issue is less about linking and more about how the save data is managed, 1.6.4 methods don't work worth a crap in 1.7.10, and there's no way to transition the values to a better method that is reliable. Especially not without corrupting worlds.

Now I could be wrong, someone with more experience may know a way. But such a person has yet to offer assistance.

EternalBlueFlame avatar Feb 18 '17 01:02 EternalBlueFlame

just a heads up, this should be fixed in 009 with the chunkloading changes (i hope). it will need testing though.

EternalBlueFlame avatar May 03 '17 06:05 EternalBlueFlame

Well clearly this has not been fixed thus far but there are some changed in 017 that might. One seemingly major reason would have been that trains and stock often got the internal id of "-1" meaning they couldn't identify eachother, I replaced this with forge's inbuilt entity ID system. Not exactly foolproof like a UUID system, since the entity ID system isnt designed to persist between sessions, based on luck after a restart it is possible to place something and it wight have an already used ID, but should at least fix the issue to a far more usable point than it's been. https://github.com/EternalBlueFlame/Traincraft-5/commit/aa4d72880f00bfa503a97c21e82e8339286579a7

EternalBlueFlame avatar May 21 '18 16:05 EternalBlueFlame

Just a FYI..but from what i have found this issue happens less often if u use Railcraft's crowbar to couple trains as opposed to the Stake that comes with TC. Use the crowbar to couple TC rolling stock and the stake to attach it to the locomotive. I found when i do that the trains glitch less often.

TCCHS105 avatar Jul 31 '18 01:07 TCCHS105