chronosacaria / MCDungeonsArmors

Bringing the armours of Minecraft Dungeons to Minecraft
Other
22 stars 9 forks source link

[Bug Report]: our server crashed using this mod #71

Closed S0apyy closed 1 year ago

S0apyy commented 1 year ago

Describe the bug; What happened?

the reason why it crashed is because of this line. at chronosacaria.mcda.effects.ArmorEffects.positionIsClear(ArmorEffects.java:210) at chronosacaria.mcda.effects.ArmorEffects.raytraceForTeleportation(ArmorEffects.java:193) at chronosacaria.mcda.effects.ArmorEffects.controlledTeleportEffect(ArmorEffects.java:162) at chronosacaria.mcda.effects.ArmorEffects.unstableRobeTeleport(ArmorEffects.java:233) crash-2023-02-17_21.23.43-server.txt heres the complete crash report

Expected Behavior

it shouldn't crash the server but it does

Mod Version

2.4.2

Minecraft Launcher

Other

Operating System

Windows

Modpack

Nybblecraft origin modpack(our custom server modpack)

Additional context

No response

chronosacaria commented 1 year ago

@S0apyy Thats definitely a strange one. Thanks for the heads up. We'll take a look into that

chronosacaria commented 1 year ago

Btw, did it crash upon trying to teleport or upon wearing the armour?

S0apyy commented 1 year ago

upon teleporting

S0apyy commented 1 year ago

well someone was spamming the teleport ability of the armor idk if that has anything to do with it

chronosacaria commented 1 year ago

@S0apyy Ah, okay. I'll take a look at that. Typically, a watchdog error is when the server gets overwhelmed, so it might have just been that the person was overloading the server by moving in an "illegal" manner. I'll see if I can reproduce this, though

S0apyy commented 1 year ago

me and the co owner of the server fixed it with a modified config file, so the server doesnt crash anymore when someone uses the ability

chronosacaria commented 1 year ago

@S0apyy Oh great! Could you send us what you changed to prevent the crash, please?

S0apyy commented 1 year ago

mcda_enchant_and_effect_registry.txt this config fixed it sorry for the late reply