Add Killing Blow Ability ID to EVENT_PVP_KILL_FEED_DEATH
It is already possible (although incomplete, and somewhat imprecise) to associate the killing blow ability with EVENT_PVP_KILL_FEED_DEATH events allowing a custom killfeed with more situationally useful information. However, this requires registering an additional callback to EVENT_COMBAT_EVENT. Including the abilityID of the Killing Blow ability in the events fired for EVENT_PVP_KILL_FEED_DEATH would simplify the construction of custom killfeeds with more detailed information.
Edit: Might also be nice to get ClassIDs in this but KB abilityID is the important ask. |
You might look into using LibEventHandler.
|
Quote:
I don't think that this library would be needed as you can simply register that extra EVENT_COMBAT_EVENT with event filters to get that abilityId -> As you need to check the killing blow of ALL others around you this will be a big performance thing though I believe! Beside that I doubt it will fire all combat events cyrodiil wide, only near yourself right? And the library would not help here as it does the same like EVENT_MANAGER does. In the end it would be better/more performant if ZOs provides the data directly within EVENT_PVP_KILL_FEED_DEATH , right. But: That could lead to "too much information" as you could spy class and other info by that help? Which maybe not wanted in PvP areas and leads to APi restrictions in the end again (unless the current EVENT_PVP_KILL_FEED_DEATH already provides that info by the displayName/characterName and you can get that char's data like class etc. by their name already now, without having to build lookup tables of before seen characters etc.). |
Quote:
How do you think LibEventHandler can be used for the issues raised here? You shouldn't write irrelevant things based on your imagination. :( |
Quote:
This came up as I was poking around in the code for Miat's PVP alerts to move over the Miat's Kill Feed to the new official Kill Feed system. The existing code already had a callback to EVENT_COMBAT_EVENT, and was using this to construct the kill feed with killing blow information. I was able to move everything else over to the new system, but because of this missing piece of information, I had to leave the old event handler in place to extract the killing blow information and build an array that can then be read to add it to the event information from the new killfeed event. You are correct that it only fires for events around yourself, and the range is smaller than the range for EVENT_PVP_KILL_FEED_DEATH, but it would still be nice to access this information in a more performant way, that doesn't involve tryign to manage the specific timing of two different EVENT handlers firing. |
All times are GMT -6. The time now is 10:51 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI