Reply
 
Thread Tools Display Modes
Old 05-18-2009, 06:28 AM   #1
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
Interface Author - Click to view interfaces
Join Date: Feb 2006
Posts: 1,531
Info Panel IDs

When I was writing the Guild Chat Infopanel plugin I noticed that using the same number as an existing infopanel causes problems as this number denotes which order they appear in.

As more infopanels are added by different people I thought it best if we have somewhere we can check for an available ID.

Here's the current ones available to download and I can see already a conflict if people choose to have carbonite/omen and recount/omen for whatever reason or Carbonite with Hitsmode:

Built into nUI by Default:
Combat Log - nUI_INFOMODE_COMBATLOG = 2;
Battlefield Minimap - nUI_INFOMODE_BMM = 3;
Recount - nUI_INFOMODE_RECOUNT = 4;
Omen3 & KLH - nUI_INFOMODE_OMEN3KLH = 5;
Omen3 - nUI_INFOMODE_OMEN3 = 6;
KLH - nUI_INFOMODE_KLH = 8;
KLH & Recount - nUI_INFOMODE_KLHRECOUNT = 9;
Skada - nUI_INFOMODE_SKADA = 10;

Optional Plugins:
Minimap - nUI_INFOMODE_MINIMAP = 1;
Recount & Omen (Stats) - nUI_INFOMODE_OMEN3RECOUNT = 7;
Recount & Omen (Dual Stats) - nUI_INFOMODE_OMEN3RECOUNT = 7;
Carbonite & Omen - nUI_INFOMODE_OMEN3CARBONITE = 7;
Grid - nUI_INFOMODE_GRID = 8;
Healbot - nUI_INFOMODE_HEALBOT = 9;
Hitsmode - nUI_INFOMODE_HITSMODE = 10;
Carbonite - nUI_INFOMODE_CARBON = 10;
Professions - nUI_INFOMODE_Profesions = 40;

My Plugins (both done and in progress):
GuildChat - nUI_INFOMODE_GUILDCHAT = 15;
Decursive - nUI_INFOMODE_DECURSIVE = 16;
Decursive/Omen = nUI_INFOMODE_DECURSIVEOMEN = 16;
Eavesdrop - nUI_INFOMODE_EAVESDROP = 17;
MagePorts - nUI_INFOMODE_MAGEPORTS = 18;
TotemCaddy - nUI_INFOMODE_TOTEMCADDY = 19; ( In Design )
Lunarsphere - nUI_INFOMODE_LUNARSPHERE = 20; ( In Design )
Whisper - nUI_INFOMODE_WHISPERS = 21;
Chat - nUI_INFOMODE_CHAT = 22;
__________________
Have too many addons ? Try nUI and see if that helps relieve the situation.

Last edited by Xrystal : 08-20-2009 at 10:14 AM.
Xrystal is offline   Reply With Quote
Old 05-18-2009, 08:46 AM   #2
spiel2001
nUI's Author
 
spiel2001's Avatar
Premium Member
Featured
Join Date: Jun 2008
Posts: 4,151
nUI should allow more than one mod to use the same number but sort them alphabetically when it does... but I may have done that wrong now that I think about it... so, yeah, this thread is a good idea.

I might suggest using the same number for mods that do that same thing since users will typically be using one or the other.
__________________

I have CDO.
It's like OCD except the letters are in alphabetical order, as they should be.


Annoy a liberal... work hard and be happy.


Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com

"Only 2 defining forces have ever offered to die for you... Jesus Christ and the American Soldier.
One died for your soul, the other for your freedom."

-- Lt. Col. Grant L. Rosensteel, Jr.
spiel2001 is offline   Reply With Quote
Reply

Go BackWoWInterface » Featured Projects » nUI » nUI Customization » nUI: Plugin Support » Info Panel IDs

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off




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.