bedrock-dev / trapdoor-ll

trapdoor refactored using liteloaderBDS
https://bedrock-dev.github.io/tr
GNU Affero General Public License v3.0
149 stars 8 forks source link

输入help或?后崩溃 #58

Closed Zaitonn closed 1 year ago

Zaitonn commented 1 year ago

trapdoor版本

trapdoor-0.21.0-1.19.50.02.dll

LiteLoaderBDS版本

2.9.0.0

BDS版本

1.19.51

发生了什么?

以上正常开服过程略
20:12:10 INFO [LiteLoader] Thanks to RhyMC(rhymc.com) for the support
>s
20:15:58 ERROR [Server] Unknown command: s. Please check that the command exists and that you have permission to use it.
>?
[Crashed!]
-- Unhandled Exception in -> KERNELBASE.dll
-- Exception Code: 0xE0000001
-- Minidump generated in Directory ./logs/Crash
[StackTrace] Function RaiseException at 0x7FFCCBB4CCC0  [KERNELBASE.dll<6.2.19041.2364>]
[StackTrace] Function invalid_parameter_noinfo at 0x7FFCCB902370  [ucrtbase.dll<6.2.19041.789>]
[StackTrace] Function invalid_parameter_noinfo_noreturn at 0x7FFCCB9511C0  [ucrtbase.dll<6.2.19041.789>]
[StackTrace] Function std::allocator<char>::allocate at 0x7FF7B64EDD50  [bedrock_server_mod.exe<1.19.51.01>]
[StackTrace] Function std::basic_string<char,std::char_traits<char>,std::allocator<char> >::basic_string<char,std::char_traits<char>,std::allocator<char> > at 0x7FF7B64ED250  [bedrock_server_mod.exe<1.19.51.01>]
[StackTrace] Function CommandRegistry::describe at 0x7FF7B6D0B810  [bedrock_server_mod.exe<1.19.51.01>]
[StackTrace] Function CommandRegistry::describe at 0x7FF7B6D0B290  [bedrock_server_mod.exe<1.19.51.01>]
[StackTrace] Function CommandRegistry::describe at 0x7FF7B6D0B010  [bedrock_server_mod.exe<1.19.51.01>]
[StackTrace] Function CommandRegistry::getCommandOverloadSyntaxInformation at 0x7FF7B6D0DBD0  [bedrock_server_mod.exe<1.19.51.01>]
[StackTrace] Function HelpCommand::getHelpPage at 0x7FF7B7136F00  [bedrock_server_mod.exe<1.19.51.01>]
[StackTrace] Function Command::run at 0x7FF7B6D3B800  [bedrock_server_mod.exe<1.19.51.01>]
[StackTrace] Function MinecraftCommands::executeCommand at 0x7FF7B6D1A0F0  [bedrock_server_mod.exe<1.19.51.01>]
[StackTrace] Function Translation::loadImpl at 0x7FFC5EBB89F0  [LiteLoader.dll<2.9.0.0>]
[StackTrace] Function DeferredCommand::execute at 0x7FF7B6F87F50  [bedrock_server_mod.exe<1.19.51.01>]
[StackTrace] Function MinecraftCommands::tick at 0x7FF7B6D1D910  [bedrock_server_mod.exe<1.19.51.01>]
[StackTrace] Function ServerLevel::tick at 0x7FF7B6F33500  [bedrock_server_mod.exe<1.19.51.01>]
[StackTrace] Function THookTemplate<2929696350043286095,4938590944480407134>::original<void * &> at 0x7FFC7ED86630  [trapdoor-0.21.0-1.19.50.02.dll]
-- At File D:\a\trapdoor-ll\trapdoor-ll\src\functions\MCTick.cpp : Line 203
[StackTrace] Function THookTemplate<2929696350043286095,4938590944480407134>::_hook at 0x7FFC7ED84990  [trapdoor-0.21.0-1.19.50.02.dll]
-- At File D:\a\trapdoor-ll\trapdoor-ll\src\functions\MCTick.cpp : Line 209
[StackTrace] Function Schedule::nextTick at 0x7FFC5EC06190  [LiteLoader.dll<2.9.0.0>]
[StackTrace] Function GameSession::tick at 0x7FF7B6FAF120  [bedrock_server_mod.exe<1.19.51.01>]
[StackTrace] Function Minecraft::update at 0x7FF7B6D20E50  [bedrock_server_mod.exe<1.19.51.01>]
[StackTrace] Function ServerInstance::_update at 0x7FF7B6D27270  [bedrock_server_mod.exe<1.19.51.01>]
[StackTrace] Function ???????? at 0x7FFC54AAB2F9  []

还需要啥log再补

把trapdoor删了然后重启就没这个事

复现此问题的步骤

服务器启动后马上输入help? ,好像先输其他的命令再输help就没事

hhhxiao commented 1 year ago

无法复现,我这边测试正常

Zaitonn commented 1 year ago

无法复现,我这边测试正常

刚测还是能触发,但是重新替换了config.json就不会了 有点玄学,要是这个反馈没啥用的话就close掉8