alexitocr / epgp

Automatically exported from code.google.com/p/epgp
0 stars 0 forks source link

online checks for whisper module #752

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
As mentioned in Issue 511 is the whisper module bit broken and kinda annoying.

I've hotfixed the name recognition and implemeted an online check for the 
module some time ago. But since you guys don't check your PM on curseforge, I'm 
trying to reach you on this way.

The Problem:
It's really annoying to whisper nearly every 15m to the loot master just to 
stay on the waitlist. Also people on the list get awarded although they are 
already offline during EP distribution.

The Solution:
First i've added extra event ("BeforeMassEPAward") which is fired before mass 
ep awarding. The whisper module now listens to that event and checks the online 
status of given characters with the guild roster. Since EPGP also knows the 
alts of that chars, the module checks the mas well. If the player is still 
online within the guild, he gets awarded AND stays on the list. If he's 
offline, he'll simply be removed from the list before awarding. For all 
character not within the guild the previous (still annoying) whisper system is 
used.

The patch is attached. Please have a look and apply it to the mainline.
(I'm really tired of patching it every time myself.)

Original issue reported on code.google.com by eXoch...@gmail.com on 21 Mar 2015 at 6:41

Attachments: