Git Product home page Git Product logo

Comments (13)

tastybento avatar tastybento commented on July 18, 2024

Does this always happen with each island?

What is your island protection size?

from level.

Jcodeerd avatar Jcodeerd commented on July 18, 2024

Yep, happens with every player.
That's 200.

from level.

tastybento avatar tastybento commented on July 18, 2024

Hmm. I think I'm going to need a copy of your Bentobox folder and your world. Can you zip that up and share it somehow? I'll then try and replicate it.

from level.

Jcodeerd avatar Jcodeerd commented on July 18, 2024

Sure, is it fine if I dm it to you? I prefer not to send it here :)

from level.

tastybento avatar tastybento commented on July 18, 2024

Yes, you can send to tastybento at bentobox.world.

from level.

sdmsaputra avatar sdmsaputra commented on July 18, 2024

@tastybento i also got the same problem. Progress level not running on my server

from level.

tastybento avatar tastybento commented on July 18, 2024

I'll try and look at it this weekend. I have to work Saturday IRL though.

from level.

Jcodeerd avatar Jcodeerd commented on July 18, 2024

from level.

tastybento avatar tastybento commented on July 18, 2024

So..... it does appear to be working, just slowly. It takes about 1m 10 seconds to scan the 400x400 island at about 100ms per chunk on my MacBook Pro. If I reduce the size of the island to say, 200x200 then of course it is 4x faster, and 100x100 is much faster again. It seems that the actual scanning is very fast, but since I started adding support for scanning chests and these stacker plugins that require chunks to be scanned not-async, there is an overhead of switching back to the main thread of 50 to 100ms. This is a long way of saying, the whole system needs rewriting. I think I've done this 3 times before, but it looks like it needs to be done again. This is going to be a bit of a project. The only work-around is to give players a smaller protected island size for now, sorry.

from level.

Jcodeerd avatar Jcodeerd commented on July 18, 2024

Ah, no worries! It's not a big issue now, but I'd apperciate if it you could make it work again :)

from level.

tastybento avatar tastybento commented on July 18, 2024

Okay, it took all day, but I managed to make it faster. It now takes 4 seconds to calculate the 400x400 island using your server files (nice starter islands BTW). If you enable chest scanning then it'll take around 14 seconds with the default island because they have to be done sync. You can try this build on your server by getting 2.8.1-SNAPSHOT from https://ci.codemc.io/job/BentoBoxWorld/job/Level/. It will use a lot of CPU to do this, but as it's async, it should be okay. A lot of servers have multiple cores.

from level.

Jcodeerd avatar Jcodeerd commented on July 18, 2024

Thanks! I will see whether this works for my server too! It got 4 cores so should be fine.

from level.

Jcodeerd avatar Jcodeerd commented on July 18, 2024

Works as a charm!
image
Didn't even notice anything!

from level.

Related Issues (20)

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.