Comments (7)
The same issue would be achieved using the npc id. There is functionally 0 difference.
The unique identifer you are looking for is actually the GUID, which is unique per mob. Storing combat data by guid would massively inflate the size of combats due to having each individual add in a fight have their own data stucture. Not something we'd implement.
from details-damage-meter.
You missed the last part, but it doesnt matter anymore since im already building my own database that suits my needs and not gonna use Details api.
from details-damage-meter.
I did not miss the last part. You want to be able to uniquely identify how much damage someone did to each individual mob. In a way where mobs with the same npc (unit) id are separated. The only way to achieve that would be through the GUID. and would massively inflate the size of combats or increase the computation required for displaying data. We are not going to be changing that.
Your own solution/addon would be best given that what you want is not feasible in the scope of Details. I wish you the best of luck achieving that.
Unless you're referring to a Unit Token which is absolutely not unique in any sense.
from details-damage-meter.
You are greatly exaggerating the complexity / performance cost of what im asking for. You already have the GUID in the current code where actor.targets is being set, what i was simply asking for is using that instead of (or along side with) the name for actor.targets, and while you have it might aswell make a accurate per target basis. Even if you don't want to do the latter, the former is extremely simple and would've been appreciated for someone like me making a module for Plater in combination with Details.
It's nothing more than getting and setting a value in a table, which is something lua is extremely efficient at. Your computations wouldn't even change if all you did was store the GUID. Even at like a 100k entries with 2 keys you are looking at less than 5mb in memory size (roughly). Even if you'd play 24 hours straight without closing the game i doubt you get something remotely close to a 100k entry database.
I respect not wanting to do it though, which i kinda anticipated and why i already had started to go my own route. GL to you too.
from details-damage-meter.
Adding [unitGUID] = damage would be very easy to accomplish, the issue comes with the memory chunk which will need to be allocated for a feature that not many would use.
We could design a plugin to handle the extra data and make use of it.
from details-damage-meter.
from details-damage-meter.
Like i said, you don't necessarily have to split the data if you don't want to, Just having access to the GUID is good enough. [unitGUID] = {name=name, amount=amount}
It may not have alot of usecases for modders, but it may end up getting used alot depending on how my mod will be received.
But since im the only one who requested this and i'm already making something myself, i don't see the need for this anymore.
from details-damage-meter.
Related Issues (20)
- details stopped working after mythic+ instances HOT 1
- Cata Classic - Lua error calling GetTalentInfoByID when it doesn't exist HOT 1
- Details Light HOT 4
- [Cata] One Segment Battleground creating errors HOT 1
- 'Always show me' doesnt work on some characters HOT 1
- WoW Classic Era Update - Version 1.15.2
- LUA error on login in 10.2.7: bad argument #1 to 'SetJustifyV' HOT 1
- SetJustifyV("center") changes to "middle" HOT 2
- Summiraly Dispatched tooltip doesnt redner correctly HOT 1
- lua error
- Some text bug in Rus client
- Lua error when selecting color picker in WeakAuras HOT 3
- Enhancement Request: Add to Blizzard "AddOns Button Drop Down" HOT 3
- Lua errors on battleground HOT 2
- Buff Refresh for Augmentation Evoker
- DetailsEndOfMythicLootFrame CATA/Classic HOT 2
- issue on cata with latest alpha HOT 4
- Buff uptimes are not working properly on Tww beta
- Cata and Classic error startup HOT 2
- In Cataclysm Classic Dungeon Finder instances and only inside them, the player's hunter pet's damage is not attributed to the player's damage, but other hunters' pets' damage are attributed to their owners' damage HOT 10
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 details-damage-meter.