Download
(20Kb)
Download
Updated: 02-15-11 02:53 AM
Updated:02-15-11 02:53 AM
Created:01-02-11 03:19 PM
Downloads:7,740
Favorites:41
MD5:

SLDT  Popular! (More than 5000 hits)

Version: 3.1.1
by: Taffu [More]

Simple Light Data Text Beta v3.1.1
--------------------------------------------------------

v3.1.1 Update: See Change Log for details.

Known Issues:
- When using vert/hor tweak in Move Mode, clicking on the frame makes the vertical tweak no longer work until a relog/reloadUI. Working on a fix...

SLDT (or Simple Light Data Text) is a text-based data tracking AddOn (see latest release rev at: SLDataText).

This is a Beta version of a major overhaul of the SLDT/SLDataText AddOn. This version marks a remarkable shift in design, minimizing memory usage, and using almost no mainstream libraries to create a simple yet functional AddOn.

This is a Beta AddOn, and as such, I expect there to be bugs!

Usage:
/sldt = Help
/sldt config = Configuration Mode
/sldt move = Movement Mode
/sldt font = List Font's via LibSharedMedia
/sldt font <font name> = Change Global Font
/sldt profile = Profile Options Help
/sldt enable/disable <tracker> = Enable/Disable

There is no GUI, everything is slash command and click based. SLDT uses a simplistic click-to-config system. While in configuration mode, hover the cursor over modules for tooltips with configuration options.

Please, if you are using this AddOn and want to report a bug/error/issue, please do so with as much information as possible. This will help me fix/modify the issue in as little time as possible.

This AddOn includes data trackers for Clock, Framerate, Latency, and Memory. Other data trackers will be released in time. SLDT is now an inclusive AddOn that does not allow modular plugins.

Features Expected Prior to Release:
- Frame Anchoring

v3.1.1: 15-Feb-11
------------------
- Fixed error related to combat fading
and enable/disable state

v3.1.0: 13-Feb-11
------------------
- Locale system placed for class color determination
- Fixed error with fetching class colors with Social Tooltip

v3.0.9: 25-Jan-11
------------------
- Fixed error where disabled trackers throw an error during the global update
- Added safeguard to class color errors (thanks suicidalkatt)

v3.0.8: 20-Jan-11
------------------
- Cleaned up code
- Fixed issue with DK colors
- Fixed issue with friend list and non WoW clients (ie. SC2)

v3.0.7: 20-Jan-11
------------------
- Social tooltip will now show friends
- Class coloring option added
- Fixed error with realm time minutes < 10

v3.0.6: 18-Jan-11
------------------
- Added logic to tooltip anchoring
- Worked on profiling system

v3.0.5: 08-Jan-11
------------------
- Added Bag, Durability, Social, and Mail trackers
- Added profiling system
- Fleshed out some additional features (it. Outlining, AutoSell, AutoRepair)

v3.0.4: 05-Jan-11
------------------
- Memory not reporting issue should now be fixed
- Clock tracker now hides the Blizz UI time on minimap on load

v3.0.3: 04-Jan-11
------------------
- Added Experience tracker
- Combat Fading has changed to per-tracker rather than global
- Changed default tracker alignment

v3.0.2: 03-Jan-11
------------------
- Fixed saved variable issue

v3.0.1: 03-Jan-11
------------------
- Added money data tracker
- Justification setting added to config mode
- Vertical & Horizontal "tweak" option added to move mode
Post A Reply Comment Options
Unread 02-08-11, 01:14 PM  
Taffu
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 149
File comments: 422
Uploads: 29
Re: enabled = false???

Originally posted by unstoppixel
Seems great but...

When I look in the sldt_core.lua and I change the enable variable for certain components under the SLDT_DEFAULTS from true to false, they still appear in game. I just started using this today (release day of 4.0.6) so that might have something to do with it... I can't tell you. But I hope you figure it out soon!

Thanks!!!
You do not configure this AddOn in the .LUA files. There are in-game configurations in place. The defaults serve only as a primary default basis for first run of the AddOn. After that, settings are saved via the Saved Variables based on current in game configuration. Once you enter the game, the default variables are written and changes require use of the in-game configuration.

Originally posted by madhaxor79
[b]edit:something was wrong in my file i guess, i reinstalled it over my original copy and when i logged on my lvl 41 hunter lo and behold it was working without bug so i guess i fixed it
Thank you for the update, glad the fresh install fixed it. Saved vars can cause some problems during a beta stage with things changing, so fresh installs can sometimes fix simple issues.
Last edited by Taffu : 02-08-11 at 01:16 PM.
Report comment to moderator  
Reply With Quote
Unread 02-08-11, 01:11 PM  
unstoppixel
An Aku'mai Servant
 
unstoppixel's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 37
File comments: 131
Uploads: 2
Exclamation enabled = false???

Seems great but...

When I look in the sldt_core.lua and I change the enable variable for certain components under the SLDT_DEFAULTS from true to false, they still appear in game. I just started using this today (release day of 4.0.6) so that might have something to do with it... I can't tell you. But I hope you figure it out soon!

Thanks!!!
__________________
Report comment to moderator  
Reply With Quote
Unread 02-06-11, 12:29 PM  
madhaxor79
A Defias Bandit

Forum posts: 3
File comments: 19
Uploads: 0

and no moving it did not fix it
edit:something was wrong in my file i guess, i reinstalled it over my original copy and when i logged on my lvl 41 hunter lo and behold it was working without bug so i guess i fixed it
Last edited by madhaxor79 : 02-06-11 at 02:14 PM.
Report comment to moderator  
Reply With Quote
Unread 02-06-11, 10:30 AM  
Taffu
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 149
File comments: 422
Uploads: 29
Re: bug

Originally posted by madhaxor79
when i mouse over the friends block
Code:
Message: Interface\AddOns\SLDT\sldt_core.lua:663: attempt to index field '?' (a nil value)
Time: 02/06/11 09:27:20
Count: 5
Stack: Interface\AddOns\SLDT\sldt_core.lua:663: in function <Interface\AddOns\SLDT\sldt_core.lua:620>

Locals: this = sldt_social {
 0 = <userdata>
}
numBNet = 8
numBNetOn = 2
frTotal = 0
frOnline = 17
friends = <table> {
 1 = "Ibukí"
 2 = "Washednut"
}
(for index) = 2
(for limit) = 15
(for step) = 1
m = 2
name = "Aussieasuya"
level = 0
class = "UNKNOWN"
zone = "Unknown"
connected = nil
status = ""
note = nil
(*temporary) = <function> defined =[C]:-1
(*temporary) = "|cff%02X%02X%02X"
(*temporary) = nil
(*temporary) = "Unknown"
(*temporary) = "UNKNOWN"
(*temporary) = <userdata>
(*temporary) = ""
(*temporary) = "Southern Barrens"
(*temporary) = " Southern Barrens"
(*temporary) = 1
(*temporary) = 1
(*temporary) = 1
(*temporary) = true
(*temporary) = "Washednut"
(*temporary) = "WoW"
(*temporary) = "Malfurion"
(*temporary) = 0
(*temporary) = "Troll"
(*temporary) = "DRUID"
(*temporary) = ""
(*temporary) = "Orgrimmar"
(*temporary) = "85"
(*temporary) = "Orgrimmar - Malfurion"
(*temporary) = ""
(*temporary) = <function> defined =[C]:-1
(*temporary) = GameTooltip {
 0 = <userdata>
 SetInboxItem = <function> defined =[C]:-1
 SetBuybackItem = <function> defined =[C]:-1
 shoppingTooltips = <table> {
 }
 SetMerchantItem = <function> defined =[C]:-1
 SetQuestLogItem = <function> defined =[C]:-1
 SetGuildBankItem = <function> defined =[C]:-1
 updateTooltip = 0.057999995350838
 SetInventoryItem = <function> defined @Interface\AddOns\GearScoreLite\GearScoreLite.lua:226
 comparing = false
 SetLootRollItem = <function> defined =[C]:-1
 SetTradeSkillItem = <function> defined =[C]:-1
 SetAuctionSellItem = <function> defined =[C]:-1
 SetBagItem = <function> defined =[C]:-1
 SetHyperlink = <function> defined =[C]:-1
 MAMover = TooltipMover {
 }
 SetLootItem = <function> defined =[C]:-1
 SetQuestItem = <function> defined =[C]:-1
 SetAuctionItem = <function> defined =[C]:-1
}
(*temporary) = "[85] Washednut"
(*temporary) = " Orgrimmar"
(*temporary) = <userdata>
(*temporary) = ""
(*temporary) = "Orgrimmar"
(*temporary) = " Orgrimmar"
(*temporary) = nil
(*temporary) = "attempt to index field '?' (a nil value)"
ttindex = <table> {
 RIGHT = "ANCHOR_LEFT"
 BOTTOMRIGHT = "ANCHOR_TOPRIGHT"
 TOP = "ANCHOR_BOTTOM"
 LEFT = "ANCHOR_RIGHT"
 BOTTOM = "ANCHOR_TOP"
 TOPRIGHT = "ANCHOR_BOTTOMLEFT"
 BOTTOMLEFT = "ANCHOR_TOPLEFT"
 TOPLEFT = "ANCHOR_BOTTOMRIGHT"
 CENTER = "ANCHOR_TOP"
}
db = <table> {
 bag = <table> {
 }
 general = <table> {
 }
 dura = <table> {
 }
 xp = <table> {
 }
 fps = <table> {
 }
 lag = <table> {
 }
 money = <table> {
 }
 clock = <table> {
 }
 social = <table> {
 }
 mail = <table> {
 }
 mem = <table> {
 }
}
sf = <function> defined =[C]:-1
friendsOnline = 3
getClass = <function> defined @Interface\AddOns\SLDT\sldt_core.lua:152
guildiesOnline = 4
love the addon keep up the good work!
I assume the Tooltip is not showing on mouseover? Seems to be having a problem querying the tooltip anchoring table based on it's location. Can you tell me where on the screen the frame is placed currently when this error is happening? Also, can you try moving it to a different location to see if it rectifies the error? Thanks
Report comment to moderator  
Reply With Quote
Unread 02-06-11, 09:29 AM  
madhaxor79
A Defias Bandit

Forum posts: 3
File comments: 19
Uploads: 0
bug

when i mouse over the friends block
Code:
Message: Interface\AddOns\SLDT\sldt_core.lua:663: attempt to index field '?' (a nil value)
Time: 02/06/11 09:27:20
Count: 5
Stack: Interface\AddOns\SLDT\sldt_core.lua:663: in function <Interface\AddOns\SLDT\sldt_core.lua:620>

Locals: this = sldt_social {
 0 = <userdata>
}
numBNet = 8
numBNetOn = 2
frTotal = 0
frOnline = 17
friends = <table> {
 1 = "Ibukí"
 2 = "Washednut"
}
(for index) = 2
(for limit) = 15
(for step) = 1
m = 2
name = "Aussieasuya"
level = 0
class = "UNKNOWN"
zone = "Unknown"
connected = nil
status = ""
note = nil
(*temporary) = <function> defined =[C]:-1
(*temporary) = "|cff%02X%02X%02X"
(*temporary) = nil
(*temporary) = "Unknown"
(*temporary) = "UNKNOWN"
(*temporary) = <userdata>
(*temporary) = ""
(*temporary) = "Southern Barrens"
(*temporary) = " Southern Barrens"
(*temporary) = 1
(*temporary) = 1
(*temporary) = 1
(*temporary) = true
(*temporary) = "Washednut"
(*temporary) = "WoW"
(*temporary) = "Malfurion"
(*temporary) = 0
(*temporary) = "Troll"
(*temporary) = "DRUID"
(*temporary) = ""
(*temporary) = "Orgrimmar"
(*temporary) = "85"
(*temporary) = "Orgrimmar - Malfurion"
(*temporary) = ""
(*temporary) = <function> defined =[C]:-1
(*temporary) = GameTooltip {
 0 = <userdata>
 SetInboxItem = <function> defined =[C]:-1
 SetBuybackItem = <function> defined =[C]:-1
 shoppingTooltips = <table> {
 }
 SetMerchantItem = <function> defined =[C]:-1
 SetQuestLogItem = <function> defined =[C]:-1
 SetGuildBankItem = <function> defined =[C]:-1
 updateTooltip = 0.057999995350838
 SetInventoryItem = <function> defined @Interface\AddOns\GearScoreLite\GearScoreLite.lua:226
 comparing = false
 SetLootRollItem = <function> defined =[C]:-1
 SetTradeSkillItem = <function> defined =[C]:-1
 SetAuctionSellItem = <function> defined =[C]:-1
 SetBagItem = <function> defined =[C]:-1
 SetHyperlink = <function> defined =[C]:-1
 MAMover = TooltipMover {
 }
 SetLootItem = <function> defined =[C]:-1
 SetQuestItem = <function> defined =[C]:-1
 SetAuctionItem = <function> defined =[C]:-1
}
(*temporary) = "[85] Washednut"
(*temporary) = " Orgrimmar"
(*temporary) = <userdata>
(*temporary) = ""
(*temporary) = "Orgrimmar"
(*temporary) = " Orgrimmar"
(*temporary) = nil
(*temporary) = "attempt to index field '?' (a nil value)"
ttindex = <table> {
 RIGHT = "ANCHOR_LEFT"
 BOTTOMRIGHT = "ANCHOR_TOPRIGHT"
 TOP = "ANCHOR_BOTTOM"
 LEFT = "ANCHOR_RIGHT"
 BOTTOM = "ANCHOR_TOP"
 TOPRIGHT = "ANCHOR_BOTTOMLEFT"
 BOTTOMLEFT = "ANCHOR_TOPLEFT"
 TOPLEFT = "ANCHOR_BOTTOMRIGHT"
 CENTER = "ANCHOR_TOP"
}
db = <table> {
 bag = <table> {
 }
 general = <table> {
 }
 dura = <table> {
 }
 xp = <table> {
 }
 fps = <table> {
 }
 lag = <table> {
 }
 money = <table> {
 }
 clock = <table> {
 }
 social = <table> {
 }
 mail = <table> {
 }
 mem = <table> {
 }
}
sf = <function> defined =[C]:-1
friendsOnline = 3
getClass = <function> defined @Interface\AddOns\SLDT\sldt_core.lua:152
guildiesOnline = 4
love the addon keep up the good work!
Report comment to moderator  
Reply With Quote
Unread 02-01-11, 05:38 PM  
dutorien
A Murloc Raider

Forum posts: 5
File comments: 13
Uploads: 0
Originally posted by Taffu
I have not done any localization for class colors yet. Nor have I yet for slash commands. Feel free to send me any information that may help in adding this localization to SLDT.
I implement localization on your version with that :

Code:
local L = LibStub("AceLocale-3.0"):NewLocale("SLDT", "frFR")
if not L then return end

L["Guerrier"] = "Warrior"
L["Guerrière"] = "Warrior"
L["Druide"] = "Druid"
L["Druidesse"] = "Druid"
L["Voleur"] = "Rogue"
L["Voleuse"] = "Rogue"
L["Prêtre"] = "Priest"
L["Prêtresse"] = "Priest"
L["Chevalier de la mort"] = "Death Knight"
L["Chaman"] = "Shaman"
L["Chamane"] = "Shaman"
L["Paladin"] = "Paladin"
L["Mage"] = "Mage"
L["Démoniste"] = "Warlock"
L["Chasseresse"] = "Hunter"
L["Inconnu"] = "UNKNOWN"
see my modification : SLDT.rar

++

Dutok
Last edited by dutorien : 02-01-11 at 05:45 PM.
Report comment to moderator  
Reply With Quote
Unread 02-01-11, 05:10 PM  
Taffu
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 149
File comments: 422
Uploads: 29
Originally posted by dutorien
I get this issue with French client wow :

Code:
Message: Interface\AddOns\SLDT\sldt_core.lua:663: attempt to index field '?' (a nil value)
Time: 02/01/11 23:11:10
Count: 4
Stack: Interface\AddOns\SLDT\sldt_core.lua:663: in function <Interface\AddOns\SLDT\sldt_core.lua:620>

Locals: this = sldt_social {
 0 = <userdata>
}
numBNet = 0
numBNetOn = 0
frTotal = 0
frOnline = 2
friends = <table> {
}
(for index) = 1
(for limit) = 2
(for step) = 1
m = 1
name = "Minouminou"
level = 85
class = "DÉMONISTE"
zone = "Le bastion du Crépuscule"
connected = 1
status = ""
note = nil
(*temporary) = <function> defined =[C]:-1
(*temporary) = "|cff%02X%02X%02X"
(*temporary) = nil
(*temporary) = "Démoniste"
(*temporary) = "DÉMONISTE"
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field '?' (a nil value)"
ttindex = <table> {
 RIGHT = "ANCHOR_LEFT"
 BOTTOMRIGHT = "ANCHOR_TOPRIGHT"
 TOP = "ANCHOR_BOTTOM"
 LEFT = "ANCHOR_RIGHT"
 BOTTOM = "ANCHOR_TOP"
 TOPRIGHT = "ANCHOR_BOTTOMLEFT"
 BOTTOMLEFT = "ANCHOR_TOPLEFT"
 TOPLEFT = "ANCHOR_BOTTOMRIGHT"
 CENTER = "ANCHOR_TOP"
}
db = <table> {
 bag = <table> {
 }
 general = <table> {
 }
 dura = <table> {
 }
 xp = <table> {
 }
 fps = <table> {
 }
 mem = <table> {
 }
 clock = <table> {
 }
 mail = <table> {
 }
 social = <table> {
 }
 money = <table> {
 }
 lag = <table> {
 }
}
sf = <function> defined =[C]:-1
friendsOnline = 1
getClass = <function> defined @Interface\AddOns\SLDT\sldt_core.lua:152
guildiesOnline = 0
The return var 'class' of GetFriendInfo function is in french, then the RAID_CLASS_COLORS[class] return nill because in Constants.lua the array of RAID_CLASS_COLORS is :

RAID_CLASS_COLORS = {
["HUNTER"] = { r = 0.67, g = 0.83, b = 0.45 },
["WARLOCK"] = { r = 0.58, g = 0.51, b = 0.79 },
["PRIEST"] = { r = 1.0, g = 1.0, b = 1.0 },
["PALADIN"] = { r = 0.96, g = 0.55, b = 0.73 },
["MAGE"] = { r = 0.41, g = 0.8, b = 0.94 },
["ROGUE"] = { r = 1.0, g = 0.96, b = 0.41 },
["DRUID"] = { r = 1.0, g = 0.49, b = 0.04 },
["SHAMAN"] = { r = 0.0, g = 0.44, b = 0.87 },
["WARRIOR"] = { r = 0.78, g = 0.61, b = 0.43 },
["DEATHKNIGHT"] = { r = 0.77, g = 0.12 , b = 0.23 },
};

best regards

Dutok
I have not done any localization for class colors yet. Nor have I yet for slash commands. Feel free to send me any information that may help in adding this localization to SLDT.
Report comment to moderator  
Reply With Quote
Unread 02-01-11, 04:20 PM  
dutorien
A Murloc Raider

Forum posts: 5
File comments: 13
Uploads: 0
I get this issue with French client wow :

Code:
Message: Interface\AddOns\SLDT\sldt_core.lua:663: attempt to index field '?' (a nil value)
Time: 02/01/11 23:11:10
Count: 4
Stack: Interface\AddOns\SLDT\sldt_core.lua:663: in function <Interface\AddOns\SLDT\sldt_core.lua:620>

Locals: this = sldt_social {
 0 = <userdata>
}
numBNet = 0
numBNetOn = 0
frTotal = 0
frOnline = 2
friends = <table> {
}
(for index) = 1
(for limit) = 2
(for step) = 1
m = 1
name = "Minouminou"
level = 85
class = "DÉMONISTE"
zone = "Le bastion du Crépuscule"
connected = 1
status = ""
note = nil
(*temporary) = <function> defined =[C]:-1
(*temporary) = "|cff%02X%02X%02X"
(*temporary) = nil
(*temporary) = "Démoniste"
(*temporary) = "DÉMONISTE"
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field '?' (a nil value)"
ttindex = <table> {
 RIGHT = "ANCHOR_LEFT"
 BOTTOMRIGHT = "ANCHOR_TOPRIGHT"
 TOP = "ANCHOR_BOTTOM"
 LEFT = "ANCHOR_RIGHT"
 BOTTOM = "ANCHOR_TOP"
 TOPRIGHT = "ANCHOR_BOTTOMLEFT"
 BOTTOMLEFT = "ANCHOR_TOPLEFT"
 TOPLEFT = "ANCHOR_BOTTOMRIGHT"
 CENTER = "ANCHOR_TOP"
}
db = <table> {
 bag = <table> {
 }
 general = <table> {
 }
 dura = <table> {
 }
 xp = <table> {
 }
 fps = <table> {
 }
 mem = <table> {
 }
 clock = <table> {
 }
 mail = <table> {
 }
 social = <table> {
 }
 money = <table> {
 }
 lag = <table> {
 }
}
sf = <function> defined =[C]:-1
friendsOnline = 1
getClass = <function> defined @Interface\AddOns\SLDT\sldt_core.lua:152
guildiesOnline = 0
The return var 'class' of GetFriendInfo function is in french, then the RAID_CLASS_COLORS[class] return nill because in Constants.lua the array of RAID_CLASS_COLORS is :

RAID_CLASS_COLORS = {
["HUNTER"] = { r = 0.67, g = 0.83, b = 0.45 },
["WARLOCK"] = { r = 0.58, g = 0.51, b = 0.79 },
["PRIEST"] = { r = 1.0, g = 1.0, b = 1.0 },
["PALADIN"] = { r = 0.96, g = 0.55, b = 0.73 },
["MAGE"] = { r = 0.41, g = 0.8, b = 0.94 },
["ROGUE"] = { r = 1.0, g = 0.96, b = 0.41 },
["DRUID"] = { r = 1.0, g = 0.49, b = 0.04 },
["SHAMAN"] = { r = 0.0, g = 0.44, b = 0.87 },
["WARRIOR"] = { r = 0.78, g = 0.61, b = 0.43 },
["DEATHKNIGHT"] = { r = 0.77, g = 0.12 , b = 0.23 },
};

best regards

Dutok
Last edited by dutorien : 02-01-11 at 04:27 PM.
Report comment to moderator  
Reply With Quote
Unread 01-24-11, 07:17 PM  
Taffu
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 149
File comments: 422
Uploads: 29
Originally posted by suicidalkatt
I'm getting an error when mousing over the friends / guild text:

Code:
8x SLDT-3.0.8\sldt_core.lua:660: attempt to index field '?' (a nil value)
Edit: After looking into it a bit more, you're not checking for "WoW" client before setting class as you did in the previous block of coding.

Changed a bit of the coding to this:

Code:
if class ~= "UNKNOWN" then
	local cCol = sf("|cff%02X%02X%02X", RAID_CLASS_COLORS[class].r*255, RAID_CLASS_COLORS[class].g*255, RAID_CLASS_COLORS[class].b*255)
	if not connected then break end
	if not tContains(friends, name) then
		GameTooltip:AddDoubleLine(sf("|cffffffff[%d]|r %s%s|r", level, cCol, name), sf("|cffffffff%s %s|r", status or "", zone))
	end
end
Seemed to fix my issue.

Also the "New Mail" tracker wasn't updating properly.

Disabling a tracker and then attempting to enable moving gives a nil on "item" since the disableTracker function gives the item.frame a nil.
Code:
1x SLDT-3.0.8\sldt_core.lua:1106: attempt to index local 'item' (a nil value)
1) GetFriendInfo(index) doesn't return client information, it pertains to the WoW client only, so it shouldn't require a client check like the BattleNet version info pull.

2) I'll add that snippet, thanks.

3) Can you elaborate on the mail issue? I haven't had any problems with it updating, some more details will help me troubleshoot

4) Then enable/disable issue was brought up 2 or so comments ago and I found the issue, this will be fixed with the next upload.
Report comment to moderator  
Reply With Quote
Unread 01-24-11, 06:26 PM  
suicidalkatt
A Rage Talon Dragon Guard
 
suicidalkatt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 331
File comments: 1467
Uploads: 50
I'm getting an error when mousing over the friends / guild text:

Code:
8x SLDT-3.0.8\sldt_core.lua:660: attempt to index field '?' (a nil value)
Edit: After looking into it a bit more, you're not checking for "WoW" client before setting class as you did in the previous block of coding.

Changed a bit of the coding to this:

Code:
if class ~= "UNKNOWN" then
	local cCol = sf("|cff%02X%02X%02X", RAID_CLASS_COLORS[class].r*255, RAID_CLASS_COLORS[class].g*255, RAID_CLASS_COLORS[class].b*255)
	if not connected then break end
	if not tContains(friends, name) then
		GameTooltip:AddDoubleLine(sf("|cffffffff[%d]|r %s%s|r", level, cCol, name), sf("|cffffffff%s %s|r", status or "", zone))
	end
end
Seemed to fix my issue.

Also the "New Mail" tracker wasn't updating properly.

Disabling a tracker and then attempting to enable moving gives a nil on "item" since the disableTracker function gives the item.frame a nil.
Code:
1x SLDT-3.0.8\sldt_core.lua:1106: attempt to index local 'item' (a nil value)
Last edited by suicidalkatt : 01-24-11 at 06:43 PM.
Report comment to moderator  
Reply With Quote
Unread 01-24-11, 01:42 PM  
Taffu
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 149
File comments: 422
Uploads: 29
Originally posted by eldavido
Hi Taffu,

Nitewarlord is indeed correct. It's a currency tracker as he stated, and is a seperate feature to the money tracker.

Sorry if that wasn't clearer earlier, but I was typing from work, and the boss walked in


edit: also missing a durability / repair tracker... forgot about that one
I'll definately look into expanding the current currency tracker. There's is definately a durability tracker though, with an AutoRepair feature. I'll be adding the "cost" of repairing to the tooltip information for that tracker before release.
Report comment to moderator  
Reply With Quote
Unread 01-24-11, 11:19 AM  
eldavido
A Kobold Labourer

Forum posts: 1
File comments: 106
Uploads: 0
Hi Taffu,

Nitewarlord is indeed correct. It's a currency tracker as he stated, and is a seperate feature to the money tracker.

Sorry if that wasn't clearer earlier, but I was typing from work, and the boss walked in


edit: also missing a durability / repair tracker... forgot about that one
Last edited by eldavido : 01-24-11 at 01:03 PM.
Report comment to moderator  
Reply With Quote
Unread 01-24-11, 10:17 AM  
nitewarlord
A Defias Bandit
AddOn Compiler - Click to view compilations

Forum posts: 2
File comments: 49
Uploads: 1
Originally posted by Taffu
There is a money tracker in this version. Can you clarify the request? Are there features on the money tracker that aren't present in the current Beta version that you would like to see?
I think what he/she is looking for is the currency tracker in live version that keeps track of the justice points, honor points, cooking tokens. I believe that that is module their asking for.
Report comment to moderator  
Reply With Quote
Unread 01-24-11, 08:21 AM  
Taffu
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 149
File comments: 422
Uploads: 29
Re: Error Reporting

Originally posted by KnHawke
This is what I get when I type in "/sldt move"


Code:
Message: Interface\AddOns\SLDT\sldt_core.lua:1104: attempt to index local 'item' (a nil value)
Time: 01/24/11 09:10:37
Count: 1
Stack: [C]: ?
Interface\AddOns\SLDT\sldt_core.lua:1104: in function <Interface\AddOns\SLDT\sldt_core.lua:1102>
Interface\AddOns\SLDT\sldt_core.lua:1113: in function <Interface\AddOns\SLDT\sldt_core.lua:1111>
Interface\AddOns\SLDT\sldt_core.lua:1183: in function `value'
Interface\FrameXML\ChatFrame.lua:4147: in function `ChatEdit_ParseText'
Interface\FrameXML\ChatFrame.lua:3737: in function `ChatEdit_SendText'
Interface\FrameXML\ChatFrame.lua:3775: in function `ChatEdit_OnEnterPressed'
[string "*:OnEnterPressed"]:1: in function <[string "*:OnEnterPressed"]:1>

Locals: item = nil
state = true
norm = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index local 'item' (a nil value)"
and I had to disable the FPS and Latency modules because I could not move them.... and Yes, I disable the ChatMods, still get this same message
That traces to a global update, and seems to fixate on the clock frame. Have you tried dumping your current saved variables for SLDT and seeing if that fixes the issue? I'm trying to duplicate the issue now, with no luck. Is this error being thrown with modules disabled?

Edit: Nvm, I found the problem. When trackers are disabled, the global update is throwing an error. I'll patch it. Thanks for the report!
Last edited by Taffu : 01-24-11 at 08:22 AM.
Report comment to moderator  
Reply With Quote
Unread 01-24-11, 08:15 AM  
KnHawke
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 40
Uploads: 13
Error Reporting

This is what I get when I type in "/sldt move"


Code:
Message: Interface\AddOns\SLDT\sldt_core.lua:1104: attempt to index local 'item' (a nil value)
Time: 01/24/11 09:10:37
Count: 1
Stack: [C]: ?
Interface\AddOns\SLDT\sldt_core.lua:1104: in function <Interface\AddOns\SLDT\sldt_core.lua:1102>
Interface\AddOns\SLDT\sldt_core.lua:1113: in function <Interface\AddOns\SLDT\sldt_core.lua:1111>
Interface\AddOns\SLDT\sldt_core.lua:1183: in function `value'
Interface\FrameXML\ChatFrame.lua:4147: in function `ChatEdit_ParseText'
Interface\FrameXML\ChatFrame.lua:3737: in function `ChatEdit_SendText'
Interface\FrameXML\ChatFrame.lua:3775: in function `ChatEdit_OnEnterPressed'
[string "*:OnEnterPressed"]:1: in function <[string "*:OnEnterPressed"]:1>

Locals: item = nil
state = true
norm = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index local 'item' (a nil value)"
and I had to disable the FPS and Latency modules because I could not move them.... and Yes, I disable the ChatMods, still get this same message
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.