-
-
Notifications
You must be signed in to change notification settings - Fork 140
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
AcidIsland Island Reset Error #326
Comments
Thanks for the report and video - you are a most excellent reporter! So the issue is actually in regards to the pasting of your schem. I would guess that if you look at the new island, you'll find it is not actually all there (I'm not sure, just a guess). The issue is actually a bug with the server code. When a block is being pasted, the server is choking on what ever state it's being told to be set to. I don't know which block it is exactly but it's some kind of inventory holder, e.g. a chest, or a furnace or something like that. As you shared the schems, I have a look at them and see if I can figure it out. In the meantime, you too can have a go by removing inventory holders and seeing if you can find out which one it is. Did you make the schem on server version 1.13.2? |
Okay, the error is in the end-island schem. I'm now trying to find out which block. |
Well, it looked like it was a chest in one of the "towers" but rather than try to fix the schem, I put in defensive code so that if a schem tries to write to a larger index in an inventory than it has it'll just put the item in the last slot. This fixed the issue. I recommend you check your schem to see if everything looks okay after this fix is in there. |
Awesone Work tastybento |
@tastybento Where is the commit that fixes that? |
#326 Error was that double chests get pasted in two single blocks but the full inventory is stored for each block. This code just ignores any inventory slots greater than what the chest can handle.
Committed. |
Great, thanks! |
It is no longer creating the error in console but the physical island is still not deleted. I used https://github.com/BentoBoxWorld/bentobox/releases/tag/0.14.0 to test |
Huh. I can't replicate that. What do you see if you run /acid delete (your name)? If you do it on your island, it should just disappear. Also, share your config.yml. What's the size of your islands? It may be that the deletion is just taking a long time? |
Configs: The island size is just what it generates when making a new island so i dont think its the plugin choking as the islands persist after server restart. /acid delete ALT ACCOUNT resulted in the island being deleted but the ALT ACCOUNT was left in spectator mode and not teleported to spawn the MAIN ACCOUNT was teleported to my island upon deletion of the ALTACCOUNT island. I Think this may be due to the ALT ACCOUNT being registered to more than one island. (Diffrent bug with protection that i have spoken to @Poslovitch about) |
Okay so update, After the last post I went to go and replicate the bug. Here is what i found. New Video: The database error:
The Big error from the /ai unexpected issue: All Console since joining and while recording: |
In regards to the unexpected error, it looks like the database of islands is basically corrupted and needs to be deleted. This could be because the previous bug was preventing islands from being deleted so they are still in the database. I expect that if you do a clean start, you'll see everything working okay. I'll add some defensive code into the plugin to try to avoid generating errors and show some "helpful" text, but in these situations, the yml files in the island database folder are causing the issue. |
When an island cannot be added to the grid, it should show some helpful console error. Related to #326
Closing for now because there is not much more I can do on this. Hopefully you can confirm no issues with a clean install. |
still getting |
Description
Islands are not being deleted upon reset
Steps to reproduce the behavior:
/ai reset
https://youtu.be/CsI6fN044eE
Expected behavior
When a player issues /AI-SB reset their island is deleted from the world leaving the space open for a new island.
Screenshots
See Video
Server Information:
Spigot 1.13.2
Bungeecord also used
[Please complete the following information:]
Additional context
This is only affecting Acid island Island resets work fine in SkyBlock
I seem to get 2 errors a big one and a small one i got killed twice on the small error
https://pastebin.com/52CpCn3b
https://pastebin.com/rTe8Cgbm
AI SCHEMS.zip
The text was updated successfully, but these errors were encountered: