![damage meeter damage meeter](http://www.cleaningsystems.co.nz/images/_db/MwA4ADcAMgA=/640x480/q80/reachmaster_pro_display_module_small.jpg)
Updated API version for current live and next patch Also trying to fix the error message that was posted below. I'm working on an updated version with these changes, and will post my file here as a link.
![damage meeter damage meeter](https://cdn3.creativecirclemedia.com/cleveland/original/20180626-100849-phpUkYbma.jpg)
Names are not rename safe! So ALWAYS use the characterIds now (since Summerset already).Īnd please unregister the EVENT_ADD_ON_LOADED once your addon was found as else it will rerun your code checks for every addon activated!Īdd at if addOnName = Greyskull.name thenĬode: EVENT_MANAGER:UnegisterForEvent(Greyskull.name, EVENT_ADD_ON_LOADED) as 3rd parameter "namespace" or as last "profile", or use ZO_SavedVars:NewCharacterIdSettings so it uses the unique (per server at least) character IDs instead of the names, so we are able to differ theīeware that changing the namespace or profile parameter will have the users loose their savedvariables if you do not migrate them to the new subtables!Ĭhanging the ZO_SavedVars:New to NewCharacterIdSettings could automatically migrate to the charIds though (if :New will use charcter names). + Please use either GetWorldName() in the SavedVariables (e.g. It's easier to see they belong to each other than defining global variables more and more, if you already got 1 global table where all your addon data could be stored. Please add local up in front or add it to your already global variable Greyskullītw, GREYSKULL_HEIGHT and width should be moved to Greyskull table as well. Your addon is leaking the variable hasAPM to global! They should not be included anymore to addons, especially not LibStub which is obsolete since Summerset! Please remove the libraries LibStub and LiBAddonMenu from your libs subfolder!