Download
(74Kb)
Download
Updated: 09-18-11 06:03 PM
Pictures
File Info
Updated:09-18-11 06:03 PM
Created:08-29-09 01:38 AM
Downloads:45,867
Favorites:199
MD5:

NeedToKnow - Updated!  Popular! (More than 5000 hits)

Version: 3.2.08
by: Kitjan [More]

As of NeedToKnow version 4.0.0, I am retiring this clone of the project. please go to the NeedToKnow project page to download or comment on this addon.


I apologize to people who used updaters to keep up with NTK who won't automatically follow up on this. I may replace this addon with a stub that just prints a message on the screen to get the addon from the new place.

3.2.08
- Fixed: blink didn't work with weapon imbues

3.2.06
- Updated combat log hander for 4.1 (targettarget bars). Also tried to make it a little more efficient
- fixed: "sum stacks from all casters" only worked for buffs
- Fixed problem with cooldowns sometimes not working after spec switch

3.2.05
- Added some sanity checks around weapon imbues. Should prevent the lua errors, though the corresponding bars won't work. It'll complain (a lot) in your chat window.
- Listening to ACTIVE_TALENT_GROUP_CHANGED as well as PLAYER_TALENT_UPDATE
- Listening to SPELL_UPDATE_COOLDOWN as well as ACTIONBAR_UPDATE_COOLDOWN
- Fixed: The code that was supposed to stop cooldown bars from disappearing was actually preventing it from detecting cooldown resets sometimes.

3.2.04
- Fixed refactoring bug in auto shot bars causing a lua error

3.2.03
- Trying again to get bar initialization to happen reliably

3.2.02
- Fixed: Cooldown bars initialized too soon, resulting in failure to find the item/spell

3.2.01
- Fixed: "Usable" bars caused massive lua errors and didn't work

3.2.0
- internal cooldown bars can now be told to reset to 0 based on the presence of another buff. (for example, eclipse resets Nature's Grace)
- Fairly massive restructuring to split up the monolithic Bar_AuraCheck function (Ticket 56)
- Fixed berserk tracking on multiple weapons. This never worked before, it turns out. (Ticket 84)
- Some changes for perf improvements
- Spell cooldown bars try a bit harder to figure out what you meant to watch. Before, Swipe would end up watching cat Swipe (same name as bear Swipe), which has no cooldown. Explosive Trap works now, too. (Ticket 85)
- A bar watching your pet will update when your pet changes
- Min scale reduced from 0.6 to 0.25

3.1.9
- Fix Lua error tracking certain DK spell cooldowns

3.1.8
- Fixes cooldown tracking in 4.0.1

3.1.7
- Maybe works with Cataclysm now?
- More robust rune vs spell cd detection for DKs (Ticket 72)
- Added support to the text override for a list of names, corresponding to the list of spells to watch for (Ticket 43)

3.1.6
- Can now turn off the display of stack count (Ticket 52)
- Can now override the name that is displayed (Ticket 43)

3.1.5
- Spell cooldowns for spells like Stealth will now start when the spell ends, instead of looping when the spell is cast
- The logic to hide a cooldown that was just the GCD has been improved. Spell cooldown timers will no longer disappear when they become GCD limited (if there was 1s left and you begin a 1.2s GCD, the bar would disappear before.) This logic has then been extended to cover DK rune cooldowns (if you had a spell which required runes, but the runes had a longer cooldown than the spell had remaining, the bar would display the cooldown for the runes.)

3.1.4
- Cyrillic fixes from kolod on curseforge (ticket 74)
- Groups can only be sized such that the bars are an integer number of pixels tall. Hopefully this will improve ticket 70
- Fixed non-deterministic texture ordering on the bars, which could put the visual cast time under the bar. (Ticket 73)

3.1.3
- Fixed a LUA error caused by 3.3.5 edit box changes when entering the name of the spell to watch

3.1.2
- Added zhCN & zhTW localization. Thanks, wowui.cn!
- Change tooltip anchor to above group
- Added new options panel: Appearance. Moved texture, font, bar spacing, bar padding, and background color options to it
- Changed lock/unlock button to config mode / play mode buttons
- Fixed a LUA error if the addon was loaded with totems out
- Replaced use of StatusBar widget with custom Texture management both because our bars have two textures and because Blizzard can't set their texture coordinates correctly any more. Fixes ticket 51
- Fixed a bug with the double-bar feature when resizing the group. This was done automatically for the main texture before, but not for the second. Now it's done for both, yay.
- Small memory optimization
- The second texture gets image and color updated the same time the primary one does, meaning it will update without a /reload
- Updating the bar appearance was being shortcut if the bar was currently blinking, so had to set the color twice.

3.1.1
- Fixed: Auto Shot CD reset on every spell cast, not just Auto Shot

3.1.0
- Fixed: All the numeric dialogs in the config menus were using the same help text.
- New option for buffs/debuffs: Show all stacks. Can be used to watch a category of spells (like HoTs), or to watch procs from Berserker
- Auto Shot now works as a spell cooldown
- Fixed bar texturing tiling instead of stretching in 3.3.3
- Fixed "infinite" duration buffs not correctly displaying
- Add new bar type: Usable. Designed with Victory Rush in mind.

3.0.3
- Watching the offhand enchant would display the name of the mainhand enchant, which could cause a lua error if there was no mainhand enchant
- Reverted a partial import/export feature that snuck in

3.0.2
- Fixed a bug with blink. It defaults to 0.5 alpha and disabled, by the legacy loading code saw the 0.5 and figured it should enable blink. Worked great if you still had old settings, but starting from scratch was a bit of disaster. Sorry new users!

3.0.1
- Fixed a bug with the "Unit" setting from a buff or debuff bar causing other bar types (like spell cooldown)
- Removed the display of charges from buff cooldown bars. Easy enough to put back if people miss it, but it surprised me.
- Fixed a small pef bug: every bar was doing one extra loop checking for the presence of the buff ""
- If the internal buff cooldown was shorter than the duration of the buff, the bar wouldn't disappear (and the spark would go negative)

3.0.0
- Created a "Settings" submenu whose contents depends on the BuffOrDebuff variable. This should allow for more bar types without confusing the menu too much.
- Added new bar type: "internal cooldown" for proc cooldown timers
- Added new bar type: "spell cooldown" for tracking spell and item cooldown timers
- Fixed: Temporary weapon enchants now use a substring search. "Poison" will pick up all rogue poisons. This also fixed a lua error that could occur when watching weapon buffs
- Added: Can show an asterisk when the bar is tracking a spell cast by the player
- Improved: Added a blink enable besides just setting the alpha to 0. The alpha thing confused too many people
- Added more blink options: only in combat, only if boss, and a label for blinking bars

2.8.6
- Improved: Blinking bars try to be a little smarter about when to blink and when to just be hidden. Especially the case of debuff bars blinking when no target.
- Improved: Weapon imbue names now capture (I hope) the full name from the tooltip to compare against. The name to watch for (in the NTK config) is then regarded as a substring search. So you could configure NTK to watch for Poison to catch all poisons.

2.8.5
- Added: Option to show a spell icon to the left of active bars
- Added: Option to change the font used on NeedToKnow bars (in the interface options dialog)

2.8.4
- Added: Option to show certain bar elements: aura name, time remaining, and the "spark" (ticket 8)
- Added: Option to blink the bar when it would otherwise be missing (ticket 7)
- Fixed: Weapon imbue bars disappear on teleport (ticket 9)
- Fixed: Spark incorrectly visible on weapon imbues (ticket 6)

2.8.3
- Fixed some problems upgrading from older versions of NeedToKnow (ticket 5)

2.8.2
- Beta Support for temporary weapon enchants. Only tested with elemental and restoration shaman (not enhancement or rogues.)

2.8.1
- Fixed: Watching totem by spellid did not work
- Fixed: Logging in when the character was in the second spec would use the first spec's setting

2.8.0
- Added the ability to track increases in spell duration, especially useful for dps druids
- Marked as being a 3.3 addon
- Fixed: Took advantage of a new 3.3 API to get the spell id of active buffs and debuffs. Bars that check spellid should be much more reliable and, for example, be able to tell the difference between the two different Death's Verdict procs
- Fixed: Totem timing is much more accurate
- Fixed: Visual cast times now updates based on changes in haste and other casting-time-affecting abilities
- Refactored the internal structure a bit, which results in easier hooking by other addons

2.7.1
- Fixed: Accidentally removed the background color picker

2.7.0
- Added options for how the time text is formatted. The current style is the default, with mm:ss and ss.t as other options
- Added "visual cast time" overlay which can be used to tell when there's less than some critical amount of time left on an aura
- Hid the spark when the aura lasts longer than the bar (either an infinite duration, or using the Max duration feature.)
- Hid the time text when the aura has an infinite duration

2.6.0
- Added support for a new "Buff or Debuff" type: Totem. Type in the name of the totem to watch for (can be a partial string.)
- Fixed a parse error in the DE localization
- Slightly improved performance of "target of target"
- Added two new /ntk options: show and hide. They can be used to temporarily show and hide the ntk groups.

2.5.2
-Changed event parsing to try to be more robust (see autobot's errors)

2.5.1
-Trying a different strategy for identifying "only cast by me" spells
-When editing the watched auras, the edit field starts with the current value
-Configuring by SpellID is automatically detected and does not need a menu item checked

2.5
-Fixed ToT issue
-Added support for SpellID

2.4.3
-Added SharedMedia support, uses LibSharedMedia-3.0
-Greatly improved performance

2.4.2
-Fixed a bug with the multiple buffs per line
-Fixed a small bug with resize button showing
-Optimized performance slightly

2.4.1

-Fixed character restriction on buff names, no accepts up to 255 characters.
-Added Russian localization

2.4

-Brought up to 3.2 API standards
-Added multiple buffs/debuffs per bar
-Dual-Specialization support
Optional Files (1)
File Name
Version
Size
Author
Date
Type
2.0
5kB
11-21-11 07:33 PM
Addon


Post A Reply Comment Options
Unread 01-04-11, 07:41 PM  
Kitjan
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 186
Uploads: 4
Re: NeedToKnow - Hunter's Mark

Originally posted by Tass
(and "Sum stack from all casters")
Hmm, maybe a bug with sum stacks? Try removing that and see if it works. (Does hunters mark actually stack? If not, then enabling that option is just having the addon do unnecessary work.)
Report comment to moderator  
Reply With Quote
Unread 01-03-11, 01:57 PM  
Tass
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
NeedToKnow - Hunter's Mark

Hi, I have a little problem with debuffs on this addon.

I have no problems before 4.0.1, Now i can's set any debuff unit to monitor by target or player. I don't see Hunter's Mark debuff ("unit to monitor" target and "Sum stack from all casters")

I was set any debuffs from boss encounter and didn't se anything.

Any1 know how i have to set it? what is wrong?

3.2.04 ver
Report comment to moderator  
Reply With Quote
Unread 01-02-11, 12:35 AM  
Lemons224
A Defias Bandit

Forum posts: 2
File comments: 18
Uploads: 0
Originally posted by Kitjan
I'd thought about the combat filter before (Ticket 22), and the combat one does seem like that would pretty much cover it. Interesting use case, though. My NTK time is currently dedicated to getting profile support done, but after that this is a good small feature to slip in.
Awesome. Thanks for the reply, and I appreciate all the work you put into ntk.
Report comment to moderator  
Reply With Quote
Unread 01-01-11, 12:42 AM  
Kitjan
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 186
Uploads: 4
Originally posted by Lemons224
Is there a way to hide a NeedToKnow bar when out of combat or when in stealth? I use ntk for my Overkill buff but when I'm in stealth it's on all the time. It's kind of annoying and I was wondering if there was a way to make it only show when I'm out of stealth and the buff is fading (basically, when it matters). Thanks.
I'd thought about the combat filter before (Ticket 22), and the combat one does seem like that would pretty much cover it. Interesting use case, though. My NTK time is currently dedicated to getting profile support done, but after that this is a good small feature to slip in.
Report comment to moderator  
Reply With Quote
Unread 12-29-10, 11:16 PM  
Lemons224
A Defias Bandit

Forum posts: 2
File comments: 18
Uploads: 0
Is there a way to hide a NeedToKnow bar when out of combat or when in stealth? I use ntk for my Overkill buff but when I'm in stealth it's on all the time. It's kind of annoying and I was wondering if there was a way to make it only show when I'm out of stealth and the buff is fading (basically, when it matters). Thanks.
Report comment to moderator  
Reply With Quote
Unread 12-25-10, 05:03 PM  
wacko1
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 48
File comments: 37
Uploads: 1
kk thx for reply
Report comment to moderator  
Reply With Quote
Unread 12-25-10, 01:44 AM  
Kitjan
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 186
Uploads: 4
Re: dont know how ;_)

Originally posted by wacko1
and thats where it goes wrong , i get my retri settings on my prot spec and visa versa

is there a simple way to change this , maybe in de savedvariables ?

thx [/b]
Heh You did great so far If you open the lua file that you copied in a text editor, you'll see a line like
["Spec"] = {
From that { to the matching close
}, -- [1]
is your first spec. Matching those braces can be a pain, but there is something that can help. Look for "Groups". That's near the start of each spec. As for the end, search up for }, -- [2]

Swap the order of those two blocks of lua and you'll swap the data for the two specs. I suggest backing up the file first
Report comment to moderator  
Reply With Quote
Unread 12-21-10, 05:47 PM  
wacko1
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 48
File comments: 37
Uploads: 1
dont know how ;_)

i have 2 pallies , 1 main 1 alt

now i want to use the same settings on my alt like my main is setup.

so i copied the ntk lua from my mains savedvariables folder to my alt

everything is working fine only ran into 1 problem

pally 1 is retri/prot pally 2 is prot/retri

and thats where it goes wrong , i get my retri settings on my prot spec and visa versa

is there a simple way to change this , maybe in de savedvariables ?

thx
Report comment to moderator  
Reply With Quote
Unread 12-04-10, 05:38 PM  
Kitjan
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 186
Uploads: 4
Re: Mainhand Imbue Error

Originally posted by reale
It used to work fine a few versions ago, the only thing that I've added is the GearScore addon and the PvP weapon itself.
I'm not able to find anything likely or reproduce the problem. Maybe try disabling the GearScore addon?
Report comment to moderator  
Reply With Quote
Unread 12-03-10, 03:48 AM  
reale
A Kobold Labourer

Forum posts: 1
File comments: 164
Uploads: 0
Re: Re: Mainhand Imbue Error

Originally posted by Kitjan
Thank you for the report! Looks like NTK couldn't figure out what enchant was on your weapon, so it got in an unexpected state where present == true but name == nil. I can protect against the lua error, but your bar still wouldn't work.

What item are your enchanting? Try this: send yourself a tell and link your weapon. Compare the tooltip of your weapon (with Earthliving) with the tooltip in your tell. That's what NTK does; it looks for a green line that appears in one but not the other, then removes any duration that might be there, like
Earthliving (30 min)

Can you see any reason that wouldn't work? Do you have some other addon that changes your tooltips?
I whispered myself and the weapon shows no imbue, here's a SS of the linked weapon next to the buff frame mouseover:



It used to work fine a few versions ago, the only thing that I've added is the GearScore addon and the PvP weapon itself.
Report comment to moderator  
Reply With Quote
Unread 12-02-10, 11:29 PM  
Kitjan
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 186
Uploads: 4
Re: Mainhand Imbue Error

Originally posted by reale
With Earthliving on Mainhand:
Thank you for the report! Looks like NTK couldn't figure out what enchant was on your weapon, so it got in an unexpected state where present == true but name == nil. I can protect against the lua error, but your bar still wouldn't work.

What item are your enchanting? Try this: send yourself a tell and link your weapon. Compare the tooltip of your weapon (with Earthliving) with the tooltip in your tell. That's what NTK does; it looks for a green line that appears in one but not the other, then removes any duration that might be there, like
Earthliving (30 min)

Can you see any reason that wouldn't work? Do you have some other addon that changes your tooltips?
Last edited by Kitjan : 12-02-10 at 11:32 PM.
Report comment to moderator  
Reply With Quote
Unread 12-02-10, 09:15 PM  
reale
A Kobold Labourer

Forum posts: 1
File comments: 164
Uploads: 0
Mainhand Imbue Error

With Earthliving on Mainhand:

Message: Interface\AddOns\NeedToKnow\NeedToKnow.lua:1354: attempt to index field 'name' (a nil value)
Time: 12/02/10 19:14:42
Count: 3
Stack: Interface\AddOns\NeedToKnow\NeedToKnow.lua:1354: in function `fnCheck'
Interface\AddOns\NeedToKnow\NeedToKnow.lua:1608: in function `Bar_AuraCheck'
Interface\AddOns\NeedToKnow\NeedToKnow.lua:662: in function `Bar_Update'
Interface\AddOns\NeedToKnow\NeedToKnow.lua:440: in function `Group_Update'
Interface\AddOns\NeedToKnow\NeedToKnow.lua:390: in function `Update'
Interface\AddOns\NeedToKnow\NeedToKnow_Options.lua:29: in function `LockToggle'
Interface\AddOns\NeedToKnow\NeedToKnow_Options.lua:16: in function `?'
Interface\FrameXML\ChatFrame.lua:4126: in function `ChatEdit_ParseText'
Interface\FrameXML\ChatFrame.lua:3737: in function `ChatEdit_SendText'
Interface\FrameXML\ChatFrame.lua:3775: in function `ChatEdit_OnEnterPressed'
[string "*:OnEnterPressed"]:1: in function <[string "*:OnEnterPressed"]:1>

Locals: bar = NeedToKnow_Group1Bar4 {
0 = <userdata>
auraName = "Earthliving"
unit = "mhand"
cd_functions = <table> {
}
settings = <table> {
}
max_value = 1
icon = NeedToKnow_Group1Bar4Icon {
}
spark = NeedToKnow_Group1Bar4Spark {
}
bar1 = NeedToKnow_Group1Bar4Texture {
}
text = NeedToKnow_Group1Bar4Text {
}
nextUpdate = 94795.009
blink = false
time = NeedToKnow_Group1Bar4Time {
}
fnCheck = <function> defined @Interface\AddOns\NeedToKnow\NeedToKnow.lua:1352
spells = <table> {
}
spell_names = <table> {
}
}
idxName = 1
barSpell = "Earthliving"
isSpellID = false
data = <table> {
expiration = 94510.99
charges = 0
present = 1
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'name' (a nil value)"
Report comment to moderator  
Reply With Quote
Unread 11-27-10, 11:20 PM  
Ross
A Theradrim Guardian
AddOn Author - Click to view AddOns

Forum posts: 67
File comments: 136
Uploads: 1
all errors gone, thanks for the quick fix
Report comment to moderator  
Reply With Quote
Unread 11-27-10, 02:33 AM  
Kitjan
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 186
Uploads: 4
3.2.04 should fix AutoShot

Ok Ross, 3.2.04 is up and AutoShot should again be free from Lua errors.

I want to apologize to everyone for the number of releases 3.2 has needed to stabilize so far. I really appreciate people sticking with it and reporting the problems they have.
Report comment to moderator  
Reply With Quote
Unread 11-27-10, 01:15 AM  
Kitjan
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 186
Uploads: 4
Also I have a bar for Autoshot CD and it stays up on my screen and doesn't work anymore.
Aha! There's the bar type I didn't test this release, hehe. Thank you for the report, I'll get a fix uploaded asap.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: