ploppyperson / StackMob-5

A plugin for bukkit servers, which aims to reduce the lag that the server experiences by combining several entities into a single entity.
GNU General Public License v3.0
56 stars 22 forks source link

Mobs randomly despawn instantly #133

Open CW-UK opened 4 years ago

CW-UK commented 4 years ago

Since the latest update, I've had issues with mobs despawning straight after spawning from mob spawners. It's as though they're stacking into a stack that doesn't exist anywhere. No errors in logs, running Paper 1.16.2 (rev. 188). Friendly mobs are also not persisting after chunk unloads or server restarts, and I'm not running any kind of anti-lag or entity management plugins.

https://youtu.be/i6Rf19iNpLI https://youtu.be/sfI6LTum-L8

I'm not sure if this is a StackMob issue or a Paper issue, but I've had no problems up until the last update.

ploppyperson commented 4 years ago

Is there any chance you have used the '/sm remove' command?

CW-UK commented 4 years ago

I haven't, no. All the mobs have either spawned from spawners with no other input or interaction (as per the videos I linked), or have had their stack size increased with the /sm tool weeks prior to this event. I initially discovered this yesterday when a player's sheep grinder suddenly lost its sheep. All of the stacks of coloured sheep were increased with the tool, however the white/gray/black/brown were all spawned purely by the spawner.

ploppyperson commented 4 years ago

If you use the following build, https://drive.google.com/file/d/1BavIFDheWjpS9XlQHhJ6ZdHQ93Q08RvC/view?usp=sharing and run the command '/sm remove' does that fix the issue?

CW-UK commented 4 years ago

I can try it, but I may not be able to do it until tomorrow as I don't currently have any servers available for testing on. I'll update once I've managed to test it. Is it possible that '/sm remove animals' will fix the issue in the current build I'm using for the meantime? I don't want to try anything if it may just add to my problems 😄

ploppyperson commented 4 years ago

The build I linked fixes the 'sm remove' command.

CW-UK commented 4 years ago

Ah okay, so I need to use that version then run 'remove' to reset everything? No worries, will try and squeeze in an unscheduled restart shortly.

CW-UK commented 4 years ago

This issue is occurring again with the latest version, and using /sm remove. Seems to be affecting iron golems and sheared sheep.

Iron Golem's will just disappear after spawning, and if I use /sm spawn to bring a stack in, one will die and then the rest of the stack disappears with it, it doesn't just reduce. As for sheep, if I shear them I end up with about half the amount I started with at the end.

ploppyperson commented 4 years ago

Any errors?

CW-UK commented 4 years ago

Nope, nothing at all in logs unfortunately. They just vanish the same as before:

https://www.youtube.com/watch?v=qgknVopN8RU