LiteLDev / MoreDimensions

Multi dimensions on Bedrock Dedicated Server
GNU Lesser General Public License v3.0
12 stars 3 forks source link

[Bug]:使用该插件会导致崩服 #3

Closed banchen19 closed 4 months ago

banchen19 commented 4 months ago

Describe the bug

当玩家进入服务端会崩服

To Reproduce

准备一个新的bds端(包含ll与MoreDimensions插件),玩家进入新服务端(不包含存档)

Expected behavior

玩家进入以后,服务端正常工作。

Screenshots

[2024-02-28 04:39:31.387] [info] System Info: [2024-02-28 04:39:31.387] [info] OS Version: 10.0.19045 [2024-02-28 04:39:31.388] [info] Is Wine: false [2024-02-28 04:39:31.390] [info] CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz [2024-02-28 04:39:31.390] [info] CPU Counts: 8 [2024-02-28 04:39:31.391] [info] CPU Arch: x64 [2024-02-28 04:39:31.393] [info] RAM: 16267 MB [2024-02-28 04:39:31.394] [info] Time: 2024-02-28T04:39:31.000+0800 [2024-02-28 04:39:31.395] [info] [2024-02-28 04:39:31.395] [info] Exception Info: [2024-02-28 04:39:31.396] [info] Code: 0xC0000005 [2024-02-28 04:39:31.397] [info] Module: more-dimensions.dll [2024-02-28 04:39:31.398] [info] Address: 0x7FFA58BDFD27 [2024-02-28 04:39:31.399] [info] Flags: 0x0 [2024-02-28 04:39:31.400] [info] Number of Parameters: 2 [2024-02-28 04:39:31.401] [info] Parameter 0: 0x0 [2024-02-28 04:39:31.402] [info] Parameter 1: 0x8 [2024-02-28 04:39:31.402] [info] [2024-02-28 04:39:31.403] [info] Registers: [2024-02-28 04:39:31.404] [info] RAX: 0x0000000000000008 RBX: 0x0000000000000001 RCX: 0x0000000000000008 [2024-02-28 04:39:31.404] [info] RDX: 0x0000008E238FE2B0 RSI: 0x0000027852201D90 RDI: 0x0000027864AC0810 [2024-02-28 04:39:31.405] [info] RBP: 0x0000008E238FE5C9 RSP: 0x0000008E238FE1E0 R8: 0x0000008E238FE498 [2024-02-28 04:39:31.406] [info] R9: 0x0000000000000064 R10: 0x00007FFA67410000 R11: 0x0000008E238FDFE0 [2024-02-28 04:39:31.407] [info] R12: 0x0000000000000000 R13: 0x0000000000000001 R14: 0x0000027864AC0810 [2024-02-28 04:39:31.407] [info] R15: 0x0000027852201D90 [2024-02-28 04:39:31.408] [info] RIP: 0x00007FFA58BDFD27 EFLAGS: 0x00010204 [2024-02-28 04:39:31.409] [info] DR0: 0x0000000000000000 DR1: 0x0000000000000000 DR2: 0x0000000000000000 [2024-02-28 04:39:31.409] [info] DR3: 0x0000000000000000 DR6: 0x0000000000000000 DR7: 0x0000000000000000 [2024-02-28 04:39:31.410] [info] CS: 0x0033 DS: 0x0000 ES: 0x0000 FS: 0x0000 GS: 0x0000 SS: 0x002B [2024-02-28 04:39:31.411] [info] [2024-02-28 04:39:31.411] [info] Last Assembly: [2024-02-28 04:39:31.420] [info] 0x7FFA58BDFD27 --> mov rax, [rax] [2024-02-28 04:39:31.420] [info] [2024-02-28 04:39:31.423] [info] Stacktrace: [2024-02-28 04:39:31.443] [info] #0 at pc 0x7FFA58BDFD00 more-dimensions.dll -> std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits,std::allocator >,CompoundTagVariant,std::less,std::allocator<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,CompoundTagVariant> >,0> >::_Find_lower_bound<std::basic_string<char,std::char_traits,std::allocator > >+0x27 [xtree:1606L] [2024-02-28 04:39:31.444] [info] #1 at pc 0x7FFA58BE2850 more-dimensions.dll -> std::map<std::basic_string<char,std::char_traits,std::allocator >,CompoundTagVariant,std::less,std::allocator<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,CompoundTagVariant> > >::_Try_emplace<std::basic_string<char,std::char_traits,std::allocator > const &>+0x35 [map:198L] [2024-02-28 04:39:31.445] [info] #2 at pc 0x7FFA58BEDFB0 more-dimensions.dll -> std::map<std::basic_string<char,std::char_traits,std::allocator >,CompoundTagVariant,std::less,std::allocator<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,CompoundTagVariant> > >::operator[]+0x22 [map:346L] [2024-02-28 04:39:31.446] [info] #3 at pc 0x7FFA58BF9610 more-dimensions.dll -> CompoundTag::at+0x2B [CompoundTag.h:31L] [2024-02-28 04:39:31.448] [info] #4 at pc 0x7FFA58BD4BE0 more-dimensions.dll -> ll::dimension::CustomDimensionHookList::LevelStorageloadServerPlayerDataHook::detour+0xA6 [CustomDimensionManager.cpp:116L] [2024-02-28 04:39:31.528] [info] #5 at pc 0x7FF775069CC0 bedrock_server_mod.exe -> ServerNetworkHandler::_loadNewPlayer+0x5E [2024-02-28 04:39:31.530] [info] #6 at pc 0x7FF7750919B0 bedrock_server_mod.exe -> ServerNetworkHandler::trytLoadPlayer+0x66 [2024-02-28 04:39:31.532] [info] #7 at pc 0x7FF7748B4800 bedrock_server_mod.exe -> VanillaServerNetworkHandler::handle+0x2BF [2024-02-28 04:39:31.534] [info] #8 at pc 0x7FF774F96B50 bedrock_server_mod.exe -> NetworkSystem::_sortAndPacketizeEvents+0x79D [2024-02-28 04:39:31.535] [info] #9 at pc 0x7FF774F8BB80 bedrock_server_mod.exe -> ::operator()+0x214 [2024-02-28 04:39:31.536] [info] #10 at pc 0x7FF774FB2030 bedrock_server_mod.exe -> NetworkSystem::runEvents+0x1D2 [2024-02-28 04:39:31.541] [info] #11 at pc 0x7FF775D6AE80 bedrock_server_mod.exe -> Minecraft::update+0x1304 [2024-02-28 04:39:31.543] [info] #12 at pc 0x7FF775334030 bedrock_server_mod.exe -> ServerInstance::_update+0xF2 [2024-02-28 04:39:31.544] [info] #13 at pc 0x7FF775327750 bedrock_server_mod.exe -> ::operator()+0x4CA [2024-02-28 04:39:31.546] [info] #14 at pc 0x7FF7752D57D0 bedrock_server_mod.exe -> std::thread::_Invoke<std::tuple< >,0>+0xE [2024-02-28 04:39:31.547] [info] #15 at pc 0x7FFA84361BB2 ucrtbase.dll [2024-02-28 04:39:31.547] [info] #16 at pc 0x7FFA85F07344 KERNEL32.DLL [2024-02-28 04:39:31.548] [info] #17 at pc 0x7FFA868426B1 ntdll.dll [2024-02-28 04:39:31.549] [info] [2024-02-28 04:39:31.584] [info] Modules: [2024-02-28 04:39:31.585] [info] 0x7FFA85520000 ADVAPI32.dll<6.2.19041.3930> [2024-02-28 04:39:31.586] [info] 0x7FFA667A0000 CONCRT140.dll<14.38.33135.0> [2024-02-28 04:39:31.590] [info] 0x7FFA83EB0000 CRYPT32.dll<6.2.19041.3636> [2024-02-28 04:39:31.590] [info] 0x7FFA83830000 CRYPTBASE.DLL<6.2.19041.3636> [2024-02-28 04:39:31.591] [info] 0x7FFA83330000 DNSAPI.dll<6.2.19041.4046> [2024-02-28 04:39:31.592] [info] 0x7FFA85630000 GDI32.dll<6.2.19041.3996> [2024-02-28 04:39:31.593] [info] 0x7FFA65E60000 GMLIB-LegacyRemoteCallApi.dll [2024-02-28 04:39:31.594] [info] 0x7FFA6BDD0000 GMLIB-Plugin-Template.dll [2024-02-28 04:39:31.595] [info] 0x7FFA626F0000 GMLIB.dll [2024-02-28 04:39:31.596] [info] 0x7FFA855E0000 IMM32.DLL<6.2.19041.3996> [2024-02-28 04:39:31.597] [info] 0x7FFA832E0000 IPHLPAPI.DLL<6.2.19041.3636> [2024-02-28 04:39:31.599] [info] 0x7FFA85EF0000 KERNEL32.DLL<6.2.19041.3636> [2024-02-28 04:39:31.599] [info] 0x7FFA84010000 KERNELBASE.dll<6.2.19041.3996> [2024-02-28 04:39:31.600] [info] 0x7FFA5A6B0000 LegacyMoney.dll [2024-02-28 04:39:31.606] [info] 0x7FFA75CD0000 LegacyParticleAPI.dll [2024-02-28 04:39:31.608] [info] 0x7FFA6BE10000 LegacyRemoteCall.dll [2024-02-28 04:39:31.609] [info] 0x7FFA65ED0000 LeviLamina.dll<0.9.0.0> [2024-02-28 04:39:31.610] [info] 0x7FFA67380000 MSVCP140.dll<14.38.33135.0> [2024-02-28 04:39:31.611] [info] 0x7FFA7D350000 NLAapi.dll<6.2.19041.3636> [2024-02-28 04:39:31.612] [info] 0x7FFA86370000 NSI.dll<6.2.19041.3636> [2024-02-28 04:39:31.613] [info] 0x7FFA84BD0000 OLEAUT32.dll<6.2.19041.3636> [2024-02-28 04:39:31.614] [info] 0x7FFA6BE40000 PreLoader.dll [2024-02-28 04:39:31.615] [info] 0x7FFA85DC0000 RPCRT4.dll<6.2.19041.3758> [2024-02-28 04:39:31.616] [info] 0x7FFA84830000 SHCORE.dll<6.2.19041.3636> [2024-02-28 04:39:31.617] [info] 0x7FFA84DD0000 SHELL32.dll<6.2.19041.3996> [2024-02-28 04:39:31.618] [info] 0x7FFA85FB0000 USER32.dll<6.2.19041.3996> [2024-02-28 04:39:31.619] [info] 0x7FFA67410000 VCRUNTIME140.dll<14.38.33135.0> [2024-02-28 04:39:31.620] [info] 0x7FFA67430000 VCRUNTIME140_1.dll<14.38.33135.0> [2024-02-28 04:39:31.622] [info] 0x7FFA7D340000 VERSION.dll<6.2.19041.3636> [2024-02-28 04:39:31.627] [info] 0x7FFA758C0000 WINHTTP.dll<6.2.19041.3636> [2024-02-28 04:39:31.629] [info] 0x7FFA86380000 WS2_32.dll<6.2.19041.3636> [2024-02-28 04:39:31.630] [info] 0x7FFA838E0000 Wldp.dll<6.2.19041.3996> [2024-02-28 04:39:31.632] [info] 0x7FFA84310000 bcrypt.dll<6.2.19041.3636> [2024-02-28 04:39:31.633] [info] 0x7FFA84440000 bcryptPrimitives.dll<6.2.19041.3636> [2024-02-28 04:39:31.634] [info] 0x7FF774760000 bedrock_server_mod.exe [2024-02-28 04:39:31.635] [info] 0x7FFA86450000 combase.dll<6.2.19041.3636> [2024-02-28 04:39:31.636] [info] 0x7FFA75AC0000 dbgcore.DLL<6.2.19041.3636> [2024-02-28 04:39:31.636] [info] 0x7FFA81C70000 dbghelp.dll<6.2.19041.3636> [2024-02-28 04:39:31.637] [info] 0x7FFA7AE20000 dhcpcsvc.DLL<6.2.19041.3636> [2024-02-28 04:39:31.638] [info] 0x7FFA79910000 dhcpcsvc6.DLL<6.2.19041.3636> [2024-02-28 04:39:31.639] [info] 0x7FFA732E0000 fwpuclnt.dll<6.2.19041.3758> [2024-02-28 04:39:31.640] [info] 0x7FFA84620000 gdi32full.dll<6.2.19041.3996> [2024-02-28 04:39:31.640] [info] 0x7FFA826F0000 kernel.appcore.dll<6.2.19041.3758> [2024-02-28 04:39:31.641] [info] 0x7FFA15CB0000 legacy-script-engine-quickjs.dll [2024-02-28 04:39:31.645] [info] 0x7FFA58BC0000 more-dimensions.dll [2024-02-28 04:39:31.647] [info] 0x7FFA844D0000 msvcp_win.dll<6.2.19041.3636> [2024-02-28 04:39:31.648] [info] 0x7FFA84980000 msvcrt.dll<7.0.19041.3636> [2024-02-28 04:39:31.648] [info] 0x7FFA83640000 mswsock.dll<6.2.19041.3636> [2024-02-28 04:39:31.649] [info] 0x7FFA4E9D0000 napinsp.dll<6.2.19041.3636> [2024-02-28 04:39:31.650] [info] 0x7FFA867F0000 ntdll.dll<6.2.19041.3996> [2024-02-28 04:39:31.650] [info] 0x7FFA84CA0000 ole32.dll<6.2.19041.3636> [2024-02-28 04:39:31.651] [info] 0x7FFA667F0000 pl_nbt_back.dll [2024-02-28 04:39:31.651] [info] 0x7FFA4E9B0000 pnrpnsp.dll<6.2.19041.3636> [2024-02-28 04:39:31.652] [info] 0x7FFA71730000 rasadhlp.dll<6.2.19041.3636> [2024-02-28 04:39:31.653] [info] 0x7FFA848E0000 sechost.dll<6.2.19041.3930> [2024-02-28 04:39:31.654] [info] 0x7FFA86150000 shlwapi.dll<6.2.19041.3636> [2024-02-28 04:39:31.654] [info] 0x7FFA84340000 ucrtbase.dll<6.2.19041.3636> [2024-02-28 04:39:31.655] [info] 0x7FFA84800000 win32u.dll<6.2.19041.3996> [2024-02-28 04:39:31.656] [info] 0x7FFA81F40000 windows.storage.dll<6.2.19041.3996> [2024-02-28 04:39:31.657] [info] 0x7FFA4E990000 winrnr.dll<6.2.19041.3636> [2024-02-28 04:39:31.658] [info] 0x7FFA7EBB0000 wshbth.dll<6.2.19041.3636>

Platform

Windows 10

BDS Version

Version: 1.20.62.02(ProtocolVersion 649)

LeviLamina Version

LeviLamina-0.9.0+dc310d1e7

Version

dev

Additional context

No response

quizhizhe commented 4 months ago

该问题已在develop-gen分支的 https://github.com/LiteLDev/MoreDimensions/commit/514b5de151a2a31963d3c8568d5e020d05967111 提交修复