Skip to content

Commit 5ea4431

Browse files
authored
Fixes and Metamorph league prep (#1052)
* data file updates * Added update version check exception GUI instead of msgbox * fixed a typo and the exact currency search fallback not working * workaround for poe.trade not knowing about warstaves * fixed abyssal sockets issues when including max sockets * updated curl.exe * changed affixlookup to use poedb * improved warstaff/runde dagger item type workaround * updated gemlist * ItemInfo new influence parsing * initial support for multiple incluences on items ("special base") * always add map tier to support new atlas * ring/amulet (catalyst) quality parsing * basic search implementation for jewelry quality * updated version and notes * improved implicit parsing * more data file updates
1 parent a2f6e73 commit 5ea4431

14 files changed

+610
-388
lines changed

data/DivinationCardList.txt

Lines changed: 80 additions & 62 deletions
Large diffs are not rendered by default.

data/GemQualityList.txt

Lines changed: 63 additions & 47 deletions
Large diffs are not rendered by default.

data/MapList.txt

Lines changed: 143 additions & 174 deletions
Large diffs are not rendered by default.

data_trade/helmet_enchantment_mods.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,7 @@ Lightning Golems deal #% increased Damage
512512
Summoned Raging Spirits deal #% increased Damage
513513
Skeletons deal #% increased Damage
514514
#% chance to Summon an additional Skeleton Warrior with Summon Skeleton
515+
#% chance to Summon an additional Skeleton Warrior with Summon Skeletons
515516
Summoned Skitterbots have #% increased Area of Effect
516517
Summon Skitterbots has #% reduced Mana Reservation
517518
Stone Golems deal #% increased Damage

data_trade/item_bases_armour.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

data_trade/mods.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

data_trade/prophecy_details.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

data_trade/uniques.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

lib/PoEScripts_Update.ahk

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ GetLatestRelease(user, repo, ReleaseVersion, ShowUpdateNotification, userDirecto
9494
description := LatestRelease.body
9595

9696
RegExReplace(releaseTag, "^v", releaseTag)
97-
versions := ParseVersionStringsToObject(releaseTag, ReleaseVersion)
97+
versions := ParseVersionStringsToObject(releaseTag, ReleaseVersion, repo)
9898

9999
newRelease := CompareVersions(versions.latest, versions.current)
100100
If (newRelease and repo = "PoE-TradeMacro") {
@@ -251,7 +251,7 @@ RemoveLeadingZeros(in) {
251251
Return LTrim(in, "0")
252252
}
253253

254-
ParseVersionStringsToObject(latest, current) {
254+
ParseVersionStringsToObject(latest, current, repo) {
255255
; requires valid semantic versioning
256256
; x.x.x
257257
; vx.x.x
@@ -262,7 +262,13 @@ ParseVersionStringsToObject(latest, current) {
262262
RegExMatch(current, "(\d+).(\d+).(\d+)(.*)", currentVersion)
263263

264264
If (StrLen(latest) < 1) {
265-
MsgBox, 16,, % "Exception thrown! Parsing release information from Github failed."
265+
Gui, UpdateVersionException:New
266+
Gui, UpdateVersionException:Font, Verdana
267+
Gui, UpdateVersionException:Add, Text, , % "Exception thrown while checking for updates!`n`nParsing release information from Github failed."
268+
Gui, UpdateVersionException:Show, NA w300, %repo% - Error
269+
270+
;TrayTip, %repo%, % "Update check failed while parsing`nrelease information from Github."
271+
;MsgBox, 16,, % "Exception thrown! Parsing release information from Github failed."
266272
}
267273

268274
versions := {}

lib/curl.exe

483 KB
Binary file not shown.

0 commit comments

Comments
 (0)