yomi 发表于 2024-5-19 11:59:37

[求助]报错Error loading saved data: mtr_train_data,存档内轨道全部消失,方块还在

本帖最后由 yomi 于 2024-5-20 21:37 编辑

如题,昨天爆肝建了2站,结果突然闪退了(甚至没有未响应,窗口直接消失了),后进入世界发现轨道全部消失,各仪表板内容全部消失,但站台显示屏等还在。
崩溃日志主要部分:
: 准备生成区域中:0%
: 准备生成区域中:0%
: 准备生成区域中:0%
: : java.net.SocketTimeoutException: Read timed out
: :   at java.base/sun.nio.ch.NioSocketImpl.timedRead(NioSocketImpl.java:278)
: :   at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:304)
: :   at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:346)
: :   at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:796)
: :   at java.base/java.net.Socket$SocketInputStream.read(Socket.java:1099)
: :   at java.base/java.io.BufferedInputStream.fill(BufferedInputStream.java:291)
: :   at java.base/java.io.BufferedInputStream.read1(BufferedInputStream.java:347)
: :   at java.base/java.io.BufferedInputStream.implRead(BufferedInputStream.java:420)
: :   at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:399)
: :   at java.base/sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:827)
: :   at java.base/sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:759)
: :   at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1690)
: :   at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1599)
: :   at net.diebuddies.util.HttpRequest.get(HttpRequest.java:23)
: :   at net.diebuddies.config.ConfigCloth.lambda$downloadClothModels$4(ConfigCloth.java:330)
: :   at java.base/java.lang.Thread.run(Thread.java:1583)
: 准备生成区域中:0%
(此处省略)
: Time elapsed: 12632 ms
: is behind 125 msecs
: Can't keep up! Is the server overloaded? Running 86001ms or 1720 ticks behind
(我也不懂,明明不是服务器为什么会有“server overloaded”)(此处省略msd加载)
: Error loading saved data: mtr_train_data
org.msgpack.core.MessageTypeException: Expected Map, but got Integer (ef)
    at org.msgpack.core.MessageUnpacker.unexpected(MessageUnpacker.java:596) ~
    at org.msgpack.core.MessageUnpacker.unpackMapHeader(MessageUnpacker.java:1380) ~
    at mtr.data.RailwayDataFileSaveModule.lambda$readMessagePackFromFile$12(RailwayDataFileSaveModule.java:224) ~
    at java.util.Iterator.forEachRemaining(Iterator.java:133) ~[?:?]
    at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1939) ~[?:?]
    at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) ~[?:?]
    at mtr.data.RailwayDataFileSaveModule.lambda$readMessagePackFromFile$13(RailwayDataFileSaveModule.java:221) ~
    at java.util.Iterator.forEachRemaining(Iterator.java:133) ~[?:?]
    at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1939) ~[?:?]
    at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) ~[?:?]
    at mtr.data.RailwayDataFileSaveModule.readMessagePackFromFile(RailwayDataFileSaveModule.java:219) ~
    at mtr.data.RailwayDataFileSaveModule.load(RailwayDataFileSaveModule.java:83) ~
    at mtr.data.RailwayData.load(RailwayData.java:223) ~
    at mtr.mappings.PersistentStateMapper.lambda$getInstance$0(PersistentStateMapper.java:22) ~
    at net.minecraft.class_26.method_120(class_26.java:72) ~
    at net.minecraft.class_26.method_20786(class_26.java:59) ~
    at net.minecraft.class_26.method_17924(class_26.java:43) ~
    at mtr.mappings.PersistentStateMapper.getInstance(PersistentStateMapper.java:20) ~
    at mtr.data.RailwayData.getInstance(RailwayData.java:756) ~
    at mtr.MTR.lambda$init$34(MTR.java:447) ~
    at java.util.LinkedHashMap$LinkedValues.forEach(LinkedHashMap.java:833) ~[?:?]
    at mtr.MTR.lambda$init$35(MTR.java:446) ~
    at net.fabricmc.fabric.api.event.lifecycle.v1.ServerTickEvents.lambda$static$0(ServerTickEvents.java:40) ~
    at net.minecraft.server.MinecraftServer.handler$dac000$fabric-lifecycle-events-v1$onStartTick(MinecraftServer.java:7316) ~
    at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:819) ~
    at net.minecraft.class_1132.method_3748(class_1132.java:98) ~
    at net.minecraft.server.MinecraftServer.handler$bob000$carpet$modifiedRunLoop(MinecraftServer.java:5885) ~
    at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:644) ~
    at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:257) ~
    at java.lang.Thread.run(Thread.java:1583) [?:?]

(此处省略一大堆的Minecraft Transit Railway data successfully loaded)
: yomi加入了游戏 : : Refreshed MTR mod config
: Can't keep up! Is the server overloaded? Running 14505ms or 290 ticks behind
急需帮助!!!一条线路建了20多站(平均站距300格左右),全没了
事件后续
2024.05.20
mtr最重要的轨道数据奇迹般的自动恢复了。
其它的(电梯除外)删除了文件夹内部的文件,虽然东西没了,但解决了读取错误然后闪退的问题。
但是不知道是不是mtr的原因,每隔几秒钟就会卡(提示:未响应)一下,日志提示Can't keep up! Is the server overloaded?

TEY0089 发表于 2024-5-19 12:17:26

应该是MTR文件夹里面的东西没了

yomi 发表于 2024-5-19 14:18:03

Emerald_Rail 发表于 2024-5-19 12:17
应该是MTR文件夹里面的东西没了

都在的,里面内容也正常,换了启动器重新下载游戏后再导入世界和模组也试过了,还是这样

TEY0089 发表于 2024-5-19 18:02:49

(我也不懂,明明不是服务器为什么会有“server overloaded”)(此处省略msd加载)
其实在远古版本关存档的时候还有一句“正在关闭内置服务器...”

TEY0089 发表于 2024-5-19 18:03:50

yomi 发表于 2024-5-19 14:18
都在的,里面内容也正常,换了启动器重新下载游戏后再导入世界和模组也试过了,还是这样 ...

那就不知道了,真没遇到过

apple_brt 发表于 2024-5-25 13:13:32

Emerald_Rail 发表于 2024-5-19 18:03
那就不知道了,真没遇到过

你好眼熟欸,绿宝石·吗(?)

TEY0089 发表于 2024-5-25 14:18:52

apple_brt 发表于 2024-5-25 13:13
你好眼熟欸,绿宝石·吗(?)


你是
页: [1]
查看完整版本: [求助]报错Error loading saved data: mtr_train_data,存档内轨道全部消失,方块还在