trains bug out when restarting world
traso56 opened this issue ยท 7 comments
but it used to work just fine and also the trains are locked meaning even if I remove all carts except for one you can't move it either and if you destroy the track underneath it then the world eats it forever
yeah it's a dupe of 320, and several dozen other reports.
Nothing related to the systems has changed, it just randomly breaks, it's not related to the server's hardware, although shutting down without actually quitting or using the stop command can make it more likely to happen.
I only found out exactly why this happens recently, the main problem is instead of using the UUID system, TC has it's own ID system which isn't reliable, add that to a number of variables being written to NBT but not actually read which can randomly cause byte buffer read errors.
The latter is fixed in 015, but the core ID thing is still a problem that I can't really address without a rewrite, unless i make the related code 3 times as big to use the old system as a backup and implement a proper one, but even as a backup the old code will still be able to break it, so that's a lot of work for running around in circles.
oh well that there seems like a really hard to fix bug but i'm sad because it used to work just fine :(
hello
duplicate of issue #320 (know long standing bug with nbt)
yeah, it's a pretty random bug, some people never get it, others get it on a regular basis.
I can't even tell you how hard of a time i have replicating it to even attempt to figure out what it was.
Didn't actually figure out what it was till i stumbled across the code that was rather obviously causing it.
The issue with the port is testers have to be able to compile the mod themselves (this wont be an issue with the rewrite), but if you can do that, yeah, we can use all the hands on deck we can get, lol.