Giter Club home page Giter Club logo

moredimensions's Introduction

MoreDimensions

More than three dimensions on BDS!

Note: This plugin only provides API. If you only install this plugin, the dimensions will not be created.

Install

Install with lip:

lip install github.com/LiteLDev/MoreDimensions

Usage

Wiki: Chinese

Contributing

Ask questions by creating an issue.

PRs accepted.

License

LGPL-3.0-or-later © LiteLDev

moredimensions's People

Contributors

dofes avatar futrime avatar lovelylavender4 avatar quizhizhe avatar shrbox avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

moredimensions's Issues

[Bug]: more dimension block entity error

Describe the bug

Transported to a new dimension, an anomalous block entity (such as the particles of a campfire) will be seen at the block's original dimensional position.

To Reproduce

Place a campfire block in the main world, then teleport to dimension 3, and it is observed that the smoke from the campfire still exists.

Expected behavior

After teleporting to dimension 3, the block entity of the campfire (smoke, particles) should not be visible, as they should have been unloaded.

Screenshots

image

Platform

Windows 11

Version

1.20.51

Additional context

No response

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

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 -> <lambda_cd0022ac5976e336d3b36b19ff184662>::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 -> <lambda_89b81b0e342544a4b3bbd35a059fe5b8>::operator()+0x4CA
[2024-02-28 04:39:31.546] [info] #14 at pc 0x7FF7752D57D0 bedrock_server_mod.exe -> std::thread::_Invoke<std::tuple<<lambda_89b81b0e342544a4b3bbd35a059fe5b8> >,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

[Feature]: 需要一个删除维度接口

Is your feature request related to a problem? Please describe.

插件卸载以后,存档内尚未被删除的维度数据仍然存在,可不可以实现删除?

Describe the solution you'd like

添加一个删除维度的接口

Describe alternatives you've considered

No response

Additional context

No response

[Bug]: addDimension后进服崩溃

Describe the bug

按照wiki,addDimension后,编译进服测试,在进服(生成世界)时服务器崩溃

  • 启动日志
12:24:34.386 INFO [LeviLamina] 正在启用插件...
12:24:34.387 INFO [LeviLamina] 正在启用 PermissionCore v0.8.0
12:24:34.387 INFO [PermissionCore] Enabling...
12:24:34.388 INFO [LeviLamina] 正在启用 more-dimensions v0.3.1
12:24:34.388 INFO [more-dimensions] Enabling...
12:24:34.388 INFO [LeviLamina] 正在启用 LeviOPTools v0.5.1
12:24:34.388 INFO [LeviOPTools] Enabling...
12:24:34.393 INFO [PermissionCore] 初始化插件 'LeviOPTools' 的权限数据成功
12:24:34.394 INFO [LeviOPTools] 注册权限成功。 权限总数: 24
12:24:34.395 INFO [LeviLamina] 正在启用 PlotCraft v0.0.0
12:24:34.396 INFO [PlotCraft] Enabling...
12:24:34.396 INFO [PlotCraft] Registering plot dimension...
12:24:34.398 WARN [CustomDimensionConfig] Config file rewrite success!
12:24:34.568 INFO [CustomDimensionManager] registry new dimension, name: plot, id: 3,
data: {}
12:24:34.712 INFO [LeviLamina] 4 个插件在 (0.3秒) 内启用
12:25:07.203 INFO [Server] Player connected: engsr6982, xuid: 2535457668222696
  • VS调试堆栈
 	KernelBase.dll!00007ffb6505cf19()	未知
 	vcruntime140.dll!00007ffb579f6ba7()	未知
 	msvcp140.dll!00007ffb57539542()	未知
 	more-dimensions.dll!std::unordered_map<AutomaticID<Dimension,int>,std::string,std::hash<AutomaticID<Dimension,int>>,std::equal_to<AutomaticID<Dimension,int>>,std::allocator<std::pair<AutomaticID<Dimension,int> const ,std::string>>>::at(const AutomaticID<Dimension,int> & _Keyval) 行 456	C++
>	more-dimensions.dll!more_dimensions::CustomDimensionHookList::VanillaDimensionsToStringHook::detour(const AutomaticID<Dimension,int> & dim) 行 92	C++
 	bedrock_server_mod.exe!DimensionManager::getOrCreateDimension(class AutomaticID<class Dimension,int>)	未知
 	bedrock_server_mod.exe!Level::getOrCreateDimension(class AutomaticID<class Dimension,int>)	未知
 	bedrock_server_mod.exe!<lambda>(void)()	未知
 	bedrock_server_mod.exe!Container::createTransactionContext(class std::function<void (class Container &,int,class ItemStack const &,class ItemStack const &)>,class std::function<void (void)>)	未知
 	bedrock_server_mod.exe!PlayerInventory::createTransactionContext(class std::function<void (class Container &,int,class ItemStack const &,class ItemStack const &)>,class std::function<void (void)>)	未知
 	bedrock_server_mod.exe!ServerNetworkHandler::_loadNewPlayer(class ServerPlayer &,bool)	未知
 	bedrock_server_mod.exe!ServerNetworkHandler::trytLoadPlayer(class ServerPlayer &,class ConnectionRequest const &)	未知
 	bedrock_server_mod.exe!VanillaServerNetworkHandler::handle(class NetworkIdentifier const &,class ResourcePackClientResponsePacket const &)	未知
 	bedrock_server_mod.exe!NetworkSystem::_sortAndPacketizeEvents(class NetworkConnection &,class std::chrono::time_point<struct std::chrono::steady_clock,class std::chrono::duration<__int64,struct std::ratio<1,1000000000> > >)	未知
 	bedrock_server_mod.exe!<lambda>(void)()	未知
 	bedrock_server_mod.exe!NetworkSystem::runEvents(bool)	未知
 	bedrock_server_mod.exe!Minecraft::update(void)	未知
 	bedrock_server_mod.exe!ServerInstance::_update(void)	未知
 	bedrock_server_mod.exe!<lambda>(void)()	未知
 	bedrock_server_mod.exe!std::thread::_Invoke<std::tuple<<lambda>(void)>,0>()	未知
 	ucrtbase.dll!00007ffb65541bb2()	未知
 	kernel32.dll!00007ffb66177344()	未知
 	ntdll.dll!00007ffb679026b1()	未知

To Reproduce

  1. addDimension
  2. 启动服务器
  3. 进服
  4. 崩溃

相关插件代码:https://github.com/engsr6982/PlotCraft
(Generator和Dimension都是复制wiki里的)

Expected behavior

正常进入服务器,而不是崩溃

Screenshots

image

Platform

win10

BDS Version

1.20.81-1.671+a9081c5

LeviLamina Version

LeviLamina-0.12.4+935b0d8ee

Version

0.3.1

Additional context

No response

适配1.20.81

Is your feature request related to a problem? Please describe.

适配1.20.81

Describe the solution you'd like

适配1.20.81

Describe alternatives you've considered

No response

Additional context

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.