Thread Tools Display Modes
11-13-15, 04:10 PM   #1
Deadlyz
A Wyrmkin Dreamwalker
 
Deadlyz's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2010
Posts: 55
OhSnap

Hi!

My PvP life heavily relies on the OhSnap addon.. and it seems to be bugged!



Sometimes spell alerts don't disappear. Mostly on battlegrounds.

Maybe someone here knows how to fix that?.. I definitey can't do that.

Addon page: http://www.wowinterface.com/downloads/info14258-OhSnap.html#info
__________________

My last movie: Rogue Sweethearts
  Reply With Quote
11-14-15, 07:01 AM   #2
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Well, that download page does say -- in huge neon pink letters across the top, no less -- that it's known to be broken and the author has no interest in fixing it. There's also a comment on the page (2nd one down, from "Penpiddin") with a workaround for the problem you describe.

Otherwise, you might have better luck if you can provide more information about the problem. It's unlikely many people are going to be interested in installing a random broken addon and using it for hours in hopes that a random problem will happen, then trying to debug why it happened. If there's an error message, or even some concrete steps to reproduce the problem, that would require much less time investment to fix....
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote
11-15-15, 12:27 PM   #3
Deadlyz
A Wyrmkin Dreamwalker
 
Deadlyz's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2010
Posts: 55
Originally Posted by Phanx View Post
Well, that download page does say -- in huge neon pink letters across the top, no less -- that it's known to be broken and the author has no interest in fixing it.
I don't read in neon
Originally Posted by Phanx View Post
There's also a comment on the page (2nd one down, from "Penpiddin") with a workaround for the problem you describe.
I don't know. Doesn't work for me.
Originally Posted by Phanx View Post
It's unlikely many people are going to be interested in installing a random broken addon and using it for hours in hopes that a random problem will happen, then trying to debug why it happened. If there's an error message, or even some concrete steps to reproduce the problem, that would require much less time investment to fix....
No need to use it for hours.. just install and do a BG.

I'm using an obscure Bugger addon and there are no error messages
__________________

My last movie: Rogue Sweethearts
  Reply With Quote
11-15-15, 01:23 PM   #4
jeffy162
A Pyroguard Emberseer
 
jeffy162's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 2,364
Originally Posted by Deadlyz View Post
I don't read in neon
I'm using an obscure Bugger addon and there are no error messages
No "need to read" in neon.

You're using Bugger, but are you using !BugGrabber also? Using one without the other doesn't work.
__________________
Ahhhh, the vagueries of the aging mind. Wait.... What was I saying?


Carbonite <----- GitHub main module (Maps ONLY) download link. The other modules are also available on GitHub.
Carbonite-CLASSIC<----- GitHub link to Carbonite Classic. Thanks to ircdirk for this!
  Reply With Quote
11-15-15, 01:33 PM   #5
Deadlyz
A Wyrmkin Dreamwalker
 
Deadlyz's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2010
Posts: 55
Originally Posted by jeffy162 View Post
No "need to read" in neon.

You're using Bugger, but are you using !BugGrabber also? Using one without the other doesn't work.


Of course! Because I care about my UI.
__________________

My last movie: Rogue Sweethearts
  Reply With Quote
11-15-15, 02:59 PM   #6
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Originally Posted by Deadlyz View Post
No need to use it for hours.. just install and do a BG.
Well, I haven't done that since Wrath, and only then to get the holiday achievements that so annoyingly required me to do that, so....
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote
11-15-15, 05:52 PM   #7
jeffy162
A Pyroguard Emberseer
 
jeffy162's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 2,364
Ok,ok, was just wondering. Didn't want you to be !BugGrabber-less, and be able to get the bugs that you were looking for.
__________________
Ahhhh, the vagueries of the aging mind. Wait.... What was I saying?


Carbonite <----- GitHub main module (Maps ONLY) download link. The other modules are also available on GitHub.
Carbonite-CLASSIC<----- GitHub link to Carbonite Classic. Thanks to ircdirk for this!
  Reply With Quote
11-17-15, 06:01 AM   #8
Deadlyz
A Wyrmkin Dreamwalker
 
Deadlyz's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2010
Posts: 55
Originally Posted by jeffy162 View Post
Ok,ok, was just wondering. Didn't want you to be !BugGrabber-less, and be able to get the bugs that you were looking for.
I'll try but the bug doesn't seem to trigger BugGrabber reports.. spell alerts just don't disappear.
__________________

My last movie: Rogue Sweethearts
  Reply With Quote
11-22-15, 02:35 PM   #9
Deadlyz
A Wyrmkin Dreamwalker
 
Deadlyz's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2010
Posts: 55
Ok. So I updated everything in the Ace folder and did several different BGs.



Bug pops on Temple of Kotmogu BG 100% of the time.. but in AB/AV everything is fine.

Bugger caught nothing!
__________________

My last movie: Rogue Sweethearts
  Reply With Quote
11-25-15, 01:57 PM   #10
Torhal
A Pyroguard Emberseer
 
Torhal's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 1,196
Bugger will only display Lua errors such as attempting to see whether or not 3 is greater than null or trying to grab the value of a field from null. It will not tell you that your code's logic is flawed, unless said logic causes an access violation.
__________________
Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".

Author of NPCScan and many other AddOns.
  Reply With Quote
11-26-15, 06:33 AM   #11
Deadlyz
A Wyrmkin Dreamwalker
 
Deadlyz's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2010
Posts: 55
Originally Posted by Torhal View Post
Bugger will only display Lua errors such as attempting to see whether or not 3 is greater than null or trying to grab the value of a field from null. It will not tell you that your code's logic is flawed, unless said logic causes an access violation.
So the "flawed logic" must be in this part of the addon?

Code:
-- Removes a message from the alert frame
function OhSnap:DelMessage(uid)
    for i=1,#messages do
        if messages[i] == uid then
            table.remove(messages, i)
            self:Update()
            return
        end
    end
end

function OhSnap:Clear()
    table.wipe(messages)
    table.wipe(done)
    table.wipe(targetMsgs)
    SpellAlertFrame:SetScript("OnUpdate",nil)
    self:Update()
end

local function sortFunc(a, b)
    if a.pri == b.pri then
        return a.count < b.count
    else
        return a.pri < b.pri
    end
end

local tempsize = { ["Small"] = {11,"OUTLINE"}, ["Normal"] = {14,"OUTLINE"}, ["Large"] = {18,"OUTLINE"}, ["Huge"] = {24,"THICKOUTLINE"}, }
local function OhSize(size)
	return tempsize[size][1],tempsize[size][2]
end
I only understand the "Removes a message from the alert frame" part.
__________________

My last movie: Rogue Sweethearts
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » OhSnap


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off