• 0

    posted a message on BattlegroundTargets
    It rarely happens but from time to time, the server would fail to return the class of a player on the scoreboard; returns nil. I use the following fix...

    Replace:
    local qclassToken = ENEMY_Data[i].classToken

    With:
    local qclassToken = ENEMY_Data[i].classToken or "ZZZFAILURE"


    A sample of the error is as follows:
    Message: ...e\AddOns\BattlegroundTargets\BattlegroundTargets.lua:6295: attempt to index field '?' (a nil value)
    Time: 03/19/13 20:20:58
    Count: 86
    Stack: ...e\AddOns\BattlegroundTargets\BattlegroundTargets.lua:6295: in function `MainDataUpdate'
    ...e\AddOns\BattlegroundTargets\BattlegroundTargets.lua:6699: in function `BattlefieldScoreUpdate'
    ...e\AddOns\BattlegroundTargets\BattlegroundTargets.lua:8627: in function <...e\AddOns\BattlegroundTargets\BattlegroundTargets.lua:8543>
    [C]: ?
    ...e\AddOns\BattlegroundTargets\BattlegroundTargets.lua:8537: in function `BattlefieldScoreRequest'
    ...e\AddOns\BattlegroundTargets\BattlegroundTargets.lua:7225: in function <...e\AddOns\BattlegroundTargets\BattlegroundTargets.lua:7212>
    
    Locals: self = <unnamed> {
     CheckForEnabledBracket = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:4204
     DefaultShuffle = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:5749
     SetupLayout = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:4626
     SummaryPosition = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:2225
     CheckIfPlayerIsGhost = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:8520
     CreateFrames = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:1781
     SetOrbDebuff = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:7974
     ClearConfigButtonValues = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:5698
     FlagDebuffCheck = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:8006
     MainFrameShow = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:5211
     DisableConfigMode = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:5480
     shuffleStyle = true
     Frame_SetupPosition = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:5167
     BattlefieldCheck = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:6941
     CreateInterfaceOptions = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:1747
     BattlefieldScoreRequest = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:8532
     LocalizedFontNameTest = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:5276
     CheckPlayerTarget = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:7314
     CheckFaction = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:8487
     ClearRangeData = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:8459
     CheckPlayerLevel = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:8471
     UpdateRange = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:8429
     CreateMinimapButton = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:4525
     ConfigGuildGroupFriendUpdate = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:5979
     CheckPlayerFocus = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:7393
     CheckFlagCarrierSTART = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:6853
     InitOptions = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:1345
     CarrierCheck = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:8046
     CheckOrb = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:6733
     EnableInsecureConfigWidges = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:4511
     OptionsFrameHide = <function> defined @Interface\AddOns\BattlegroundTargets\BattlegroundTargets.lua:5218
     SetOrbCorner = <function
    Posted in: General AddOns
  • 0

    posted a message on LF Curse Author Reward Points
    I've returned 350 points.
    Thank you for assistance, it was greatly appreciated.


    bitbyte
    author of SaySapped
    Posted in: Need Help?
  • 0

    posted a message on LF Curse Author Reward Points
    Hello fellow authors...

    I am looking for anyone that has some reward points that they have no plans in using over the next few months.

    I am looking to borrow a total of 350 points via the "Transfer Points" option; in order to complete my purchase of Cataclysm on Amazon. My daily points genertaion isn't super, and I would probably be able to return it by March.

    My objective is to hopefully be able to get the new expansion without spending any real cash. I am very happy that this is actually possible via author rewards, I just need a little help to make it a reality.

    Please drop me a PM if you're able to help, even if it's simply a few points to help me along. Any assistance would be greatly appreciated.

    Thank you.


    bitbyte
    author of SaySapped
    Posted in: Need Help?
  • 0

    posted a message on AHsearch
    Was wondering if you would consider adding to the toc:

    ## OptionalDeps: Ace2, DewdropLib

    I understand that you do not want a -nolib version be available for download, however in my case, I manually delete all libs folders from addons I download since I prefer the disembedded model as it does speed up the load time of my WoW client.

    I'm not requesting you make a -nolib version or @no-lib-strip@ tags, just adding OptionalDeps.

    For your consideration.
    Thank you.
    Posted in: General AddOns
  • 0

    posted a message on Waiting on project
    Thank you for your assistance on getting it approved.
    Posted in: Need Help?
  • 0

    posted a message on Waiting on project
    http://www.curseforge.com/knowledge-base/what-to-do-after-creating-a-project/
    "You will then have to wait until an admin approves your file, which consists of making sure there are no bad files in there (any malware or executables) as well as any other potential issues. "

    Was wondering how long does it typically take for a new file to get approved?

    I was notified my project was abandoned because it was out of date. I uploaded a new file and after a bit of navigating, I found a link to unmark it as abandoned. Based on the knowledge base, the only thing left to do was wait.

    My project is at: http://wow.curseforge.com/projects/saysapped/files/

    Thank you.
    Posted in: Need Help?
  • 0

    posted a message on PlaySoundFile() borked in 2.2?
    Quote from Astaldo »

    After a few hours of hair-pulling I managed to "solve" my immediate problem and get my addon working again.

    To get PlaySoundFile() to work from lua I had to call PlaySound() directly above it....


    It appears we figured out the same problem and solution minutes from each other. I posted a bug report at http://forums.worldofwarcraft.com/thread.html?topicId=2043485736&postId=19961639532&sid=1#0 with my findings also after hours of testing.

    I found the post by Atradies in the UI forums later and it linked back to this thread.
    Posted in: Lua Code Discussion
  • 0

    posted a message on Prat 2.0 Chat Mod Framework (Official Thread)
    Sound Issue

    I've posted a bug report with details of the problem and a temporary solution at http://forums.worldofwarcraft.com/thread.html?topicId=2043485736&postId=19961639532&sid=1#0

    If you're experiencing this problem, do reply to that thread so Blizzard can take note of it and fix it sometime.

    Meanwhile, if you would like to band-aid your Prat:
    - open Prat.lua
    - search for: PlaySoundFile(play)
    - add: PlaySound("GLUESCREENSMALLBUTTONMOUSEDOWN")
    - ... in the line before: PlaySoundFile(play)
    Posted in: General AddOns
  • 0

    posted a message on Grid
    Quote from Srosh »

    What I would like is essentially an indicator that pops up when that unit is inside of the range of Fear Ward/Dispel.


    Check out this tread and try the following:
    http://www.wowace.com/forums/index.php?topic=6668.msg115662#msg115662
    Posted in: Grid & Grid2
  • 0

    posted a message on Prat 2.0 Chat Mod Framework (Official Thread)
    CustomFilters Module

    I'm current using CustomFilters for chat highlighting (inbound) and auto correction (outbound) and made the following observations:
    - "Hilight" should be spelled "Highlight"
    - Outbound with Hilight enable would casue a disconnect as the server does not allow the transmission of escape codes that is not a seen item
    - Play sound and Secondary Output did not seem to work for Outbound

    Suggestions:
    - Ability to enable/disable each filter

    Suggested changes:
    line 378: local textout = text
    - retains the orginal text to allow for passthrough chat highlighting

    line 387: if matchopts.replacewith and matchopts.replacewith ~= matchopts.searchfor then
    - the code to decide to allow the original text to passthrough or replace it

    line 618: p[pattern] = { searchfor = pattern, replacewith = pattern }
    - to make adding patterns a little more friendly


    An example of chat highlighting I use is:
    ["searchfor"] = "[Hh][Ee][Rr][Oo][Ii][Cc][Ss]?",
    ["replacewith"] = "[Hh][Ee][Rr][Oo][Ii][Cc][Ss]?",

    An example of auto correction I use is:
    ["searchfor"] = " agil?i?t? ",
    ["replacewith"] = " agility ",

    ["searchfor"] = " agil?i?t?$",
    ["replacewith"] = " agility",


    For your consideration.
    Thank you.
    Posted in: General AddOns
  • 0

    posted a message on RS_ClassColors
    I've identified the problem with itemlinks; the pattern capture is matching the longest possible sequence instead of the shortest possible sequence.

    The correct pattern capture is: "|Hplayer:(.-)|h%[(.-)%]|h"

    Attached is the fixed and also a change to the toc to use embeds.xml
    For your perusal.

    Thank you.
    Posted in: General AddOns
  • 0

    posted a message on [Grid] Module request: Improved Range Checking/ Improved Cleansing
    Thank you beesknees for putting up this request again. Attached what I use currently each time Grid is updated (I use WAU); I just run the batch file and look if there are any significant changes before overwritting it with the modified GridStatusRange.lua. Included is also an image of how I use it.

    I rely on the muli-colored GridStatusRange very heavily in order to excel in my role as a raid healer; I can see at a glance everyone within the various ranges. The colors also help me in positioning myself at max healing range when needed (or stay just within max decurse range if appropriate).

    Hopefully someone who knows how this can be implemented into a proper module can help us out; my original suggestion included the ability to set a status for each of the range detected by GridRange:ScanSpellbook() and also bandage range. In any case, the modified GridStatusRange attached works for me and thankfully that?s all I need.

    Lastly if the ranges all appear OOR when you logged in, it's most likely because you logged on as a ghost; all spells do not return a range for some reason. After you rezzed, run the following script:

    /script GridRange:ScanSpellbook()

    [feature request: perhaps Grid could detect if you logged in as a ghost and run a ScanSpellbook() once you've rezzed]

    I also use sRaidFrames and the script for that is:

    /script sRaidFrames:ScanSpellbookForRange()
    Posted in: Grid & Grid2
  • 0

    posted a message on SmartyCat (was AceDruidBar)
    Quote from Darravis »

    Thanks for all your suggestions for a new name. I'll rename the addon to SmartyCat :)

    Would like to suggest having the word "Druid" in your file description, I was not able to find the mod till I read this thread; that was the keyword I was searching for.

    Suggestion to moderators, can this thread be renamed to "SmartyCat (was AceDruidBar)"?

    For your consideration. Thank you.


    Personally I would have kept "Druid" in the name; eg DruidManaBar, Darravis_DruidBar, da_DruidBar, d_DruidManaBar, etc
    Posted in: General AddOns
  • 0

    posted a message on Click2Cast
    Quote from andreasg »

    Quote from Kemayo »

    I'm not the one using it, it's my SO. However, I'm told that that Click2Cast was being used, and the name of the macro was written in the "Macro Code" textbox. It was working yesterday but not today, though no changes to the macro were made.


    Ah. For mouse buttons it takes an actual macro, like "/dance", but for keyboard bindings it takes a macro name or id... I'll clear it up when I get time for it.


    Is it possible to bind a macro (not macro code) to mouse clicks?
    Alternatively is it possible to bind mouse clicks to multi-line macro code?

    Thank you.
    Posted in: General AddOns
  • 0

    posted a message on ClosetGnome - Wear it or lose it.
    A feature of Wardrobe2 I like which does not seem to appear in ClosetGnome is that for each outfit, it saves the state of cloak and helm [ShowingCloak(), ShowingHelm()] and restores it when the outfit is worn [ShowCloak(), ShowHelm()].
    Posted in: General AddOns
  • To post a comment, please or register a new account.