Download
(890 Kb)
Download
Updated: 09-28-10 08:51 AM
Pictures
File Info
Updated:09-28-10 08:51 AM
Created:09-01-10 11:34 PM
Downloads:5,865
Favorites:37
MD5:
Tidy Plates: Threat Plates Catacylsm  Popular! (More than 5000 hits)
Version: v1.2
by: suicidalkatt [More]
New ThreatPlatesCataDB reference, anything particularly cataclysm will be changed here.

--[[v1.2]]--
  • Functions folder created for a little bit easier function editing.
  • Cleaning up old code.
  • Updated the default profile to be a little more user friendly on first use.
  • Removed '/tptpol' as nameplate overlapping is no longer used.
  • Recommended to do a clean reinstall on this version for old users.

--[[v1.1]]--
  • All bugs fixed. ( Talent Spec check updated, all event functions fixed )
  • Removed totems no longer available, and added Totem of Tranquil Mind.
  • Thanks to "Timewasted" for some additional help

If for some reason you still seem to be experiencing issues, run this macro:
Code:
/run TidyPlatesThreat.db.char.welcome = false
/run TidyPlatesThreat.db.char.specInfo = nil
/run TidyPlatesOptions.primary = nil
/run TidyPlatesOptions.secondary = nil
You must relog afterwards.

*note* you will need to use ItsAllCogwheelsFault to use this macro to reset your variables.
--[[v1.1]]--
  • All bugs fixed.
  • Removed totems no longer available, and added Totem of Tranquil Mind.
  • Thanks to "Timewasted" for some additional help :)
Optional Files (0)


Archived Files (2)
File Name
Version
Size
Author
Date
v1.1
887kB
suicidalkatt
09-09-10 05:00 AM
v1.0
868kB
suicidalkatt
09-01-10 11:34 PM


Post A Reply Comment Options
Old 10-05-11, 10:47 PM  
suicidalkatt
A Chromatic Dragonspawn
 
suicidalkatt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 167
File comments: 1151
Uploads: 46
Originally posted by devilpeach
I get the following when I try to disable the level text:



Interface\AddOns\TidyPlates_ThreatPlates\options.lua:265: attempt to index field '?' (a nil value)
Time: 12/28/10 12:50:45
Count: 1
Stack: Interface\AddOns\TidyPlates_ThreatPlates\options.lua:265: in function <Interface\AddOns\TidyPlates_ThreatPlates\options.lua:259>
(tail call): ?
[C]: ?
[string "safecall Dispatcher[2]"]:9: in function <[string "safecall Dispatcher[2]"]:5>
(tail call): ?
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:798: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:613>
(tail call): ?
[C]: ?
[string "safecall Dispatcher[3]"]:9: in function <[string "safecall Dispatcher[3]"]:5>
(tail call): ?
...e\AddOns\SexyCooldown\Libs\AceGUI-3.0\AceGUI-3.0.lua:314: in function `Fire'
...wn\Libs\AceGUI-3.0\widgets\AceGUIWidget-CheckBox.lua:68: in function <...wn\Libs\AceGUI-3.0\widgets\AceGUIWidget-CheckBox.lua:57>

Locals: <none>
What version of Threat Plates are you using??
Last edited by suicidalkatt : 10-05-11 at 11:57 PM.
suicidalkatt is offline Report comment to moderator  
Reply With Quote
Old 12-28-10, 01:55 PM  
devilpeach
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
I get the following when I try to disable the level text:



Interface\AddOns\TidyPlates_ThreatPlates\options.lua:265: attempt to index field '?' (a nil value)
Time: 12/28/10 12:50:45
Count: 1
Stack: Interface\AddOns\TidyPlates_ThreatPlates\options.lua:265: in function <Interface\AddOns\TidyPlates_ThreatPlates\options.lua:259>
(tail call): ?
[C]: ?
[string "safecall Dispatcher[2]"]:9: in function <[string "safecall Dispatcher[2]"]:5>
(tail call): ?
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:798: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:613>
(tail call): ?
[C]: ?
[string "safecall Dispatcher[3]"]:9: in function <[string "safecall Dispatcher[3]"]:5>
(tail call): ?
...e\AddOns\SexyCooldown\Libs\AceGUI-3.0\AceGUI-3.0.lua:314: in function `Fire'
...wn\Libs\AceGUI-3.0\widgets\AceGUIWidget-CheckBox.lua:68: in function <...wn\Libs\AceGUI-3.0\widgets\AceGUIWidget-CheckBox.lua:57>

Locals: <none>
devilpeach is offline Report comment to moderator  
Reply With Quote
Old 10-11-10, 04:11 PM  
suicidalkatt
A Chromatic Dragonspawn
 
suicidalkatt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 167
File comments: 1151
Uploads: 46
Originally posted by Annekynn
When 4.0.1 launches, are we using this version, or the other beta version?
I had this up here before I could flag beta as a 4.0.1 addon, but I'll be updating Beta to reflect the changes needed not cataclysm.
Last edited by suicidalkatt : 10-11-10 at 04:11 PM.
suicidalkatt is offline Report comment to moderator  
Reply With Quote
Old 10-11-10, 11:11 AM  
Annekynn
A Deviate Faerie Dragon

Forum posts: 19
File comments: 139
Uploads: 0
When 4.0.1 launches, are we using this version, or the other beta version?
Annekynn is offline Report comment to moderator  
Reply With Quote
Old 10-05-10, 04:43 PM  
suicidalkatt
A Chromatic Dragonspawn
 
suicidalkatt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 167
File comments: 1151
Uploads: 46
Originally posted by galvin
Under name plate scale only neutral scale is working. On the training dummies I wasn't able to change the boss scale/Elite scale on the 83 training dummy in IF.

Also turning off skull icon doesn't replace it with level text. Not a big issue.

Under special name text, doesn't tidy plates offer a way to build a custom list now?

Making a built in list would just get gigantic after a while.

Looks good glad i wrote down all my custom settings.

I would like a mouse over highlite option so I don't have to keep editing out the texture
Training dummies are considered neutral ONLY, even if they are "boss" level's etc, I filter out only neutral classification.
suicidalkatt is offline Report comment to moderator  
Reply With Quote
Old 10-04-10, 03:15 PM  
galvin
A Kobold Labourer

Forum posts: 1
File comments: 114
Uploads: 0
Under name plate scale only neutral scale is working. On the training dummies I wasn't able to change the boss scale/Elite scale on the 83 training dummy in IF.

Also turning off skull icon doesn't replace it with level text. Not a big issue.

Under special name text, doesn't tidy plates offer a way to build a custom list now?

Making a built in list would just get gigantic after a while.

Looks good glad i wrote down all my custom settings.

I would like a mouse over highlite option so I don't have to keep editing out the texture
Last edited by galvin : 10-04-10 at 03:15 PM.
galvin is offline Report comment to moderator  
Reply With Quote
Old 09-27-10, 07:39 AM  
suicidalkatt
A Chromatic Dragonspawn
 
suicidalkatt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 167
File comments: 1151
Uploads: 46
Originally posted by galvin
How do I get this to work on the PTR. Since tidyplates keeps crashing I cant get it to enable threat plates as a theme.

Im using tidy plates beta.
It may be client related, for example if you still have the "downloading" icon indicator your client may just crash from showing friendly nameplates.

I've run into this a few times on beta, just let the icon disappear then re-log with addons enabled.
suicidalkatt is offline Report comment to moderator  
Reply With Quote
Old 09-27-10, 02:50 AM  
galvin
A Kobold Labourer

Forum posts: 1
File comments: 114
Uploads: 0
How do I get this to work on the PTR. Since tidyplates keeps crashing I cant get it to enable threat plates as a theme.

Im using tidy plates beta.
galvin is offline Report comment to moderator  
Reply With Quote
Old 09-16-10, 01:18 PM  
suicidalkatt
A Chromatic Dragonspawn
 
suicidalkatt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 167
File comments: 1151
Uploads: 46
Originally posted by Eurytus
Is there an option to change/disable 'elite' highlighting? I couldn't find one and I am not fond of that yellow border texture.
No you'll have to either edit its texture in the artwork folder, or replace it with a copy of the "TP_HealthBarOverlay.tga" texture.
suicidalkatt is offline Report comment to moderator  
Reply With Quote
Old 09-16-10, 09:11 AM  
Eurytus
A Kobold Labourer
 
Eurytus's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 20
Uploads: 1
Is there an option to change/disable 'elite' highlighting? I couldn't find one and I am not fond of that yellow border texture.
Last edited by Eurytus : 09-16-10 at 09:24 AM.
Eurytus is offline Report comment to moderator  
Reply With Quote
Old 09-07-10, 03:11 PM  
suicidalkatt
A Chromatic Dragonspawn
 
suicidalkatt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 167
File comments: 1151
Uploads: 46
Re: GetTalentTabInfo return values

Thanks for your post, I'll update this when I get the chance.

Originally posted by Timewasted
GetTalentTabInfo has different return values in 4.0. For example:

Code:
Dump: value=GetTalentTabInfo(2, false, false, 1);
[1]=399,  -- id
[2]="Frost",  -- name
[3]="An icy harbinger of doom, channeling runic power and delivering rapid weapon strikes.", -- description
[4]="Interface\\Icons\\Spell_Deathknight_FrostPresence",  -- iconTexture
[5]=33,  -- pointsSpent
[6]="DeathKnightFrost",  -- background
[7]=0,  -- previewPointsSpent
[8]=true  -- Not sure, returned true for all three DK specs
specInfo() needs to be updated to be made aware of this.


In addition to this:



What this appears to mean is that things like:

Code:
function TidyPlatesThreat:PlayerLoginSetup()
setThreatPlates:SetScript("OnEvent", function(self, event) TidyPlatesThreat:PlayerLoginSetup() end)
should become:

Code:
function TidyPlatesThreat:PlayerLoginSetup(event)
setThreatPlates:SetScript("OnEvent", function(self, event) TidyPlatesThreat:PlayerLoginSetup(event) end)
and

Code:
function setTheme:ADDON_LOADED()
setTheme:SetScript("OnEvent", function(self, event) setTheme[event]() end)
should become:

Code:
function setTheme:ADDON_LOADED(arg1)
setTheme:SetScript("OnEvent", function(self, event, ...)
	if event == "ADDON_LOADED" then
		local name = select(1, ...)
		setTheme:ADDON_LOADED(name)
	end
end)
Making these changes where needed and commenting out anything dealing with totems seems to bring this back to mostly working status. For some reason, name text doesn't seem to turn on by itself, but I haven't figured that out yet.

New TPtotemList:

Code:
TPtotemList = {
	-- Air Totems
	[tL(8177)] = "A1", -- Grounding Totem
	[tL(8512)] = "A2", -- Windfury Totem
	[tL(3738)] = "A3", -- Wrath of Air Totem
	-- Earth Totems
	[tL(2062)] = "E1", -- Earth Elemental Totem
	[tL(2484)] = "E2", -- Earthbind Totem
	[tL(5730)] = "E3", -- Stoneclaw Totem
	[tL(8071)] = "E4", -- Stoneskin Totem
	[tL(8075)] = "E5", -- Strength of Earth Totem
	[tL(8143)] = "E6", -- Tremor Totem
	-- Fire Totems
	[tL(2894)] = "F1", -- Fire Elemental Totem
	[tL(8227)] = "F2", -- Flametongue Totem
	[tL(8190)] = "F3", -- Magma Totem
	[tL(3599)] = "F4", -- Searing Totem
	-- Water Totems
	[tL(8184)] = "W1", -- Elemental Resistance Totem
	[tL(5394)] = "W2", -- Healing Stream Totem
	[tL(5675)] = "W3", -- Mana Spring Totem
	[tL(16190)] = "W4", -- Mana Tide Totem
	[tL(87718)] = "W5" -- Totem of Tranquil Mind
}
Also, Cataclysm spells don't have ranks. So tL() can be trimmed down to just

Code:
function tL(number)
	local name = GetSpellInfo(number)
	return name
end
I've never used the totem widget so I'm not sure if these changes will make it work, but it's at least closer to working now.
Last edited by suicidalkatt : 09-07-10 at 03:13 PM.
suicidalkatt is offline Report comment to moderator  
Reply With Quote
Old 09-06-10, 06:17 PM  
Timewasted
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 12
Uploads: 3
GetTalentTabInfo return values

GetTalentTabInfo has different return values in 4.0. For example:

Code:
Dump: value=GetTalentTabInfo(2, false, false, 1);
[1]=399,  -- id
[2]="Frost",  -- name
[3]="An icy harbinger of doom, channeling runic power and delivering rapid weapon strikes.", -- description
[4]="Interface\\Icons\\Spell_Deathknight_FrostPresence",  -- iconTexture
[5]=33,  -- pointsSpent
[6]="DeathKnightFrost",  -- background
[7]=0,  -- previewPointsSpent
[8]=true  -- Not sure, returned true for all three DK specs
specInfo() needs to be updated to be made aware of this.


In addition to this:

* The global variables this, event and arg1[b], [b]arg2... have been removed. Event handlers and other callbacks must use the appropriate locals. If you have lua installed locally, the command luac -l -p somefile.lua can be useful to search for the GETGLOBAL instruction to find places where code is referencing a global instance of these variables.
What this appears to mean is that things like:

Code:
function TidyPlatesThreat:PlayerLoginSetup()
setThreatPlates:SetScript("OnEvent", function(self, event) TidyPlatesThreat:PlayerLoginSetup() end)
should become:

Code:
function TidyPlatesThreat:PlayerLoginSetup(event)
setThreatPlates:SetScript("OnEvent", function(self, event) TidyPlatesThreat:PlayerLoginSetup(event) end)
and

Code:
function setTheme:ADDON_LOADED()
setTheme:SetScript("OnEvent", function(self, event) setTheme[event]() end)
should become:

Code:
function setTheme:ADDON_LOADED(arg1)
setTheme:SetScript("OnEvent", function(self, event, ...)
	if event == "ADDON_LOADED" then
		local name = select(1, ...)
		setTheme:ADDON_LOADED(name)
	end
end)
Making these changes where needed and commenting out anything dealing with totems seems to bring this back to mostly working status. For some reason, name text doesn't seem to turn on by itself, but I haven't figured that out yet.

New TPtotemList:

Code:
TPtotemList = {
	-- Air Totems
	[tL(8177)] = "A1", -- Grounding Totem
	[tL(8512)] = "A2", -- Windfury Totem
	[tL(3738)] = "A3", -- Wrath of Air Totem
	-- Earth Totems
	[tL(2062)] = "E1", -- Earth Elemental Totem
	[tL(2484)] = "E2", -- Earthbind Totem
	[tL(5730)] = "E3", -- Stoneclaw Totem
	[tL(8071)] = "E4", -- Stoneskin Totem
	[tL(8075)] = "E5", -- Strength of Earth Totem
	[tL(8143)] = "E6", -- Tremor Totem
	-- Fire Totems
	[tL(2894)] = "F1", -- Fire Elemental Totem
	[tL(8227)] = "F2", -- Flametongue Totem
	[tL(8190)] = "F3", -- Magma Totem
	[tL(3599)] = "F4", -- Searing Totem
	-- Water Totems
	[tL(8184)] = "W1", -- Elemental Resistance Totem
	[tL(5394)] = "W2", -- Healing Stream Totem
	[tL(5675)] = "W3", -- Mana Spring Totem
	[tL(16190)] = "W4", -- Mana Tide Totem
	[tL(87718)] = "W5" -- Totem of Tranquil Mind
}
Also, Cataclysm spells don't have ranks. So tL() can be trimmed down to just

Code:
function tL(number)
	local name = GetSpellInfo(number)
	return name
end
I've never used the totem widget so I'm not sure if these changes will make it work, but it's at least closer to working now.
Last edited by Timewasted : 09-06-10 at 08:54 PM.
Timewasted is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: