WildStacker icon indicating copy to clipboard operation
WildStacker copied to clipboard

Mobs are spawned stacked when they shouldn't

Open HamtaBot opened this issue 4 years ago • 32 comments

Minecraft's Version

1.17.1 pufferfish

Plugin's Version

wildstacker b-300

Describe the bug

So i'm getting a bug , the bug is not hapenning everydays and seems to come after a certain uptime (on the video the server was up since 5Hours , the issue is simple mobs are spawning a certain number like on the video 28 by 28 instead of spawning 1 by 1 on the one block and 100 by 100 from 100 stacked spawners I'm not getting this everydays and also tried when i removed all my plugin handling mobs spawn or handle creature spawn event this issue is hapenning since i switched from version 261 to 300

Here is a quick video to explain the bug https://www.youtube.com/watch?v=JSsQZ4nWNUs

To Reproduce

install wildstacker and AOneBlock from bentobox and hope for the bug to occur, i'm not able to figure how this happen and there is no errors on my logs

Additional Information

No response

HamtaBot avatar Mar 30 '22 14:03 HamtaBot

i didnt got that bug since 2 weeks and today i got it

HamtaBot avatar Mar 30 '22 15:03 HamtaBot

i didnt got that bug since 2 weeks and today i got it

When it happens, use /ws inspect and check out the actual mob's stack size and the mob's spawn cause and share the results with me here

OmerBenGera avatar Apr 01 '22 07:04 OmerBenGera

okay i'll send it when it happen again

HamtaBot avatar Apr 01 '22 16:04 HamtaBot

image this is what i see when the bug is here , they are spawning 45 by 45 for now and its increasing with the time , it was 4 by 4 a few hours ago

HamtaBot avatar Apr 14 '22 16:04 HamtaBot

@OmerBenGera

HamtaBot avatar Apr 14 '22 16:04 HamtaBot

there is no errors in logs

HamtaBot avatar Apr 14 '22 16:04 HamtaBot

even with 6000 spawners they are spawning 45 by 45 image

HamtaBot avatar Apr 14 '22 16:04 HamtaBot

another thing after they spawn 1 time 45 the next spawn from spawner spawn the good amount (there was 6k spawners)

HamtaBot avatar Apr 14 '22 16:04 HamtaBot

https://user-images.githubusercontent.com/62488520/163435343-ad7c4f47-ced4-446e-be13-08ff97149c27.mp4

HamtaBot avatar Apr 14 '22 16:04 HamtaBot

Hows a spawner related to ONeBlock? It seems like an issue that is not related to the oneblock, am I wrong?

OmerBenGera avatar Apr 14 '22 19:04 OmerBenGera

No it’s not this is why I opened the issue there since when it’s happening on the oneblock it’s also happening on spawners form wildstacker as well and since all mobs on my server are handled by wildstacker there is not natural spawn , you renamed the issue to a bug on Aoneblock but it’s not , I have this issue since I updated wildstacker from an old build to latest

HamtaBot avatar Apr 14 '22 20:04 HamtaBot

should i send you my config ?

HamtaBot avatar Apr 15 '22 14:04 HamtaBot

should i send you my config ?

Sure, may help :) Upload it to pastebin

OmerBenGera avatar Apr 15 '22 17:04 OmerBenGera

i could send you my whole wilstacker file WildStacker.zip i can also add you as subuser to my test server that i host on my dédicated like that you can do your test when it happen here is the config https://pastebin.com/YyxUdWsx

HamtaBot avatar Apr 16 '22 12:04 HamtaBot

i have more info i dont know if that can help but i have a very large player base so the DB is also big and today the bug came and before the restart there was almost 8.000.000 rabbit stacked and after the restart there was only 1.000.000 remaning , could it be a database issue ? image

ws stats [21:39:45 INFO]: WildStacker Stats:

  • Stacked Entities: (Loaded: 440, Unloaded: 0)
  • Stacked Items: (Loaded: 237, Unloaded: 0)
  • Stacked Spawners: (Loaded: 698, Unloaded: 5374)
  • Stacked Barrels: (Loaded: 0, Unloaded: 0)

HamtaBot avatar Apr 16 '22 19:04 HamtaBot

i have more info i dont know if that can help but i have a very large player base so the DB is also big and today the bug came and before the restart there was almost 8.000.000 rabbit stacked and after the restart there was only 1.000.000 remaning , could it be a database issue ? image

ws stats [21:39:45 INFO]: WildStacker Stats:

  • Stacked Entities: (Loaded: 440, Unloaded: 0)
  • Stacked Items: (Loaded: 237, Unloaded: 0)
  • Stacked Spawners: (Loaded: 698, Unloaded: 5374)
  • Stacked Barrels: (Loaded: 0, Unloaded: 0)

Entities data is not saved to database

OmerBenGera avatar Apr 17 '22 04:04 OmerBenGera

after now 2 weeks im not able to manage to get the bug on a exact copy of the server so i guess its hapenning with a lot of players, is seems to always happen at player peak or after player peak so around 8p and 0am im gonna check the logs lines by lines later to see if its not caused by a player doing a weird command or something like that

HamtaBot avatar Apr 26 '22 20:04 HamtaBot

i still have no clue how to reproduce it but this bug is really annoying , restarting the server every 6 hours is my only way to fix it and i dont want to do that , so i rollbacked to an old build until its fixed

HamtaBot avatar May 10 '22 16:05 HamtaBot

build 261 doesnt have the issue btw

HamtaBot avatar May 10 '22 16:05 HamtaBot

@OmerBenGera would it be possible to get the build 261 <with the coreportect patch only like that my issue will be fixed

HamtaBot avatar Jun 07 '22 19:06 HamtaBot

@OmerBenGera would it be possible to get the build 261 <with the coreportect patch only like that my issue will be fixed

i really need this since 1 month with this old build and i didnt got the issue lmy only issue is that i cant see who break spawners with coreprotect

HamtaBot avatar Jun 30 '22 06:06 HamtaBot

@OmerBenGera please.

HamtaBot avatar Aug 03 '22 11:08 HamtaBot

@OmerBenGera please.

I am not making custom builds. The plugin is open source and you can do that if you wish yourself. Unless you give me more information about the issue it wont be fixed, as it doesnt happen for me and I cant replicate it.

OmerBenGera avatar Aug 03 '22 16:08 OmerBenGera

how i am supposed to remove all the thing you did after build 261

HamtaBot avatar Aug 03 '22 16:08 HamtaBot

also i gave all information i had now you just have do check what you edited on the code to see what could break

HamtaBot avatar Aug 03 '22 16:08 HamtaBot

you know what I'm gonna update version by version until the bug come when i find it i'll tell you

HamtaBot avatar Aug 03 '22 16:08 HamtaBot

I'm currently at build 267 with no issue i'll continue updating slowly

HamtaBot avatar Aug 25 '22 15:08 HamtaBot

@OmerBenGera we finally found what build was causing issue it seems to be build 268 since i updated on it the issue is back i hope u will find something

HamtaBot avatar Aug 27 '22 15:08 HamtaBot

here is the link https://hub.bg-software.com/job/WildStacker/268/

HamtaBot avatar Aug 27 '22 15:08 HamtaBot

@OmerBenGera we finally found what build was causing issue it seems to be build 268 since i updated on it the issue is back i hope u will find something

How do I trigger the issue again?

OmerBenGera avatar Aug 27 '22 16:08 OmerBenGera