diff --git a/HistOffline.lua b/HistOffline.lua index c6c8d42..458e667 100644 --- a/HistOffline.lua +++ b/HistOffline.lua @@ -157,7 +157,6 @@ btn_archive = iup.button{title="Archive", FGCOLOR = "#FF0000"} accounts[acc].tabs =iup.tabs{} -- Top level of Tabs, Character Info in Here -- ==== END Accountwide Data - -- Creates boxes, stage from names to allow optional sorting in future. for _,char in ipairs(accounts[acc].names) do accounts[acc].name[char] = {} @@ -215,7 +214,6 @@ btn_archive = iup.button{title="Archive", FGCOLOR = "#FF0000"} accounts[acc].name[char].leveling_box:setcell(i,6, thischar.levels[j].map) end end - -- Create Grp Dungeon Achievements Box========================= accounts[acc].name[char].Grp_box = {} accounts[acc].name[char].Grp_box = iup.matrix {numcol=4, numcol_visible=4, numlin=5, widthdef=90} @@ -234,7 +232,6 @@ btn_archive = iup.button{title="Archive", FGCOLOR = "#FF0000"} iup.SetAttribute(accounts[acc].name[char].Grp_box, "READONLY", "YES") -- set all text to red - iup.SetAttribute(accounts[acc].name[char].Grp_box, "FGCOLOR*:1", Colour_Not_Complete) iup.SetAttribute(accounts[acc].name[char].Grp_box, "FGCOLOR*:2", Colour_Not_Complete) iup.SetAttribute(accounts[acc].name[char].Grp_box, "FGCOLOR*:3", Colour_Not_Complete) @@ -266,15 +263,17 @@ btn_archive = iup.button{title="Archive", FGCOLOR = "#FF0000"} local key = "" local dname = "" for id,_ in pairs (grp_dat) do - key = tostring(grp_dat[id].L) .. tostring(grp_dat[id].C) -- make name key + local L = grp_dat[id].L + local C = grp_dat[id].C + key = tostring(L).. tostring(C) -- make name key dname = grp_names[key] if dname == nil then dname = "key " .. key .." not found" end - accounts[acc].name[char].Grp_box:setcell(dname) + print(key .. " " .. dname) + accounts[acc].name[char].Grp_box:setcell(L, C, dname) end - accounts[acc].name[char].Grp_box.Redraw= "ALL" -- Create Pub Dungeon Achievements Box========================== @@ -317,12 +316,14 @@ btn_archive = iup.button{title="Archive", FGCOLOR = "#FF0000"} end for id,_ in pairs (pub_dat) do -- Load text - key = tostring(pub_dat[id].L) .. tostring(pub_dat[id].C) -- make name key + local L = pub_dat[id].L + local C = pub_dat[id].C + key = tostring(tostring(L) .. tostring(C)) -- make name key dname = pub_names[key] if dname == nil then dname = "key " .. key .." not found" end - accounts[acc].name[char].Pub_box:setcell(dname) + accounts[acc].name[char].Pub_box:setcell(L,C,dname) end accounts[acc].name[char].Pub_box.Redraw= "ALL" diff --git a/data/en-data.lua b/data/en-data.lua index 25f6fa7..c495a8e 100644 --- a/data/en-data.lua +++ b/data/en-data.lua @@ -505,9 +505,6 @@ Ach_Detail = ["description"] = "Learn all the Traits for the Blessed Thistle Alchemy Plant.", ["name"] = "Blessed Thistle", }, -}, -["Character"] = -{ [704] = { ["Category"] = "Character", @@ -860,9 +857,7 @@ Ach_Detail = ["description"] = "Spend 600 Champion Points in the Warrior Constellation.", ["name"] = "Robust Destiny", }, -}, -["Trophies"] = -{ + [838] = { ["Category"] = "Trophies", @@ -1127,9 +1122,6 @@ Ach_Detail = ["description"] = "Complete all fishing achievements.", ["name"] = "Master Fisher", }, -}, -["Exploration"] = -{ [526] = { ["Category"] = "Exploration", @@ -3586,9 +3578,6 @@ Ach_Detail = ["description"] = "Destroy Thjormar and the Drowned Horde at Bitterpoint Strand.", ["name"] = "Drowned Horde Decimater", }, -}, -["Dark Anchors"] = -{ [322] = { ["Category"] = "Dark Anchors", @@ -3805,11 +3794,7 @@ Ach_Detail = ["description"] = "Destroy 50 Dark Anchors from Coldharbour.", ["name"] = "Anchor Demolisher", }, -}, ["version"] = 1, -["Alliance War"] = -{ -[960] = { ["Category"] = "Alliance War", ["Category_ID"] = 4, @@ -4321,9 +4306,6 @@ Ach_Detail = ["description"] = "Kill 100 enemy Nightblades.", ["name"] = "Grand Nightblade Slayer", }, -}, -["Justice"] = -{ [1224] = { ["Category"] = "Justice", @@ -4604,9 +4586,6 @@ Ach_Detail = ["description"] = "Steal an item of Epic quality.", ["name"] = "Grand Larcenist", }, -}, -["Dungeons"] = -{ [11] = { ["Category"] = "Dungeons", @@ -5831,9 +5810,6 @@ Ach_Detail = ["description"] = "Complete all the achievements associated with the Veteran City of Ash Dungeon.", ["name"] = "Deadlands Savvy", }, -}, -["Skyshards"] = -{ [515] = { ["Category"] = "Skyshards", @@ -6058,12 +6034,6 @@ Ach_Detail = ["description"] = "Find all 16 Skyshards in Deshaan.", ["name"] = "Deshaan Skyshard Hunter", }, -}, -["A Good Keen Reptile"] = -{ -}, -["Quests"] = -{ [512] = { ["Category"] = "Quests", @@ -7040,5 +7010,4 @@ Ach_Detail = ["description"] = "Complete all quest achievements in Cyrodiil.", ["name"] = "Cyrodiil Champion", }, - -} +} \ No newline at end of file diff --git a/data/en.lua b/data/en.lua index 2f98091..977a7f5 100644 --- a/data/en.lua +++ b/data/en.lua @@ -48,8 +48,6 @@ Area_names = { Location = "Location" } - - pub_names = { --EP ["11"]= "Crow's Wood", @@ -101,4 +99,4 @@ grp_names = { ["45"] = "Dragonstar Arena", } -dofile "en_data.lua" --Achievement text dumped from the game. \ No newline at end of file +dofile "./data/en-data.lua" --Achievement text dumped from the game. diff --git a/history.lua b/history.lua index c10bd0a..7ed09c1 100644 --- a/history.lua +++ b/history.lua @@ -346,7 +346,7 @@ function hist.Initialise(_, addOnName) log_truncate(20) end - + hist.SV.lang=GetCVar("language.2") -- For offline use hist.me["LoginTime"] = GetTimeStamp() if hist.me.logins == nil then hist.me.logins = 0