Ars Scalaes

Ars Scalaes

990k Downloads

Bugs with PMMO

enimog opened this issue ยท 6 comments

commented

Hello,

I encountered the following bugs when using PMMO and your mod, and I wanted to tell you how to fix them;

  1. The server crash when a player launch a spell on another player
    In ConfigHandler.java:34, replace LEVEL_TO_SPELL_DMG with LEVEL_TO_SPELL_RES to avoid having a null value

  2. The skill is not the same as Ars Nouveau/PMMO (Ars is using Magic, yours display as pmmo.MAGIC)
    In PmmoCompatEventHandler.java, replace every instance of Skill..name with Skill..toString()
    The difference is that yours is uppercase and theirs is lowercase, which is not the same.

commented

https://pastebin.com/cMke3vSS
My Crash report looks related to this.

commented

Uh, sorry about that. For some reason it didn't happen in my dev. I'll take look on it asap

commented

https://www.curseforge.com/minecraft/mc-mods/ars-scalaes/files/3831744
Let me know if Tyrius crash persist. Thanks for the heads up on 1 and 2, those were pretty dumb error i that slipped in.

commented

I'm getting the same crash when attempting to join a server with the mod: Crash Report

commented

Uh, i understood what happens. Fix incoming.

commented

https://www.curseforge.com/minecraft/mc-mods/ars-scalaes/files/3832469
So, i didn't manage to reproduce the crash, but shifting to use newer methods of the api should have a safeguard against that.
I hope it works now or i'll have to ask pmmo dev.