Skip to content

Commit

Permalink
v1.55.1 (Hotfix 1) merge
Browse files Browse the repository at this point in the history
- loot-tracking in the map-tracker couldn't be set up while stash-ninja was disabled
- potential fix for error-messages during loot-tracking
  • Loading branch information
Lailloken authored Aug 27, 2024
2 parents cc4ade2 + e2fceb0 commit d2b2e07
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
2 changes: 2 additions & 0 deletions data/changelog.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[
[
["1.55.1", 15501],
"hotfix 1: loot-tracking in the map-tracker couldn't be set up while stash-ninja was disabled",
"hotfix 1: potential fix for error-messages during loot-tracking",
"recombination simulator updated for 3.25 (needs feedback)"
],
[
Expand Down
3 changes: 2 additions & 1 deletion data/versions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"_release": [15501, "https://github.com/Lailloken/Lailloken-UI/archive/refs/heads/main.zip"]
"_release": [15501, "https://github.com/Lailloken/Lailloken-UI/archive/refs/heads/main.zip"],
"Hotfix": 1
}
8 changes: 4 additions & 4 deletions modules/map tracker.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -1776,10 +1776,10 @@ MaptrackerTimer()
mapname_add := {"heist": LangTrans("maps_heist"), "expedition": LangTrans("maps_logbook"), "affliction": LangTrans("maps_delirium")}
}

If !(settings.maptracker.hide && vars.maptracker.pause) && !MaptrackerCheck(2) && !WinExist("ahk_id "vars.hwnd.maptracker.main) && !WinExist("ahk_id " vars.hwnd.maptracker_logs.main) && !WinExist("ahk_id " vars.hwnd.recombination.main)
If !(settings.maptracker.hide && vars.maptracker.pause) && !MaptrackerCheck(2) && !WinExist("ahk_id "vars.hwnd.maptracker.main) && !WinExist("ahk_id " vars.hwnd.maptracker_logs.main) && !vars.hwnd.recombination.main
&& (WinActive("ahk_group poe_window") || WinActive("ahk_id "vars.hwnd.maptracker_logs.main) || vars.settings.active = "mapping tracker") || vars.maptracker.toggle ;when in hideout or holding down TAB, show tracker GUI
MaptrackerGUI(), inactive := 0
Else If WinExist("ahk_id "vars.hwnd.maptracker.main) && (MaptrackerCheck(2) && !vars.maptracker.toggle && !vars.maptracker.pause || settings.maptracker.hide && vars.maptracker.pause || WinExist("ahk_id " vars.hwnd.maptracker_logs.main) || WinExist("ahk_id " vars.hwnd.recombination.main)) ;else hide it
Else If WinExist("ahk_id "vars.hwnd.maptracker.main) && (MaptrackerCheck(2) && !vars.maptracker.toggle && !vars.maptracker.pause || settings.maptracker.hide && vars.maptracker.pause || WinExist("ahk_id " vars.hwnd.maptracker_logs.main) || vars.hwnd.recombination.main) ;else hide it
inactive += 1
Else inactive := 0
If WinExist("ahk_id "vars.hwnd.maptracker.main) && (inactive = 2)
Expand All @@ -1788,14 +1788,14 @@ MaptrackerTimer()
If MaptrackerCheck() && (vars.maptracker.refresh_kills > 2) ;when re-entering a map after updating the kill-tracker, set its state to 2 so it starts flashing again the next time the hideout is entered
vars.maptracker.refresh_kills := 2

If MaptrackerTowncheck() && (vars.maptracker.refresh_kills = 2) && WinExist("ahk_id "vars.hwnd.maptracker.main) && !vars.maptracker.pause ;flash the tracker as a reminder to update the kill-count
If MaptrackerTowncheck() && (vars.maptracker.refresh_kills = 2) && WinExist("ahk_id "vars.hwnd.maptracker.main) && !vars.maptracker.pause && GuiName(vars.hwnd.maptracker.main) ;flash the tracker as a reminder to update the kill-count
{
Gui, % GuiName(vars.hwnd.maptracker.main) ": Color", % (vars.maptracker.color = "Maroon") ? "Black" : "Maroon"
Gui, % GuiName(vars.hwnd.maptracker.main) ": -E0x20"
vars.maptracker.color := (vars.maptracker.color = "Maroon") ? "Black" : "Maroon"
GuiControl, % "+Background" vars.maptracker.color, % vars.hwnd.maptracker.delbar
}
Else If (!MaptrackerTowncheck() || (vars.maptracker.refresh_kills > 2)) && (vars.maptracker.color = "Maroon") && WinExist("ahk_id "vars.hwnd.maptracker.main) ;reset the tracker to black after updating the kill-count
Else If (!MaptrackerTowncheck() || (vars.maptracker.refresh_kills > 2)) && (vars.maptracker.color = "Maroon") && WinExist("ahk_id "vars.hwnd.maptracker.main) && GuiName(vars.hwnd.maptracker.main) ;reset the tracker to black after updating the kill-count
{
Gui, % GuiName(vars.hwnd.maptracker.main) ": Color", Black
vars.maptracker.color := "Black"
Expand Down
6 changes: 3 additions & 3 deletions modules/settings menu.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -2929,7 +2929,7 @@ Settings_screenchecks()
count := 0
For key in vars.imagesearch.list
{
If (settings.features[key] = 0) || (key = "skilltree" && !settings.features.leveltracker) || (key = "stash" && (!settings.features.maptracker || !settings.maptracker.loot))
If (key = "skilltree" && !settings.features.leveltracker) || (key = "stash" && (!settings.features.maptracker || !settings.maptracker.loot)) || (key = "betrayal") && (settings.features[key] = 0)
Continue
count += 1
}
Expand All @@ -2944,7 +2944,7 @@ Settings_screenchecks()

For key in vars.imagesearch.list
{
If (settings.features[key] = 0) || (key = "skilltree" && !settings.features.leveltracker) || (key = "stash" && (!settings.features.maptracker || !settings.maptracker.loot))
If (key = "skilltree" && !settings.features.leveltracker) || (key = "stash" && (!settings.features.maptracker || !settings.maptracker.loot)) || (key = "betrayal") && (settings.features[key] = 0)
Continue
Gui, %GUI%: Add, Text, % "xs Section border gSettings_screenchecks2 HWNDhwnd", % " " LangTrans("global_info") " "
vars.hwnd.settings["info_"key] := vars.hwnd.help_tooltips["settings_screenchecks image-info"handle] := hwnd
Expand Down Expand Up @@ -3058,7 +3058,7 @@ Settings_ScreenChecksValid()

For key, val in vars.imagesearch.list
{
If (settings.features[key] = 0) || (key = "skilltree" && !settings.features.leveltracker) || (key = "stash" && (!settings.features.maptracker || !settings.maptracker.loot))
If (key = "skilltree" && !settings.features.leveltracker) || (key = "stash" && (!settings.features.maptracker || !settings.maptracker.loot)) || (key = "betrayal") && (settings.features[key] = 0)
continue
valid *= FileExist("img\Recognition ("vars.client.h "p)\GUI\"key ".bmp") && !Blank(vars.imagesearch[key].x1) ? 1 : 0
}
Expand Down

0 comments on commit d2b2e07

Please sign in to comment.