From fa0b31fe13d32799cb1b71d1b4260daafa2f3b8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Jastrz=C4=99bski?= Date: Fri, 24 Jan 2020 20:58:56 +0100 Subject: [PATCH] Create database per server not per server side --- README.md | 5 +++-- RECrystallize.lua | 3 +-- RECrystallize.toc | 5 ++++- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4c3704d..9dd9c3c 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,8 @@ # RECrystallize -[Curse]() -[WoWInterface]() +[Curse](https://www.curseforge.com/wow/addons/recrystallize-auction-house-scanner) + +[WoWInterface](https://www.wowinterface.com/downloads/info25496-RECrystallize-AuctionHouseScanner) ## COPYRIGHT diff --git a/RECrystallize.lua b/RECrystallize.lua index 09e6317..dc20ff3 100644 --- a/RECrystallize.lua +++ b/RECrystallize.lua @@ -12,7 +12,6 @@ local GetRealmName = _G.GetRealmName local SecondsToTime = _G.SecondsToTime local IsShiftKeyDown = _G.IsShiftKeyDown local SendChatMessage = _G.SendChatMessage -local UnitFactionGroup = _G.UnitFactionGroup local FormatLargeNumber = _G.FormatLargeNumber local GetItemCount = _G.GetItemCount local GetMoneyString = _G.GetMoneyString @@ -147,7 +146,7 @@ function RE:OnEvent(self, event, ...) end RE.DB = _G.RECrystallizeDatabase RE.Config = _G.RECrystallizeSettings - RE.RealmString = UnitFactionGroup("PLAYER").."_"..GetRealmName() + RE.RealmString = GetRealmName() for key, value in pairs(RE.DefaultConfig) do if RE.Config[key] == nil then RE.Config[key] = value diff --git a/RECrystallize.toc b/RECrystallize.toc index 75d60cd..0eea081 100644 --- a/RECrystallize.toc +++ b/RECrystallize.toc @@ -1,9 +1,12 @@ ## Interface: 80300 ## Title: |cFF74D06CRE|rCrystallize ## Notes: Provide Auction House scanner and add item prices to tooltips. -## Version: 1.0.0 +## Version: 1.0.1 ## Author: AcidWeb ## SavedVariables: RECrystallizeSettings, RECrystallizeDatabase +## X-Website: https://www.curseforge.com/wow/addons/recrystallize-auction-house-scanner +## X-Curse-Project-ID: 359808 +## X-WoWI-ID: 25496 Embeds.xml RECrystallize.xml