Download
(36Kb)
Download
Updated: 10-31-23 04:27 PM
Pictures
File Info
Compatibility:
Dragonflight (10.0.2)
Updated:10-31-23 04:27 PM
Created:12-13-08 08:08 AM
Downloads:35,601
Favorites:330
MD5:

NinjaPanel  Popular! (More than 5000 hits)

Version: v1.2.0-release
by: Cladhaire [More]

NinjaPanel... so sneaky you'll hardly know it's there

What is NinjaPanel?

NinjaPanel is a simple, easy-to-configure display for LDB data objects. If you're not familiar with LDB, it's a simple standard that addon authors can use to provide information to other addons without needing to write any code specifically for them. This is helping to break the fubar/titan stronghold by providing a standard flexible enough to let any addon display the information.

Okay, so what does it do?

NinjaPanel will display any LDB plugins you have installed. Currently it displays all of them, although options are forthcoming to disable the display for certain plugins. It also can provide you quick access to addon options and other configurations via "launchers", simple icons that sit on the panel. Most addons that provide minimap icons (which we all hate) also provide launchers. All plugins can be dragged around the panel to re-order them, so they're displayed exactly as you'd like them to be.

Where are the options?

There aren't currently many configuration options for this addon other than the ability to enable or disable specific plugins, but I wanted to get a release out to get some feedback from the community. You can expect the following options to be implemented at some point:
  • Display the panel on the top, bottom, left or right of the screen
  • Change the height/width of the panel
  • Customize data objects to hide the icon, text, etc.

So where do I get plugins?


You may be surprised at how many addons already provide some sort of LDB data object, but if you're looking for new ones to try out you can check the category listings at your favorite addon site:How did you manage to get TomTom Crazy Arrow in the panel

NinjaPanel introduces support for icon colors and coordinates using the following fields in the LDB data object:

iconR - The red component value of the color
iconG - The green component value of the color
iconB - The blue component value of the color
iconCoords - A table containing the texCoords to be set on the icon

I will soon expand iconCoords to support the 8-value version, as well as iconRotate to support arbitrary rotations using the new API.

These features are used in the latest version of TomTom to allow you to display the crazy arrow in NinjaPanel.

Anything else?

Please feed free to leave any suggestions or feedback! I'm interested to see what the community would like to see in a panel addon that I can easily provide.

Thanks for using my addons!

Donations:
Some people have asked, so here is a way to send me donations:

NinjaPanel
v1.2.0-release (2023-10-31)
Full Changelog Previous Releases
  • Add a simple gold tracking plugin
  • Remove stray print from debugging
  • Add support for plugin DBs
  • Fix that stupid bug
  • Attempt to fix an issue with init of CombatStats
  • Fix an issue with calling OnEnter for some tooltips
  • Fix for 10.1.0 PTR with removal of GetAddOnMetadata
  • Update TOC for 10.0.2
  • Don't require OnLeave to pick up OnEnter
  • Properly respond to inventory updates and register the new events
  • Some bug fixes for CombatStats
    - Re-compute the preferred stats when something major changes
    - Select the preferred stats using the raw values, not percentages
  • Fix some small issues with combat stats
  • Add a CombatStats plugin
  • Don't do split packaging when only one version
  • Update curseforge project id
  • Fix config registration on retail
  • Prepare for packing
  • Add and configure Luacheck
  • Create README.md
  • Re-add config to enable/disable plugins
  • Update for 1.0x (ish)
  • Update TOC for 6.1.x
  • Update LibJostle
  • Update TOC for 4.3
  • Update .TOC
  • Update to LibJostle-3.0-v40000
  • Convert svn:ignore properties to .gitignore.
  • Updated LibJostle to be compatible with 3.3.5
  • Hide the tooltip when a plugin is clicked
  • Fix a bug when an icon is set to nil, or set to a texture from nil
  • Updating TOC for 3.3
  • Update LibJostle to fix the buff movement
  • Interface version update
  • Show which feeds are launchers in the configuration UI
  • Actually display disabled plugins in the configuration dialog
  • Show tooltips for plugins that don't define any
  • Setting eol-style, bumping .TOC and providing support for data feeds that dynamically change their type
  • Updated version of LibJostle-3.0
  • Added a nil bailout in UpdatePlugin (bad mikma)
  • * Fix for moving the panel to the bottom instead of the top.. kind of
  • Fixed detach bug when disabling a new plugin
  • Fixed an error caused by custom Data Objects
  • Fixed the bad SV bug
  • Fixed tooltip bug with bad type lookup for disabled plugins
  • Fixed a bug with scrolling offset on the config screen
  • Undoing bad development branch code to start with a clean slate
  • * Commiting some broken code that I plan to back out
  • * Ensure that the scroll bar works on longer addon lists
  • * Fixed the issues with scrolling on enable/disable window
  • * Added basic configuration panel that allows you disable/enable plugins. Requires reload and may not work properly.
    * Added support for AddonLoader delayed loading
  • * Make sure to call using NinjaPanel instead of self in the context of the panel
  • * Act properly with regards to tooltip metadata, refactored handling code a bit
  • Added a development mode to assist in getting multiple bars working correctly
  • * Don't error if jostle can't be loaded
  • * Add support for the tooltip attribute
  • * Add checks for self.db.plugins[name].disabled
  • * Initialize db.plugins and sb.panels
  • * Added cases for the On<X> handlers in UpdatePlugin, so we can set them whenever they are changed
  • * Set wowi:dirname property so addon is properly packaged
  • * Fix an issue when reporting an unknown data object type
  • * Setting eol-style to native
  • Initial import from git repository
  • Creating inital directory structure
Beta Files (1)
File Name
Version
Hits
Size
Author
Date
r26
1,788
30kB
Cladhaire
04-17-09 09:08 AM


Archived Files (8)
File Name
Version
Size
Author
Date
v1.1.7-release
35kB
Cladhaire
05-20-23 03:30 AM
v1.1.6-release
35kB
Cladhaire
04-01-23 04:57 AM
v1.1.5-release
35kB
Cladhaire
01-12-23 02:13 PM
v1.1.4-release
35kB
Cladhaire
10-29-22 02:27 AM
v1.1.3-release
35kB
Cladhaire
10-29-22 02:23 AM
v1.1.2-release
34kB
Cladhaire
10-28-22 02:02 PM
v1.1.1-release
34kB
Cladhaire
10-28-22 06:38 AM
v1.1.0-release
29kB
Cladhaire
10-27-22 08:30 AM


Post A Reply Comment Options
Unread 10-27-10, 01:29 AM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4939
Uploads: 19
Shouldn't.. it nudges things at the top.. but that should only be the height of the bar..
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."
Report comment to moderator  
Reply With Quote
Unread 10-26-10, 09:35 PM  
knalty
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
Works, but it forces everything down by about 1/3 of my screen. Nothing that can't be fixed with MoveBlizzard! <3
Report comment to moderator  
Reply With Quote
Unread 10-24-10, 07:13 AM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4939
Uploads: 19
Open NinjaPanel.lua and find the line that says:

NinjaPanel:SpawnPanel("NinjaPanelTop", "TOP")

It's on line 31. After that you can add:

NinjaPanelTop:SetScale(1.2)

and it should work.
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."
Report comment to moderator  
Reply With Quote
Unread 10-24-10, 02:01 AM  
knalty
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
Re: Re: Ninjapanel size hack?

Originally posted by Cladhaire
Something like /run NinjaPanelTop:SetScale(1.2) or /run NinjaPanelTop:SetHeight(30) should work.
...okay, I have to ask, is that documented anywhere? Because if it is, I have a hat to eat and possibly a shoe to wash it down with.

If it isn't, by golly, it should be!

Edit: I think I might have mistyped. I meant an in-code solution, something I could just tack in after the defined variables and libraries, but I can make this work.
Last edited by knalty : 10-24-10 at 02:12 AM.
Report comment to moderator  
Reply With Quote
Unread 10-22-10, 02:35 AM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4939
Uploads: 19
Re: Ninjapanel size hack?

Originally posted by knalty
More a request to the general community, but does anyone have a in-lua hack to be able to rescale/change the height of Ninjapanel/change the strata? It's awfully tiny on a 1600x900 screen. =T (If you've only got the first, I'll live.) I *really* want to use Ninjapanel since it's the only one that doesn't <Fluting!> open up a configuration menu when you right-click on it.
Something like /run NinjaPanelTop:SetScale(1.2) or /run NinjaPanelTop:SetHeight(30) should work.
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."
Report comment to moderator  
Reply With Quote
Unread 10-21-10, 06:35 PM  
knalty
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
Ninjapanel size hack?

More a request to the general community, but does anyone have a in-lua hack to be able to rescale/change the height of Ninjapanel/change the strata? It's awfully tiny on a 1600x900 screen. =T (If you've only got the first, I'll live.) I *really* want to use Ninjapanel since it's the only one that doesn't <Fluting!> open up a configuration menu when you right-click on it.
Report comment to moderator  
Reply With Quote
Unread 10-13-10, 01:26 PM  
ricks322
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 154
File comments: 153
Uploads: 1
Just a note that I have NOT had any problems with this in the BETA or 4.01.
Report comment to moderator  
Reply With Quote
Unread 06-25-10, 05:29 AM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4939
Uploads: 19
Originally posted by Chryyz
I love this panel...but...

Cladhaire, do you think you could add some configuration options for the bg and border? Opacity and color selection would be great.

While fumbling around in the lua with very little knowledge of the code to personalize my panel was entertaining, I'm sure most people won't take the initiative. =P
Not anytime soon, but I can certainly add it to my list.
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."
Report comment to moderator  
Reply With Quote
Unread 06-25-10, 05:14 AM  
Chryyz
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
I love this panel...but...

Cladhaire, do you think you could add some configuration options for the bg and border? Opacity and color selection would be great.

While fumbling around in the lua with very little knowledge of the code to personalize my panel was entertaining, I'm sure most people won't take the initiative. =P
Report comment to moderator  
Reply With Quote
Unread 06-23-10, 10:31 AM  
ricks322
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 154
File comments: 153
Uploads: 1
Replacing the LibJostle-3.0 file fixed everything (as far as I can tell).

BTW, the link listed before did not work

Here is a corrected one...
LibJostle-3.0
Report comment to moderator  
Reply With Quote
Unread 06-23-10, 07:30 AM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4939
Uploads: 19
Originally posted by def9
Found this fix which seems to get ninja working again untill Clad can get an update done. Thanks for the awsome mod Clad I love it!
Indeed, this is all you need to do to fix it, afaik.
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."
Report comment to moderator  
Reply With Quote
Unread 06-23-10, 07:29 AM  
def9
A Cobalt Mageweaver
 
def9's Avatar
AddOn Author - Click to view AddOns

Forum posts: 219
File comments: 108
Uploads: 1
Found this fix which seems to get ninja working again untill Clad can get an update done. Thanks for the awsome mod Clad I love it!

The error is with libjostle.

Replace the \Interface\AddOns\NinjaPanel\libs\LibJostle-3.0 directory with contents of the libjostle download at
http://www.wowace.com/addons/libjost.../files/31-r50/

It should fix the errors.
__________________
Epiria, level 100 Ret/Holy Paladin
Simkin level 100 Combat Rogue
Feldeemus, level 100 Arcane Mage
Last edited by def9 : 06-23-10 at 02:23 PM.
Report comment to moderator  
Reply With Quote
Unread 06-23-10, 02:57 AM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4939
Uploads: 19
Re: Not working with new patch 3.3.5

I'll be updating when my servers are up.
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."
Report comment to moderator  
Reply With Quote
Unread 06-22-10, 11:48 PM  
ricks322
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 154
File comments: 153
Uploads: 1
Not working with new patch 3.3.5

Getting these errors.
====================
Date: 2010-06-23 01:20:10
ID: 3
Error occured in: Global
Count: 1
Message: ..\AddOns\NinjaPanel\Libs\LibJostle-3.0.lua line 90:
hooksecurefunc(): FCF_UpdateCombatLogPosition is not a function
Debug:
[C]: ?
[C]: hooksecurefunc()
NinjaPanel\Libs\LibJostle-3.0.lua:90: in main chunk

=======================================================
Date: 2010-06-23 01:20:10
ID: 4
Error occured in: Global
Count: 1
Message: ..\AddOns\NinjaPanel\NinjaPanel.lua line 96:
attempt to call method 'RegisterTop' (a nil value)
Debug:
[C]: RegisterTop()
NinjaPanel\NinjaPanel.lua:96: SpawnPanel()
NinjaPanel\NinjaPanel.lua:31:
NinjaPanel\NinjaPanel.lua:13
Report comment to moderator  
Reply With Quote
Unread 06-03-10, 11:40 PM  
Morsker
A Fallenroot Satyr
 
Morsker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 89
Uploads: 8
This interacts poorly with having a GM ticket open. My buffs and debuffs are pushed farther down than they ought to be:

http://img143.imageshack.us/img143/7...lgmspacing.png
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: