got this bug this morning, i have the most recent version of nui5
only occured on my rogue.
Date: 2011-07-09 07:55:24
Error occured in: Global
Message: ..\AddOns\nUI\Bars\nUI_ButtonBar.lua line 284:
Swatter, v5.12.5196 (QuirkyKiwi)
Informant, v5.12.5196 (QuirkyKiwi)
nUI, v5.07.20 (Plus)
Stubby, v5.12.5196 (QuirkyKiwi)
Titan, v18.104.22.168200 - Revision 519
BlizRuntimeLib_enUS v22.214.171.124200 <us>
This appears to be a Blizzard bug. The line of code that's causing it is as follows...
If GetCurrentBindingSet() == 2 then SaveBindings(2) Else SaveBindings(1) end
but, while the error went away, what happens is that the keybindings don't get applied at all (in at least some cases). It has to be returning a value other than nil, 1, or 2 for your code to get an error (I had tried the same coding and ran into the same error).
One of my posters noted that it only happened on logons other than the first. I was able to recreate the error on another account.
I went into keybindings and noted that the affected character had the checkbox for Character Specific Key Bindings checked and zero keybinds. I then did /script ReloadUI() and checked again, the keybinds were there, but the checkbox was not checked. I checked the box again and since then I haven't been able to reproduce the error on that account.
No... I have not. It's been kind of an outlier case so I haven't invested a lot of time on it.
I think the bottom line is that there are cases where the system is trying to access key bindings before they have been loaded and I honestly don't know how to work around it.
I've thought of maybe making an oddball custom keybind that no one can access or change and testing it to see if it is set correctly... but that seems very expensive in long run.
|All times are GMT -6. The time now is 03:20 PM.|
vBulletin © 2015, Jelsoft Enterprises Ltd
©2012 ZAM Network LLC