THANK you VERY VERY VERY much for opening this!!!!!!! :)
|
Quote:
Some nice changes BTW! Keldor |
@ZOS_ChipHilseberg
It would be really useful with a hook to the source and target in the EVENT_COMBAT_EVENT. Currently the workarounds for certain lookups are painful and cause performance issues, would it be possible to either get unitTags for target and source or a reverse lookup for a unitTag using a target/source name? The idea is to resolve information such as: alliance, class, race etc. |
I added a page about the event filters to the wiki because it wasn't documented there yet. Maybe somebody who already worked with them can check or extend it a bit?
|
I have some questions regarding AddFilterForEvent.
|
It seems regardless of how you register them it is always OR. I register my filter like this:
Lua Code:
The lifetime is something I would be interested in too. I register them multiple times right now. No idea if that is necessary, or maybe even causes some trouble. |
All forms of registration should function as AND. If any of the filters fail the event will not be sent. When the event is unregistered the filter will be cleared.
|
Are these filters easily and cheaply (from both development and runtime perspective) extensible to other events? I'm thinking about EVENT_INVENTORY_SINGLE_SLOT_UPDATE:
REGISTER_FILTER_BAG_ID REGISTER_FILTER_IS_NEW_ITEM REGISTER_FILTER_INVENTORY_UPDATE_REASON |
Quote:
|
I don't think it'll be a problem to add most of these. I'll throw it on the backlog.
|
Quote:
Any chance we could get something to help us determine when targets, unitId's, no longer exist? An event of some kind that fires when unitId's are destroyed perhaps. That way we know when to clear any data related to that target. Or at least a function to determine if a unitId still exists (both would be great), like: Lua Code:
Also a function to differentiate between different unit types (player, monsters, pets, other players, exc..) using unitId would be very helpful. Lua Code:
Lua Code:
|
Quote:
I wanted to request adding a MsgEffectResult (changeType) event filter for EVENT_EFFECT_CHANGED. Use case would be, registering the unfiltered event only for EFFECT_RESULT_GAINED. This way a database of gained abilityIds can be kept by an addon like Srendarr, and each could be registered for EVENT_EFFECT_CHANGED in its own namespace by abilityId and unregistered when the effect ends. This should significantly improve performance, as you are only then open-listening for EFFECT_RESULT_GAINED events in EVENT_EFFECT_CHANGED (which is a heavy event), along with a pre-filtered list of specific abilityIds. |
Quote:
|
@Phinix
Better use the WishList addon for this request, that's what Sharlikran meant. Or maybe ask ZOs DanBatson within Gitter.im/esoui/esoui. He is the actual responsible communication person for us |
Thank you Baertram, I made that at almost midnight my time while I was working on something and forgot to post where. Then when I woke up I thought there was a forum for that wasn't there? The WishList, I was too tired and lazy to go hunt it down.
|
All times are GMT -6. The time now is 08:23 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI