From 514ad35a42a1a3626f9704fd5391d9b2d3909c31 Mon Sep 17 00:00:00 2001 From: Vapok Date: Mon, 15 Jun 2020 13:53:22 -0400 Subject: [PATCH] Updating for 2.2.9 --- Core.lua | 4 ++-- Localization/Localization.cn.lua | 2 +- Localization/Localization.de.lua | 2 +- Localization/Localization.en.lua | 2 +- Localization/Localization.es.lua | 2 +- Localization/Localization.fr.lua | 2 +- Localization/Localization.kr.lua | 2 +- Localization/Localization.ru.lua | 2 +- Localization/Localization.tw.lua | 2 +- Modules/Sync.lua | 9 +++++---- MonolithDKP.toc | 2 +- 11 files changed, 16 insertions(+), 15 deletions(-) diff --git a/Core.lua b/Core.lua index 402ea841..360dfb24 100644 --- a/Core.lua +++ b/Core.lua @@ -89,9 +89,9 @@ core.EncounterList = { -- Event IDs must be in the exact same order as core } core.MonDKPUI = {} -- global storing entire Configuration UI to hide/show UI -core.MonVersion = "v2.2.8-beta"; +core.MonVersion = "v2.2.9-beta"; core.defaultTable = "__default"; -core.BuildNumber = 20208; +core.BuildNumber = 20209; core.UpgradeSchema = false; core.TableWidth, core.TableRowHeight, core.TableNumRows, core.PriceNumRows = 500, 18, 27, 22; -- width, row height, number of rows core.SelectedData = { player="none"}; -- stores data of clicked row for manipulation. diff --git a/Localization/Localization.cn.lua b/Localization/Localization.cn.lua index aaa732d1..f99a0787 100644 --- a/Localization/Localization.cn.lua +++ b/Localization/Localization.cn.lua @@ -791,7 +791,7 @@ if GetLocale() == "zhCN" then VALIDATEWARN = "这将根据他们的完整历史记录重新计算所有玩家的dkp,获得的生命和花费的生命。 如果由于缺少历史记录而导致结果不正确,请确保备份已保存的变量文件。 在运行之前,您应该为所有播放器重置先前的dkp(上下文菜单>全选>重置先前的dkp),以便可以看到它们已更改了多少。 你想继续吗?", PASS = "通过", - CHANGELOG1 = "Monolith DKP (Vapok Edition) - 2.2.8-beta", + CHANGELOG1 = "Monolith DKP (Vapok Edition) - 2.2.9-beta", CHANGELOG2 = "- Added in Loot Filter to Loot History (Taidtuskecyh)", CHANGELOG3 = "- Small adjustments and fixes to Loot Price and DE communication", CHANGELOG4 = "- Added in Multi-Guild, Multi-Teams supprot (thanks to Taidtuskecyh for the help)", diff --git a/Localization/Localization.de.lua b/Localization/Localization.de.lua index 08d8b491..3fe6accd 100644 --- a/Localization/Localization.de.lua +++ b/Localization/Localization.de.lua @@ -784,7 +784,7 @@ if GetLocale() == "deDE" then ZEROSUMITEMCOSTTTDESC = "Wählen Sie die Art der Artikelkosten aus, die Sie verwenden möchten. Static gibt Artikeln einen definierten Preis. Während Mindestgebot ermöglicht es den Spielern, ein Gebot abzugeben, das die Kosten definiert, während Sie einen Mindestgebotsschwellenwert festlegen.", ZONE = "Zone", PASS = "Passen", - CHANGELOG1 = "Monolith DKP (Vapok Edition) - 2.2.8-beta", + CHANGELOG1 = "Monolith DKP (Vapok Edition) - 2.2.9-beta", CHANGELOG2 = "- Added in Loot Filter to Loot History (Taidtuskecyh)", CHANGELOG3 = "- Small adjustments and fixes to Loot Price and DE communication", CHANGELOG4 = "- Added in Multi-Guild, Multi-Teams supprot (thanks to Taidtuskecyh for the help)", diff --git a/Localization/Localization.en.lua b/Localization/Localization.en.lua index 36d11839..982f5e56 100644 --- a/Localization/Localization.en.lua +++ b/Localization/Localization.en.lua @@ -783,7 +783,7 @@ core.L = { VALIDATEWARN = "This will recalculate all players dkp, lifetime earned and lifetime spent based on their complete history. Make sure to back up your saved variables file in the event the result is improper due to missing history entries. You should reset previous dkp (context menu > select all > reset previous dkp) for all players prior to running so you can see how much they changed. Would you like to continue?", PASS = "Pass", - CHANGELOG1 = "Monolith DKP (Vapok Edition) - 2.2.8-beta", + CHANGELOG1 = "Monolith DKP (Vapok Edition) - 2.2.9-beta", CHANGELOG2 = "- Added in Loot Filter to Loot History (Taidtuskecyh)", CHANGELOG3 = "- Small adjustments and fixes to Loot Price and DE communication", CHANGELOG4 = "- Added in Multi-Guild, Multi-Teams supprot (thanks to Taidtuskecyh for the help)", diff --git a/Localization/Localization.es.lua b/Localization/Localization.es.lua index e4f47558..6439e974 100644 --- a/Localization/Localization.es.lua +++ b/Localization/Localization.es.lua @@ -789,7 +789,7 @@ if GetLocale() == "esES" or GetLocale() == "esMX" then VALIDATEWARN = "Esto volverá a calcular el dkp de todos los jugadores, la vida ganada y la vida gastada en función de su historial completo. Asegúrese de hacer una copia de seguridad del archivo de variables guardado en caso de que el resultado sea incorrecto debido a la falta de entradas en el historial. Debes restablecer dkp anterior (menú contextual> seleccionar todo> restablecer dkp anterior) para todos los jugadores antes de correr para que puedas ver cuánto cambiaron. ¿Te gustaria continuar?", PASS = "Pasar", - CHANGELOG1 = "Monolith DKP (Vapok Edition) - 2.2.8-beta", + CHANGELOG1 = "Monolith DKP (Vapok Edition) - 2.2.9-beta", CHANGELOG2 = "- Added in Loot Filter to Loot History (Taidtuskecyh)", CHANGELOG3 = "- Small adjustments and fixes to Loot Price and DE communication", CHANGELOG4 = "- Added in Multi-Guild, Multi-Teams supprot (thanks to Taidtuskecyh for the help)", diff --git a/Localization/Localization.fr.lua b/Localization/Localization.fr.lua index c184de88..54cc50b1 100644 --- a/Localization/Localization.fr.lua +++ b/Localization/Localization.fr.lua @@ -789,7 +789,7 @@ if GetLocale() == "frFR" then VALIDATEWARN = "Cela recalculera tous les dkp des joueurs, la durée de vie gagnée et la durée de vie dépensée en fonction de leur historique complet. Assurez-vous de sauvegarder votre fichier de variables enregistré dans le cas où le résultat serait incorrect en raison d'entrées d'historique manquantes. Vous devez réinitialiser le dkp précédent (menu contextuel> sélectionner tout> réinitialiser le dkp précédent) pour tous les joueurs avant de courir afin que vous puissiez voir combien ils ont changé. Voulez-vous continuer?", PASS = "Passer", - CHANGELOG1 = "Monolith DKP (Vapok Edition) - 2.2.8-beta", + CHANGELOG1 = "Monolith DKP (Vapok Edition) - 2.2.9-beta", CHANGELOG2 = "- Added in Loot Filter to Loot History (Taidtuskecyh)", CHANGELOG3 = "- Small adjustments and fixes to Loot Price and DE communication", CHANGELOG4 = "- Added in Multi-Guild, Multi-Teams supprot (thanks to Taidtuskecyh for the help)", diff --git a/Localization/Localization.kr.lua b/Localization/Localization.kr.lua index 21f7d9e2..9d46d5eb 100644 --- a/Localization/Localization.kr.lua +++ b/Localization/Localization.kr.lua @@ -789,7 +789,7 @@ if GetLocale() == "koKR" then VALIDATEWARN = "전체 기록을 기준으로 모든 플레이어의 dkp, 평생 획득 한 시간 및 평생을 재 계산합니다. 누락 된 히스토리 항목으로 인해 결과가 올바르지 않은 경우 저장된 변수 파일을 백업하십시오. 달리기 전에 모든 플레이어에 대해 이전 dkp (컨텍스트 메뉴> 모두 선택> 이전 dkp 재설정)를 재설정해야 변경 한 양을 확인할 수 있습니다. 계속 하시겠습니까?", PASS = "통과하다", - CHANGELOG1 = "Monolith DKP (Vapok Edition) - 2.2.8-beta", + CHANGELOG1 = "Monolith DKP (Vapok Edition) - 2.2.9-beta", CHANGELOG2 = "- Added in Loot Filter to Loot History (Taidtuskecyh)", CHANGELOG3 = "- Small adjustments and fixes to Loot Price and DE communication", CHANGELOG4 = "- Added in Multi-Guild, Multi-Teams supprot (thanks to Taidtuskecyh for the help)", diff --git a/Localization/Localization.ru.lua b/Localization/Localization.ru.lua index f0e81834..8411416e 100644 --- a/Localization/Localization.ru.lua +++ b/Localization/Localization.ru.lua @@ -784,7 +784,7 @@ if GetLocale() == "ruRU" then ZONE = "зона", PASS = "Отказаться", - CHANGELOG1 = "Monolith DKP (Vapok Edition) - 2.2.8-beta", + CHANGELOG1 = "Monolith DKP (Vapok Edition) - 2.2.9-beta", CHANGELOG2 = "- Added in Loot Filter to Loot History (Taidtuskecyh)", CHANGELOG3 = "- Small adjustments and fixes to Loot Price and DE communication", CHANGELOG4 = "- Added in Multi-Guild, Multi-Teams supprot (thanks to Taidtuskecyh for the help)", diff --git a/Localization/Localization.tw.lua b/Localization/Localization.tw.lua index 27647fce..9eef44c1 100644 --- a/Localization/Localization.tw.lua +++ b/Localization/Localization.tw.lua @@ -789,7 +789,7 @@ if GetLocale() == "zhTW" then VALIDATEWARN = "這將根據其完整歷史記錄重新計算所有玩家的dkp,獲得的生命和花費的生命。 如果由於缺少歷史記錄而導致結果不正確,請確保備份已保存的變量文件。 在運行之前,您應該為所有播放器重置先前的dkp(上下文菜單>全選>重置先前的dkp),以便可以看到它們已更改了多少。 你想繼續嗎?", PASS = "通過", - CHANGELOG1 = "Monolith DKP (Vapok Edition) - 2.2.8-beta", + CHANGELOG1 = "Monolith DKP (Vapok Edition) - 2.2.9-beta", CHANGELOG2 = "- Added in Loot Filter to Loot History (Taidtuskecyh)", CHANGELOG3 = "- Small adjustments and fixes to Loot Price and DE communication", CHANGELOG4 = "- Added in Multi-Guild, Multi-Teams supprot (thanks to Taidtuskecyh for the help)", diff --git a/Modules/Sync.lua b/Modules/Sync.lua index 5b57ec37..2b644ef2 100644 --- a/Modules/Sync.lua +++ b/Modules/Sync.lua @@ -464,12 +464,13 @@ end function MonDKP_SyncDeleted() local deleted = {} - for k,v in pairs(MonDKP:GetTable(MonDKP_Archive, true)) do - -- skip entry if it is not a table (e.g. DKPMeta/LootMeta) - if type(MonDKP:GetTable(MonDKP_Archive, true)[k]) == "table" and MonDKP:GetTable(MonDKP_Archive, true)[k].deleted then - table.insert(deleted, { player=k, deleted=v.deleted, edited=v.edited }) + if type(MonDKP:GetTable(MonDKP_Archive, true)[k]) == "table" then + if MonDKP:GetTable(MonDKP_Archive, true)[k].deleted then + table.insert(deleted, { player=k, deleted=v.deleted, edited=v.edited }) + end end + end if #deleted > 0 then diff --git a/MonolithDKP.toc b/MonolithDKP.toc index a5c72917..94f9ff18 100644 --- a/MonolithDKP.toc +++ b/MonolithDKP.toc @@ -2,7 +2,7 @@ ## Title: M|cffaeaeddonolith|r |cffff0000DKP|r ## Author: Roeshambo-Stalagg ## Notes: Comprehensive DKP and raid management utility. -## Version: 2.2.8 +## Version: 2.2.9 ## DefaultState: enabled ## SavedVariables: MonDKP_DB, MonDKP_Loot, MonDKP_DKPTable, MonDKP_DKPHistory, MonDKP_MinBids, MonDKP_MaxBids, MonDKP_Whitelist, MonDKP_Standby, MonDKP_Archive