BentoBoxWorld / Level

Add on for BentoBox to calculate island levels for BSkyBlock and AcidIsland. Please read the Wiki!
Eclipse Public License 2.0
24 stars 31 forks source link

Calculating level takes a long time #234

Open iRedFox opened 3 years ago

iRedFox commented 3 years ago

Expected behavior

It should calculate level when /is level is executed by player

Observed/Actual behavior

It takes a long time and doesn't calculate blocks. For example, after restart: it calculated (on join), but placed some blocks, did the /is level command

Steps/models to reproduce

1- Place blocks 2- /is level 3- You will be stuck in Calculating level... Estimated wait: 2 seconds

BentoBox version

[10:04:43 INFO]: Running PAPER 1.17.1. [10:04:43 INFO]: BentoBox version: 1.17.2 [10:04:43 INFO]: Database: JSON [10:04:43 INFO]: Loaded Game Worlds: [10:04:43 INFO]: ASkyBlock (BSkyBlock): Overworld [10:04:43 INFO]: Loaded Addons: [10:04:43 INFO]: Biomes 1.14.0 (ENABLED) [10:04:43 INFO]: Border 3.1.2-SNAPSHOT-b119 (ENABLED) [10:04:43 INFO]: BSkyBlock 1.15.1 (ENABLED) [10:04:43 INFO]: Challenges 0.9.0-SNAPSHOT-b457 (ENABLED) [10:04:43 INFO]: ControlPanel 1.13.0 (ENABLED) [10:04:43 INFO]: DimensionalTrees 1.6.0 (ENABLED) [10:04:43 INFO]: IslandFly 1.8.1 (ENABLED) [10:04:43 INFO]: Level 2.7.2 (ENABLED) [10:04:43 INFO]: Limits 1.15.5 (ENABLED) [10:04:43 INFO]: MagicCobblestoneGenerator 2.4.0-SNAPSHOT-b228 (ENABLED) [10:04:43 INFO]: RoseStackerHook 1.0.0-SNAPSHOT-b3 (ENABLED) [10:04:43 INFO]: TwerkingForTrees 1.4.3 (ENABLED) [10:04:43 INFO]: Upgrades 0.2.0-SNAPSHOT-b84 (ENABLED) [10:04:43 INFO]: Visit 1.3.0 (ENABLED) [10:04:43 INFO]: Warps 1.10.2 (ENABLED)

Plugin list

No response

Other

No response

tastybento commented 3 years ago

(From @iRedFox report on Discord)

Console error screenshot: image

Screenshot of usage: image

Output if /island info: image

Shot of island: image

Config: Level-config.txt

tastybento commented 3 years ago

@iRedFox If you remove RoseStacker and run /island info, does it return with a calculation?

iRedFox commented 2 years ago

Nope, doesn't return with calculation

junxiesky commented 2 years ago

Yes, this problem exists. I have encountered this problem too. When can you fix it?

tastybento commented 2 years ago

Yes, this problem exists. I have encountered this problem too. When can you fix it?

Hmm, it's not fixable with the current information provided. If you are seeing this issue, then I'll need a copy of your world, and the BentoBox folder, zipped up and shared, along with the island location where the issue occurs. Also, if there is any log from the console when it happens. Once I have those, I'll try and replicate and see if it happens and I can catch the internal error that is happening. Also, share your output of bbox version so I know the specific version numbers you are using.

junxiesky commented 2 years ago

是的,这个问题存在。我也遇到过这个问题。什么时候能修好?

嗯,根据提供的当前信息无法修复。如果您看到此问题,那么我需要一份您的世界的副本,以及压缩并共享的 BentoBox 文件夹,以及出现问题的岛屿位置。此外,如果发生时控制台有任何日志。一旦我有了这些,我将尝试复制并查看它是否发生,我可以捕获正在发生的内部错误。另外,分享您的输出,bbox version以便我知道您正在使用的特定版本号。

okay,When I encounter this problem next time I will provide these to you.

HookWoods commented 2 years ago

Ob level was not working on my server too. I just reverted this two commit and it works again https://github.com/BentoBoxWorld/Level/commit/bd6c264f4ddfb1b7aab1f8fab47d0f801b723374 https://github.com/BentoBoxWorld/Level/commit/fdf5da43c6437a9ab9ccfb5958be1c915e79f8a0