V57 Mirkmire WB Missing

His Dad [11-28-18 - 15:42]
V57 Mirkmire WB Missing

Signed-off-by: His Dad <John@hisdad.org>
Filename
Doc/Changelog.txt
HistOffline.lua
HistOfflineBeta.lua
data/WB2.lua
history.lua
history.txt
diff --git a/Doc/Changelog.txt b/Doc/Changelog.txt
index 0a09d85..90406ac 100644
--- a/Doc/Changelog.txt
+++ b/Doc/Changelog.txt
@@ -1,3 +1,7 @@
+2018-11-29 version 57
+	Fix Murkmire WB MIssing
+
+
 2018-11-26 version 56
 	Restructure of Game data.
 	Murkmire
diff --git a/HistOffline.lua b/HistOffline.lua
index e416f20..60f5fe7 100644
--- a/HistOffline.lua
+++ b/HistOffline.lua
@@ -16,7 +16,7 @@ local dname, key, count, ccount, colour, bgcolour
 --force_lang = "fr"  --	or "de" or "fr"  for debugging

 -- ========================
-version= "56"
+version= "57"
 require( "iuplua" )
 require( "iupluacontrols" )
 iup.SetGlobal("UTF8MODE","YES")
diff --git a/HistOfflineBeta.lua b/HistOfflineBeta.lua
index e4d74ff..f007ac5 100644
--- a/HistOfflineBeta.lua
+++ b/HistOfflineBeta.lua
@@ -16,7 +16,7 @@ local dname, key, count, ccount, colour, bgcolour
 --force_lang = "fr"  --	or "de" or "fr"  for debugging

 -- ========================
-version= "56-Beta-01"
+version= "57-Beta-01"
 require( "iuplua" )
 require( "iupluacontrols" )
 --require( "iupluamatrixex" )
diff --git a/data/WB2.lua b/data/WB2.lua
index 1041bb5..0c0d72f 100644
--- a/data/WB2.lua
+++ b/data/WB2.lua
@@ -196,6 +196,6 @@ WB_dat = {		--World Boss Achievements
 [2212] = {Location=23},	-- "Asp Awareness" "Defeat Keelsplitter without stepping on any of the snakes.",

 --Mirelurk
---[2293] = {Location=24},	-- Fiend of the Fens,  Defeat the necromancer Baxilt-Gah at Bok-Xul.
+[2293] = {Location=24},	-- Fiend of the Fens,  Defeat the necromancer Baxilt-Gah at Bok-Xul.
 [2294] = {Location=24},	-- Feller of Thunder,  Defeat the miregaunt Walks-Like-Thunder at the Echoing Hollow.
 }
diff --git a/history.lua b/history.lua
index 3f5cdfc..73445a8 100644
--- a/history.lua
+++ b/history.lua
@@ -1,6 +1,6 @@
 hist = {
 	name = "history",
-	version = 56,
+	version = 57,
 	initialised = false,
 	SV={},
 	L={},
@@ -140,9 +140,6 @@ function load_history()
 			end --Keep
 	end	--for
 	log("Added " .. tostring(count) .. " historic achievements.")
-	if hist.debug then
-		d("Added " .. count .. " achievements.")
-	end
 end

 local function new_map()
@@ -457,7 +454,7 @@ if (hist.name ~= addOnName) then return end
 	if hist.debug then
 	log_truncate(500)
 	else
-	log_truncate(50)
+	log_truncate(200)
 	end

 	hist.SV.lang=GetCVar("language.2")	-- For offline use
@@ -497,15 +494,13 @@ if (hist.name ~= addOnName) then return end
 	hist.me.Gender = gendertext()
 	end

+	if (hist.SV.this_version == nil) then hist.SV.this_version = 0 end

 	if (type(hist.SV.this_version) == "string") then
 		hist.SV.this_version = tonumber(hist.SV.this_version)
 	end


-
-	if (hist.SV.this_version == nil) then hist.SV.this_version = 0 end
-
 	if (hist.SV.this_version <55) then
 		log("Erasing Achievements ready for format 55.")
 		hist.me.ach = {}
diff --git a/history.txt b/history.txt
index 01a4eb1..63f116b 100644
--- a/history.txt
+++ b/history.txt
@@ -1,6 +1,6 @@
 ## Title: Dad's History
-## APIVersion: 100024 100025
-## Version: 56
+## APIVersion: 100025 100026
+## Version: 57
 ## Author: HisDad
 ## Description: Record progress of all characters for offline viewing.
 ## SavedVariables: History_SV