Thread: Azura issue
View Single Post
06/03/21, 03:07 PM   #2
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,989
Hi, at best report this at the official addon's comments:
https://www.esoui.com/downloads/info....html#comments

Most time users in there help each others and provide fixes you can manually apply to addon files.
I'll have a look if it could be an easy fix and write there to the addon comments so that all benefit from it.

Edit: This is what I found out and corrected. You can see the post at the addon comments of Azurah:

Related to the error in file ActionBar.lua line 108:
You are able to download a fixed version of the addon here: Azurah Balckwood Gamepad mode fix by Baetrram

If you manually want to fix the 1 file:

This should only happen if you play in gamepad mode and is happening at the ultimate button. The control names "ActionButton8LBkey" and "ActionButton8RBkey" do not exist anymore. They were renamed as it seems to:
ActionButton8LBkey -> ActionButton8LeftKeybind
ActionButton8RBkey -> ActionButton8RightKeybind

So you need to replace these lines 107ff in the file live/AddOns/Azurah/ActionBar.lua:
Code:
if (IsInGamepadPreferredMode()) then -- special case to handle changes to ultimate button in Gamepad mode
		_G['ActionButton8LBkey']:SetAlpha(db.hideBindText and 0 or 1)
		_G['ActionButton8LBkey']:SetHidden(db.hideBindText)

		_G['ActionButton8RBkey']:SetAlpha(db.hideBindText and 0 or 1)
		_G['ActionButton8RBkey']:SetHidden(db.hideBindText)
With:
Lua Code:
  1. if (IsInGamepadPreferredMode()) then -- special case to handle changes to ultimate button in Gamepad mode
  2.         _G['ActionButton8LeftKeybind']:SetAlpha(db.hideBindText and 0 or 1)
  3.         _G['ActionButton8LeftKeybind']:SetHidden(db.hideBindText)
  4.  
  5.         _G['ActionButton8RightKeybind']:SetAlpha(db.hideBindText and 0 or 1)
  6.         _G['ActionButton8RightKeybind']:SetHidden(db.hideBindText)



Originally Posted by bordeaux
Hi~
This error occurs.
Can I fix errors? or waiting for an update?


user:/AddOns/Azurah/ActionBar.lua:108: attempt to index a nil value
stack traceback:
user:/AddOns/Azurah/ActionBar.lua:108: in function 'Azurah:ConfigureActionBarElements'
|caaaaaa<Locals> self = ud </Locals>|r
user:/AddOns/Azurah/ActionBar.lua:153: in function 'Azurah:InitializeActionBar'
|caaaaaa<Locals> self = ud </Locals>|r
user:/AddOns/Azurah/Core.lua:86: in function 'Azurah.OnPlayerActivated'

Last edited by Baertram : 06/03/21 at 03:18 PM.
  Reply With Quote