Health/Damage Issue #294


  • Waiting
  • Replied
Open
  • JammTheGoat created this issue Sep 28, 2017

    Environment: I'm running version 7.49 with Spigot 1.12.1 /w MythicMobs.

     

    This is a major problem which makes the plugin not usable for a production server.

     

    Right after you add the plugin to the server and you try on different sets with the "Armor" stat boosted, it works as it should. 

    When the armor is on your player, it works as it should. When you take it off, you take the normal amount of damage for not having any armor on.

     

    Damage Bug

    Somewhere along the line here, the server acts as if you still have a boosted Armor stat, even though /ils stats shows 0%. On my server without this plugin, zombies do about 2 hearts per hit to someone with no armor. After this bug has occurred, it takes multiple hits just to do half a heart. We do have MythicMobs too, but we tested this without that plugin and it still persists. I tried putting on armor with an armor stat and then removing it, but it seemed as though the boosted percentage was permanent, still.

     

    Health Bug

    After removing ItemLoreStats from the server, my player is stuck with 30+ hearts. This cannot be fixed by killing my player or using /heal, and the hearts do go down when you take damage, but it's boosted hp, so it can just regenerate even if you lose them. The only fix I've found for this is deleting my player.dat file within the world folder. This would be catastrophic on a production server if  you needed to remove the plugin and say 50+ players had permanently boosted HP and needed their dat files deleted.

     

    My Prediction

     

    Neither of these issues occur until the server has been rebooted. I think that must mean that there's a problem with how data is being saved and fetched from the player.dat file. 

     

  • JammTheGoat added a tag Defect Sep 28, 2017
  • Supavitax posted a comment Sep 29, 2017

    The issue you're having with the damage bug could be something to do with 1.12 as I only ever test it on 1.10. The majority of servers running ILS are still on 1.7.10 and 1.8.8.

     

    The issue with the health bug used to be a very old issue from a few years ago that definitely shouldn't happen anymore and I've not had any reports of this issue re-occurring over the past few years.

     

    The only data that is saved from ILS is the health but this change is reverted when the player logs out/disconnects from the server (This was put in to prevent the health bug you describe). 

  • JammTheGoat posted a comment Oct 2, 2017

    Perhaps it's just on 1.12 that these bugs occur. I've tried everything I can think of and no luck. I guess I will just put this project on hold for now, thank you.

  • _ForgeUser12979569 posted a comment Oct 27, 2017

    I am having same problem basicly when you die with armor which is giving you HP then you respawn with added hp so you just can endlessly be getting HP till someone delete your playerdata from map folder .. and Iam using 1.11.2


    Edited Oct 27, 2017
  • Supavitax posted a comment Nov 2, 2017

    Is this definitely caused by ILS? I've just tested it on 1.11 and I'm not having that issue.

     


    Edited Nov 2, 2017
  • Supavitax added a tag Replied Nov 7, 2017
  • Supavitax removed a tag Defect Nov 7, 2017
  • Supavitax added a tag Waiting Nov 7, 2017

To post a comment, please login or register a new account.