Bug Closed · Resolved

Mobs have a chance to lose AI when killed and become completely invulnerable

#1573 opened by Unknown 5 years ago

Unknownreported this bug

This bug seems to happen randomly whenever a mob is meant to die, I'm using poisons and mythicmobs projectiles to get this, I haven't tested just normal melee hitting the mobs but I assume it would do the same thing. Here is what it looks like

https://www.youtube.com/watch?v=iP5FV-WoxTE&feature=youtu.be

This has worked on a number of different artifacts weapons and sometimes the enemy seems to die and respawn with no ai in a split second. Sometimes I hear the death noise of the original mobtype rather than the disguised mobtype when this happens too, I have tried not having any disguises and removing a lot of skills and it still kept happening. What seemed to work was to remove despawn: false from the mob options but I am not possitive on this, it could just be due to chance, sometimes it will happen 10 times in a few minutes and sometimes it will not happen for an hour and this is with nothing being reloaded or changed, just trying the same mobs in the same place over and over again. This is the mob file https://pastebin.com/ANvY6Pwz

Lastly It might be the goal selectors/target selectors. I felt like when they where always on clear that nothing would go wrong, again this may be due to chance.

Unknowncommented

How are you making the skeletons target the player to begin with? In the pastebin you provided you have the code listed underneath this for their AI. They shouldn't be attacking a player or even targeting a player with that AI. I know this doesn't effect the invulnerability part, but it makes the part where they stop attacking and just stand still make sense.

  AIGoalSelectors:
  - 0 clear
  AITargetSelectors:
  - 0 clear
Unknowncommented

[Legacy attachment omitted]

This video shows how your mobs code acts on my test server, since it's AI is cleared for target and goal, it cant do anything.

Unknowncommented

If you can, please get us a debug log of when one of the mobs breaks. /mm debug 8 until the mob breaks, then pastebin it and show us here.

Unknowncommented

https://pastebin.com/V3mK7wiU Here is a paste bin that includes the weapon I use, the mob, and the item.

When testing this, I made myself some flat land and held the item in my hand and typed "/mm m spawn udl2b 3333" I waited for the lag whilst holding down right click and eventually when most are gone you should notice 1-3 Mobs that are invincible. I am running a fresh world, newest paper jar new everything and the only plugins i am running are MM, MythicCrucible, MME and EssentialsX. With all being updated to their supported versions at the very least, May be 1 build behing on MM but I really doubt that's the case when I have had this problem since November.

Unknowncommented

@Akim91 I used a skill which changes their goals when someone gets close but That is irrelevant now as I see It's happening on a mob with nothing

Unknowncommented

Also I think despawn must be set to false for this to happen

Sign in to join the discussion.