Focus Target
HI!
Today i did a focus hex macro for my shaman and this is what hapened. I did the macro as i've learned and everything's goin good so far. But then i ran into to the problem, u can't even focus target on nUI! It says that an error occured when u try to focus a target, plz fix this or tell me what to do.! This is what happens: Date: 2012-04-15 10:20:14 ID: 15 Error occured in: AddOn: nUI Count: 1 Message: Error: AddOn nUI attempted to call a forbidden function (FocusUnit()) from a tainted execution path. Debug: [C]: FocusUnit() ..\FrameXML\UnitPopup.lua:1518: ..\FrameXML\UnitPopup.lua:1289 [C]: func() ..\FrameXML\UIDropDownMenu.lua:706: UIDropDownMenuButton_OnClick() [string "*:OnClick"]:1: [string "*:OnClick"]:1 AddOns: Swatter, v5.13.5258 (BoldBandicoot) NPCScan, v4.3.0.1 ACP, v3.3.17 Altoholic, v4.2.002 ArmoryQuickLink, v2.1 Atlas, v1.21.0 AtlasLootLoader, vv6.05.04 AtlasQuest, v4.6.7 Auctionator, v3.0.0 Babylonian, v5.1.DEV.312(/embedded) BagnonForever, v BeanCounter, v5.13.5258 (BoldBandicoot) Carbonite, v4.3 CarboniteTransfer, v1.01 Combuctor, v4.3.0 CombuctorSets, v Configator, v5.1.DEV.312(/embedded) CrapnGray, v1.0.2 DataStore, v4.2.002 DataStoreAchievements, v4.2.002 DataStoreAgenda, v4.2.002 DataStoreAuctions, v4.2.002 DataStoreCharacters, v4.2.002 DataStoreContainers, v4.2.002 DataStoreCrafts, v4.2.002 DataStoreCurrencies, v4.2.002 DataStoreInventory, v4.2.002 DataStoreMails, v4.2.002 DataStorePets, v4.2.002 DataStoreQuests, v4.2.002 DataStoreReputations, v4.2.002 DataStoreSpells, v4.2.002 DataStoreStats, v4.2.002 DataStoreTalents, v4.2.002 DBMCore, v DebugLib, v5.1.DEV.312(/embedded) Enchantrix, v5.13.5258 (BoldBandicoot) EnchantrixBarker, v5.13.5258 (BoldBandicoot) Gatherer, v3.2.4 GearScore, v4.10.01.00 GladiatorlosSA, v430.02 Gladius, vv2.0.16-beta HealBot, v4.3.0.0 HealersHaveToDie, v1.9.1.2 Icicle, v0.8 Incognito, v1.1.5 Informant, v5.13.5258 (BoldBandicoot) InterruptAnnouncer, v1.0 LibExtraTip, v5.12.DEV.319(/embedded) MailGet, v MarketWatcher, v2.13 nUI, v5.07.24 (Plus) nUIInfoPanelDualStats, v5.07.19 Omen, v3.1.4 Recount, v SafeQueue, vv1.26 SlideBar, v5.13.5258 (BoldBandicoot) Stubby, v5.13.5258 (BoldBandicoot) TauntMaster, v4.1.1 TidyPlates, v6.6.Beta2 (R444) TidyPlatesGraphite, v TidyPlatesGrey, v TidyPlatesNeon, v TidyPlatesQuatre, v TidyPlatesHub, vR444 TidyPlatesWidgets, vR443 TipHelper, v5.12.DEV.315(/embedded) TradeSkillMaster, vv0.2.2Beta TradeSkillMasterAuctionDB, vv0.3.3Beta TradeSkillMasterAuctioning, vv0.3Beta TradeSkillMasterCrafting, vv0.3.0.1Beta TradeSkillMasterGathering, vv0.2.3Beta TradeSkillMasterMailing, vv0.2.1Beta TradeSkillMasterShopping, vv0.2.4.1Beta BlizRuntimeLib_enUS v4.3.3.40300 <eu> (ck=836) |
First to note, this is an addon error, not a macro one. Understanding that, we need to find out what addon is really causing taint. The error may say it's nUI, but it has been known to blame random addons when the taint is self-generated inside the default UI.
In order to test this, the error needs to reliably be thrown, meaning every time you do a specific set of steps, the error is guaranteed to fire. If you can get the error to fire consistently, you need to first disable nUI and see if Blizzard was right in blaming it. If it pops up again, you'll need to go through your addons, enabling and disabling groups of them to single out which one is causing the trouble. Another note, There are at least a couple addons that have modules and dependencies loaded that will refuse to load without them. An example of this is Altoholic that runs off of DataStore and its modules. Be sure to treat these occurrences as a single addon. |
Did you try to focus using the click menu on the unit frames ? If so that is a standard problem with addons that customise the unit frames. You need to use the /focus /clearfocus slash commands instead.
|
Basically, if you use any custom unit frame addon or any addon which uses dropdown menus, there's a 99.99% chance you will simply never be able to set your focus from a unit frame right-click dropdown menu.
Your options are as follows: 1. Bind a key to the "Focus Target" function in the Blizzard Key Bindings UI. Then, target the unit you want to set as your focus, and press that key. 2. Make a macro that just says "/focus" and drop it on an action button, and then click on the action button or press the key bound to the action button. 3. Type "/focus" by hand every time you want to change your focus target. You generally do not need to use the "/clearfocus" command, as using "/focus" when you do not have a target will clear your focus unit. 4. Write a macro that automatically focuses the unit you cast Hex on. For example, the following macro will first set your focus unit to your current target if you (a) do not already have a hostile focus unit or (b) are pressing the shift key, and then cast Hex on your focus unit. Code:
/focus [@focus, noharm] [mod:shift] |
Quote:
|
Quote:
This works for blizz-code but not other unitframes. |
Quote:
|
Quote:
I did, however, think of another option that wasn't in my last post: 5. Use click-casting to assign a click combination on unit frames for setting your focus, eg. Ctrl + Right-Click on a unit frame to set that unit as your focus. The easiest way to implement this would be to use the addon Clique. |
Quote:
I'm not trying to argue just better understand the problem, any details would be great. |
Personally, I don't know all the details, as I've never written or maintained any addons that involve showing a drop-down unit menu, but there is a thread over on WowAce somewhere with all the details, and a way to work around it in some cases... though it was pretty old, so I'm not sure the workaround still works, and since none of the major unit frame addons implemented it, there was probably something wrong with it anyway. :p
|
Quote:
|
All times are GMT -6. The time now is 06:14 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI