kangarko / Boss

Premium custom monsters plugin with skill system, natural spawning and lots of sickest features!
https://www.mc-market.org/resources/21619/
75 stars 28 forks source link

1.15.2: Boss Spawn Egg in your inv will cause no inv interaction #956

Closed Greazi-Times closed 2 years ago

Greazi-Times commented 2 years ago

When you get a Boss egg from the plugin and have it in your inventory it will cause at some times that you can't edit your inventory. It doesn't allow you to move any items from or towards your inventory.

I am not really sure what would cause this but from what I have seen it happens at random moments.

kangarko commented 2 years ago

What do you mean by "sometimes" please? I am afraid you need to be more specific so I can reproduce this error.

If possible, test on 1.17.1, but I dont think it is version-dependent. If you have ViaVersion or some protocolhack plugin, try removing it.

kangarko commented 2 years ago

Comment below to keep the discussion going.

XaaREl commented 2 years ago

Hi, is there solution for this?

I made boss(slime) on my server(1.15.2, Paper build390). When I get the egg my inv get stuck, even when I get rid of an egg(drop it) or reloaded plugin. Problem exist until I remove the slime boss. No errors or warns in console :/

kangarko commented 2 years ago

I am unable to reproduce. Make sure you are not looking at any other special block. For example in plugin CoreArena, we block inventory clicking when looking at mob spawner blocks.

Tested using creative/survival on 1.15 without other plugin than Boss but my inventory worked fine: https://www.loom.com/share/26155d0015e8433f9b353c3dcc855929

XaaREl commented 2 years ago

Like Greazi said, it's random but annoying. I am unable to reproduce this as well. I just tried to help cuz it often breaks when most needed. If I manage to reproduce or it happens on accident, I will try provide more info than earlier. For now thats all I have :/

kangarko commented 2 years ago

Could be a third party plugin? Or perhaps some server fork you're using? I wasn't able to reproduce over several trials on a stock PaperSpigot server without other plugins.

Greazi-Times commented 2 years ago

So I think I found the issue. When you get an egg and then do /reload confirm (on paper as that is the build I am using) it happens. Not all the time but like 2 out of the 5 times.

kangarko commented 2 years ago

Can you try on the 1.15.2 listed here? https://papermc.io/legacy (the latest build updated with log4j2 exploit patched)

Is it on survival or creative? Sorry as much as I am doing the /rl confirm in survival, I can move all inventory items just fine. How do I know my inventory is stuck?

a

Greazi-Times commented 2 years ago

On 1.15.2, than in creative reload the server with a egg in your hot bar. Once it is reloaded and you open your inventory you can pick up the item and place it anywhere you want but nothing changes. Taking an item from the creative view doesn't work as well.

kangarko commented 2 years ago

Sorry, still cannot reproduce: https://www.loom.com/share/c99f567e7342408fa820e6f35d0bdb94

Could be a server bug, did you test on the stock PaperSpigot version? Also try using Minecraft vanilla client if you're not.

Greazi-Times commented 2 years ago

I have tried spigot 1.15.2 latest build and paper 1.15.2 latest build

kangarko commented 2 years ago

Really odd. Is there something in my video I am doing differently?

Maybe you can ZIP me your whole server if possible, upload on ufile.io and send it.

Greazi-Times commented 2 years ago

Well maybe it is because I am getting kicked because of viaversions and viabackwards. Then it kicks me out of the server and only lets me in once the server is fully reloaded.

Greazi-Times commented 2 years ago

The server why I hosted it on has forced me to update to 1.18.1 because of the latest exploits with log4j.

kangarko commented 2 years ago

Got it. It's ViaVersion then, the way how it deals with creative mode packets.

ProtocolSupport, which works similarily, warns about this: https://i.imgur.com/L7iKd90.png

Unfortunately I am unable to fix this on my own.

Greazi-Times commented 2 years ago

Well no pr we now know the cause of this issue. So if people have the same problem you know what it is.

kangarko commented 2 years ago

I'll edit the wiki to add this there, thanks.