Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Model Engine Model Engine
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 35
    • Issues 35
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • Model EngineModel Engine
  • Issues
  • #4

Closed
Open
Created Dec 04, 2022 by Pino@NaTorOG

Meg HitBox Console Spam error

After updating from Meg 3.0.2 to latest(3.1.0) sometimes there is this error triggered in console and after that, all the models are broken(they seem in idle to the player while in fact they are moving). This error was reported from several users. I have noticed that this happen often after these actions: 1 - Spawning model with /meg summon or /mythicmobs mob spawn 2 - After killing a model with /mm m kill or /kill @e 3 - After hitting a model 4 - On Chunk Unloading when mob is set to not despawn

This error never happened to me in meg 3.0.2, I saw that in changelogs of Meg 3.1.0 the HitBox was modified, in fact the error is triggered for the hitbox of the fake entity. Before saying its Pufferfish(which I have always used and never gave a problem with Meg) I have also tried it on Paper and it happens also on Paper.

> [15:20:07] [Craft Scheduler Thread - 4 - ModelEngine/WARN]: [ModelEngine] Plugin ModelEngine vR3.1.0 generated an exception while executing task 148
> java.lang.NullPointerException: Cannot invoke "com.ticxo.modelengine.api.nms.entity.wrapper.RangeManager.getPlayerInRange()" because "this.rangeManager" is null
>     at com.ticxo.modelengine.nms.v1_19_1_R1.entity.fake.hitbox.ModelHitboxImpl.despawn(ModelHitboxImpl.java:110) ~[Model-Engine-R3.1.0.jar:?]
>     at com.ticxo.modelengine.model.ModeledEntityImpl.updateModelHitbox(ModeledEntityImpl.java:267) ~[Model-Engine-R3.1.0.jar:?]
>     at com.ticxo.modelengine.model.ModeledEntityImpl.destroy(ModeledEntityImpl.java:110) ~[Model-Engine-R3.1.0.jar:?]
>     at com.ticxo.modelengine.api.model.mananger.ModelTicker.run(ModelTicker.java:55) ~[Model-Engine-R3.1.0.jar:?]
>     at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[pufferfish-1.19.2.jar:git-Pufferfish-42]
>     at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[pufferfish-1.19.2.jar:git-Pufferfish-42]
>     at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[pufferfish-1.19.2.jar:?]
>     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
>     at java.lang.Thread.run(Thread.java:833) ~[?:?]
> [15:16:20 INFO]: Pino_kK issued server command: /mm m spawn farmerNPC
> [15:16:20 WARN]: java.lang.NullPointerException: Cannot invoke "com.ticxo.modelengine.api.nms.entity.wrapper.RangeManager.getPlayerInRange()" because "this.rangeManager" is null
> [15:16:20 WARN]:        at Model-Engine-R3.1.0.jar//com.ticxo.modelengine.nms.v1_19_1_R1.entity.fake.hitbox.ModelHitboxImpl.spawn(ModelHitboxImpl.java:87)
> [15:16:20 WARN]:        at Model-Engine-R3.1.0.jar//com.ticxo.modelengine.model.ModeledEntityImpl.updateModelHitbox(ModeledEntityImpl.java:267)
> [15:16:20 WARN]:        at Model-Engine-R3.1.0.jar//com.ticxo.modelengine.model.ModeledEntityImpl.addModel(ModeledEntityImpl.java:174)
> [15:16:20 WARN]:        at Model-Engine-R3.1.0.jar//com.ticxo.modelengine.mythic.mechanics.model.MechanicModel.addModel(MechanicModel.java:112)
> [15:16:20 WARN]:        at Model-Engine-R3.1.0.jar//com.ticxo.modelengine.mythic.mechanics.model.MechanicModel.castAtEntity(MechanicModel.java:48)
> [15:16:20 WARN]:        at MythicMobs-5.2.0.jar//io.lumine.mythic.core.skills.SkillMechanic.lambda$executeTargetedEntitySkill$8(SkillMechanic.java:548)
> [15:16:20 WARN]:        at java.base/java.lang.Iterable.forEach(Iterable.java:75)
> [15:16:20 WARN]:        at MythicMobs-5.2.0.jar//io.lumine.mythic.core.skills.SkillMechanic.executeTargetedEntitySkill(SkillMechanic.java:544)
> [15:16:20 WARN]:        at MythicMobs-5.2.0.jar//io.lumine.mythic.core.skills.SkillMechanic.lambda$executeSkills$4(SkillMechanic.java:501)
> [15:16:20 WARN]:        at MythicMobs-5.2.0.jar//io.lumine.mythic.core.skills.SkillMechanic.runMechanic(SkillMechanic.java:539)
> [15:16:20 WARN]:        at MythicMobs-5.2.0.jar//io.lumine.mythic.core.skills.SkillMechanic.executeSkills(SkillMechanic.java:501)
> [15:16:20 WARN]:        at MythicMobs-5.2.0.jar//io.lumine.mythic.core.skills.SkillMechanic.execute(SkillMechanic.java:418)
> [15:16:20 WARN]:        at MythicMobs-5.2.0.jar//io.lumine.mythic.core.mobs.MobType.lambda$executeSkills$6(MobType.java:1186)
> [15:16:20 WARN]:        at MythicMobs-5.2.0.jar//io.lumine.mythic.bukkit.utils.Delegates$RunnableToSupplier.get(Delegates.java:121)
> [15:16:20 WARN]:        at MythicMobs-5.2.0.jar//io.lumine.mythic.bukkit.utils.promise.LuminePromise$SupplyRunnable.run(LuminePromise.java:654)
> [15:16:20 WARN]:        at MythicMobs-5.2.0.jar//io.lumine.mythic.bukkit.utils.tasks.LumineExecutors$SchedulerWrappedRunnable.run(LumineExecutors.java:70)
> [15:16:20 WARN]:        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> [15:16:20 WARN]:        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> [15:16:20 WARN]:        at java.base/java.lang.Thread.run(Thread.java:833)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking