fixed issue with static database and some other bugs

This commit is contained in:
Manuel Simon Hirsig
2015-11-01 02:59:13 +01:00
parent 6523c4a06a
commit 34ebedaf1b
4 changed files with 7241 additions and 18 deletions
-1
View File
@@ -26,5 +26,4 @@ options.xml
about.xml
static.xml
static.lua
-10
View File
@@ -22,16 +22,6 @@ Aux = {
function Aux_OnLoad()
Aux.log('Aux v'..AuxVersion..' loaded.')
Aux.loaded = true
aux_auctionable_items = {}
Aux.auctionable_items.find_auctionable_items(1)
Aux.localized_auctionable_items = {}
for _, item_id in Aux.auctionable_items.items do
local name = GetItemInfo(item_id)
tinsert(Aux.localized_auctionable_items, { name=name, id=item_id })
end
end
function Aux_OnEvent()
+7226 -7
View File
File diff suppressed because it is too large Load Diff
+15
View File
@@ -0,0 +1,15 @@
<Ui xsi:schemaLocation="http://www.blizzard.com/wow/ui/">
<Script file="static.lua"/>
<Frame>
<Scripts>
<OnLoad>
this:RegisterEvent('VARIABLES_LOADED')
</OnLoad>
<OnEvent>
Aux.static.on_event()
</OnEvent>
</Scripts>
</Frame>
</Ui>