开启左侧

存档出现数据丢失情况

[复制链接]
BH奕零 2024-8-17 13:56:29

还没有账号?赶快去注册吧!

您需要 登录 才可以下载或查看,没有账号?立即注册

×
本帖最后由 BH奕零 于 2024-8-17 14:31 编辑

服务器存档在重启后会丢失MTR车厂等数据

启动log出现下面内容(可能有用?)

LOG1:

[13:40:18] [main/ERROR]: No data fixer registered for seat
[13:40:18] [main/ERROR]: No data fixer registered for lift_2_2
[13:40:18] [main/ERROR]: No data fixer registered for lift_2_2_double_sided
[13:40:18] [main/ERROR]: No data fixer registered for lift_3_2
[13:40:18] [main/ERROR]: No data fixer registered for lift_3_2_double_sided
[13:40:18] [main/ERROR]: No data fixer registered for lift_3_3
[13:40:18] [main/ERROR]: No data fixer registered for lift_3_3_double_sided
[13:40:18] [main/ERROR]: No data fixer registered for lift_4_3
[13:40:18] [main/ERROR]: No data fixer registered for lift_4_3_double_sided
[13:40:18] [main/ERROR]: No data fixer registered for lift_4_4
[13:40:18] [main/ERROR]: No data fixer registered for lift_4_4_double_sided
[13:40:18] [main/INFO]: Logging initialized @25424ms to mtr.libraries.org.eclipse.jetty.util.log.Slf4jLog


LOG2:

[13:40:55] [Server thread/ERROR]: Error loading saved data: mtr_train_data
org.msgpack.core.MessageTypeCastException: null
        at org.msgpack.value.impl.AbstractImmutableValue.asMapValue(AbstractImmutableValue.java:165) ~[MTR-fabric-1.19.2-3.2.2-hotfix-1.jar:?]
        at org.msgpack.value.impl.ImmutableArrayValueImpl.asMapValue(ImmutableArrayValueImpl.java:36) ~[MTR-fabric-1.19.2-3.2.2-hotfix-1.jar:?]
        at org.msgpack.value.impl.AbstractImmutableValue.asMapValue(AbstractImmutableValue.java:33) ~[MTR-fabric-1.19.2-3.2.2-hotfix-1.jar:?]
        at mtr.data.MessagePackHelper.iterateMapValue(MessagePackHelper.java:73) ~[MTR-fabric-1.19.2-3.2.2-hotfix-1.jar:?]
        at mtr.data.Station.<init>(Station.java:41) ~[MTR-fabric-1.19.2-3.2.2-hotfix-1.jar:?]
        at mtr.data.RailwayDataFileSaveModule.lambda$readMessagePackFromFile$12(RailwayDataFileSaveModule.java:231) ~[MTR-fabric-1.19.2-3.2.2-hotfix-1.jar:?]
        at java.util.Iterator.forEachRemaining(Iterator.java:133) ~[?:?]
        at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1845) ~[?:?]
        at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) ~[?:?]
        at mtr.data.RailwayDataFileSaveModule.lambda$readMessagePackFromFile$13(RailwayDataFileSaveModule.java:221) ~[MTR-fabric-1.19.2-3.2.2-hotfix-1.jar:?]
        at java.util.Iterator.forEachRemaining(Iterator.java:133) ~[?:?]
        at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1845) ~[?:?]
        at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) ~[?:?]
        at mtr.data.RailwayDataFileSaveModule.readMessagePackFromFile(RailwayDataFileSaveModule.java:219) ~[MTR-fabric-1.19.2-3.2.2-hotfix-1.jar:?]
        at mtr.data.RailwayDataFileSaveModule.load(RailwayDataFileSaveModule.java:83) ~[MTR-fabric-1.19.2-3.2.2-hotfix-1.jar:?]
        at mtr.data.RailwayData.load(RailwayData.java:223) ~[MTR-fabric-1.19.2-3.2.2-hotfix-1.jar:?]
        at mtr.mappings.PersistentStateMapper.lambda$getInstance$0(PersistentStateMapper.java:22) ~[MTR-fabric-1.19.2-3.2.2-hotfix-1.jar:?]
        at net.minecraft.class_26.method_120(class_26.java:72) ~[server-intermediary.jar:?]
        at net.minecraft.class_26.method_20786(class_26.java:59) ~[server-intermediary.jar:?]
        at net.minecraft.class_26.method_17924(class_26.java:43) ~[server-intermediary.jar:?]
        at mtr.mappings.PersistentStateMapper.getInstance(PersistentStateMapper.java:20) ~[MTR-fabric-1.19.2-3.2.2-hotfix-1.jar:?]
        at mtr.data.RailwayData.getInstance(RailwayData.java:756) ~[MTR-fabric-1.19.2-3.2.2-hotfix-1.jar:?]
        at mtr.MTR.lambda$init$34(MTR.java:447) ~[MTR-fabric-1.19.2-3.2.2-hotfix-1.jar:?]
        at java.util.LinkedHashMap$LinkedValues.forEach(LinkedHashMap.java:647) ~[?:?]
        at mtr.MTR.lambda$init$35(MTR.java:446) ~[MTR-fabric-1.19.2-3.2.2-hotfix-1.jar:?]
        at net.fabricmc.fabric.api.event.lifecycle.v1.ServerTickEvents.lambda$static$0(ServerTickEvents.java:40) ~[fabric-lifecycle-events-v1-2.2.4+1b46dc7890-ba8a0595c21e6ba2.jar:?]
        at net.minecraft.server.MinecraftServer.handler$bfo000$fabric-lifecycle-events-v1$onStartTick(MinecraftServer.java:6316) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:819) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.handler$zkh000$carpet$modifiedRunLoop(MinecraftServer.java:4385) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:644) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:257) ~[server-intermediary.jar:?]
        at java.lang.Thread.run(Thread.java:833) [?:?]
[13:40:55] [Server thread/INFO]: [STDOUT]: Minecraft Transit Railway data successfully loaded for minecraft:the_end
[13:40:55] [Server thread/INFO]: [STDOUT]: BlueMap is not loaded
[13:40:55] [Server thread/INFO]: [STDOUT]: Squaremap is not loaded
[13:40:55] [Server thread/INFO]: [STDOUT]: Minecraft Transit Railway data successfully loaded for minecraft:the_nether
[13:40:55] [Server thread/INFO]: [STDOUT]: BlueMap is not loaded
[13:40:55] [Server thread/INFO]: [STDOUT]: Squaremap is not loaded
[13:40:55] [Server thread/INFO]: [Dynmap] Loaded 1178 pending tile renders for world 'world'
[13:41:01] [Dynmap Render Thread/INFO]: [Dynmap] Loading resource pack standard
[13:42:41] [Server thread/INFO]: Xiao_Yao_Phi[/***.**.**.*:*****] logged in with entity id 75 at (7000.39670077094, 1.0, -1221.0975300658351)

楼主 BH奕零 2024-8-17 15:42:05
本帖最后由 BH奕零 于 2024-8-17 16:01 编辑
MCWinBuild 发表于 2024-8-17 15:26
1一看还以为直梯坏了原来没事
2我记得论坛有几个类似的问题(ERROR Loading MTR——Train——data),你可 ...

帖子我已经看了,现在尝试删掉mtr文件一步到位试试(存档刚开始数据量不大)

似乎是好的

话说这种坏档,出现的原因是什么?MTR4.0吗

评分

参与人数 1人气 +1 收起 理由
MCWinBuild + 1 4.0的话正常

查看全部评分

ShentongMetro 作者认证 2024-8-17 14:30:22
偶发坏包,没救
MTRSHM制作组代码
你圈老锐评家,现已退化只会造低创,卷不动了
楼主 BH奕零 2024-8-17 14:31:43

存档直接废吗请问一下()
Meow 2024-8-17 15:01:37
LOG1没用,是Jonathan的屎山代码遗留
LOG2看着是存档坏包,考虑回档或尝试升级Fabric,检查start.sh脚本
朕是一只爱发癫的腐竹喵(成分复杂:历史迷+车迷+猫奴+飞友+颠佬+猫粮+腐竹+UP主+傻福)
喵州工艺服务器已开放,客户端下载请看这里
爱发癫:这里,欢迎支持我们。
MCWinBuild 2024-8-17 15:26:45
1一看还以为直梯坏了原来没事
2我记得论坛有几个类似的问题(ERROR Loading MTR——Train——data),你可以找找,下面是几个回复
https://www.mtrbbs.top/forum.php ... ptid=6809&pid=55132
https://www.mtrbbs.top/forum.php ... ptid=6809&pid=55127
或许人去楼空,物是人非,只留下当时的记忆-----与经历者的怀念?
邮箱 MCWinBuild@sohu.com
yomi 2024-8-18 11:36:38
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表