Download
(3 Kb)
Download
Updated: 01-20-09 01:05 AM
Addon for:
Tankadin2.
Pictures
File Info
Updated:01-20-09 01:05 AM
Created:01-19-09 11:07 PM
Downloads:4,587
Favorites:37
MD5:
Tankadin2 - Character Sheet Plug-in
Version: r100
by: _Chloe [More]
Adds a drop down menu to your character sheet displaying Tankadin2 Information.
Change Log For CS Plug-in:
---------------------------------------
r100
---------------------------------------
Updated Localization files and setup
Modified Hooking fuction to correctly hook OnLoad.

---------------------------------------
r-01
---------------------------------------
Initial Release and Commit.
Archived Files (2)
File Name
Version
Size
Author
Date
r100
3kB
_Chloe
01-19-09 11:07 PM
0B
_Chloe
01-01-70 12:00 AM


Post A Reply Comment Options
Unread 10-03-09, 09:57 PM  
AnrDaemon
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 115
File comments: 2371
Uploads: 6
Idea!(tm)
Code:
*** Tankadin2_CS\CS_Module.lua	Tue Jan 20 00:04:16 2009
--- Tankadin2_CS\CS_Module.lua	Sun Oct  4 07:47:50 2009
***************
*** 19,31 ****
  	if statLine > 6 then return end
  	local lbl, val, parent = _G[prefix .. statLine .. "Label"], _G[prefix .. statLine .. "StatText"], _G[prefix .. statLine];
  	local lvl = UnitLevel("player");
  	if value == nil then
  		parent.tooltip = nil; lbl:SetText(""); val:SetText("");
- 	elseif label == Tankadin2_CSLocale.LEH then
- 		lbl:SetText(label); val:SetFormattedText("%d", value);
- 		parent.tooltip, parent.tooltip2, parent.tooltip3 = tip and tip:format(value) or nil, tip2 or nil;
  	else
! 		lbl:SetText(label); val:SetFormattedText("%.2f%%", value);
  		parent.tooltip, parent.tooltip2, parent.tooltip3 = tip and tip:format(value) or nil, tip2 or nil;
  	end
   	statLine = statLine + 1;
--- 19,38 ----
  	if statLine > 6 then return end
  	local lbl, val, parent = _G[prefix .. statLine .. "Label"], _G[prefix .. statLine .. "StatText"], _G[prefix .. statLine];
  	local lvl = UnitLevel("player");
+ 	local valueFormat = "%.2f%%";
  	if value == nil then
  		parent.tooltip = nil; lbl:SetText(""); val:SetText("");
  	else
! 	  if label == Tankadin2_CSLocale.LEH then
! 	    valueFormat = "%d";
! 	  elseif label == Tankadin2_CSLocale.LCRIT then
! 			if value >= 0 then
! 				valueFormat = "|cffff0000%.2f%%|r";
! 			else
! 				valueFormat = "|cff00ff00%.2f%%|r";
! 			end;
! 	  end;
! 		lbl:SetText(label); val:SetFormattedText(valueFormat, value);
  		parent.tooltip, parent.tooltip2, parent.tooltip3 = tip and tip:format(value) or nil, tip2 or nil;
  	end
   	statLine = statLine + 1;
AnrDaemon is offline Report comment to moderator  
Reply With Quote
Unread 11-08-09, 10:54 AM  
AnrDaemon
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 115
File comments: 2371
Uploads: 6
And can you please fix taints, if it's a directly your addon issue?
Today it finally backfired.

Code:
Date: 2009-11-08 19:48:06
ID: 1
Error occured in: AddOn: Tankadin2_CS
Count: 1
Message: Error: AddOn Tankadin2_CS attempted to call a forbidden function (SetPartyAssignment()) from a tainted execution path.
Debug:
   [C]: SetPartyAssignment()
   ..\FrameXML\UnitPopup.lua:1170:
      ..\FrameXML\UnitPopup.lua:1022
   [C]: func()
   ..\FrameXML\UIDropDownMenu.lua:563: UIDropDownMenuButton_OnClick()
   [string "*:OnClick"]:1:
      [string "*:OnClick"]:1
AddOns:
  Swatter, v5.1.DEV.213
  WowheadLooter, v30203
  NPCScan, v3.2.0.8
  ActionBarSaver, v
  Altoholic, v3.2.002b
  Atlas, v1.15.1
  AtlasBattlegrounds, v1.15.1
  AtlasDungeonLocs, v1.15.1
  AtlasOutdoorRaids, v1.15.1
  AtlasTransportation, v1.15.1
  AtlasLoot, vv5.08.06
  AucAdvanced, v5.1.DEV.2530
  AucFilterBasic, v5.1.DEV.4432
  AucFilterOutlier, v5.1.DEV.4432
  AucMatchUndercut, v5.1.DEV.2531
  AucScanData, v5.1.DEV.4432
  AucStatPurchased, v5.1.DEV.4474
  AucStatSales, v5.1.DEV.2842
  AucStatSimple, v5.1.DEV.4472
  AucUtilAHWindowControl, v5.1.DEV.3311
  AucUtilAppraiser, v5.1.DEV.2530
  AucUtilAskPrice, v5.1.DEV.3175
  AucUtilAutoMagic, v5.1.DEV.3142
  AucUtilCompactUI, v5.1.DEV.2530
  AucUtilEasyBuyout, v5.1.DEV.3583
  AucUtilFixAH, v<%version%> (<%codename%>)
  AucUtilItemSuggest, v5.1.DEV.3108
  AucUtilPriceLevel, v5.1.DEV.2545
  AucUtilScanButton, v5.1.DEV.2530
  AucUtilSearchUI, v5.1.DEV.3655
  AucUtilVendMarkup, v5.1.DEV.2530
  AuldLangSyne, v2.0
  AuldLangSyneBackup, v2.0
  AuldLangSyneFriendList, v2.0
  AuldLangSyneGuildList, v2.0
  AuldLangSyneInfo, v2.0
  AuldLangSyneNote, v2.0
  AuldLangSynePanel, v2.0
  AuldLangSyneSync, v2.0
  Babylonian, v5.1.DEV.130
  Bartender4, v4.4.1
  BeanCounter, v5.1.DEV.4475
  Cartographer, v2.0
  CartographerFoglight, v2.0
  CartographerGroupColors, v2.0
  CartographerGuildPositions, v2.0
  CartographerNotes, v2.0
  CartographerZoneInfo, v2.0
  ChatSounds, v30200.0.0
  Chatter, v1.0
  ClosetGnome, v1.0.602
  ColorTools, v
  Configator, v5.1.DEV.190
  Constructor, v<%version%> (<%codename%>)
  DataStore, v3.2.002b
  DataStoreAchievements, v3.2.002
  DataStoreAuctions, v3.2.002
  DataStoreCharacters, v3.2.002
  DataStoreContainers, v3.2.002
  DataStoreCrafts, v3.2.002
  DataStoreCurrencies, v3.2.002
  DataStoreInventory, v3.2.002
  DataStoreMails, v3.2.002
  DataStorePets, v3.2.002
  DataStoreQuests, v3.2.002
  DataStoreReputations, v3.2.002
  DataStoreSkills, v3.2.002
  DataStoreSpells, v3.2.002
  DataStoreStats, v3.2.002
  DataStoreTalents, v3.2.002
  DebuffFilter, v1.97
  DebugLib, v5.1.DEV.130
  Enchantrix, v5.1.DEV.4432
  FishingBuddy, v0.9.7d
  FramesResized, v2.3.2-47
  Gatherer, v<%version%>
  GearScore, v3.0.012 - Release
  GFWLinkerator, v3.2
  gfxToggle2, v2.3.0-beta2
  GnomishVendorShrinker, v3.2.0.3
  GoldenTicket, v1.0.14
  Gymnast, v
  HealBot, v3.2.2.6
  IceHUD, v1.5.14 (Revision: 442)
  Informant, v5.1.DEV.3721
  LibExtraTip, v1.1
  Livestock, v1.2
  OgriLazy, v1.1.0
  OmniCC, v2.5.7
  oRA3, v
  PallyPower, vv3.2.8-release 
  PallyPowerTitan, v2.00.30000
  PassLoot, v3.7
  PassLootConfirmBoP, v1.0
  PDFStats, v1.1.0
  QuestHelper, v1.2.5
  RatingBuster, v
  RatingBusterProfilesMap, v.1
  RecipeRadar, v1.32
  RecipeRadarTitan, v2.00.30000
  Recount, v
  ReloadUI, v1.1.1
  RepWatch, v2.1.16
  SatrinaBuffFrame, v3.1
  SharedMedia, v3.0.1-177
  SharedMediaAdditionalFonts, v1.0
  SlideBar, v5.1.DEV.136
  StatScore, v3.2.0.17
  Stubby, v5.1.DEV.130
  Tankadin2, v200
  Tankadin2CS, v100
  TipHelper, v<%version%> (<%codename%>)
  Titan, v4.3.0.30200 - Revision 316
  TitanBag, v4.3.0.30200
  TitanClock, v4.3.0.30200
  TitanCoords, v4.3.0.30200
  TitanGoldTracker, v4.3.0.30200
  TitanHealBot, v3.2.0.0
  TitanLootType, v4.3.0.30200
  TitanReagentTracker, v1.5.1
  TitanRepair, v4.3.0.30200
  TitanSkills, v1.0.9
  TitanVolume, v4.3.0.30200
  TitanXP, v4.3.0.30200
  TomTom, v226
  TooltipItemIcon, v1.54
  TotemTimers, v10.1 Beta 6
  TradeLinks, v3.1.2 9901
  WowLua, v32 
  XPerl, v3.0.6
  XPerlArcaneBar, v
  XPerlCustomHighlight, v
  XPerlParty, v
  XPerlPartyPet, v
  XPerlPlayer, v
  XPerlPlayerPet, v
  XPerlRaidAdmin, v
  XPerlRaidFrames, v
  XPerlRaidHelper, v
  XPerlRaidPets, v
  XPerlTarget, v
  XPerlTargetTarget, v
  zimMinimap, v20400.2
  ZZML, v4.1
  BlizRuntimeLib_enUS v3.2.2.30200 <eu>
  (ck=ee2)
AnrDaemon is offline Report comment to moderator  
Reply With Quote
Unread 11-09-09, 07:07 PM  
AnrDaemon
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 115
File comments: 2371
Uploads: 6
Sorry, it's me again. This time, with a screenshot.


If i'm to believe my eyes, they tell me there's not everything going right.
This is data from just 2 fights in Ulduar 10. Razorscale and Deconstructor.
I can imagine HealBot, XPerl and IceHUD taking the top places, but it's not the case, XPerl has so tiny overhead, it's impact almost irrelevant. HealBot could have been at the same point, but it's not. Still, it's fairly low on CPU usage. IceHUD... could be as good as XPerl, i suppose.

But PDFStats and Tankadin_CS - two addons that plays with PaperDoll frame... what could be issue of them taking such high places in CPU usage?
AnrDaemon is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: