A Data Broker plugin for displaying memory usage, also has a tooltip for per addon usage.
You can limit the number of addons displayed in the tooltip with
/script SB_MEM_KILL = number
Works with any Data Broker display addon.
- 2 comments
- 2 comments
Facts
- Date created
- 18 Aug 2008
- Category
- Last update
- 15 Apr 2009
- Development stage
- Release
- Language
- deDE
- enUS
- esES
- esMX
- frFR
- koKR
- ruRU
- zhCN
- zhTW
- License
- All Rights Reserved
- Curse link
- StatBlock_Memory
- Recent files
- R: v2.1.2 for 3.1.0 on 15 Apr 2009
- A: r31 for 3.1.0 on 15 Apr 2009
- R: v2.1.1 for 3.0.2 on 15 Oct 2008
- A: r29 for 3.0.2 on 14 Oct 2008
- B: StatBlock_Memory-r80615 for 2.4.3 on 18 Aug 2008
Authors
Relationships
- Embedded library
- Ace3
- #2
merah Sun, 08 Feb 2009 13:14:51Funky note that you should add the type = "data source" field to your ldb object else it will fail to load on various display plugins, tekkub stated its required on wiki.
- #1
Paul2200 Thu, 27 Nov 2008 04:55:21I added a little bit of code to be able to sort the list by Name (Ascending and Descending). In StatBlock_Memory.lua:
1. Add the following two functions under mySort:
<<code>>local function mySort(x,y) return x.mem > y.mem endlocal function mySortName(x,y)
Vux return x.addon < y.addon endlocal function mySortNameDescending(x,y)
Vux return x.addon > y.addon end<</code>>-----2. And in function Mem.obj.OnTooltipShow(tooltip):
<<code>>table.sort(memTbl, mySort)Comment this outif( IsShiftKeyDown() ) then
Vux table.sort(memTbl, mySortName) elseif ( IsControlKeyDown() ) then table.sort(memTbl, mySortNameDescending) else table.sort(memTbl, mySort) end<</code>>------ Hold Shift and then mouseover the icon and the tooltip will be name sorted in alphabetical order.
- Hold Control and the tooltip will be sorted in backwards alphabetical order.
- And of course, don't hold either button and it's sorted by total memory usage (as normal) :)
Any chance you might be able to add this to the next version?
Anyway, just thought there might be others out there who might have wanted this feature as well :)
- Vux of US-Dragonblight