Comments (11)
When you mean compare are you referring to the search ability? Right now if you typed the following, lvl:115 or level:115 you would get all items returned that are item level 115. Please note the item tooltips that show are based off the ItemID of the item that drops. It's the database id number given by blizzard associated with the item. An item can have the same ItemID but have different versions of it because of a different number stored in the itemID string. I only use the first number of the ItemID string which represents the actual item itself. Under about 90% of the time that's all you need in order to grab an item association in the scripting code. Please let me know if this is what you mean.
from bagsync.
I meant in the tooltip when you hover over an item. For example, let's say I have Soul Capacitor with the base item level of 725 in my bags. The Mythic Warforged one drops (item level 731), but when hovering over the Mythic Warforged item to see if I have it or not, it says 1 in the tooltip. I would like this to account for the item level and say 0 because I have 0 Mythic Warforged Soul Capacitor trinkets. The 1 I do have is 725.
from bagsync.
It also should only account for the base item level (725 or 731). It should not include valor upgrades.
725 + 1/2 = 730 should evaluate as 725
725 + 2/2 = 735 should evaluate as 725
731 + 1/2 = 736 should evaluate as 731
731 + 2/2 = 741 should evaluate as 731
from bagsync.
Okay thank you for the item explanation. It's as I feared. The item level is being adjusted by the bonus digits in the ItemID string.
The Soul Capacitor has an base ItemID of 124225. This is the base number that is used for all different versions of the Soul Capacitor. What is modified for each of the different varieties of it is the bonusID value within the actual ItemID string. Example of an itemID string is something like (item:10242:0:0:0:0:0:0:614:0:80:0:0:0:0). You can read up more on it at the following site. (http://wowwiki.wikia.com/wiki/ItemString)
BagSync currently doesn't acknowledge anything in the ItemID string other then the primary base itemID. That is why it's recording you as having the item but not distinguishing between the different varieties or upgrades of the same item.
Example:
Base Soul Capacitor is:
http://www.wowhead.com/item=124225/soul-capacitor&bonus=0#same-model-as
Notice that the ItemID is in the URL string for WOWhead. Which is 124225.
The enhanced version of the Soul Capacitor is:
http://www.wowhead.com/item=124225/soul-capacitor&bonus=562:567
As you can see it's the same ItemID but has bonus attributes given to the item of 562:567 which is the ilvl 725 -> 731 upgrade.
In order for me to implement what you suggest, I would have to alter the current database system for bagSync to parse the ItemID strings for bonusID numbers and store them. This is quite a big update to go through and change throughout the code. Since I don't have an active subscription I don't foresee this happening anytime soon unless someone jumps in and contributes the changes. I apologize for that as my time has been taken up elsewhere for the moment.
I do hope I've give you some insight on why the issue occurs in the first place.
from bagsync.
Actually this site has a more up to date explanation on the ItemID and the BonusID numbers.
http://wow.gamepedia.com/ItemString
from bagsync.
No problem. TradeSkillMaster can do this, but it isn't as minimalist as I would like. I will use TSM until you have time to review this further in the future. Thank you for the explanation and for your time.
from bagsync.
It's not impossible and I would love to put time into implementing this for you when I get around to it. However, since I don't have an active subscription it's a little harder for me to test this out and make the necessary massive changes to how items are parsed. Sorry about that. I'll implement it someday it just won't be never ;) Who knows I may come back for Legion.
from bagsync.
function bonusItems(itemString)
local bonuses = {}
local tbl = { strsplit(":", itemString) }
for key, value in pairs(tbl) do
if key >= 14 then
table.insert(bonuses, tonumber(value))
end
end
return bonuses
end
from bagsync.
http://wow.gamepedia.com/Patch_6.0.2/API_changes
BonusIDs are stored in ItemBonus.db2.
Documenting for future implementation.
from bagsync.
Just a quick update, I've recently completed migrating over BagSync to Ace3. I'm in the process of reviewing the ItemID's and the bonusID situation for implementation before release.
from bagsync.
Okay I've added bonusID's to BagSync. It will now take these into account when doing the equal searching for both the BagSync Search window and tooltip counts. I'm currently testing this out before I release it though :)
from bagsync.
Related Issues (20)
- coloring HOT 2
- Lag when mouseover items HOT 5
- Enhancement/Issue: Units must be selected by default to HOT 6
- Cross-realm characters/Battle-net account characters not working HOT 22
- [Ru][Wrath] Don't update items in inventory. HOT 12
- Moving item from guild bank to reagent bag doesn't update tooltip HOT 5
- Enhancement request, option to display which guild bank tab HOT 7
- BagSync Debug window (title) can be moved off-screen HOT 1
- Request: See Gold Across Characters by Hovering Over Backpack Gold HOT 1
- Item count not updating when using reagents from Reagent Bank HOT 5
- Request: allow for a whitelist behavior to just track X items HOT 4
- Request: Exclude Trader's Tender HOT 2
- Scan tooltips issues (mail) with pet tooltips HOT 14
- Enable ExternalTooltip to flash on the AuctionUI(Except for battlepet) HOT 4
- Update koKR Please HOT 19
- Item not found in search, but correctly listed in tooltip count HOT 64
- Enchancement request: configurable font for BagSync tooltip information HOT 7
- Bug (or enhancement?): currency tracking doesn't display in external tooltip w/ option selected, nor can be turned off HOT 8
- Some currency shows characters with 0 of that currency HOT 3
- Explanation of pet breed, for potential use in extended search commands HOT 5
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 bagsync.