Bug Closed · Resolved

Mob with ~onDamaged whilst standing p.e. in lava generates massive lags in 5.4.1

#4507 opened by Unknown 2 years ago

Unknownreported this bug

Summary If a MythicMob has the ~onDamaged mechanic and receives permanent damage, the entire server will start lagging after a short time. In our case, the mob was in lava.

Steps to reproduce

  • Use MythicMobs 5.4.1 (with 5.3.5 mob is getting damage animation in lava and creates no lag at all; in 5.4.1 there is no damage animation and lag)
  • Create MythicMob with ~onDamaged, p.e. our mob: https://pastebin.com/YgaGEkb0
  • Spawn 2-5 of them inside lava and wait 2-5 minutes - tps should drop significant

Current behavior

The server starts lagging after a few minutes when the mob (or more) standing in lava, timings: https://i.imgur.com/7NJzD3O.png

Intended correct behavior

The TPS from the server do not collapse

Server log file

https://pastebin.com/nqrMCbuh (mythic relevant)

Debug log snippet

https://pastebin.com/4eERpePt

Proposed fixes

see above (Intended correct behavior)

Unknowncommented

bump :/

Unknowncommented

Closing this due to inactivity and major version releases since. If this issue is still relevant, please re-open the issue with a modern-version server log, example configurations being used to test, and step-by-step info to reproduce the issue.

Sign in to join the discussion.