Idle Notifier - Notify immediately if someone else depletes the same vein in MLM
Would it be possible for idle notifier to notify as soon as the ore vein is depleted in MLM if multiple people are on the same vein? (Mostly helps with upstairs mining)
Currently if you deplete a vein yourself, idle notifier goes off instantly, but if there are multiple players on the same vein and someone else depletes it, your animation continues and the notification is delayed until it finishes...
The notifier is solely based on animations, which is why it behaves as you describe. There probably isn't a good way to do this that isn't overly complex.
Vein depletion can be detected by AreaSoundEffectPlayed with soundId 2661 on an adjacent tile that your character is facing. That's the sound id for the prospect sound that plays when the vein depletes. I am currently sound swapping that sound at calcified deposits to notify me of vein depletion, but it's not ideal, as others depleting nearby veins also trigger the sound. If a check such as this were added to Idle Notifier, you could immediately be notified of depletion of the vein immediately in front of you. AreaSoundEffectPlayed does have fields of Actor source, sceneX, sceneY, and range, so I imagine it should be possible to check that it is being played from right in front of you.