1. #1

    How to update a simple addon to current patch version?

    Hey all.

    Just wondering how does one go about updating a simple addon with very few lines of code.

    Code:
    local f = CreateFrame("Frame")
    
    function f:OnEvent(event)
    	SetCVar("ObjectSelectionCircle", UnitIsUnit("player", "target") and 0 or 1)
    end
    
    f:RegisterEvent("PLAYER_TARGET_CHANGED")
    f:SetScript("OnEvent", f.OnEvent)
    Original thread for reference: https://www.mmo-champion.com/threads...-remove-change

    But long story short, a very kind soul around these parts offered to create an addon which removes the self-targeting circle under one's character.
    It *still* works if I load outdated addons. For the life of me, I can't remember how I updated this Legion addon to the BFA standard (maybe by using this website - https://addon.bool.no/ - but either way the current output isn't SL-updated, 9.0.1 and 9.0.2 alike). So it begs the question: how do you update an addon like this?

    Kind regards, and thanks in advance.

  2. #2
    If it still works, just load outdated addons.

    If, for some weird reason, you don't want to check that box, it's not the code that's the problem. You need to update the ## Interface: value in the .toc file.

    https://wow.gamepedia.com/Getting_th...terface_number
    Originally Posted by Zarhym (Blue Tracker)
    this thread is a waste of internet

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •