• 0

    posted a message on Hide Target/Focus Buffs+Debuffs
    i have a last qusetion. why does this small code have such a high CPU Cycle?
    Posted in: Lua Code Discussion
  • 0

    posted a message on Hide Target/Focus Buffs+Debuffs
    Quote from egingell
    for i=1, MAX_FOCUS_DEBUFFS [B]or 8[/B] do


    Thank you very much, it helps me alot.
    Posted in: Lua Code Discussion
  • 0

    posted a message on Hide Target/Focus Buffs+Debuffs
    Quote from pigmonkey
    /dump MAX_FOCUS_DEBUFFS returns nil for me, while the other two globals you use return integers. This strikes me as odd, though, as it looks like a global variable is set on line 1 of FocusFrame.lua?


    what exactly i need to do?
    Posted in: Lua Code Discussion
  • 0

    posted a message on Hide Target/Focus Buffs+Debuffs
    Quote from egingell
    The error message line number doesn't match the code. Either post the full code or tell us which line is line 127.

    That said, make sure the variable you are using in the for loop on line 127 is not nil.


    sry, it says line 127 because i put the code into my unitframes.lua. this file has some codes. i use some arenajunkies codes, because i play with default ui.
    Posted in: Lua Code Discussion
  • 0

    posted a message on Hide Target/Focus Buffs+Debuffs
    Quote from egingell
    Also, unless your addon is really named "xxx", is it really necessary to obscure it?


    its not a addon, i use just some codes. i play with default ui.
    Posted in: Lua Code Discussion
  • 0

    posted a message on Hide Target/Focus Buffs+Debuffs
    Hi, i need some help. i want to hide the buff and debuffs on target and focus default blizzard frames.
    for that i use this code:

    UIParent:SetScript("OnUpdate", function()
    if TargetFrame:IsShown() then
    numBuffs = 0
    for i=1, MAX_TARGET_BUFFS do
    if( select(3, UnitBuff("target", i)) ) then
    numBuffs = numBuffs + 1
    end
    end

    numDebuffs = 0
    for i=1, MAX_TARGET_DEBUFFS do
    if( select(3, UnitDebuff("target", i)) ) then
    numDebuffs = numDebuffs + 1
    end
    end

    for i=1, numBuffs do
    local frame = _G["TargetFrameBuff"..i]
    frame:Hide()
    end

    for i=1, numDebuffs do
    local frame = _G["TargetFrameDebuff"..i]
    frame:Hide()
    end
    end
    if FocusFrame:IsShown() then
    numDebuffs = 0
    for i=1, MAX_FOCUS_DEBUFFS do
    if( select(3, UnitDebuff("focus", i)) ) then
    numDebuffs = numDebuffs + 1
    end
    end

    for i=1, numDebuffs do
    local frame = _G["FocusFrameDebuff"..i]
    frame:Hide()
    end
    end
    end)
    the code works for the target frame very well, but not for the focus frame.
    when i set a focus i get follow .lua errors.

    Message: Interface\AddOns\xxx\unitframes.lua:127: 'for' limit must be a number
    Time: 08/05/11 13:55:31
    Count: 1618
    Stack: Interface\AddOns\xxx\unitframes.lua:127: in function <Interface\AddOns\xxx\unitframes.lua:99>

    Locals: (for index) = 1
    (for limit) = nil
    (for step) = 1
    (*temporary) = 5
    (*temporary) = TargetFrameDebuff5 {
    0 = <userdata>
    unit = "target"
    }
    (*temporary) = <function> defined =[C]:-1
    (*temporary) = TargetFrameDebuff5 {
    0 = <userdata>
    unit = "target"
    }
    (*temporary) = <userdata>
    (*temporary) = 16
    (*temporary) = "'for' limit must be a number"
    Posted in: Lua Code Discussion
  • 0

    posted a message on UI Screenshots - Show us what you use!
    Quote from Velveeta »

    (clicky clicky for bigger pics)

    My Druid gettin' in on the low mem fun:



    My Hunter is finally how I want it, for now :)


    Thanks to P3lim, Roth (Zork), and Haste for their work and time, of course I mangled alot of the stuff to look/do what I wanted.


    Love youre UI. That timer ADDON on the left side is pcool. Whats the debuff timer addon on the right side?Iam still searching for an addon like this. And what barmod you are using?

    Thanks
    Posted in: General Chat
  • 0

    posted a message on Ace'd Recap?
    Fount it on wowace.com/files

    http://files.wowace.com/Recap/
    Posted in: General AddOns
  • 0

    posted a message on CooldownTimers 2.0
    Hallo, i love the addon. But i have a problem, when iam lock/unlock the bars i get a error message:

    Interface\AddOns\Cooldowntimers2\fubar-plugin.lua:479:attempt to index field 'anchors' (a nil value)

    and i have still another problem.
    i cant see the timer from my Spell, only from gems, trinket, health/manapots, and other stuff.

    iam using a german client.

    thanks
    Posted in: General AddOns
  • 0

    posted a message on RapidCast (formerly AceCast)
    Quote from mymycracra »

    I tried yesterday with ecb, doesn't work for french client.




    so it works only with english client?
    Posted in: General AddOns
  • 0

    posted a message on CBRipoff
    Pls add a latency mod, like: eCastingBar - Latency Mod

    http://www-en.curse-gaming.com/downloads/details/6643/ecastingbar-latency-mod/

    thanks
    Posted in: General AddOns
  • 0

    posted a message on RapidCast (formerly AceCast)
    it doesn't work with the newest version of cbripoff.
    pls add support.

    ps. testet it with blizzard castingbar. doesn't work too.

    i miss this feature . its from supercast.

    iam using german client.

    thanks
    Posted in: General AddOns
  • 0

    posted a message on sRaidFrames: Alternative CTRA raid frames
    In the newest Version r21484 i have got a ERROR:

    Interface\Addons\sRaidFrames\sRaidFrames.lua:5: Cannot find a libary instance of SpecialEvents-Aura-2.0.



    Greetz
    Posted in: Unit Frames
  • 0

    posted a message on ItemBonusLib, an Ace2 version of BonusScanner
    I translated the most, but it doesn't work. I have the same old problem:

    here is the translation that iam using:

    elseif locale == "deDE" then
    L = {
    NAMES = {
    STR = "Stärke",
    AGI = "Beweglichkeit",
    STA = "Ausdauer",
    INT = "Intelligenz",
    SPI = "Willenskraft",
    ARMOR = "Verstärkte Rüstung",

    ARCANERES = "Arkanwiderstand",
    FIRERES = "Feuerwiderstand",
    NATURERES = "Naturwiderstand",
    FROSTRES = "Frostwiderstand",
    SHADOWRES = "Schattenwiderstand",

    FISHING = "Angeln",
    MINING = "Bergbau",
    HERBALISM = "Kräuterkunde",
    SKINNING = "Kürschnerei",
    DEFENSE = "Verteidigung",

    BLOCK = "Blockchance",
    BLOCKVALUE = "Blockwert",
    DODGE = "Ausweichen",
    PARRY = "Parieren",
    ATTACKPOWER = "Angriffskraft",
    ATTACKPOWERUNDEAD = "Angriffskraft gegen Untote",
    ATTACKPOWERFERAL = "Angriffskraft in Tierform",
    CRIT = "krit. Treffer",
    RANGEDATTACKPOWER = "Distanzangriffskraft",
    RANGEDCRIT = "krit. Schuss",
    TOHIT = "Trefferchance",
    DMG = "Zauberschaden",
    DMGUNDEAD = "Zauberschaden gegen Untote",
    ARCANEDMG = "Arkanschaden",
    FIREDMG = "Feuerschaden",
    FROSTDMG = "Frostschaden",
    HOLYDMG = "Heiligschaden",
    NATUREDMG = "Naturschaden",
    SHADOWDMG = "Schattenschaden",
    HOLYCRIT = "krit. Heiligzauber",
    SPELLCRIT = "krit. Zauber",
    SPELLTOHIT = "Zaubertrefferchance",
    SPELLPEN = "Magiedurchdringung",
    HEAL = "Heilung",
    HEALTHREG = "Lebensregeneration",
    MANAREG = "Manaregeneration",
    HEALTH = "Lebenspunkte",
    MANA = "Manapunkte",

    CR_WEAPON = "Waffenwertung",
    CR_DEFENSE = "Verteidigungswertung",
    CR_DODGE = "Ausweichwertung",
    CR_PARRY = "Parrierwertung",
    CR_BLOCK = "Blockwertung",
    CR_HIT = "Trefferwertung",
    CR_CRIT = "kritische Trefferwertung",
    CR_HASTE = "Haste rating",
    CR_SPELLHIT = "Zaubertrefferwertung",
    CR_SPELLCRIT = "kritische Zaubertrefferwertung",
    CR_SPELLHASTE = "Spell haste rating",
    CR_RESILIENCE = "Resilience",
    },


    PATTERNS_PASSIVE = {
    { pattern = "%+(%d+) bei allen Widerstandsarten%.", effect = { "ARCANERES", "FIRERES", "FROSTRES", "NATURERES", "SHADOWRES"} },
    { pattern = "+(%d+) Distanzangriffskraft.", effect = "RANGEDATTACKPOWER" },
    { pattern = "Erhöht Eure Chance, Angriffe mit einem Schild zu blocken, um (%d+)%%%.", effect = "BLOCK" },
    { pattern = "Erhöht den Blockwert Eures Schilde?s um (%d+)%.", effect = "BLOCKVALUE" },
    { pattern = "Erhöht Eure Chance, einem Angriff auszuweichen, um (%d+)%%%.", effect = "DODGE" },
    { pattern = "Erhöht Eure Chance, einen Angriff zu parieren, um (%d+)%%%.", effect = "PARRY" },
    { pattern = "Erhöht Eure Chance, einen kritischen Treffer durch Zauber zu erzielen, um (%d+)%%%.", effect = "SPELLCRIT" },
    { pattern = "Erhöht Eure Chance, einen kritischen Treffer durch Heiligzauber zu erzielen, um (%d+)%%%.", effect = "HOLYCRIT" },
    { pattern = "Erhöht Eure Chance, einen kritischen Treffer zu erzielen, um (%d+)%%%.", effect = "CRIT" },
    { pattern = "Erhöht Eure Chance, mit Geschosswaffen einen kritischen Schlag zu erzielen, um (%d+)%.", effect = "RANGEDCRIT" },
    { pattern = "Erhöht durch Arkanzauber und Arkaneffekte zugefügten Schaden um bis zu (%d+)%.", effect = "ARCANEDMG" },
    { pattern = "Erhöht durch Feuerzauber und Feuereffekte zugefügten Schaden um bis zu (%d+)%.", effect = "FIREDMG" },
    { pattern = "Erhöht durch Frostzauber und Frosteffekte zugefügten Schaden um bis zu (%d+)%.", effect = "FROSTDMG" },
    { pattern = "Erhöht durch Heiligzauber und Heiligeffekte zugefügten Schaden um bis zu (%d+)%.", effect = "HOLYDMG" },
    { pattern = "Erhöht durch Naturzauber und Natureffekte zugefügten Schaden um bis zu (%d+)%.", effect = "NATUREDMG" },
    { pattern = "Erhöht durch Schattenzauber und Schatteneffekte zugefügten Schaden um bis zu (%d+)%.", effect = "SHADOWDMG" },
    { pattern = "Erhöht die durch Zauber und Effekte verursachte Heilung um bis zu (%d+)%.", effect = "HEAL" },
    { pattern = "Erhöht durch Zauber und magische Effekte zugefügten Schaden und Heilung um bis zu (%d+)%.", effect = {"HEAL","DMG"} },
    { pattern = "Erhöht den durch magische Zauber und magische Effekte zugefügten Schaden gegen Untote um bis zu (%d+)", effect = "DMGUNDEAD" },
    { pattern = "+(%d+) Angriffskraft gegen Untote.", effect = "ATTACKPOWERUNDEAD" },
    { pattern = "Stellt alle 5 Sek%. (%d+) Punkt%(e%) Gesundheit wieder her%.", effect = "HEALTHREG" },
    { pattern = "Stellt alle 5 Sek%. (%d+) Punkt%(e%) Mana wieder her%.", effect = "MANAREG" },
    { pattern = "Verbessert Eure Trefferchance um (%d+)%%%.", effect = "TOHIT" },
    { pattern = "Erhöht Eure Chance mit Zaubern zu treffen um (%d+)%%%.", effect = "SPELLTOHIT" },
    { pattern = "Reduziert die Magiewiderstände der Ziele Eurer Zauber um (%d+)%.", effect = "SPELLPEN" },
    -- Atiesh related patterns
    { pattern = "Increases your spell damage by up to (%d+) and your healing by up to (%d+)%.", effect = {"DMG", "HEAL"} },
    { pattern = "Increases healing done by magical spells and effects of all party members within %d+ yards by up to (%d+)%.", effect = "HEAL" },
    { pattern = "Increases damage and healing done by magical spells and effects of all party members within %d+ yards by up to (%d+)%.", effect = {"HEAL", "DMG"} },
    { pattern = "Restores (%d+) mana per 5 seconds to all party members within %d+ yards%.", effect = "MANAREG" },
    { pattern = "Increases the spell critical chance of all party members within %d+ yards by (%d+)%%%.", effect = "SPELLCRIT" },

    -- Added for HealPoints
    { pattern = "Allows (%d+)%% of your Mana regeneration to continue while casting%.", effect = "CASTINGREG"},
    { pattern = "Improves your chance to get a critical strike with Nature spells by (%d+)%%%.", effect = "NATURECRIT"},
    { pattern = "Reduces the casting time of your Regrowth spell by 0%.(%d+) sec%.", effect = "CASTINGREGROWTH"},
    { pattern = "Reduces the casting time of your Holy Light spell by 0%.(%d+) sec%.", effect = "CASTINGHOLYLIGHT"},
    { pattern = "Reduces the casting time of your Healing Touch spell by 0%.(%d+) sec%.", effect = "CASTINGHEALINGTOUCH"},
    { pattern = "%-0%.(%d+) sec to the casting time of your Flash Heal spell%.", effect = "CASTINGFLASHHEAL"},
    { pattern = "%-0%.(%d+) seconds on the casting time of your Chain Heal spell%.", effect = "CASTINGCHAINHEAL"},
    { pattern = "Increases the duration of your Rejuvenation spell by (%d+) sec%.", effect = "DURATIONREJUV"},
    { pattern = "Increases the duration of your Renew spell by (%d+) sec%.", effect = "DURATIONRENEW"},
    { pattern = "Increases your normal health and mana regeneration by (%d+)%.", effect = "MANAREGNORMAL"},
    { pattern = "Increases the amount healed by Chain Heal to targets beyond the first by (%d+)%%%.", effect = "IMPCHAINHEAL"},
    { pattern = "Increases healing done by Rejuvenation by up to (%d+)%.", effect = "IMPREJUVENATION"},
    { pattern = "Increases healing done by Lesser Healing Wave by up to (%d+)%.", effect = "IMPLESSERHEALINGWAVE"},
    { pattern = "Increases healing done by Flash of Light by up to (%d+)%.", effect = "IMPFLASHOFLIGHT"},
    { pattern = "After casting your Healing Wave or Lesser Healing Wave spell%, gives you a 25%% chance to gain Mana equal to (%d+)%% of the base cost of the spell%.", effect = "REFUNDHEALINGWAVE"},
    { pattern = "Your Healing Wave will now jump to additional nearby targets%. Each jump reduces the effectiveness of the heal by (%d+)%%%, and the spell will jump to up to two additional targets%.", effect = "JUMPHEALINGWAVE"},
    { pattern = "Reduces the mana cost of your Healing Touch%, Regrowth%, Rejuvenation and Tranquility spells by (%d+)%%%.", effect = "CHEAPERDRUID"},
    { pattern = "On Healing Touch critical hits%, you regain (%d+)%% of the mana cost of the spell%.", effect = "REFUNDHTCRIT"},
    { pattern = "Reduces the mana cost of your Renew spell by (%d+)%%%.", effect = "CHEAPERRENEW"},

    -- Combat Rating
    { pattern = "Erhöht eure Trefferwertung um (%d+)%.", effect = "CR_HIT" },
    { pattern = "Erhöht eure kritische Trefferwertung um (%d+)%.", effect = "CR_CRIT" },
    { pattern = "Erhöht eure Verteidungswertung um (%d+)%.", effect = "CR_DEFENSE" },
    { pattern = "Verbessert eure kritische Zaubertrefferwertung um (%d+)%.", effect = "CR_SPELLCRIT" },
    { pattern = "Improves your resilience rating by (%d+)%.", effect = "CR_RESILIENCE" },
    { pattern = "Verbessert eure Zaubertrefferwertung um (%d+)%.", effect = "CR_SPELLHIT" },
    { pattern = "Verbessert eure Ausweichwertung um (%d+)%.", effect = "CR_DODGE" },
    { pattern = "Verbessert eure Blockwertung um (%d+)%.", effect = "CR_BLOCK" },
    { pattern = "Verbessert eure Parrierwertung um (%d+)%.", effect = "CR_PARRY" },
    { pattern = "Verbessert eure Axtfertigkeit um (%d+)%.", effect = "CR_WEAPON_AXE" },
    { pattern = "Verbessert eure Dolchfertigkeit um (%d+)%.", effect = "CR_WEAPON_DAGGER" },
    { pattern = "Verbessert eure Kolbenfertigkeit um (%d+)%.", effect = "CR_WEAPON_MACE" },
    { pattern = "Verbessert eure Schwertfertigkeit um(%d+)%.", effect = "CR_WEAPON_SWORD" },
    { pattern = "Verbessert eure Zweihandschwertfertigkeit um (%d+)%.", effect = "CR_WEAPON_SWORD_2H" },

    -- Updated Patterns (in 2.0)
    { pattern = "Verbessert Magiedurchdringung um (%d+)%.", effect = "SPELLPEN" },
    { pattern = "Verbessert eure Angriffskraft um (%d+)%.", effect = "ATTACKPOWER" },
    },

    PATTERNS_GENERIC_LOOKUP = {
    ["Alle Werte"] = {"STR", "AGI", "STA", "INT", "SPI"},
    ["Stärke"] = "STR",
    ["Beweglichkeit"] = "AGI",
    ["Ausdauer"] = "STA",
    ["Intelligenz"] = "INT",
    ["Willenskraft"] = "SPI",

    ["Alle Widerstandsarten"] = { "ARCANERES", "FIRERES", "FROSTRES", "NATURERES", "SHADOWRES"},

    ["Angeln"] = "FISHING",
    ["Angelköder"] = "FISHING",
    ["Bergbau"] = "MINING",
    ["Kräuterkunde"] = "HERBALISM",
    ["Kürschnerei"] = "SKINNING",
    ["Verteidigung"] = "DEFENSE",
    ["Verteidigungsfertigkeit"] = "DEFENSE",

    ["Angriffskraft"] = "ATTACKPOWER",
    ["Angriffskraft gegen Untote"] = "ATTACKPOWERUNDEAD",
    ["Angriffskraft in Katzengestalt, Bärengestalt oder Terrorbärengestalt"] = "ATTACKPOWERFERAL",
    ["Ausweichen"] = "DODGE",
    ["Blocken"] = "BLOCK",
    ["Blockwert"] = "BLOCKVALUE",
    ["Trefferchance"] = "TOHIT",
    ["Distanzangriffskraft"] = "RANGEDATTACKPOWER",
    ["Gesundheit alle 5 Sek"] = "HEALTHREG",
    ["Heilzauber"] = "HEAL",
    ["Mana alle 5 Sek"] = "MANAREG",
    ["Manaregeneration"] = "MANAREG",
    ["Zauberschaden erhöhen"]= "DMG",
    ["Kritischer Treffer"] = "CRIT",
    ["Zauberschaden"] = {"HEAL","DMG"},
    ["Blocken"] = "BLOCK",
    ["Gesundheit"] = "HEALTH",
    ["HP"] = "HEALTH",
    ["Heilzauber"] = "HEAL",
    ["Heilung und Zauberschaden"] = {"HEAL","DMG"},
    ["Zauberschaden und Heilung"] = {"HEAL","DMG"},
    ["Schadenszauber und Heilzauber"] = {"HEAL","DMG"},
    ["Schadens- und Heilzauber"] = {"HEAL","DMG"},
    ["Zaubertrefferchance"] = "SPELLTOHIT",

    ["Mana"] = "MANA",
    ["Rüstung"] = "ARMOR",
    ["Verstärkte Rüstung"]= "ARMOR"
    },

    PATTERNS_GENERIC_STAGE1 = {
    { pattern = "Arkan", effect = "ARCANE" },
    { pattern = "Feuer", effect = "FIRE" },
    { pattern = "Frost", effect = "FROST" },
    { pattern = "Heilig", effect = "HOLY" },
    { pattern = "Schatten", effect = "SHADOW" },
    { pattern = "Natur", effect = "NATURE" },
    },

    PATTERNS_GENERIC_STAGE2 = {
    { pattern = "widerst", effect = "RES" },
    { pattern = "schaden", effect = "DMG" },
    { pattern = "effekte", effect = "DMG" },
    },


    PATTERNS_OTHER = {
    { pattern = "Manaregeneration (%d+) per 5 Sek%.", effect = "MANAREG" },

    { pattern = "Schwaches Zauberöl", effect = {"DMG", "HEAL"}, value = 8 },
    { pattern = "Geringes Zauberöl", effect = {"DMG", "HEAL"}, value = 16 },
    { pattern = "Zauberöl", effect = {"DMG", "HEAL"}, value = 24 },
    { pattern = "Hervorragendes Zauberöl", effect = {"DMG", "HEAL", "SPELLCRIT"}, value = {36, 36, 1} },

    { pattern = "Schwaches Manaöl", effect = "MANAREG", value = 4 },
    { pattern = "Geringes Manaöl", effect = "MANAREG", value = 8 },
    { pattern = "Hervorragendes Manaöl", effect = { "MANAREG", "HEAL"}, value = {12, 25} },

    { pattern = "Eterniumschnur", effect = "FISHING", value = 5 },

    { pattern = "Heilung %+31 und 5 Mana alle 5 Sek%.", effect = { "MANAREG", "HEAL"}, value = {5, 31} },
    { pattern = "Ausdauer %+16 und Rüstung %+100", effect = { "STA", "ARMOR"}, value = {16, 100} },
    { pattern = "Angriffskraft %+26 und %+1%% kritische Treffer", effect = { "ATTACKPOWER", "CRIT"}, value = {26, 1} },
    { pattern = "Zauberschaden %+15 und %+1%% kritische Zaubertreffer", effect = { "DMG", "HEAL", "SPELLCRIT"}, value = {15, 15, 1} },
    }
    }

    Posted in: General AddOns
  • 0

    posted a message on ItemBonusLib, an Ace2 version of BonusScanner
    Quote from Jerry »

    I don't have a german client. A lot of bonuses text have changed between 1.12 and 2.0, the new pattern must be reintroduced.

    If you give me the patterns for german bonuses, I'll commit them.

    To be even more general. I'm using the french client most of the time, so any help for any other language is welcome. English is easy as most online item database has the english description and I understand english enough to be able to work. Other languages are not.



    I dont know what lines i must translate.. and the biggest problem is that iam not a coder. i dont know the new patterns :(.

    Posted in: General AddOns
  • To post a comment, please or register a new account.