CurseForge and Overwolf are joining forces!
Awesome More Information
  • 0

    posted a message on How to add a "APPLY" Button in config
    I'm not aware of any configuration changes requiring a reloadui to apply unless we're talking about "removing" hooksecurefunc hooks or some very specific cases of playing with secure frames.


    This.
    ReloadUI() is not needed in >99.9% (I would say: in 100%) of all cases. ReloadUI() in any Configuration UI is simply very bad (UI) design: Config terror at it's best. Change your configuration code.

    I'm still new to this and trying to learn as i go.


    If you are new: Do not use any library unless you know the basics of Lua / WoW Lua/API/functions/events/ ... and unless you know and understand every single line of code of a library. Ace is complicated. The Ace Framework (each library) is for people who know how they can do the same without it.
    Sorry.
    Posted in: AddOn HELP!
  • 0

    posted a message on BattlegroundTargets
    Quote from lilmasochist
    Feature Request: Please give the user the option when right-clicking an enemy frame to simply set the focus without targeting that enemy.


    This is not possible, because this is restricted by the WoW API.
    You can only set focus to your current target (or clear focus if no target).

    And btw, it's not possible to set target, set focus and than set another target within the same task.
    Such an action requires 2 tasks (2 user actions aka 2 clicks/2 keyboardpress or so).
    This is true for inCombat/within SecureTemplate environment.
    Correct me if this has changed or if i'm wrong...



    EDIT:
    Please try BattlegroundTargets-r33 (alpha) (http://www.wowace.com/addons/battlegroundtargets/files/) and report bugs, thanks.

    New main feature:
    - added enemy flag carrier detection
     - enUS, deDE, esES and frFR: TESTED with Patch 4.2.0.14480 (LIVE)
     - esMX, koKR, ruRU and zhTW: TESTED with Patch 4.2.2.14534 (PTR)
     - zhCN: NOT TESTED
     NOTE:
     Eye of the Storm is bugged (or it's intended): no event is triggered if an enemy player pick up the flag.


    zhCN is not available on PTR, so I could not test it. If someone has access to zhCN, please post the missing strings (check BattlegroundTargets-localized-flag.lua).

    Localization status for the Configuration Menu: (which has no impact on functionality)
    - enUS: complete
    - deDE: complete
    - esES/esMX: TODO
    - frFR: TODO
    - koKR: complete
    - ruRU: 2 strings missing
    - zhCN: 2 strings missing
    - zhTW: TODO

    You are welcome to update the -localization-* files via wowace.com svn repository OR simply post it here. Thanks.
    Posted in: General AddOns
  • 0

    posted a message on BattlegroundTargets
    BattlegroundTargets-40200-10 (http://www.wowace.com/addons/battlegroundtargets/files/):

    New in 40200-10:
    - added health bar and health percent (DISABLED by DEFAULT) [read NOTES in BattlegroundTargets.lua for more information!]
    - added scale slider for target and focus indicator
    - improved button highlighting for target
    - increased some option value ranges
    - koKR update (Thanks Sayclub)
    - ruRU update (Thanks AlexFlexy)
    Posted in: General AddOns
  • 0

    posted a message on DrainSouler
    Quote from Gradius125
    Why not make this addon available to other classes for similar execute phase abilities... such as shadow word: death for priests? I would really rather not download another addon that does the exact same thing as this one for another class.


    DrainSouler is for Affliction Warlocks only. I have no intention to change this. Sorry.
    Posted in: General AddOns
  • 0

    posted a message on BattlegroundTargets
    delete. look at my next post, thanks
    Posted in: General AddOns
  • 0

    posted a message on Packager issues

    Packager start: 2011-08-20T01:05:20.571752

    Discovered svn repository: wow/battlegroundtargets/mainline
    Joining all threads
    Updating svn://svn.wowace.com/wow/battlegroundtargets/mainline/trunk in /media/repositories/packaging/svn-local-checkout/wow/battlegroundtargets/mainline...
    Done with svn://svn.wowace.com/wow/battlegroundtargets/mainline/trunk
    Finished joining all threads
    Creating zip /media/repositories/packaging/zip/wow/BattlegroundTargets-r27.zip... Done
    Unsuccessful attempt at uploading /media/repositories/packaging/zip/wow/BattlegroundTargets-r27.zip. 403 FORBIDDEN:

    Form invalid: {'nolib_file_id': [u'Invalid input.']}

    Packager finished: 2011-08-20T01:05:21.621612.
    Completed in 0:00:01.049860

    please help, thanks

    EDIT:
    another checkout and commit works fine. anyway, some server admin should take a look at above error...
    Posted in: General Chat
  • 0

    posted a message on BattlegroundTargets
    @gamemaster128 & Adirelle:
    Okay, good. But I will not change the bgname check. It works, that's fine for me.

    @medloh:
    Range check and an additional macro editing interface...may be in some future release. read previous posts from my...

    @rickmende:
    - player level:
    I will not include this. This addon is for players at max level.
    - Option to display letters instead of class icons:
    hmm okay may be. The option to show the class icon is mainly for ppl who are not familiar with class colors or can not see colors, but I think about it.
    - flag carrier:
    the addon Capping from TotalPackage shows efc and fc. But you are right this would be a nice feature, I think about it.
    - health:
    may be if I find a resource-friendly method. read previous posts from my...

    @mollalapalla:
    Thanks for the bug report, but please always post some more information, eg.: which BattlegroundTarget version do you use? which client (enUS/deDE/koKR/...)? and/or post a bugreport (copy&paste from: blizz error frame/buggrabber/...).
    This bug was reported earlier and I tried to fixed it with version r10 - 2011-08-04 22:57:46 +0000 (Thu, 04 Aug 2011) (BattlegroundTarget-40200-7).
    I couldn't test it, because I never joined a (rated) battleground with same faction.

    I just submitted BattlegroundTarget-40200-8 which fixes some localization bugs and font issues (mainly esES, koKR, ruRU, zhCN and zhTW).
    Please try BattlegroundTarget-40200-8 (http://www.wowace.com/addons/battlegroundtargets/files) and post a message if you still get a bug in same-faction (rated) battleground games. Thanks.



    Need loca help:
    This addon works with all officially supported languages. (I just tested all supported languages on PTR [4.2.2.14492] - okay PTR..., but PTR is the only way for me to test all(!) supported languages [zhCN was bugged on PTR])
    BUT: I need your help if you find an localization error.
    This addon relies on localized bgnames and talents!

    The Configuration Menu (which has no impact on functionality) needs some love:
    If you use this addon with esES/esMX, frFR, koKR, ruRU or zhTW: you are welcome to update the -localization-* files via wowace.com svn repository OR simply post it here (I will add it with credits). Thanks.
    Posted in: General AddOns
  • 0

    posted a message on BattlegroundTargets
    Please update to BattlegroundTargets-40200-7 http://www.wowace.com/addons/battlegroundtargets/files/
    There is a stupid bug in previous versions (40200-4 to 40200-6) if you join a rated battleground game. Sorry & Thanks.
    Posted in: General AddOns
  • 0

    posted a message on BattlegroundTargets
    @Vranx: There is no texture for the background, it is a simple color.

    @Adirelle: GetMapInfo() is bound to the current opened map. If the map is opened GetMapInfo() always returns the name from the opened map, this is why I use GetBattlefieldStatus() and GetRealZoneText(), which both returns the same localized map names from the current zone the player is in, not from the opened map. Sure, I can use SetMapToCurrentZone() before GetMapInfo() that should set it to the correct map, but I want to avoid this if there is another possibility to get the map name, because I do not want to mess around in any map related functions. You are right, your described method is better in some points because it does not require loca.
    btw: the additional GetRealZoneText() check is only used if GetBattlefieldStatus() returns nil (which can happen from time to time and looks like a Blizzard bug, same is true for GetRealZoneText(), which can also return nil...do you know if this is the case for GetMapInfo() too?). Anyway, thanks for the hint.

    @gamemaster128: This: fail. My failure.
    Fixed in BattlegroundTargets-40200-6. http://www.wowace.com/addons/battlegroundtargets/files/
    Posted in: General AddOns
  • 0

    posted a message on BattlegroundTargets
    @Jakek321:
    Focus: I added a focus indicator and right-click to set focus (focus is set to your current target).
    Range check: Range check for enemies is tricky, always wacky and never precise. I think about it.

    @Vranx:
    Textures: Which textures? You can change any texture by modifying the code and/or the included textures.
    Same-faction battlegrounds: Is this really live? I remember some PTR tests but I thought this has never made it to the live servers. And: I never joined a same-faction (rated) battleground. Anyway, I added some additional check to cover such situation.

    http://www.wowace.com/addons/battlegroundtargets/files/

    Some general thoughts:
    BattlegroundTargets is simple and I want to keep it simple. What I want to avoid is combatlog scanning and SendAddonMessage(s), especially in combat. I am not a friend of combatlog scanning in combat and I am not a friend of SendAddonMessage(s) in combat. Some suggested features requires such techniques to give an acceptable result.
    To be honest: If I do not find a resource-friendly method to add hp/range/whatever check I will not include it.
    Current BattlegroundTargets fits all my needs: relative simple, it works as described, no errors, less CPU/memory usage, highly configurable.

    I think about the suggestions, Thanks.
    Posted in: General AddOns
  • 0

    posted a message on BattlegroundTargets
    frFR bgname is fixed in BattlegroundTargets-40200-3. Thanks.
    http://www.wowace.com/addons/battlegroundtargets/files/
    Posted in: General AddOns
  • 0

    posted a message on BattlegroundTargets
    http://www.wowace.com/addons/battlegroundtargets/

    -- -------------------------------------------------------------------------- --
    -- BattlegroundTargets by kunda                                               --
    -- -------------------------------------------------------------------------- --
    --                                                                            --
    -- BattlegroundTargets is a World of Warcraft AddOn.                          --
    -- BattlegroundTargets is a 'Enemy Unit Frame' for battlegrounds.             --
    -- BattlegroundTargets is not a 'real' (Enemy) Unit Frame.                    --
    -- BattlegroundTargets simply generates buttons with target macros.           --
    --                                                                            --
    -- Features:                                                                  --
    -- # Shows all battleground enemies with role, class and name.                --
    --   - Left-click : set target                                                --
    --   - Right-click: set focus                                                 --
    -- # Independent settings for '10 vs 10', '15 vs 15' and '40 vs 40'.          --
    -- # Specialization                                                           --
    -- # Target                                                                   --
    -- # Main Assist Target                                                       --
    -- # Focus                                                                    --
    -- # Enemy Flag/Orb Carrier                                                   --
    -- # Target Count                                                             --
    -- # Health                                                                   --
    -- # Range Check                                                              --
    -- # Guild Groups                                                             --
    --                                                                            --
    -- -------------------------------------------------------------------------- --
    --                                                                            --
    -- These events are always registered:                                        --
    -- - PLAYER_REGEN_DISABLED                                                    --
    -- - PLAYER_REGEN_ENABLED                                                     --
    -- - ZONE_CHANGED_NEW_AREA (to determine if current zone is a battleground)   --
    -- - PLAYER_LEVEL_UP (only registered if player level < level cap)            --
    --                                                                            --
    -- In Battleground:                                                           --
    -- # If enabled: ------------------------------------------------------------ --
    --   - UPDATE_BATTLEFIELD_SCORE                                               --
    --   - PLAYER_DEAD                                                            --
    --   - PLAYER_UNGHOST                                                         --
    --   - PLAYER_ALIVE                                                           --
    --                                                                            --
    -- # Range Check: --------------------------------------- VERY HIGH CPU USAGE --
    --   - Events:                                                                --
    --        1) Combat Log: --- COMBAT_LOG_EVENT_UNFILTERED                      --
    --        2) Class: -------- PLAYER_TARGET_CHANGED                            --
    --                         - UNIT_HEALTH_FREQUENT                             --
    --                         - UPDATE_MOUSEOVER_UNIT                            --
    --                         - UNIT_TARGET                                      --
    --      3/4) Mix: ---------- COMBAT_LOG_EVENT_UNFILTERED                      --
    --                         - PLAYER_TARGET_CHANGED                            --
    --                         - UNIT_HEALTH_FREQUENT                             --
    --                         - UPDATE_MOUSEOVER_UNIT                            --
    --                         - UNIT_TARGET                                      --
    --   - The data to determine the distance to an enemy is not always available.--
    --     This is restricted by the WoW API.                                     --
    --   - This feature is a compromise between CPU usage (FPS), lag/network      --
    --     bandwidth (no SendAdd0nMessage), fast and easy visual recognition and  --
    --     suitable data.                                                         --
    --                                                                            --
    -- # Health: ------------------------------------------------- HIGH CPU USAGE --
    --   - Events:             - UNIT_TARGET                                      --
    --                         - UNIT_HEALTH_FREQUENT                             --
    --                         - UPDATE_MOUSEOVER_UNIT                            --
    --   - The health from an enemy is not always available.                      --
    --     This is restricted by the WoW API.                                     --
    --   - A raidmember/raidpet MUST target(focus/mouseover) an enemy OR          --
    --     you/yourpet MUST target/focus/mouseover an enemy to get the health.    --
    --                                                                            --
    -- # Target Count: ------------------------------------ HIGH MEDIUM CPU USAGE --
    --   - Event:              - UNIT_TARGET                                      --
    --                                                                            --
    -- # Guild Groups: ----------------------------------------- MEDIUM CPU USAGE --
    --   - Events:             - GROUP_ROSTER_UPDATE                              --
    --                         - UNIT_TARGET                                      --
    --                                                                            --
    -- # Main Assist Target: ------------------------------- LOW MEDIUM CPU USAGE --
    --   - Events:             - GROUP_ROSTER_UPDATE                              --
    --                         - UNIT_TARGET                                      --
    --                                                                            --
    -- # Leader: ------------------------------------------- LOW MEDIUM CPU USAGE --
    --   - Event:              - UNIT_TARGET                                      --
    --                                                                            --
    -- # Level: (only if player level < level cap) ---------------- LOW CPU USAGE --
    --   - Event:              - UNIT_TARGET                                      --
    --                                                                            --
    -- # Target: -------------------------------------------------- LOW CPU USAGE --
    --   - Event:              - PLAYER_TARGET_CHANGED                            --
    --                                                                            --
    -- # Focus: --------------------------------------------------- LOW CPU USAGE --
    --   - Event:              - PLAYER_FOCUS_CHANGED                             --
    --                                                                            --
    -- # Enemy Flag/Orb Carrier: ----------------------------- VERY LOW CPU USAGE --
    --   - Events:             - CHAT_MSG_BG_SYSTEM_HORDE                         --
    --                         - CHAT_MSG_BG_SYSTEM_ALLIANCE                      --
    --                         - CHAT_MSG_BG_SYSTEM_NEUTRAL                       --
    --                         - CHAT_MSG_RAID_BOSS_EMOTE                         --
    --   Flag/Orb detection in case of disconnect, UI reload or mid-battle-joins: --
    --   (temporarily registered until each enemy is scanned)                     --
    --                         - UNIT_TARGET                                      --
    --                         - UPDATE_MOUSEOVER_UNIT                            --
    --                         - PLAYER_TARGET_CHANGED                            --
    --                                                                            --
    -- # No SendAdd0nMessage(): ------------------------------------------------- --
    --   This AddOn does not use/need SendAdd0nMessage(). SendAdd0nMessage()      --
    --   increases the available data by transmitting information to other        --
    --   players. This has certain pros and cons. I may include (opt-in) such     --
    --   functionality in some future release. maybe. dontknow.                   --
    --                                                                            --
    -- -------------------------------------------------------------------------- --
    --                                                                            --
    -- slash commands: /bgt - /bgtargets - /battlegroundtargets                   --
    --                                                                            --
    -- -------------------------------------------------------------------------- --
    --                                                                            --
    -- Thanks to all who helped with the localization.                            --
    --                                                                            --
    -- Special thanks to Roma.                                                    --
    --                                                                            --
    -- -------------------------------------------------------------------------- --
    


    Screenshot:


    Download:
    http://www.wowace.com/addons/battlegroundtargets/files/

    kunda
    Posted in: General AddOns
  • 0

    posted a message on Detecting Ebonsteel Belt buckle
    There is no way to get an empty additional gem socket, expect YOU wear that item and you do tooltip scanning (which is language depended).
    (Tooltip scanning for inspect units does not work, because the tooltip from other units is the same for: belt without 'Ebonsteel Belt Buckle' and belt with 'Ebonsteel Belt Buckle' but no gem in it.)

    The only way to detect a 'Ebonsteel Belt Buckle' or similar item enhancements is by checking the added gems.

    Reason: The itemID from a waist slot does not change if you add an additional gem socket with 'Ebonsteel Belt Buckle'. The itemID is only changing if such a belt has a gem added to this additional socket.
    By the way: the same is true for an additional gem socket on hand items (blacksmiths only).

    You can compare the default return values from GetItemStats (eg. one EMPTY_SOCKET_BLUE) with default itemID (eg. "item:70545") against the complete itemID (eg.: "item:70544:0:4029:4000:0:0:0:0:85:0") and check the 4 gem slots if there are more gems used as by default possible. If this is the case someone use a 'Ebonsteel Belt Buckle' or a similar item enhancements.

    You can a look at CharScanner code http://www.wowace.com/addons/charscanner/.
    (CharScanner does not explicitly check if there was an addition gem socket applied, because ingame it's not 100% possible to get the profession from inpected chars and therefor it's not possible to detect if some blacksmith has his hands enhanced with an additional gem socket or not - but it's necessary to check for addition gems to know if there are missing gems. anyway...)
    Posted in: Lua Code Discussion
  • 0

    posted a message on How to detect a set bonus?
    The only language independent way to get the setbonus is a complete itemID list with setbonus data of all sets.
    This is also the fastest method, but hard to maintain.

    You can take a look at CharScanner http://www.wowace.com/addons/charscanner/.
    Posted in: Lua Code Discussion
  • 0

    posted a message on HelmNCloak
    @gamemaster128: fixed, thanks.

    HelmNCloak-40200-2
    http://www.wowace.com/addons/helm-n-cloak/files/
    Posted in: General AddOns
  • To post a comment, please or register a new account.