Skip to content

Commit 13db78c

Browse files
authored
v1.56.4 (Hotfix 1) BETA merge
- map-tracker: added support for the 4 new tower maps
2 parents dbf26b4 + 4a4102d commit 13db78c

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

data/changelog.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[
22
[
33
["1.56.4", 15604],
4+
"hotfix 1: added support for new tower maps (map-tracker)",
45
"minor poe1 and poe2 fixes",
56
"map-tracker: poe1 and poe2 boss-fight improvements",
67
"act-tracker: poe2 compatibility, poe2 guide editor"

data/versions.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"_release": [15604, "https://github.com/Lailloken/Lailloken-UI/archive/refs/heads/main.zip"]
2+
"_release": [15604, "https://github.com/Lailloken/Lailloken-UI/archive/refs/heads/main.zip"],
3+
"Hotfix": 1
34
}

modules/client log.ahk

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,12 +222,14 @@ Log_Get(log_text, data)
222222
}
223223
Else If RegExMatch(log_text, "Hideout.*_Claimable")
224224
Return LLK_StringCase(StrReplace(StrReplace(log_text, "_claimable"), "maphideout") . " hideout")
225-
%data% := StrReplace(SubStr(log_text, 4), "_noboss")
225+
%data% := StrReplace(SubStr(log_text, 4), "_noboss"), %data% := StrReplace(%data%, "SwampTower", "SinkingSpire")
226226
If InStr(%data%, "uberboss_")
227227
%data% := (settings.maptracker.rename ? "boss:" : "") . StrReplace(%data%, "uberboss_") . (settings.maptracker.rename ? "" : " (boss)")
228228
Else If LLK_StringCompare(%data%, ["unique"])
229229
%data% := "unique:" (InStr(%data%, "merchant") ? " nameless seer" : InStr(%data%, "vault") ? " vaults of kamasa" : SubStr(%data%, 7))
230-
Else %data% .= (!InStr(log_text, "_noboss") && !InStr(log_text, "unique") && !InStr(log_text, "losttowers") ? " (boss)" : "")
230+
Else If LLK_PatternMatch(log_text, "", ["losttowers", "swamptower", "mesa", "bluff", "alpineridge"],,, 0)
231+
%data% .= !InStr(log_text, "losttowers") ? " (tower)" : ""
232+
Else %data% .= (!InStr(log_text, "_noboss") && !InStr(log_text, "unique") ? " (boss)" : "")
231233
Loop, Parse, % %data%
232234
%data% := (A_Index = 1) ? "" : %data%, %data% .= (A_Index != 1 && RegExMatch(A_LoopField, "[A-Z]") ? " " : "") . A_LoopField
233235
}

0 commit comments

Comments
 (0)