Traincraft

Traincraft

1M Downloads

[4.3.1_007] Linking cart problem

ccgfok opened this issue ยท 5 comments

commented

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
commented

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.

commented

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.

commented

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

commented

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.
aa4d728

commented

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.