diff --git a/00_startup.lua b/00_startup.lua index f5b4029..dea8691 100644 --- a/00_startup.lua +++ b/00_startup.lua @@ -2,7 +2,7 @@ DailyAutoShare = DailyAutoShare or {} DAS = DailyAutoShare DAS.name = "DailyAutoShare" -DAS.version = "3.3.2" +DAS.version = "3.3.3" DAS.author = "manavortex" DAS.settings = {} DAS.globalSettings = {} @@ -319,7 +319,7 @@ local function OnQuestRemoved(eventCode, isCompleted, journalIndex, questName, z local zoneId = DAS.GetZoneId() local zoneIds = DAS.questIds[zoneId] or {} -- is it a daily quest, and are we logging? - if not (zoneIds[questId] and DAS.GetActiveIn(zoneId)) then return end + if not ((zoneIds[questName] or DAS_QUEST_IDS[questId]) and DAS.GetActiveIn(zoneId)) then return end DAS.LogQuest(questName, isCompleted) diff --git a/DASUserSettingsAdapter.lua b/DASUserSettingsAdapter.lua index 928a68d..e109932 100644 --- a/DASUserSettingsAdapter.lua +++ b/DASUserSettingsAdapter.lua @@ -413,8 +413,9 @@ function DAS.GetCompleted(questName) end function DAS.LogQuest(questName, completed) if nil == questName then return end - local settings = getSettingsArray() - timeStringNumber = timeStringNumber or tonumber(GetTimeString():sub(1,2)) + getSettingsArray() + local settings = DAS.globalSettings.completionLog[dateNumber][characterName] + timeStringNumber = timeStringNumber or tonumber(GetTimeString():sub(1,2)) local afterEight = (timeStringNumber >= 8) -- 08:17:02 - reset is at 8 for questId, questData in pairs(settings) do if questData.afterEight ~= afterEight then diff --git a/DailyAutoShare.txt b/DailyAutoShare.txt index eb188ca..fd82263 100644 --- a/DailyAutoShare.txt +++ b/DailyAutoShare.txt @@ -1,6 +1,6 @@ ## Title: DailyAutoShare ## Author: manavortex -## Version: 3.3.2 +## Version: 3.3.3 ## APIVersion: 100023 ## SavedVariables: DAS_Settings DAS_Globals ## OptionalDependsOn: LibStub LibCustomMenu LibAddonMenu-2.0 LibMediaProvider-1.0 pchat diff --git a/questData/Summerset.lua b/questData/Summerset.lua index 118cda8..92c91a3 100644 --- a/questData/Summerset.lua +++ b/questData/Summerset.lua @@ -8,7 +8,7 @@ local tbl2 = {} table.insert(tbl, GetString(DAS_ELF_ALCHE)) -table.insert(tbl2, {[1] = "welenkin", [2] = "korgen", [3] = "korg"}) +table.insert(tbl2, {[1] = "korgen", [2] = "b'korgen", [3] = "korg", [4] = "corgi"}) table.insert(tbl, GetString(DAS_ELF_GRAVE)) table.insert(tbl2, {[1] = "graveld", [2] = "grave"}) table.insert(tbl, GetString(DAS_ELF_QUEEN)) @@ -16,7 +16,7 @@ table.insert(tbl2, {[1] = "queen"}) table.insert(tbl, GetString(DAS_ELF_GRIFFIN)) table.insert(tbl2, {[1] = "griffon", [2] = "griffin", [3] = "gryphon", [4] = "gryffon"}) table.insert(tbl, GetString(DAS_ELF_SNAKE)) -table.insert(tbl2, {[1] = "adder", [2] = "snake"}) +table.insert(tbl2, {[1] = "keel", [2] = "snake"}) table.insert(tbl, GetString(DAS_ELF_WILD)) table.insert(tbl2, {[1] = "wild", [2] = "ward"}) @@ -38,15 +38,18 @@ table.insert(tbl2, {[1] = "rose"}) DAS.shareables[zoneId] = tbl DAS.shareables[zoneId2] = DAS.shareables[zoneId] -for i=1012, 1019 do - DAS.shareables[i] = DAS.shareables[zoneId] -end + DAS.makeBingoTable(zoneId, tbl2) DAS.bingo[zoneId2] = DAS.bingo[zoneId] +for i=1012, 1019 do + DAS.shareables[i] = DAS.shareables[zoneId] + DAS.bingo[i] = DAS.bingo[zoneId] +end + DAS.questStarter[zoneId] = { [GetString(DAS_QUEST_SS_TANO)] = true, [GetString(DAS_QUEST_SS_FARO)] = true,