Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

M+ leaver runs need better handling #168

Closed
aza547 opened this issue Sep 26, 2022 · 11 comments
Closed

M+ leaver runs need better handling #168

aza547 opened this issue Sep 26, 2022 · 11 comments

Comments

@aza547
Copy link
Owner

aza547 commented Sep 26, 2022

Two fixes in mind:

  • Log inactivity timeout (@tdaugaard has written this and it's coming in 2.8.0)
  • Zone change when going to a non dungeon zone, see nnoggie's list of zones in MDT code. Link
@tdaugaard
Copy link
Contributor

Zone change when going to a non dungeon zone

Yeah, but that should trigger to set a timeout as well as log inactivity. Could really be baked into the existing callback attached to the DataTimeout event from CombatLogParser.

A zone change itself isn't a problem alone.

@aza547
Copy link
Owner Author

aza547 commented Sep 27, 2022

Yeah, but that should trigger to set a timeout as well as log inactivity. Could really be baked into the existing callback attached to the DataTimeout event from CombatLogParser.

Not sure I'm with you here.

@aza547
Copy link
Owner Author

aza547 commented Sep 27, 2022

Thinking about this a bit more, maybe it's actually OK. If user has SCL, it will stop recording when they exist the config type, so any ZONE_CHANGE out of a dungeon will hit this. Maybe SCL should be the one true method for logging.

An afk inside a dungeon will stop if there is no logs, but I suspect there will be periodic combat logs for even afk players. Passive buffs applied etc? I'm not sure you actually need to be in combat to write a combat log, but that sounds counter-intuitive.

@aza547
Copy link
Owner Author

aza547 commented Sep 27, 2022

An afk inside a dungeon will stop if there is no logs, but I suspect there will be periodic combat logs for even afk players. Passive buffs applied etc? I'm not sure you actually need to be in combat to write a combat log, but that sounds counter-intuitive.

Maybe we can be more aggressive and ensure the player is doing something in those logs.

@tdaugaard
Copy link
Contributor

An afk inside a dungeon will stop if there is no logs, but I suspect there will be periodic combat logs for even afk players. Passive buffs applied etc?

We could apply the DataTimeout to only count combat events like damage and such as data?

Maybe SCL should be the one true method for logging.

I'd be a mistake to lock yourself in on that; I don't think it's an issue, but most people don't want too many add-ons already and if they have either R.IO or MRT, I'm not sure you'll convince them to install SCL, but who knows :D

@aza547
Copy link
Owner Author

aza547 commented Sep 27, 2022

We could apply the DataTimeout to only count combat events like damage and such as data?

Yeah definitely - but what if there are mobs that are fighting and also populating it - that's why I think we need to be specific to player combat actions.

@tdaugaard
Copy link
Contributor

Yeah definitely - but what if there are mobs that are fighting and also populating it - that's why I think we need to be specific to player combat actions.

I don't think they trigger log events if you're not in combat with them, but I'm not entirely sure and I don't know how to test it. Maybe Junkyard for Mythic+ as it has random mobs spinning around and such.

@tdaugaard
Copy link
Contributor

I've had a few abandonen M+ dungeons lately and have had no problems. The only issue I've seen is that it doesn't save the player character for the abandoned keys. I'll work on fixing that.

image

@aza547
Copy link
Owner Author

aza547 commented Oct 15, 2022

And it shows the wow classic icon I added as a fall back too I guess. Good stuff regardless, I was perhaps more worried about this than I needed to be 😊

@tdaugaard
Copy link
Contributor

tdaugaard commented Oct 15, 2022

#210 sort of addresses it a bit by moving some logic so the player is always saved, as long as we've seen the appropriate SPELL_AURA_APPLIED log events.

@aza547
Copy link
Owner Author

aza547 commented Mar 25, 2023

Stale issue so closing. I think this is working fine.

@aza547 aza547 closed this as completed Mar 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants