From 6033c70131f6a80eceb36a20e4c4de3c188db096 Mon Sep 17 00:00:00 2001 From: devimauz Date: Fri, 30 Apr 2021 02:04:41 +0200 Subject: [PATCH] Update POE-ItemInfo.ahk fixing for poe 3.14 --- resources/ahk/POE-ItemInfo.ahk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/resources/ahk/POE-ItemInfo.ahk b/resources/ahk/POE-ItemInfo.ahk index 24375da0..4ed9d626 100644 --- a/resources/ahk/POE-ItemInfo.ahk +++ b/resources/ahk/POE-ItemInfo.ahk @@ -1,4 +1,4 @@ -; Path of Exile ItemInfo +; Path of Exile ItemInfo ; ; Script is currently maintained by various people and kept up to date by aRTy42 / IGN: Erinyen ; Forum thread: https://www.pathofexile.com/forum/view-thread/1678678 @@ -6943,6 +6943,7 @@ PreProcessContents(CBContents) ; Remove the line that indicates an item cannot be used due to missing character stats ; Matches "Rarity: ..." + anything until "--------"\r\n + CBContents:= SubStr(CBContents, InStr(CBContents,"`n") + 1) ; <-- new fix If (RegExMatch(CBContents, "s)^(.+?:.+?\r\n)(.+?-{8}\r\n)(.*)", match)) { ; Matches any ".", looking for the 2 sentences saying "You cannot use this item. Its stats will be ignored." ; Could be improved, should suffice though because the alternative would be the item name/type, which can't have any dots. @@ -13409,4 +13410,4 @@ ShowHotKeyConflictUI(hkeyObj, hkey, hkeyLabel, oldLabel = "", preventedAssignmen ; ############ (user) macros ############# -; macros are being appended here by merge script \ No newline at end of file +; macros are being appended here by merge script