Download
(3Kb)
Download
Updated: 11-13-10 12:50 AM
Pictures
File Info
Updated:11-13-10 12:50 AM
Created:03-10-09 07:44 AM
Downloads:4,106
Favorites:71
MD5:

Missing Friends

Version: 10.11.13
by: Aezay [More]

Description
"Friend removed because the character no longer exists."
Most people has probably seen this message pop up in their chat window upon login, and you always wonder, who was it?!

What this addon does, is to make a copy of your friend list. When you login and recieve the friend removed message,
it will then compare your copied friend list with the server friend list, then notify you of anyone who has gone missing.

There is a slash command "/mf" which will list all the friends lost over time.

Credits
Thanks to Ferylin who forced me to write this addon at gunpoint, and wouldn't let me go until I was done

MissingFriends Changes | 2010 Nov 13
- Changed the TOC version to 40000 for the 4.0.1 pre Cataclysm patch.
- Very minor code changes.

MissingFriends Changes | 2010 May 04
- Fixed the missing table error that could sometimes happen during login, thanks to Dridzt. The fix was to change "VARIABLES_LOADED" with "ADDON_LOADED".

MissingFriends Changes | 2010 Feb 10
- Changed the TOC version to 30300 for the 3.3 patch.
- Does an extra check when adding friends to the backup table, making sure it doesn't add invalid entries. I guess this could happen during login on rare occasions.

MissingFriends Changes | 2009 Apr 13
- Changed the TOC version to 30100 for the 3.1 patch.
- Removed a bug that incorrectly reported a friend missing if removed from the friendlist manually or through an addon.

MissingFriends Changes | 2009 Apr 11
- Changed the warning sound for when a missing friend is found.
- Fixed a nil error that could happen under unknown circumstances.
- The list of missing friends are now saved with the time they were found missing.
Optional Files (0)


Post A Reply Comment Options
Unread 12-12-09, 01:35 PM  
Aezay
A Theradrim Guardian
 
Aezay's Avatar
AddOn Author - Click to view AddOns

Forum posts: 66
File comments: 737
Uploads: 18
Zidomo
Guess the order of events has changed during login. Sadly I cannot do much about it since I cannot test this without an active account.
Report comment to moderator  
Reply With Quote
Unread 02-13-10, 08:24 AM  
xentaros
A Kobold Labourer
 
xentaros's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 80
Uploads: 1
Originally posted by Aezay
Zidomo
Guess the order of events has changed during login. Sadly I cannot do much about it since I cannot test this without an active account.
You can fix this error by changing line 4 from:
Code:
local list, oldFriends, friend;
to:
Code:
local list, oldFriends, friend = {};
Report comment to moderator  
Reply With Quote
Unread 02-15-10, 06:13 PM  
Aezay
A Theradrim Guardian
 
Aezay's Avatar
AddOn Author - Click to view AddOns

Forum posts: 66
File comments: 737
Uploads: 18
Could someone test this for me, does FRIENDLIST_UPDATE fire before VARIABLES_LOADED now? Test this from a character screen login as well as a UI Reload.

xentaros
Not really my preferable way of fixing this, but I'll see what I can do.
Report comment to moderator  
Reply With Quote
Unread 02-27-10, 09:35 AM  
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1362
File comments: 831
Uploads: 59
Hi Aezay,
regarding the older problem of MissingFriends outputting messages when other addons use the friendlist to get details for corpses and such.

I believe the most common addon doing that is _Corpse by Saiket.
From his most recent changelog:
Code:
# 3.3.0.2:

    * Now passes a second argument to Add/RemoveFriend to tell other addons that the command should be ignored. Should now be compatible with Tekkub's FriendsWithBenefits.
    * Added a module for 5-man dungeons so that cross-realm LFD groups don't break the mod.
Report comment to moderator  
Reply With Quote
Unread 03-10-10, 11:29 AM  
Aezay
A Theradrim Guardian
 
Aezay's Avatar
AddOn Author - Click to view AddOns

Forum posts: 66
File comments: 737
Uploads: 18
Dridzt
Yeah, MissingFriends once did show friends as being missing if you had _Corpse installed, but that is no longer an issue (I think). I do not hook the AddFriend() or RemoveFriend() functions anyway.
Last edited by Aezay : 03-10-10 at 11:30 AM.
Report comment to moderator  
Reply With Quote
Unread 04-06-10, 01:42 PM  
weavil
A Deviate Faerie Dragon

Forum posts: 14
File comments: 95
Uploads: 0
errr

[15:17:44] Interface\AddOns\MissingFriends\core.lua:51: attempt to get length of upvalue 'list' (a nil value)
(tail call): ?
[C]: ?
Interface\AddOns\MissingFriends\core.lua:51: in function `?'
Interface\AddOns\MissingFriends\core.lua:71: in function <Interface\AddOns\MissingFriends\core.lua:71>
Report comment to moderator  
Reply With Quote
Unread 04-30-10, 06:22 PM  
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1362
File comments: 831
Uploads: 59
initialization error/fix

I'm running these modifications on my local copy to deal with the initialization error posted by a couple people.
Changed the initialization event from VARIABLES_LOADED to ADDON_LOADED and made these minor changes:
Code:
-- Friend list is not loaded here
function f:ADDON_LOADED(event, ...)
	local arg1 = ...
	if arg1 == modName then
		if (not MissingFriends_List) then
			MissingFriends_List = {};
		end
		if (not MissingFriends_OldFriends) then
			MissingFriends_OldFriends = {};
		end
		list = MissingFriends_List;
		oldFriends = MissingFriends_OldFriends;
 		self:UnregisterEvent("ADDON_LOADED");
	end
end
Code:
f:RegisterEvent("ADDON_LOADED");
Report comment to moderator  
Reply With Quote
Unread 05-01-10, 08:37 AM  
Aezay
A Theradrim Guardian
 
Aezay's Avatar
AddOn Author - Click to view AddOns

Forum posts: 66
File comments: 737
Uploads: 18
Dridzt
Thank you for this information. Maybe you can also explain what exactly changed, to make this modification required? This was something that happened after I quit my subscription, so I never followed the updates after that so well.
Report comment to moderator  
Reply With Quote
Unread 05-01-10, 12:18 PM  
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1362
File comments: 831
Uploads: 59
Originally posted by Aezay
Dridzt
Thank you for this information. Maybe you can also explain what exactly changed, to make this modification required? This was something that happened after I quit my subscription, so I never followed the updates after that so well.
The order of events firing during the loading process has changed.
VARIABLES_LOADED can fire later than it used to so code attached to it is not guaranteed to run before P_E_W etc.
There's not much to say I'm afraid other than "loading order has changed"
Report comment to moderator  
Reply With Quote
Unread 05-04-10, 11:24 AM  
weavil
A Deviate Faerie Dragon

Forum posts: 14
File comments: 95
Uploads: 0
thanks for update,
Report comment to moderator  
Reply With Quote
Unread 05-13-10, 02:46 PM  
Nafe
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 35
Uploads: 12
Thanks for the addon.
I had this on my list of "addons to write when I get enough time".
I'm delighted to see someone already has it made =)
Report comment to moderator  
Reply With Quote
Unread 05-29-10, 08:52 AM  
Haleth
This Space For Rent
 
Haleth's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1173
File comments: 1146
Uploads: 17
Recently, a friend removed his or her character, and Missing Friends reported all of my friends as "deleted". I don't know what caused this.

Love the addon, though, it's helped me pretty often already. This is one of the addons of which you really can't believe that Blizz didn't put it into the UI by default.
Last edited by Haleth : 05-29-10 at 08:53 AM.
Report comment to moderator  
Reply With Quote
Unread 05-29-10, 04:14 PM  
Aezay
A Theradrim Guardian
 
Aezay's Avatar
AddOn Author - Click to view AddOns

Forum posts: 66
File comments: 737
Uploads: 18
Haleth
This could maybe be related to the changes in the last release, but I cannot really say. It could also have happened if somehow an error occurred to your saved variables. This is the first report of this error I've heard, please let me know if this happens again.
Report comment to moderator  
Reply With Quote
Unread 06-29-10, 08:15 PM  
elals29
A Wyrmkin Dreamwalker
 
elals29's Avatar

Forum posts: 57
File comments: 97
Uploads: 0
This mod doesn't seem to be working. It only gives me player not found.
Report comment to moderator  
Reply With Quote
Unread 07-01-10, 07:54 PM  
elals29
A Wyrmkin Dreamwalker
 
elals29's Avatar

Forum posts: 57
File comments: 97
Uploads: 0
Originally posted by Aezay
Haleth
This could maybe be related to the changes in the last release, but I cannot really say. It could also have happened if somehow an error occurred to your saved variables. This is the first report of this error I've heard, please let me know if this happens again.
I sure will.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.