Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

假人保存功能(resident-fakeplayer)错误致服务器闪退 #375

Closed
wwbtbgm opened this issue Nov 15, 2024 · 8 comments
Closed

假人保存功能(resident-fakeplayer)错误致服务器闪退 #375

wwbtbgm opened this issue Nov 15, 2024 · 8 comments
Labels
bug Something isn't working waiting on reporter The problem has been fixed or features have been added, testing is needed

Comments

@wwbtbgm
Copy link

wwbtbgm commented Nov 15, 2024

服务端版本 LeavesMC Version

This server is running Leaves version 1.21.1-79-master@21c276f (2024-11-15T15:39:36Z) (Implementing API version 1.21.1-R0.1-SNAPSHOT) You are running the latest version Previous version: 1.21.1-75-423df96 (MC: 1.21.1)

预期的行为 Expected behavior

使用假人保存功能时服务器不闪退

观测到的实际行为 Observed/Actual behavior

使用假人保存功能时服务器闪退

复现步骤 Steps/models to reproduce

crash-2024-11-16_01.37.23-server.txt
https://mclo.gs/bp2Ne2l

插件与数据包列表。 Plugin and Datapack List.

Plugins:
Paper Plugins:BKCommonLib, ISeeYou
Bukkit Plugins:BlueMap, Chunky, CMILib, CoreProtect, CreeperGuard, eBackup, floodgate, Geyser-Spigot, LuckPerms, Orebfuscator
ProtocolLib, Residence, SkinsRestorer, TAB, Themis, ViaBackwards, ViaRewind, ViaVersion
datapack:[vanilla(内置)], [file/bukkit(世界)], [paper(内置)]

更多详细信息。 The more information.

一开始服务器是有假人且开启假人保存功能的,但是重启后闪退。关闭假人保存功能后正常开启。后面又测试打开假人功能且上一次启动后未加入假人时的情况,结果闪退,生成上文报错文件。问了gpt说是假人数据出现了问题,我想知道假人数据是否有专门的文件夹,如果没有,是不是在玩家数据文件夹里,如果在玩家数据文件夹里希望出一个方便假人管理的专门文件夹。感谢大佬过目。

@wwbtbgm wwbtbgm added bug Something isn't working needs testing Issue needs verification labels Nov 15, 2024
@Lumine1909
Copy link
Contributor

检查一下主世界文件夹中的fakeplayerdata 发一下里面的内容qwq

我怀疑是save而不是load导致的(

@wwbtbgm
Copy link
Author

wwbtbgm commented Nov 15, 2024

fakeplayerdata.zip
啊这,翻的时候没仔细,现在才知道在这里,感谢大佬明示。
在删除这个假人文件夹后我就开启了假人保存功能并重启服务器,正常。但是我再添加假人后重启又会闪退。以下是本次崩溃报告
crash-2024-11-16_04.32.26-server.txt
https://mclo.gs/Yq1Qq4R
感谢大佬解答:)

@Lumine1909
Copy link
Contributor

fakeplayerdata.zip 啊这,翻的时候没仔细,现在才知道在这里,感谢大佬明示。 在删除这个假人文件夹后我就开启了假人保存功能并重启服务器,正常。但是我再添加假人后重启又会闪退。以下是本次崩溃报告 crash-2024-11-16_04.32.26-server.txt https://mclo.gs/Yq1Qq4R 感谢大佬解答:)

还有一个 fakeplayer.dat
麻烦上传一下 我刚翻代码才看到的(

@wwbtbgm
Copy link
Author

wwbtbgm commented Nov 15, 2024

fakeplayer.zip
感谢

@MC-XiaoHei
Copy link
Member

@wwbtbgm 能否发一下保存的时候的log?也就是正常启动,召唤假人并关闭服务器的log

s-yh-china added a commit that referenced this issue Nov 16, 2024
@s-yh-china s-yh-china added waiting on reporter The problem has been fixed or features have been added, testing is needed and removed needs testing Issue needs verification labels Nov 16, 2024
@wwbtbgm
Copy link
Author

wwbtbgm commented Nov 16, 2024

@wwbtbgm
Copy link
Author

wwbtbgm commented Nov 16, 2024

@Lumine1909 @MC-XiaoHei 感谢大佬们修复
经我测试更新到81-ec5a806版本就可以正常使用假人保存功能了,以下是创建假人时和重启服务器后的日志
logs.zip
https://mclo.gs/DFjtwuO
https://mclo.gs/8eN1pRs

@MC-XiaoHei
Copy link
Member

@Lumine1909 @MC-XiaoHei 感谢大佬们修复
经我测试更新到81-ec5a806版本就可以正常使用假人保存功能了,以下是创建假人时和重启服务器后的日志
logs.zip
https://mclo.gs/DFjtwuO
https://mclo.gs/8eN1pRs

虽然但是 其实不是我们俩修的(
@s-yh-china 修的(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working waiting on reporter The problem has been fixed or features have been added, testing is needed
Projects
None yet
Development

No branches or pull requests

4 participants