• 0

    posted a message on Buffalo2
    With version r51810 I keep getting this error

    \AddOns\Buffalo2\containers\Target.lua line 5:
    attempt to index local 'key' (a nil value)

    Eveything works fine thought except the error message keep poping up.
    Posted in: General AddOns
  • 0

    posted a message on Newbie AceEvent Problem?
    Thanks. The problem solve by updating all my ace2 addons.

    Posted in: Libraries
  • 0

    posted a message on Newbie AceEvent Problem?
    Hi,

    My following code seems to break other addons like Buffalo, Fubar and etc. Anyone know whats wrong?

    Thanks.

    ShieldYourAss = AceLibrary("AceAddon-2.0"):new("AceConsole-2.0", "AceEvent-2.0")
    
    function ShieldYourAss:OnInitialize()
      -- Called when the addon is loaded
    end
    
    function ShieldYourAss:OnEnable()
      -- Called when the addon is enabled
     self: Print("Loaded - ShieldYourAss");
     self: RegisterEvent("CHAT_MSG_SPELL_AURA_GONE_SELF");
    end
    
    function ShieldYourAss:OnDisable()
      -- Called when the addon is disabled
    end
    
    function ShieldYourAss:CHAT_MSG_SPELL_AURA_GONE_SELF()
     if ( arg1 == "You gain Power Word: Shield." ) then
      self: Print("Shield your ass now!")
     end
    end
    Posted in: Libraries
  • To post a comment, please or register a new account.