Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update POE-ItemInfo.ahk #1180

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions resources/ahk/POE-ItemInfo.ahk
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -13409,4 +13410,4 @@ ShowHotKeyConflictUI(hkeyObj, hkey, hkeyLabel, oldLabel = "", preventedAssignmen


; ############ (user) macros #############
; macros are being appended here by merge script
; macros are being appended here by merge script