Help

FriendsFacts NSC

Unit Frames Login to Add Favorites
  • 2 Likes
  • World of Warcraft
  • 23,756 Downloads
  • Supports: 4.3
  • 5 Average Daily Downloads
  • Comments
  • Created 1/3/2007 1:10:50 PM
  • Updated 12/11/2011 8:29:02 AM
  • 331 Favorites
  • Project Site
  • License: MIT License
  • Release Type: Release
  • Newest File: 14
or

About FriendsFacts NSC

Friends Facts NSC (no Sea Cosmos)

Remember friends level and class and the last time you've seen them online after they've logged off and show then in your friends list.

Add back the Note to the friends list.

Please check the main page of FriendsFacts NSC here.

Version 14 * Updated for WoW 4.3.0

Version 13 * Updated for WoW 4.0.1

Version 12 * Show the Note in the friends list. Don't know why Blizzard removed that. * EventHandler() is now local

Version 11 * new implementation to support the completely changed 3.3.5 friends list

Comments

First Previous Page 1 of 4 Next Last
  • #55

    Thanks for updating.

  • #54
    Addon doesn't seem to work. -.- I had a friend log off and it did say 'last seen ' but a minute later it just switched to 'unknown' again. It also did not see level/class either.
  • #52
    Uploaded a fixed version (13). Should be available soon.

    Thanks to xilon and yClassColor (http://www.wowinterface.com/downloads/info15352-yClassColor.html).

    (Whenever FriendsFacts breaks, yClassColor breaks too and I can get some inspiration on how to fix it, there. :)
  • #53
    hehe, actually I got the inspiration/fix from yClassColor, too.
    So credit actually goes to them, completely.
  • #48
    Any chance that this addon will be updated for patch 4.x?
  • #49
    Got it working again.
    I changed
    -- Hook the FriendsList_Update handler
    hooksecurefunc(FriendsFrameFriendsScrollFrame, 'buttonFunc', FriendsFacts_FriendsFrame_SetButton)

    to

    -- Hook the FriendsList_Update handler
    hooksecurefunc('FriendsFrame_UpdateFriends', FriendsFacts_FriendsFrame_SetButton)

    and adjusted the hooked functions as follows (FriendsFacts.lua):

    -- function FriendsFacts_FriendsFrame_SetButton(button, index, firstButton)
    function FriendsFacts_FriendsFrame_SetButton()
    local noteColor = "|cfffde05c"
    local buttons = FriendsFrameFriendsScrollFrame.buttons
    local i

    for i = 1, #buttons do
    local button = buttons[i]

    if(button:IsShown()) then

    -- Add note to BNet button
    if ( button.buttonType == FRIENDS_BUTTON_TYPE_BNET ) then
    local presenceID, givenName, surname, toonName, toonID, client, isOnline, lastOnline, isAFK, isDND, messageText, noteText, isFriend, unknown = BNGetFriendInfo(button.id)

    if ( noteText ) then
    button.info:SetText(button.info:GetText().." "..noteColor.."("..noteText..")")
    end
    end

    -- We only do the "keep history" magic for WoW friends
    if ( button.buttonType ~= FRIENDS_BUTTON_TYPE_WOW ) then
    return
    end

    local name, level, class, area, connected, status, note = GetFriendInfo(button.id)

    if ( not name ) then
    -- friends list not yet loaded
    return
    end

    local n = nil
    if ( note ) then
    n = noteColor.."("..note..")"
    end

    if ( not FriendsFacts_Data[Realm][name] ) then
    FriendsFacts_Data[Realm][name] = {}
    end

    if ( connected ) then

    FriendsFacts_Data[Realm][name].level = level
    FriendsFacts_Data[Realm][name].class = class
    FriendsFacts_Data[Realm][name].area = area
    FriendsFacts_Data[Realm][name].lastSeen = format('%i', time())

    if ( n ) then
    button.info:SetText(button.info:GetText().." "..n)
    end
    else

    level = FriendsFacts_Data[Realm][name].level
    class = FriendsFacts_Data[Realm][name].class

    if ( class and level ) then
    local nameText = name..", "..format(FRIENDS_LEVEL_TEMPLATE, level, class)
    button.name:SetText(nameText)
    end

    local lastSeen = FriendsFacts_Data[Realm][name].lastSeen

    if ( lastSeen ) then
    local infoText = string.format("last seen %s ago", FriendsFrame_GetLastOnline(lastSeen))
    if ( n ) then
    button.info:SetText(infoText.." "..n)
    else
    button.info:SetText(infoText)
    end
    elseif ( n ) then
    button.info:SetText(n)
    end
    end

    end
    end -- for
    end
    ----------------------------------------------------------------
  • #50
    That doesn't work for me. It doesn't update while scrolling and often resets to the Blizzard view. Looks like they use more than one "update" function. Try it with more than 17 entries on the list and you should see what I mean.
  • #51
    You are right.
    We not only need to hook on 'FriendsFrame_UpdateFriends' but also on 'update', i. e.

    -------------------------------------------
    hooksecurefunc('FriendsFrame_UpdateFriends', FriendsFacts_FriendsFrame_UpdateFriends)
    hooksecurefunc(FriendsFrameFriendsScrollFrame, 'update', FriendsFacts_FriendsFrame_UpdateFriends)
    -------------------------------------------

    where FriendsFacts_FriendsFrame_UpdateFriends() is a functions that loops over all buttons and calls your FriendsFacts_FriendsFrame_SetButton(button) function.

    I've uploaded my version here

    http://my.curse.com/members/xlion/files/Patched Addons/FriendsFacts.zip.txt.aspx

    Cheers
    xlion
  • #46
    Hi...

    I have a problem that was introduced with v.12 but was ok with v.11.

    With v.12, when I log into the game, the initial state of my online friends is not shown correctly. They all appear offline. Their state will change accordingly if they log out and come back in.

    With v.11, the initial state of my friends is being shown correctly upon my login.

    Finally, I just noticed something that was not showing before, I have 2 friends that are showing as not being seen online for the past 41 YEARS... If I'm not mistaken, those friends just went into their first 7 days offline (they are both out for holidays)

    Thanks
  • #47
    These are not FriendFacts bugs, these are WoW bugs. Try disabling the add on and WoW will still report the friends offline since 41 years. :)

    FriendFacts does not change anything on the RealID friends output, it only reports how long you haven't seen normal friend list friends. These 41 years offline are RealID friends. I have some of them too. :)
  • #43
    Hi,

    I use v.12 and can`t see any notes at the friends list. I use the german client.

    Thx
  • #44
    Can you see your notes in the tooltip if you hoover over the char in the friend list?

    Can you try to set the note again? (Right click on char name and "set note")
  • #45
    Hi,

    ok it works.

    thx
  • #42
    Version 12 adds back the notes to the friends list.
  • #41
    Version 11 with support for the RealID patch will be available as soon as curse approves the file.

    Sorry for the delay.
  • To post a comment, please login or register a new account.
Learn how to disable ads
Learn how to disable ads
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster Addon Downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse.com Experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

Minecraft 3D Print Giveaway

Enter Now!