LiteLDev / LeviLamina

A lightweight, modular and versatile mod loader for Minecraft Bedrock Edition, formerly known as LiteLoaderBDS
https://levimc.org/software/levilamina
GNU Lesser General Public License v3.0
1.14k stars 117 forks source link

[Bug]: Actor::isSimulatedPlayer崩服 #1532

Closed EpsilonZunsat closed 6 months ago

EpsilonZunsat commented 6 months ago

Describe the bug

crash.zip

To Reproduce

[2024-05-20 16:56:49.912] [info] System Info: [2024-05-20 16:56:49.913] [info] OS Version: 10.0.22631 [2024-05-20 16:56:49.914] [info] Is Wine: false [2024-05-20 16:56:49.915] [info] CPU: 12th Gen Intel(R) Core(TM) i7-12700H [2024-05-20 16:56:49.915] [info] CPU Counts: 20 [2024-05-20 16:56:49.915] [info] CPU Arch: x64 [2024-05-20 16:56:49.915] [info] RAM: 16068 MB [2024-05-20 16:56:49.916] [info] Time: 2024-05-20T16:56:49.000+0800 [2024-05-20 16:56:49.916] [info] [2024-05-20 16:56:49.916] [info] Exception Info: [2024-05-20 16:56:49.916] [info] Code: 0xC0000005 [2024-05-20 16:56:49.916] [info] Module: bedrock_server_mod.exe [2024-05-20 16:56:49.917] [info] Address: 0x7FF71DCECC20 [2024-05-20 16:56:49.917] [info] Flags: 0x0 [2024-05-20 16:56:49.918] [info] Number of Parameters: 2 [2024-05-20 16:56:49.918] [info] Parameter 0: 0x0 [2024-05-20 16:56:49.918] [info] Parameter 1: 0x10 [2024-05-20 16:56:49.919] [info] [2024-05-20 16:56:49.919] [info] Registers: [2024-05-20 16:56:49.919] [info] RAX: 0x0000000000000000 RBX: 0x000001DB9F0076F0 RCX: 0x0000000000000000 [2024-05-20 16:56:49.919] [info] RDX: 0x000001DBA662C800 RSI: 0x000000C72E8FE9A0 RDI: 0x000000C72E8FEA60 [2024-05-20 16:56:49.919] [info] RBP: 0x000000C72E8FEEA9 RSP: 0x000000C72E8FE8E8 R8: 0x000000C72E8FE8F8 [2024-05-20 16:56:49.920] [info] R9: 0x000001DBAB07EB00 R10: 0x00000FFEE38B146E R11: 0x0001405005000004 [2024-05-20 16:56:49.920] [info] R12: 0x00000000FFFFFF00 R13: 0x0000000000000001 R14: 0x0000000000000000 [2024-05-20 16:56:49.920] [info] R15: 0x000001DB928916D8 [2024-05-20 16:56:49.921] [info] RIP: 0x00007FF71DCECC20 EFLAGS: 0x00010204 [2024-05-20 16:56:49.921] [info] DR0: 0x0000000000000000 DR1: 0x0000000000000000 DR2: 0x0000000000000000 [2024-05-20 16:56:49.921] [info] DR3: 0x0000000000000000 DR6: 0x0000000000000000 DR7: 0x0000000000000000 [2024-05-20 16:56:49.921] [info] CS: 0x0033 DS: 0x0000 ES: 0x0000 FS: 0x0000 GS: 0x0000 SS: 0x002B [2024-05-20 16:56:49.922] [info] [2024-05-20 16:56:49.922] [info] Last Assembly: [2024-05-20 16:56:49.922] [info] 0x7FF71DCECC20 --> mov r10, [rcx+0x10] [2024-05-20 16:56:49.922] [info] [2024-05-20 16:56:49.923] [info] Stacktrace: [2024-05-20 16:56:49.949] [info] #0 at pc 0x7FF71DCECC20 bedrock_server_mod.exe -> Actor::hasComponent<FlagComponent >+0x0 [2024-05-20 16:56:49.973] [info] #1 at pc 0x7FFE1FF492F0 LeviLamina.dll -> Actor::isSimulatedPlayer+0x14 [Actor.cpp:70L] [2024-05-20 16:56:49.981] [info] #2 at pc 0x7FFE4ED318E0 GMLIB.dll -> GMLIB::Server::FakeListEmplaceHook::detour+0x4C [FakeListAPI.cc:53L] [2024-05-20 16:56:49.982] [info] #3 at pc 0x7FFE4ED31A20 GMLIB.dll -> GMLIB::Server::SendAllFakeListPlayerJoinHook::detour+0x71 [FakeListAPI.cc:30L] [2024-05-20 16:56:49.983] [info] #4 at pc 0x7FFE1FCB6F80 LeviLamina.dll -> ll::event::player::PlayerJoinEventHook::origin<>+0x2E [PlayerJoinEvent.cpp:7L] [2024-05-20 16:56:49.984] [info] #5 at pc 0x7FFE1FCB6A20 LeviLamina.dll -> ll::event::player::PlayerJoinEventHook::detour+0x59 [PlayerJoinEvent.cpp:19L] [2024-05-20 16:56:49.984] [info] #6 at pc 0x000180010B9F LeviAntiCheat.dll [2024-05-20 16:56:49.985] [info] #7 at pc 0x7FF71CCA29B0 bedrock_server_mod.exe -> NetworkSystem::_sortAndPacketizeEvents+0x7C2 [2024-05-20 16:56:49.985] [info] #8 at pc 0x7FF71CC97840 bedrock_server_mod.exe -> ::operator()+0x214 [2024-05-20 16:56:49.986] [info] #9 at pc 0x7FF71CCBD7D0 bedrock_server_mod.exe -> NetworkSystem::runEvents+0x1D2 [2024-05-20 16:56:49.987] [info] #10 at pc 0x7FF71DBF7C80 bedrock_server_mod.exe -> Minecraft::update+0x12F4 [2024-05-20 16:56:49.988] [info] #11 at pc 0x7FF71D03E450 bedrock_server_mod.exe -> ServerInstance::_update+0xF2 [2024-05-20 16:56:49.988] [info] #12 at pc 0x7FF71D031F30 bedrock_server_mod.exe -> ::operator()+0x456 [2024-05-20 16:56:49.989] [info] #13 at pc 0x7FF71CFE1910 bedrock_server_mod.exe -> std::thread::_Invoke<std::tuple< >,0>+0xE [2024-05-20 16:56:49.990] [info] #14 at pc 0x7FFECE609333 ucrtbase.dll [2024-05-20 16:56:49.990] [info] #15 at pc 0x7FFED012257D KERNEL32.DLL [2024-05-20 16:56:49.991] [info] #16 at pc 0x7FFED0D2AA48 ntdll.dll [2024-05-20 16:56:49.991] [info] [2024-05-20 16:56:50.006] [info] Modules: [2024-05-20 16:56:50.007] [info] 0x7FFED0BA0000 ADVAPI32.dll<6.2.22621.3296> [2024-05-20 16:56:50.008] [info] 0x7FFE99280000 CONCRT140.dll<14.38.33135.0> [2024-05-20 16:56:50.008] [info] 0x7FFECE700000 CRYPT32.dll<6.2.22621.3593> [2024-05-20 16:56:50.009] [info] 0x7FFECD7D0000 CRYPTBASE.DLL<6.2.22621.1> [2024-05-20 16:56:50.009] [info] 0x7FFECCAF0000 DNSAPI.dll<6.2.22621.3593> [2024-05-20 16:56:50.010] [info] 0x7FFE9E6B0000 DeathMessages.dll [2024-05-20 16:56:50.010] [info] 0x7FFE90A80000 EverywherePAPI.dll [2024-05-20 16:56:50.010] [info] 0x7FFEB9D00000 FreeCamera.dll [2024-05-20 16:56:50.011] [info] 0x7FFEB9FA0000 FuckNetherHeight.dll [2024-05-20 16:56:50.011] [info] 0x7FFED0C60000 GDI32.dll<6.2.22621.3085> [2024-05-20 16:56:50.012] [info] 0x7FFE1F530000 GMLIB-LegacyRemoteCallApi.dll [2024-05-20 16:56:50.012] [info] 0x7FFE4ECC0000 GMLIB.dll [2024-05-20 16:56:50.013] [info] 0x7FFE55E90000 GMSidebar.dll [2024-05-20 16:56:50.013] [info] 0x7FFE9E380000 GMWhitelist.dll [2024-05-20 16:56:50.014] [info] 0x7FFED0720000 IMM32.DLL<6.2.22621.3374> [2024-05-20 16:56:50.014] [info] 0x7FFECCAC0000 IPHLPAPI.DLL<6.2.22621.1> [2024-05-20 16:56:50.015] [info] 0x7FFED0110000 KERNEL32.DLL<6.2.22621.3527> [2024-05-20 16:56:50.015] [info] 0x7FFECE230000 KERNELBASE.dll<6.2.22621.3527> [2024-05-20 16:56:50.016] [info] 0x7FFE410F0000 LegacyMoney.dll [2024-05-20 16:56:50.016] [info] 0x7FFEA2290000 LegacyParticleAPI.dll [2024-05-20 16:56:50.017] [info] 0x7FFEA21E0000 LegacyRemoteCall.dll [2024-05-20 16:56:50.017] [info] 0x000180000000 LeviAntiCheat.dll [2024-05-20 16:56:50.018] [info] 0x7FFE1FB70000 LeviLamina.dll<0.12.3.0> [2024-05-20 16:56:50.018] [info] 0x7FFE95B10000 LeviOptimize.dll [2024-05-20 16:56:50.019] [info] 0x7FFE453C0000 MSVCP140.dll<14.38.33135.0> [2024-05-20 16:56:50.019] [info] 0x7FFE2BE70000 Musae.dll [2024-05-20 16:56:50.020] [info] 0x7FFED08C0000 NSI.dll<6.2.22621.1> [2024-05-20 16:56:50.020] [info] 0x7FFE53BA0000 NewTheOneBag.dll [2024-05-20 16:56:50.021] [info] 0x7FFECEA00000 OLEAUT32.dll<6.2.22621.3527> [2024-05-20 16:56:50.021] [info] 0x7FFE53110000 PreLoader.dll [2024-05-20 16:56:50.021] [info] 0x7FFECFAB0000 RPCRT4.dll<6.2.22621.3447> [2024-05-20 16:56:50.022] [info] 0x7FFED0010000 SHCORE.dll<6.2.22621.3527> [2024-05-20 16:56:50.022] [info] 0x7FFECEE70000 SHELL32.dll<6.2.22621.3527> [2024-05-20 16:56:50.023] [info] 0x7FFECF6F0000 USER32.dll<6.2.22621.3527> [2024-05-20 16:56:50.023] [info] 0x7FFEB6650000 VCRUNTIME140.dll<14.38.33135.0> [2024-05-20 16:56:50.024] [info] 0x7FFE5DEB0000 VCRUNTIME140_1.dll<14.38.33135.0> [2024-05-20 16:56:50.024] [info] 0x7FFEC58D0000 VERSION.dll<6.2.22621.1> [2024-05-20 16:56:50.025] [info] 0x7FFEC8DD0000 WINHTTP.dll<6.2.22621.3527> [2024-05-20 16:56:50.025] [info] 0x7FFED08D0000 WS2_32.dll<6.2.22621.1> [2024-05-20 16:56:50.026] [info] 0x7FFECE180000 bcrypt.dll<6.2.22621.2506> [2024-05-20 16:56:50.026] [info] 0x7FFECE1B0000 bcryptPrimitives.dll<6.2.22621.3374> [2024-05-20 16:56:50.027] [info] 0x7FF71C4C0000 bedrock_server_mod.exe [2024-05-20 16:56:50.027] [info] 0x7FFECEAE0000 combase.dll<6.2.22621.3527> [2024-05-20 16:56:50.027] [info] 0x7FFEC32E0000 dbgcore.DLL<6.2.22621.1> [2024-05-20 16:56:50.028] [info] 0x7FFECB310000 dbghelp.dll<6.2.22621.3593> [2024-05-20 16:56:50.028] [info] 0x7FFEC8A40000 dhcpcsvc.DLL<6.2.22621.2506> [2024-05-20 16:56:50.029] [info] 0x7FFEC8A60000 dhcpcsvc6.DLL<6.2.22621.2506> [2024-05-20 16:56:50.029] [info] 0x7FFEC8140000 fwpuclnt.dll<6.2.22621.3235> [2024-05-20 16:56:50.029] [info] 0x7FFECDFF0000 gdi32full.dll<6.2.22621.3527> [2024-05-20 16:56:50.030] [info] 0x7FFECD100000 kernel.appcore.dll<6.2.22621.2715> [2024-05-20 16:56:50.030] [info] 0x7FFE1D770000 legacy-script-engine-lua.dll [2024-05-20 16:56:50.031] [info] 0x7FFE1EBC0000 legacy-script-engine-quickjs.dll [2024-05-20 16:56:50.031] [info] 0x7FFECE8A0000 msvcp_win.dll<6.2.22621.3374> [2024-05-20 16:56:50.031] [info] 0x7FFED01E0000 msvcrt.dll<7.0.22621.2506> [2024-05-20 16:56:50.032] [info] 0x7FFECD570000 mswsock.dll<6.2.22621.2506> [2024-05-20 16:56:50.032] [info] 0x7FFEA8CE0000 napinsp.dll<6.2.22621.1> [2024-05-20 16:56:50.033] [info] 0x7FFEA8380000 nlansp_c.dll<6.2.22621.3593> [2024-05-20 16:56:50.033] [info] 0x7FFED0CD0000 ntdll.dll<6.2.22621.3527> [2024-05-20 16:56:50.034] [info] 0x7FFECD120000 ntmarta.dll<6.2.22621.1> [2024-05-20 16:56:50.034] [info] 0x7FFECFBD0000 ole32.dll<6.2.22621.3527> [2024-05-20 16:56:50.035] [info] 0x7FFEA8CC0000 pnrpnsp.dll<6.2.22621.1> [2024-05-20 16:56:50.035] [info] 0x7FFEC78D0000 rasadhlp.dll<6.2.22621.1> [2024-05-20 16:56:50.036] [info] 0x7FFECFA00000 sechost.dll<6.2.22621.3527> [2024-05-20 16:56:50.036] [info] 0x7FFED0760000 shlwapi.dll<6.2.22621.3527> [2024-05-20 16:56:50.037] [info] 0x7FFECE5E0000 ucrtbase.dll<6.2.22621.3593> [2024-05-20 16:56:50.037] [info] 0x7FFECE870000 win32u.dll<6.2.22621.3593> [2024-05-20 16:56:50.038] [info] 0x7FFECBF00000 windows.storage.dll<6.2.22621.3593> [2024-05-20 16:56:50.038] [info] 0x7FFEA8C20000 winrnr.dll<6.2.22621.1> [2024-05-20 16:56:50.038] [info] 0x7FFECBDC0000 wintypes.dll<6.2.22621.3527> [2024-05-20 16:56:50.039] [info] 0x7FFEA83D0000 wshbth.dll<6.2.22621.3374> /

Expected behavior

/

Screenshots

/

Platform

No response

Version

LeviLamina-0.12.3

Additional context

/

EpsilonZunsat commented 6 months ago

似乎已经修改过这个接口,为何release没有修改(三周前)