Comments (9)
I think, there is no need to show all set bonuses. Show set bonuses will lead to readability degradation from screen. But you can specify the membership of a particular set, somethink like this:
If user click a set name, IA show all set item which he has.
It will be very convenient!
from iagd.
Good suggestion.
However, I have no immediate plans on doing the set bonuses.
Time is ever an issue, though hopefully someone else will pick this one up.
from iagd.
For whomever ends up implementing this, here's some queries to help identify set items:
-- Easy query to find all sets:
SELECT *, (SELECT Name FROM DatabaseItem_v2 WHERE id_databaseitem = S.id_databaseitem) as SetName from DatabaseItemStat_v2 S where Stat = 'itemSetName' ORDER BY textvalue
-- Find name for a given set:
SELECT T.name FROM DatabaseItemStat_v2 S, ItemTag T
WHERE id_databaseitem IN (
SELECT id_databaseitem FROM DatabaseItem_v2 WHERE baserecord = 'records/items/lootsets/itemset_c001.dbr'
)
AND S.stat = 'setName'
AND T.tag = S.TextValue
-- Combining these two we get:
SELECT *,
(
SELECT T.name FROM DatabaseItemStat_v2 ST, ItemTag T WHERE id_databaseitem IN (SELECT id_databaseitem FROM DatabaseItem_v2 db WHERE db.baserecord = S.TextValue)
AND ST.stat = 'setName' AND T.tag = ST.TextValue
) as SetName,
(SELECT Name FROM DatabaseItem_v2 WHERE id_databaseitem = S.id_databaseitem) as ItemName
from DatabaseItemStat_v2 S
where Stat = 'itemSetName'
AND SetName IS NOT NULL
ORDER BY textvalue
-- Discover all the stats of a specific set (in this case set 7355112)
SELECT * FROM DatabaseItemStat_v2 WHERE id_databaseitem = (
SELECT id_databaseitem FROM DatabaseItem_v2 WHERE baserecord = (
SELECT TextValue FROM DatabaseItemStat_v2 S WHERE id_databaseitem = 7355112 AND stat = 'setMembers'
)
)
ORDER BY TextValue
A set is much like an item, and IA should be able to render a set roughly as well as it renders an item. A set has triggers, skills etc just like items do.
from iagd.
The most efficient thing would probably be to pre-compute the sets and set them on initial load, and then simply check if each rendered item is in a set.
If in a set: List the set name, and make it clickable to show other items in the set (and how many of each)
from iagd.
Thinking something ala:
- Sets are exposed as JSON to the web ui
- When rendering an item, ask some service (in JS) if it's part of a set
- Render which set its in, clickable
- OnClick => Poll C# for all items owned in this set
- Render a view of the set, its bonuses and which items are owned / missing.
Polling on click will help with performance (lazy load), and should be a very simple query when its on a specific set basis.
from iagd.
Are there news on this issue? It would be nice to have something like that inside IA
from iagd.
No more progress just yet.
I am still in the middle of moving cross-continents.
I do intend for there to be progress on this task, though it will come after certain bugfixes and QoL fixes.
from iagd.
Are there news on this issue? It would be nice to have something like that inside IA
Partially implemented a few patches ago.
from iagd.
Now longer relevant after the introduction of real item stats
from iagd.
Related Issues (20)
- Unable to launch GD Item Assistant HOT 7
- Can we filter items by duplicates ? HOT 1
- Real stats on items: Support for mods HOT 1
- Warn the user when attempting to use IA with the "private stash" HOT 2
- v1.4 - Stop using transfer.gst and allow for steam cloud saving to be enabled HOT 2
- GD v1.2 [Loot Items Immediately] HOT 2
- Issues with free text search HOT 1
- Does not automatically open the "try running as admin" help tab HOT 2
- Detect invalid paths HOT 1
- Start allowing quest items etc
- Feature Request: Linux release HOT 1
- i18n support is broken after 1.2? HOT 5
- Detect invalid symlinks
- Item stats coloring HOT 1
- Advanced search HOT 2
- Prevent transferring items into GD when the target inventory is full HOT 2
- Closing GD while IA is injecting will cause IA to malfunction
- Rewrite how CSV files are looked up
- Display a helpful "welcome new user" message.. HOT 2
- Complains about VS 2013 not being installed, then starts as normal 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 iagd.