Closed Darkhibaris closed 2 years ago
Hm, I cannot reproduce this.
It looks like your are changing into being mounted without the game event "SPELL_UPDATE_USABLE" or "UNIT_AURA" being fired. These are the two events at which DynamicCam checks if the condition for the Mounted situation is fulfilled.
Maybe you could open the event trace window (typing /eventtrace into the console) and check which events get fired when you mount up and when it is not detected by DynamicCam? Thanks
The problem seems to happen when they are some players in the area.
I spammed "mount/dismount" and there it is.
I tried on a moutain, far away from players and it worked everytime.
Thank you very much for your investigations!
This looks interesting. In both cases, UNIT_AURA and SPELL_UPDATE_USABLE are fired. But in the first case (situation not detected) these events come after the PLAYER_MOUNT_DISPLAY_CHANGED event and not before. Maybe the IsMounted() condition is only evaluated to true after the PLAYER_MOUNT_DISPLAY_CHANGED event.
I just tried using PLAYER_MOUNT_DISPLAY_CHANGED as the only event for the "Mounted" situation. And it seems to work just fine. Maybe you want to try this too and check if your problem still persists?
No problem :)
How do I do that?
It worked indeed. Thank you! Maybe I should do this for all situations, because the addon doesn't detect the other.
Nevermind, it's seems it's because some are desactivated by default. :)
Glad it works now! I will make PLAYER_MOUNT_DISPLAY_CHANGED the default event for the "Mounted" situation in the next release.
If you find other situations that are not recognised, please let me know.
Version: DynamicCam-2.0.0.zip
Hi,
When I change the location/situation (ex. mount/dismount), the addon often doesn't detect it. (Situations settings) --> The configuration of the situation that I have made is therefore not carried out.
(Sometimes, it works.)
I have no error message.