Addon Information
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
Author:
Version:
2.2
Date:
05-10-2009 09:31 PM
Size:
45.32 Kb
Downloads:
26,223
Favorites:
386
MD5:
Pictures
Click to enlarge
NeedToKnow in use
NeedToKnow   Popular! (More than 5000 hits)
NeedToKnow allows you to monitor specific buffs and debuffs of your choosing as timer bars that always appear in a consistent place on your screen in a consistent color. It's especially useful for monitoring frequently used short-duration buffs and debuffs. For example, a rogue could configure NeedToKnow to show timer bars for Slice and Dice, Rupture, and their own stack of Deadly Poison VII. A death knight could use it to track their own diseases on a mob. NeedToKnow also works with procs and on-use trinkets. The number, size, position, and appearance of timer bars are all customizable.


New in latest version (2.2)

- Added option to show bars with a fixed maximum duration
- Fixed an issue with targetoftarget
- Added koKR and deDE localization


Instructions

General options are available in the Blizzard interface options menu. You can type "/needtoknow" or "/ntk" to lock/unlock the addon. To configure individual bars, right click them while unlocked. Bars work while locked.

When entering your settings, be careful with your spelling and capitalization. Also remember that buffs and debuffs sometimes have different names than the items and abilities that apply them. The Death Knight ability Icy Touch, for example, applies a DoT called Frost Fever.


To do list

Add support for tracking multiple (de)buffs with a single bar. Add options to customize text display.


Note

The reminder icons from previous versions of NeedToKnow have been greatly expanded in functionality and split off into their own addon: TellMeWhen
  Change Log - NeedToKnow
Version 2.2
- Added option to show bars with a fixed maximum duration
- Fixed an issue with targetoftarget
- Added koKR localization. Thanks, metalchoir!
- Added deDE localization. Thanks, sp00n & Fxfighter!

Version 2.1
- Updated for WoW 3.1
- Can now track spells cast by player's pet or vehicle
- Can now track buffs/debuffs on player's vehicle
- Added options for background color, bar spacing, bar padding, bar opacity
- Fixed a problem with buff charges not showing as consumed

Version 2.0.1
- Updated for WoW 3.0
- Can now track (de)buffs applied by others
- Added option to only show buffs/debuffs if applied by self

Version 2.0
- Added support for monitoring debuffs
- Added support for variable numbers of bars
- Added support for separate groups of bars
- Added support for monitoring buffs/debuffs on target, focus, pet, or target of target
- Bars are now click-through while locked
- Reminder icons have been been greatly expanded in functionality and split off into their own addon: TellMeWhen
- Cleaner bar graphics
- Users of older versions will need to re-enter settings

Version 1.2
- Updated for WoW 2.4 API changes

Version 1.1.1
- Icons should now work properly with item cooldowns.
- Reset button should now work properly when you first use the AddOn.

Version 1.1
- Icons will now show when reactive abilities (Riposte, Execute, etc.) are available.
- Added options for bar color and texture.
- Added graphical user interface. Most slash commands gone.
- Added localization support. Translations would be much appreciated.
- Users of older version will need to re-enter settings.

Version 1.0
- Hello world!
  Archived Versions - NeedToKnow
File Name
Version
Size
Author
Date
2.1
76kB
lieandswell
04-28-2009 10:44 PM
2.0.1
70kB
lieandswell
10-18-2008 09:53 AM
  Comments - NeedToKnow
Post A Reply Comment Options
Old 04-21-2009, 06:45 PM  
Selina
A Murloc Raider
Interface Author - Click to view interfaces

Forum posts: 4
File comments: 8
Uploads: 2
Quote:
Originally posted by nToxik
So can someone post a final replacement of text? I am not sure from Mud's post below on what to finally replace from the original .lau
I've updated my post with the changes that Mud has suggested. If you want you could just download the finished update though, as I've uploaded an bugfixed version of NeedToKnow to this site.
Selina is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-20-2009, 06:53 PM  
nToxik
A Kobold Labourer

Forum posts: 1
File comments: 23
Uploads: 0
So can someone post a final replacement of text? I am not sure from Mud's post below on what to finally replace from the original .lau

Last edited by nToxik : 04-21-2009 at 06:12 PM.
nToxik is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-20-2009, 10:23 AM  
Selina
A Murloc Raider
Interface Author - Click to view interfaces

Forum posts: 4
File comments: 8
Uploads: 2
Quote:
Originally posted by Mud
This is the right idea, but a poor implementation, because you're creating up to 40 identical tables every time this function is called, and it's called a lot. No reason to generate all that garbage. Just move that table out of the function entirely, so it's created once and only once when the UI is loaded:
You are absolutely right. I obviously didn't think straight when I put that piece of code into that for-loop. Thank you for the correction.

For those of you who can't update .lua files on their own I've uploaded on update here.

Last edited by Selina : 04-20-2009 at 02:44 PM.
Selina is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-20-2009, 08:20 AM  
Mud
A Murloc Raider
Interface Author - Click to view interfaces

Forum posts: 8
File comments: 23
Uploads: 7
Quote:
Originally posted by Selina
Code:
function NeedToKnow.Bar_AuraCheck(bar)
   [...]
   for buffIndex = 1, 40 do
      [...]
      local my_units = 
      {
         player = true,
         pet = true,
         vehicle = true,
      }
This is the right idea, but a poor implementation, because you're creating up to 40 identical tables every time this function is called, and it's called a lot. No reason to generate all that garbage. Just move that table out of the function entirely, so it's created once and only once when the UI is loaded:

Code:
local my_units = {
   player = true,
   pet = true,
   vehicle = true,
}

function NeedToKnow.Bar_AuraCheck(bar)
   [...]
   for buffIndex = 1, 40 do
      [...]
Mud is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-18-2009, 05:20 AM  
thebadmf
is in disguise
 
thebadmf's Avatar

Forum posts: 5
File comments: 87
Uploads: 0
Quote:
Originally posted by esoxlucius
I cant work with .lua aswell. And tbh i am a complete noob with things like add ons. An updated version would be really appreciated since this is an awesome add on
Go to your needtoknow folder and open Needtoknow.lua in notepad or PFE (google it) and make a copy of it before you start (just in case).

Use the search facility to locate NeedToKnow.Bar_AuraCheck(bar). It should look the same as the first line of code Selina posted. The end of the function is a bunch of nested ends.

Copy all of the text in Selina's code box and replace that section of code. Save the file and you're done.
Selina, thank you!

Last edited by thebadmf : 04-18-2009 at 05:25 AM.
thebadmf is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-18-2009, 03:13 AM  
Opaque
A Deviate Faerie Dragon
 
Opaque's Avatar

Forum posts: 16
File comments: 52
Uploads: 0
This is SUCH a well done mod... please update it ASAP!!!
__________________
Opaque is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-17-2009, 07:07 AM  
esoxlucius
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
I cant work with .lua aswell. And tbh i am a complete noob with things like add ons. An updated version would be really appreciated since this is an awesome add on
esoxlucius is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-16-2009, 04:02 AM  
dorian24h
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Since 3.1. The option of showing buffs only applied by me doesn't work. Chance to a quick update for those of us who don't know how to work with .lua files? Thank you
dorian24h is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-16-2009, 02:50 AM  
level12wizard
A Defias Bandit
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 38
Uploads: 1
Quote:
Originally posted by handiman
do we need both fixes or just sels?
Selina's fix replaces mine completely. It's the same concept, but done properly. Edited mine out to avoid confusion.
level12wizard is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-15-2009, 08:22 PM  
handiman
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
do we need both fixes or just sels?
handiman is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-15-2009, 06:04 PM  
level12wizard
A Defias Bandit
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 38
Uploads: 1
Thanks for posting that Selina. Mine is indeed a bit buggy (The main thing I noticed was it giving debuffs from group members as if they were mine), but that looks to fix everything.
level12wizard is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-15-2009, 05:38 PM  
Selina
A Murloc Raider
Interface Author - Click to view interfaces

Forum posts: 4
File comments: 8
Uploads: 2
Quote:
Originally posted by level12wizard
For a quick fix, change this line near the bottom in the base "NeedToKnow.lua" file
Unfortunately it doesn't work quite that way. Replace the NeedToKnow.Bar_AuraCheck(bar) function with the following and everything should be fine again.

Code:
local my_units = 
{
	player = true,
	pet = true,
	vehicle = true,
}

function NeedToKnow.Bar_AuraCheck(bar)
	-- DEFAULT_CHAT_FRAME:AddMessage( "Test2: " .. spellName , 1 , 0.1 , 0.1 , 1 );
	if ( UnitName(bar.unit) ) then

		local buffName, count, duration, expirationTime, caster;
		local isMine;
		
		for buffIndex = 1, 40 do
			if ( bar.buffOrDebuff == "HELPFUL" ) then
				buffName, _, _, count, _, duration, expirationTime, caster = UnitBuff(bar.unit, buffIndex);
			else
				buffName, _, _, count, _, duration, expirationTime, caster = UnitDebuff(bar.unit, buffIndex);
			end
			
			isMine = my_units[caster]
			
			if ( not buffName ) then
				bar:Hide();
				return;
			elseif ( buffName == bar.auraName ) and ( (isMine and bar.onlyMine) or (not bar.onlyMine) ) then
				bar.duration = duration;
				bar.timeLeft = expirationTime - GetTime();
				bar:SetMinMaxValues(0, duration);
				bar:SetValue(bar.timeLeft);
				getglobal(bar:GetName().."Spark"):SetPoint("CENTER", bar, "LEFT", bar:GetWidth()*bar.timeLeft/bar.duration, 0);
				local text = getglobal(bar:GetName().."Text");
				if ( count > 1 ) then
					text:SetText(bar.auraName.."  ["..count.."]");
				else
					text:SetText(bar.auraName);
				end
				bar:Show();
				return;
			end
		end
		bar:Hide();		-- move along.  these aren't the buffs you're looking for.  
	else
		bar:Hide();
	end
end
Edit:
Edited the code to reflect the proposed change by Mud. This should resolve the performance issues that he has brought up.

Last edited by Selina : 04-21-2009 at 06:43 PM.
Selina is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-09-2009, 01:11 PM  
Elite_Gamer04
A Kobold Labourer

Forum posts: 0
File comments: 31
Uploads: 0
I would ABSOLUTLEY LOVE to see an option for 'bar growth' - at the momment my UI begins to look strange when there are just 'floating' bars when say the middle of 3 positioned bars is not active.

I would love to see the bars be able to 'grow' out of an anchor point, or Bar1 itself, so you can have one centralized area where all/some of the bars you want appear inside of have bars randomly scattered.

THANKS!
Elite_Gamer04 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-05-2009, 10:07 PM  
handiman
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
ty wiz
handiman is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-03-2009, 04:22 AM  
level12wizard
A Defias Bandit
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 38
Uploads: 1
invalid, see above

Last edited by level12wizard : 04-16-2009 at 02:48 AM.
level12wizard is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.