-
-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiverse Incompatibility - server crash #2149
Comments
Try this:
If that doesn't work for you, please share the full log from the server (the log is in the logs folder in the server). It may be latest.log. Zip it and drag and drop it here so I can see what happened on your server from start up. |
keeps crashing |
Sorry to hear that. If you want to help then share your start up script, machine specs and the full co sole log. |
java -Xms14G -Xmx16G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 --add-modules=jdk.incubator.vector -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:MaxTenuringThreshold=1 -XX:G1NewSizePercent=40 -XX:G1MaxNewSizePercent=50 -XX:G1HeapRegionSize=16M -XX:G1ReservePercent=15 -XX:InitiatingHeapOccupancyPercent=20 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -jar {{SERVER_JARFILE}} nogui |
i have the same issue, but for me the server crashes when several people do the command at the same time. |
@alessiaciotta can you share your crash log? |
@alessiaciotta Thanks. The server thinks there is no populator for some reason. Is that the only error in the log? The full log would be useful (you can drag and drop zip files into the reply here). I'll delete it if you want me to after getting it. Also, can you do |
[21:08:38 INFO]: In esecuzione su Invalido (PUFFERFISH) Invalido. |
What version of Pufferfish? I've not tried that before. |
Hmm, I can't replicate this right now. I made boxes as two players almost at the same time and it worked fine. I don't have all your plugins (ViaVersion, etc) but from a basic load it all works okay with Pufferfish. I'm running on an M1 MacBookPro 16 inch with 16GB of RAM, FWIW. The issue in your log is with the server, but it isn't clear why that occurred. I did get one error with Pufferfish the first time I ran things, but it was not the same as yours and was not fatal. I'm not sure why there should be an issue right now... |
hi @tastybento . we removed multiverse and then replicated the problem, and the server didnt crash. |
That makes sense. The main worlds are registered with the multiverse but not the seed worlds so that may be where the issue is. |
can this be solved in the short term? |
I hope so |
Must be used with BentoBox 1.24.0 #52
Okay, I've added world generator registration into Boxed, but it requires the latest version of BentoBox too. You can download both from ci.bentobox.world. I was able to confirm that the additional worlds, like the base and seed world are now correctly registered in Multiverse (or MyWorlds) with BentoBox with their generator. I am not sure if this will fix the server error you guys saw because I have not been able to replicate that (yet) on my machine. Hopefully it will, but let's see. Please try the latest and let me know what happens. |
Hi @tastybento I tried with the latest versions and it doesnt crash anymore. But now the world generates a cube in the middle of water, with random structures around. |
Hmm. Did you delete the old worlds before testing? If you did and this is happening then the generator is still not being correctly associated. I did test this before I committed and it worked. Hmmm. |
@tastybento Hi, I tried again and the error its not there. it's all fixed! |
I’m glad it works. In regards to your request, the magic of Boxed is that each player gets the same box and so the game is fair. That was actually really hard to do and still have a vanilla-like world. Also, the environment has been designed to enable the advancements to be done, so it is not random for that reason. |
@tastybento Hey, i'm sad to say that the issue with the boxed generating in the middle of the water is not fixed. Lmk if you need any test done. |
@alessiaciotta I can't replicate any issue right now. What is your setup and what are the steps to replicate? I just did a clean install and it works great:
|
to replicate, you have to:
|
This is very difficult to debug and I've been working for hours on this. I have narrowed it down to the fact that Multiverse does not pick up on the generator for boxed_world properly after a reboot. I don't know why. There is a work around: remove the world from Multiverse before shutting down, then when it restarts it is correctly detected. So this works:
I am trying to work out why the usual registration with Multiverse does not work if Multiverse already knows about the Boxed world. Also, I don't understand why this doesn't affect other game modes, like AcidIsland (yet). I'll keep looking at it, but it's a stumper. |
I tested with MyWorlds and it works fine, so this seems to be an incompatibility with MultiVerse Core. |
by executing |
My current plan is to unhook worlds from MV during shutdown so that it can be picked up again by MV on restart. |
I have another problem: structures are not generated |
Please make a new ticket for this. |
Expected behavior
world creation without server crash
Observed/Actual behavior
https://pastebin.com/upGNc52g
Steps/models to reproduce
the server always crashes after i do the /boxed command.
steps to reproduce it:
start the server
and use the /boxed command
restart the server
use the /boxed command (in this case it will crash the server)
BentoBox version
BentoBox v1.23.3-SNAPSHOT-b2390
Plugin list
No response
Other
No response
The text was updated successfully, but these errors were encountered: