Download
(177Kb)
Download
Updated: 02-25-11 11:32 AM
Pictures
File Info
Updated:02-25-11 11:32 AM
Created:07-12-10 06:14 PM
Downloads:6,035
Favorites:6
MD5:

knUI  Popular! (More than 5000 hits)

Version: 2.0.1
by: kneeki [More]

knUI


Disclaimer: This addon is based heavily from the origional conception by nightcracker and his addon, ncUI. However, 95% of the code in knUI is done by me. As a project to help learn the wonderful world of Lua better.

! Commands List: !
/randompet
/ee (use this in macros to enable sound effects)
/de (use this in macros to disable sound effects)
/ss while in battlegrounds, will display the current server count

! Instillation instructions: !
I strongly recommend the following addons in addition to knUI:
Extract the .zip file to your Addons directory. To configure, open 'config.lua' in your favorite text editor.


! Read this: !
knUI was designed using two different monitor types - 1680x1050 and 1920x1200 - but should scale without any problems to any size. This addon is a mix of those all-in-one and something that's nice to look at while keeping the total UI usage down. This addon will do the following, in the background:
  • Auto sell grey items
  • Make the Battleground scoreboard easier to read
  • Quickly delete items on your cursor by using SHIFT & ALT together
  • Alert you if you need to use your healthstone
  • Audible alert if you recieve a whisper, or your name is spoken in any channel
  • Display important stats at the bottom of the screen, and under the mini map.

! Important: !
This AddOn will not automagically position your Bartender (or whatever bar mod you prefer) buttons, nor will it position your chat/player/target/party frames.

14Feb2010: 1.9.8: Made quite a few changes to many different scripts. Still working on what I'm going to do with the Minimap text which is too long to fit in the box. Likely going to take the same route Caellian did with oUF. Added MouseOverDebuff, showing most all CC's to mouse over targets.

27Jan2010: 1.9.7: I now have 3 different checks for that random nil Blizzard seems to sporadically place at the end of zone text information. Hopefully that's enough!

26Jan2010: 1.9.6: Fixed the map bug for good this time.... (i hope)

26Jan2010: 1.9.5: Fixed the "nil" error with minimap text, added Mage & Hunter bloodlust's in Important Stuff.

25Jan2010: 1.9.4: Fixed the ChatFrame editbox positioning issue. updated some minimap positions and added some short naming on the zone names. Also commented out quite a few 'Important Stuff' script popups, as they seemed a little redunant.

3Nov2010: 1.9.3: Fixed the issue with horde not displaying under scoreboard summary.

30Oct2010: 1.9.2: Fixed the battleground summary board. Sorry, I don't pvp very often. =p

27Oct2010: 1.9.1: Fixed Tooltip issue.

27Oct2010: 1.9: Lots of changes to nearly all scripts. Huge overhaul of the config.lua file as well. Should be much easier to assign anchor points and adjust window positioning.

16Oct2010: 1.8: Updated the 'Important Stuff' script, as it still has some use. Removed Armor Pen from the list of visible stats for all classes.

10Oct2010: 1.7: Fixed the auto sell icon size, updated melee haste ID to 18 (from 20).

30Sept2010: 1.6: I've added a minimap zone text just above the minimap frame. I've not yet had the chance to test this on Cata servers as they are down, but seems to work fine on Live.

28Sept2010: 1.5: Okay now, seriously. This is the last time I try to upload the change so BNET whispers trigger paranoia sounds.... -.-

28Sept2010: 1.4: Fixed the issue which was causing a lockup when joining a party/entering instance. (i hope!)

25Sept2010: 1.3: Fixed a few bugs with the frames displaying during cut-scenes. Also updated the Frame/Chat positioning a bit so it's more consistent. The Addon no longer auto places the 'loot' window until I get that a bit more figured out. Also added oUF_Caellien frame positioning so once the Addon is installed, positioning is handled automagically.

08Sept2010: 1.2: Fixed numerous issues with Chat Windows, added many size & positioning options to the config.lua. Updated some legacy code (no longer using arg1 for example). Paranoia also works now, converted the .wav to an .mp3, so PlaySoundFile() works with it. A few other things I can't remember...

07Sept2010: 1.1: Fixed the auto-sell grey items script, removed the other addons I included in the initial release.

05Sept2010: 1.0: Initial release
Optional Files (0)


Post A Reply Comment Options
Unread 09-23-11, 03:22 PM  
demodavzi
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
i cant get it to work:(

How do i install it??
Report comment to moderator  
Reply With Quote
Unread 10-28-10, 04:44 PM  
Sethie
A Kobold Labourer
 
Sethie's Avatar

Forum posts: 0
File comments: 13
Uploads: 0
Have Bauderrorframes / Cerror installed :3
Report comment to moderator  
Reply With Quote
Unread 10-28-10, 09:01 AM  
kneeki
A Flamescale Wyrmkin
 
kneeki's Avatar
AddOn Author - Click to view AddOns

Forum posts: 134
File comments: 144
Uploads: 5
Originally posted by Sethie
I only edited the Tooltip one and that seemed to fix it for me
Do you have "Display Lua errors" disabled? If so, that would be why. Doing what you did would result in an error thrown, and not loading that portion. Since it was being loaded from a different area, it would still appear to work. =)
Report comment to moderator  
Reply With Quote
Unread 10-28-10, 03:38 AM  
Sethie
A Kobold Labourer
 
Sethie's Avatar

Forum posts: 0
File comments: 13
Uploads: 0
I only edited the Tooltip one and that seemed to fix it for me
Report comment to moderator  
Reply With Quote
Unread 10-27-10, 08:39 PM  
kneeki
A Flamescale Wyrmkin
 
kneeki's Avatar
AddOn Author - Click to view AddOns

Forum posts: 134
File comments: 144
Uploads: 5
The problem seemed to be my forgetfulness. I had the code twice, once in tooltip.lua and once in core.lua -.-
Report comment to moderator  
Reply With Quote
Unread 10-27-10, 04:38 PM  
Sethie
A Kobold Labourer
 
Sethie's Avatar

Forum posts: 0
File comments: 13
Uploads: 0
just posting a bug I found and a quick fix. in the tooltip.lua in scripts folder

Code:
GameTooltip:AddLine("Target:|cffffffff "..name)
shows when you hover over someone not one target text but two, it can be fixed by changing the amount of . infront of name so

Code:
GameTooltip:AddLine("Target:|cffffffff ".name)
Report comment to moderator  
Reply With Quote
Unread 10-27-10, 10:57 AM  
Sethie
A Kobold Labourer
 
Sethie's Avatar

Forum posts: 0
File comments: 13
Uploads: 0
Only a few minor bugs really but it is a really simple UI to use thanks for the hard work and appreciate the swifty reply, looking forward to the update
Report comment to moderator  
Reply With Quote
Unread 10-27-10, 10:50 AM  
kneeki
A Flamescale Wyrmkin
 
kneeki's Avatar
AddOn Author - Click to view AddOns

Forum posts: 134
File comments: 144
Uploads: 5
Originally posted by Sethie
Hey again, in the Core.lua file theres a line

" ChatBox_height = "168", -- uses same width as infoLeft "

is there anyway to make it so you can define the ChatBox_Width yourself ?

I cant seem to figure out how i would implement this

edit)

Im trying to keep the Left box the same size but change the chatbox width so i can place Omen inside of the box without chat going all over it, and I cant seem to change the opacity either just sets it'self back to 50% if i try edit it.

would appreciate any help
Today I'll be uploading an update which has some huge changes to the config file as well as the way I'm creating the boxes. What you are trying to do will be easy once you download it. =)

Sorry about how 'closed' the current release version is by the way. I did a lot of it without the intention that I would be changing it in the future. Looking back, it made a lot more work for me.
Report comment to moderator  
Reply With Quote
Unread 10-26-10, 05:16 AM  
Sethie
A Kobold Labourer
 
Sethie's Avatar

Forum posts: 0
File comments: 13
Uploads: 0
Hey again, in the Core.lua file theres a line

" ChatBox_height = "168", -- uses same width as infoLeft "

is there anyway to make it so you can define the ChatBox_Width yourself ?

I cant seem to figure out how i would implement this

edit)

Im trying to keep the Left box the same size but change the chatbox width so i can place Omen inside of the box without chat going all over it, and I cant seem to change the opacity either just sets it'self back to 50% if i try edit it.

would appreciate any help
Last edited by Sethie : 10-26-10 at 06:41 AM.
Report comment to moderator  
Reply With Quote
Unread 10-21-10, 08:02 PM  
kneeki
A Flamescale Wyrmkin
 
kneeki's Avatar
AddOn Author - Click to view AddOns

Forum posts: 134
File comments: 144
Uploads: 5
The addon itself doesn't adjust the chat frame messages anymore.
Report comment to moderator  
Reply With Quote
Unread 10-18-10, 12:29 PM  
Sethie
A Kobold Labourer
 
Sethie's Avatar

Forum posts: 0
File comments: 13
Uploads: 0
Hey there, I'am using the default chat window and I'am trying to setup the Settings Tab for channels under Other where you can show Item Loot Money Loot etc and if I tick Item loot and reload the UI, log off or do anything involving a loading screen the settings disappear is there anyway I can turn them on and keep them on?

I tried checking some Lua files but I cant seem to find anything relating Chat Filtering

Thanks in advance

Found it in the Core.lua file thanks anyway ^^
Last edited by Sethie : 10-18-10 at 12:47 PM.
Report comment to moderator  
Reply With Quote
Unread 10-17-10, 01:02 PM  
kneeki
A Flamescale Wyrmkin
 
kneeki's Avatar
AddOn Author - Click to view AddOns

Forum posts: 134
File comments: 144
Uploads: 5
Hm, it works just fine for me.
Report comment to moderator  
Reply With Quote
Unread 10-15-10, 11:53 AM  
Kintan
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Code:
Message: Interface\AddOns\Pandorum\scripts\minimap.lua:19: attempt to concatenate local 'pvpType' (a nil value)
Time: 10/15/10 19:52:21
Count: 2
Stack: Interface\AddOns\Pandorum\scripts\minimap.lua:19: in function <Interface\AddOns\Pandorum\scripts\minimap.lua:16>

Locals: self = zoneBox {
 0 = <userdata>
 Text = <unnamed> {
 }
}
event = true
pvpType = nil
isSubZonePVP = nil
factionName = nil
(*temporary) = <function> defined =[C]:-1
(*temporary) = GameTooltip {
 0 = <userdata>
 numStatusBars = 1
 SetInboxItem = <function> defined =[C]:-1
 SetBuybackItem = <function> defined =[C]:-1
 shoppingTooltips = <table> {
 }
 SetMerchantItem = <function> defined =[C]:-1
 SetHyperlink = <function> defined =[C]:-1
 SetTradeSkillItem = <function> defined =[C]:-1
 hasMoney = 1
 shownStatusBars = 0
 SetOwner = <function> defined =[C]:-1
 numMoneyFrames = 1
 updateTooltip = 0.080999995395541
 SetInventoryItem = <function> defined =[C]:-1
 comparing = false
 SetLootRollItem = <function> defined =[C]:-1
 SetAuctionSellItem = <function> defined =[C]:-1
 SetBagItem = <function> defined =[C]:-1
 SetQuestLogItem = <function> defined =[C]:-1
 SetGuildBankItem = <function> defined =[C]:-1
 SetLootItem = <function> defined =[C]:-1
 SetQuestItem = <function> defined =[C]:-1
 SetAuctionItem = <function> defined =[C]:-1
}
(*temporary) = "Sholazarbecken"
(*temporary) = " ("
(*temporary) = nil
(*temporary) = ")"
(*temporary) = "attempt to concatenate local 'pvpType' (a nil value)"
zoneBox = zoneBox {
 0 = <userdata>
 Text = <unnamed> {
 }
when mousover the zone text of the minimap
Last edited by Kintan : 10-15-10 at 11:54 AM.
Report comment to moderator  
Reply With Quote
Unread 10-13-10, 01:35 PM  
Agata
A Murloc Raider

Forum posts: 7
File comments: 42
Uploads: 0
Code:
	  label.."ArP "..stat..format("%.2f", GetArmorPenetration()).."% ")
You don't need ArP in the stats display anymore.
Maybe Mastery (GetCombatRatingBonus(26)) would be nice.

Love your scripts.
Last edited by Agata : 10-13-10 at 02:39 PM.
Report comment to moderator  
Reply With Quote
Unread 10-12-10, 03:18 PM  
Kintan
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Works fine let's see how it works when patch 4.0.1 is live tomorrow
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: