Comments (8)
GetNegativeAffixOffset()
returns 2 instead of 1.
If (Item.IsFlask or Item.IsUnique or Item.IsTalisman)
should only trigger this condition, but also triggers If (Item.IsCorrupted)
because the flavor text contains "corrupted"
from poe-iteminfo.
You beat me to it by a few minutes. I found the wrong negativeOffset and was looking which part caused it.
from poe-iteminfo.
I can fix that, just needs something better than
IfInString, ItemDataText, Corrupted
{
Item.IsCorrupted := True
}
from poe-iteminfo.
The check for mirrored and effects are both horribly insecure aswell:
ItemIsMirrored(ItemDataText)
{
Loop, Parse, ItemDataText, `n, `r
{
If (A_LoopField == "Mirrored")
{
return True
}
}
return False
}
Item.HasEffect := (InStr(ItemData.PartsLast, "Has"))
Do you want to look into it or should I look for better solutions?
from poe-iteminfo.
I believe I fixed all checks, just trying to find a mirrored item to test that
from poe-iteminfo.
Fixed and closed.
from poe-iteminfo.
I also noted that the ItemSubType is not reliable for uniques. The info script does not care, because the unique data displayed is based on the name, but for your script it might have consequences. For example the body armour "The Rat Cage" gets classified as a helmet because the name with "Cage" comes before the base type line "Sharkskin Tunic". If that is a problem, the solution is likely to narrow down the ItemDataNamePlate lines even more for uniques or items in general, before the whole regex match section starts.
from poe-iteminfo.
Ok, I will look into that. But for now we only care about the item name if it's a unique, since the name is, well, unique and we don't want other results. But also adding the subtype can't hurt.
from poe-iteminfo.
Related Issues (20)
- 8mod map identified as 9mod HOT 3
- New Item Mods - unknown mod HOT 10
- Search Opal Ring with ilvl by default HOT 1
- SendCtrlC HOT 4
- Error : target label does not exist HOT 10
- to support French
- Don't remove clipboard contents HOT 1
- Highlight items gets old values HOT 1
- Error At Line 5 HOT 1
- Can't create control error HOT 2
- [Feature Request] Update MapList.txt for 3.6.0 HOT 1
- Tooltip timeout doesn't work
- is this normal? HOT 2
- Add hideout information to maps
- Display at fixed coordinates with MouseGetPos
- ItemInfo reports disscontinued stats from wiki (Queen's_Escape) HOT 2
- Currencyinfo from poe.ninja not available at startup HOT 1
- master
- No rare estimate HOT 1
- Script run but nothing work in game HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from poe-iteminfo.