Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(87 Kb)
Download
Updated: 10-18-14 12:39 AM
Pictures
File Info
Compatibility:
Warlords of Draenor Pre-Patch (6.0.2)
Updated:10-18-14 12:39 AM
Created:unknown
Downloads:157,349
Favorites:810
MD5:

SLDataText  Popular! (More than 5000 hits)

Version: 6.0.01
by: Taffu, suicidalkatt

Simple Light Data Text v6.0.01

SLDataText is a lightweight addon based on text based modules, which can be moved & customized independently or globally. It includes LibSharedMedia support for expanded font selection, and various degrees of mouse click interaction on various module frames. It also supports user-created plug-ins to expand on the module selection beyond what is included in this package. Plug-ins can be as vast or as tiny as desired. Included is are custom libraries (LibSL-1.0 and LibSLTip-1.0) that are used for module configuration menu management and interactive tooltips.

Each module can be positioned independently via dragging and placement can be fined tuned via the configuration menu. Fine tuning includes manual frame anchoring, text justification, X/Y value tweaking, and frame strata value.

Each module has an independent configuration menu, and the AddOn has a global menu to handle unified font types & sizes. The following modules are contained in this package:

  • NEW!!! Guild: Displays current online Guild Member count, and an interactive tooltip that allows click functionality.
  • NEW!!! Friends: Displays current online Friend count, and an interactive tooltip that allows click functionality.
  • Armor: Displays current overall gear durability value as well as a tooltip that provides detailed durability information. This module also has an auto-repair feature.
  • Bag: Displays remaining & total bag space. Click interaction toggles your bags open & closed.
  • Clock: Displays selected Local or Realm time, with options for 12 & 24 hour format(s). Tooltip provides expanded time information, and click interaction toggles both the Time Manager & Calendar windows.
  • Coords: A simple map coordinate display.
  • Currency: Displays currency of your choosing based on your "discovered" currencies. Interactive tooltip provides full currency list and allows for display selection.
  • Exp: Displays experience point information, including percentage & rest percentage.
  • FPS: A simple framerate display.
  • Gold: Displays current overall Gold in long or short format, tooltip shows session-based values (Starting/Current/Earned).
  • Latency: A simple latency display.
  • Mail: A simple mail indicator inheriting the stock MinimapMailFrame tooltip.
  • Memory: Displays current UI memory usage, as well as provides click interaction for manual garbage collection and a detailed list of AddOn usage.
  • Reputation: Displays current tracked Reputation. Utilizes Blizzards built-in tracking on the Reputation pane, "XP Bar" watched Reputations will be displayed.
  • ZoneText: A simple ZoneText display with PvP-Type coloration.
Be sure to check the Other Files tab for additional modules, such as Guild, Friends, and StatLine!

Usage:
/sldt[*]Help
/sldt config[*]Toggle drag & drop/configuration mode
/sldt global[*]Open global configuration menu
/sldt <module>[*]Open module configuration menu

Note: In drag & drop/configuration mode, you can left click & drag to move modules, or right click modules to open their specific configuration menu. The Global Configuration Menu has global options such as font & sizes that carry over into the modules, as well as profile options and tooltip scaling for LibSLTip tooltips.

October 17, 2014 - v6.0.01 -- * Suicidal Katt update *
-ToC Updated to 6.0.2 patch
-Ace3 Libs updated.
-Guild and Friends modules have now been included into the addon (localizations updated).
-Guild module and Friends modules have been drastically improved, welcome back class colors!


October 21, 2012 - v5.0.41 -- * Suicidal Katt update *
-Minor bugfix with Clock module.

October 20, 2012 - v5.0.4 -- * Suicidal Katt update *
-The 'am / pm' with custom time will now be correct with the realm time checkbox. Addressed the hour correct to not change '20' and '10' to '2' and '1' respectively.
-Fixed the upper limit for the 'exp' module.

October 15, 2012 - v5.0.3 -- * Suicidal Katt update *
-Updated Ace Library as well as LibSharedMedia.
-Huge rewrite for the clock module:
  • Added additional toggle for "Custom Time Format", previously the custom string was only used if realmTime was not used.
  • Added additional toggle for "Military Time" and added support for the db value 'format24'.
  • Fix: Custom Time formatting will use class colors if used and will lowercase the am/pm for any instance of %p throughout the string.
  • Fix: 'hourCorrect' will now work on any instance of %H or %I throughout the string.
  • Fix: Realm Time will now toggle between local and realm time for both custom strings and default formatting.
  • Added 'getLocalTime()' function to allow formatted text for local time.

September 2st, 2012 - v5.0.2
-Adjustment made to configuration slash command methods (thanks free_nme) to help locale issues

September 1st, 2012 - v5.0.1
-Changed max width of SLTip to 380px due to BattleTags being added to Friend module
-Update credit to WoWI user "IMulch" for fixes with Friend module and width update suggestion

August 30th, 2012 - v5.0.0
-Fixed issue with Clock module drag movement during configuration mode
-Version updated to latest WoW build

July 13th, 2012 - v.4.3.6
-Added additional cushion between double line tooltips for readability.
-Adjusted time formatting in clock tooltip for world PVP zones.
-Finalized and added Guild Fund use in armor repair.

May 26th, 2012 - v.4.3.5
-Fixed error with reputation tooltip when not tracking
-Mail module will show "Mail!" instead of 0/0 on icon mode counts with mail at login
-Exp module no longer shortens XP values at 1k, instead at 10k
-Fixed error with Exp module, rest xp no longer gives nil error when exhausted

May 2st, 2012 - v.4.3.4b
-Fixed error with "zhTW" localization file encoding

May 2st, 2012 - v.4.3.4a
-Updated "zhTW" localization

May 1st, 2012 - v.4.3.4
-Added "Reset Player Data" to Gold module
-Added new Reputation module
-Tweaked LibSLTip to ensure text line color works

April 10th, 2012 - v.4.3.3
-Updated Coords to increase update frequency
-Removed Coords interval option
-Updated LibSLTip, increased button highlight visibility, inherits game tooltip, added scale to options
-Updated Clock Module, added Tag style selection

April 1st, 2012 - v.4.3.2
-Added profile option for reseting current profile to default
-Added profile option to delete existing profiles

February 1st, 2012 - v.4.3.1
-Added "Tag/Text Display" feature to applicable modules
-Added deDE.lua locale file with starter translations (Thanks Noomcl)

January 29th, 2012 - v.4.3.0
-Added toggle for Mail module alert sound
-Added manual selection of Currency module display in it's config menu

January 28th, 2012 - v.4.2.9
-Bag module now has a "Text Line" option with tags for Total, Used, and Remaining space.
-Config Mode Tooltips now offset from the frames for better placement visualization.

January 23rd, 2012 - v.4.2.8a
-Bag issue with localization and options fixed (oops)
-Suffix & Prefix customization added to applicable modules

January 23rd, 2012 - v.4.2.8
-Localization finished
-ruRU and frFR localizations added (apologies for bad translations!)

January 14th, 2012 - v.4.2.7
-Localization has been started
-Clock now reflects world PVP information
-Frame Strata now works properly (thanks jeffy162)
-Currency module now truncates the currency title on the display (not on the tooltip)
-Display pulse is now a global call to the core, all modules can now highlight pulse using the :Pulse(name, boolean) API.

January 8th, 2012 - v.4.2.6
-Turning off tooltips ensures frame click-through now.
-Calendar Invites Pulse has returned to the clock module.
-Clock now reflects the proper minutes for realm time.
-Exp module should update properly and more consistently now.
-Enabling/Disabling modules should no longer affect their menu visibility.
-Enabling/Disabling modules should have a larger impact on memory usage now.

January 3nd, 2012 - v.4.2.5
-Updated handling of frame anchors when using SLDT modules as the parent anchor.

January 2nd, 2012 - v.4.2.4
-Updates to primary LibSL library.
-Updates to core/element interaction.
-Fixed issue with clock options not showing properly in the menu.

December 31th, 2011 - v.4.2.3
-Updates to primary LibSL library.

December 30th, 2011 - v.4.2.2
-Updated how adding modules is handled internally.

December 24th, 2011 - v.4.2.1
-Tweaked ZoneText coloring method, black text 'should' be gone.
-Tweaked combat fade speed and functionality so text doesn't partially disappear sometimes.
-Changed method of realm time fetching, hopefully our minute zero's come home.
-Module frames can now be used as parent using "SLDT_<modulename>".

December 23th, 2011 - v.4.2.0
-4.2 is a Beta overhaul release of the upcoming 5.0 package for Mists of Pandera

December 18th, 2011 - v.4.1.1
-Should avoid errors with AceTimer calls with Guild List Module now

December 11th, 2011 - v.4.1.0
-Updated with SuicidalKatt's Cata Fan Update
-Re-versioned to 4.1.0

February 8th, 2011 - v.4.0.6
-Fixed error with Clock Wintergrasp tooltip timer
-Added Tol'Barad timer to Clock tooltip

October 21st, 2010 - v.4.0.5
-Fixed Currencies module not showing the tracked currency after relog
-Fixed Clock module ignoring disable

October 20th, 2010 - v4.0.4
-Currencies module can now track everything
-Fixed a bug if u had 0 honor

October 19th, 2010 - v4.0.3
-Changed Honor module into Currencies

October 19th, 2010 - v4.0.2
-Fixed Bnet friends not updating correctly
-Fixed Friend Refresh bug again (maybe)

October 17th, 2010 - v4.0.1
-Added Tracking module again
-Fixed Friend module not loading properly sometimes (hopefully)

October 15th, 2010 - v4.0.0
-Removed Tracking
-Disabled Arena till Cataclysm
-Updated for 4.0
-Fixed some bugs

September 14th, 2010 - v3.3.21
-Fixed Bnet friend invite

September 13th, 2010 - v3.3.2
-Fixed Friend Notes
-Added Officer Notes

September 6th, 2010 - v3.3.1
-Fixed SC2 Support (forgot some lines of code there :o)

September 5th, 2010 - v3.3.0
-Added RealID Support

May 31st, 2010 - v3.2.5
-Fixed GameTimeFrame option in Clock Module, removed Calender checks
-Fixed Mail Module, no longer shows weird notes & totals
-Added "Outline" option to global font options, enabling heavy outlines per request

March 29th, 2010 - v3.2.4
-Fixed "You are not in a guild." spam.
-Added single Marks of Honor turn in.

March 9th, 2010 - v3.2.3
-Fixed Coords bug
-Fixed Honor, not loading and updating Currencys properly
-Fixed Arena bug

March 7th, 2010 - v3.2.2
-Fixed Gold reset function
-Added Arena Module (Shows arena points gained from a team)

March 6th, 2010 - v3.2.1
-Gold Module saves gold based on faction aswell.
-Added Honor Module (Shows Starting Honor, Honor gained in the session and calculates honor you could get by turning in your Marks of Honor/ Stone Keeper's Shard)

March 6th, 2010 - v3.2
-Fixed ZoneText bug
-Fixed Profile change messing up all setting
-Added automatic refresh to the Guildmod
-Added support for 50+ mails

June 28th, 2009 - v3.1.4
-Added Guild Bank funding option to AutoRepair feature on Durability module (Thanks to Dewer)
-Added German (deDE) locale reference for color in Guild & Friend List modules (Thanks to soddi)

June 15th, 2009 - v3.1.3
-Memory Module fixed

June 15th, 2009 - v3.1.2
-Modules that were no longer updating after In Combat hiding have remembered their jobs, should no longer be failing to update

May 25th, 2009 - v3.1.1
-Calendar Invitation Pulse added to Clock module
-Clock module tooltip enhanced to include Wintergrasp timer
-Clock module tooltip enhanced to include calendar Month, Day, and Year
-Bag module should now recognize & count Soul Shards even without a Soul Bag

May 19th, 2009 - v3.1.0
-Added Auto Repair feature to Durability module
-Enhanced combat hide/show feature to include a fade in and fade out (fancy!)

April 22nd, 2009 - v3.0.0
-Updated TOC
-Removed Calendar, Statline, and Exp modules
-Added feature to wipe Gold stats (see config menu)
-Fixed Locale issue that would cause an error on Login/Reloadui

December 4th, 2008 - v2.1.6
-Added Chinese locales (credit to Digmouse)
-Adjusted graphic background on Calendar modules "pulse" alert for pending invites
-Added Friends & Guild class locales (credit to Digmouse)

November 12th, 2008 - v2.1.5
-Memory/Usage issue taken care of
-Cleaned up some addition lose ends, stability is much better

November 8th, 2008 - v2.1.4
-Memory "trimming" added
-Mail no longer has two PLAYER_ENTERING_WORLD handlers, will work right now
-Tweaks to GuildList & FriendList modules for more accurate updates
-Secondary Text added to Memory module again
-Font selection for individual modules is now fixed and working properly

November 8th, 2008 - v2.1.3a
-Typo in Mail module causing error when closing a mailbox fixed

November 8th, 2008 - v2.1.3
-Module load order has been rebuilt to fix anchoring issues on login/reloadui
-Class color option for global color (toggle)
-Chinchilla issue should be fixed (DT: function wasn't valid, fixed this)

November 7th, 2008 - v2.1.2
-Modules with disable problems are fixed (ZoneText, Gold, etc.)
-Shift+Click on clock will toggle the calendar again
-GameTimeFrame is now associated to the Calendar module
-Clock module can "force hide" the GameTimeFrame when Calendar is disabled
-I took the studded belt out and taught Statline how to work properly ;-)

November 7th, 2008 - v2.1.1
-Rewrite back into some Ace Libs
-Shift+Click on name in FriendsList tooltip opens Friend Note window
-Global color adjustment (no forced class colors)
-Reworked the Memory module

October 28th, 2008 - v2.10
-Converted to AceLocale-3.0 Lib to handle translations

October 28th, 2008 - v2.09
-Slash commands no longer localized (attempt to fix menu issue)

October 27th, 2008 - v2.08
-Continuing fixes for SLDT_Locale.lua file and locale integration.

October 26th, 2008 - v2.07
-Added class locale tables to Guild & Friends modules to fix problem with locale
translations and the class colors not functioning correct.

October 25th, 2008 - v2.06
-Added locale tables, German is translated (thanks Mordog). AddOn should function, but require translation, on other Locales.

October 20th, 2008 - v2.05
-Clock will now "pulse" a glowing border when you have pending calendar invites
-Stability with enabling/disabling modules that effect Blizzard elements fixed
-deDE German table added to SLDT_Locale.lua, but not translated (coming soon)

October 19th, 2008 - v2.04
-Tooltips for FriendList and GuildList modules back to normal (without scale)
-Durability should update properly now
-I found the "0" in Server Time minutes wandering a dark alley, brought him home

October 18th, 2008 - v2.03
-Further attempt to fix Chinchilla Location Frame issue

October 18th, 2008 - v2.02
-Handles hiding Chinchilla "Location Frame" when ZoneText enabled
-Memory will force lightweight memory assessment when higher than 30mb
-GuildList & FriendList Tooltip scaling added

October 13th, 2008 - v2.00
-SLDT full release for 3.0/WotLK compatibility

July 14th, 2008 - v1.15
-Memory module will update on load now, instead of requiring a mouseover

June 2nd, 2008 - v1.14
-Removed dependency of Abacus library
-Attempt to fix Memory glitch by using gcinfo() instead of collectgarbage("count")

May 13th, 2008 - v1.13
-Updated Abacus to fix parsing for currency

April 11th, 2008 - v1.12
-Fixed problem with ZoneText not properly updating

April 11th, 2008 - v1.10 and v1.11
-Added ZoneText and Coords plugins
-Applied Digmouse's fixes for the zhCN and zhTW Colors.lua file

April 10th, 2008 - v1.02
-Additional locale information added for plugins
-Colors.lua table adjustments to support client information
-Core adjustments for new Colors.lua
-"Profiles" added - buggy and needs tweaking, but functioning
-Click functionality on Guild List fixed when columns are hidden
-Tooltip adjustments on Memory module to attempt to stem off lag problems

-Added localization for classes in the Color.lua file, and a localization check in the Friend & Guild List tooltip to avoid errors thrown when retrieving class colors for the tooltip lists.
Optional Files (5)
File Name
Version
Size
Author
Date
Type
1.1.0
5kB
10-06-12 05:41 AM
Addon
1.0.5
5kB
09-02-12 05:12 PM
Addon
1.0.2
7kB
09-01-12 03:42 AM
Addon
1.0.3
3kB
06-27-12 03:50 PM
Addon
1.0.1
7kB
01-14-12 06:34 AM
Addon


Archived Files (35)
File Name
Version
Size
Author
Date
5.0.41
81kB
Taffu
10-21-12 08:27 AM
5.0.4
81kB
Taffu
10-21-12 12:27 AM
5.0.3
81kB
Taffu
10-15-12 05:18 AM
5.0.2
78kB
Taffu
09-02-12 05:11 PM
5.0.1
78kB
Taffu
09-01-12 11:37 AM
5.0.0
78kB
Taffu
08-30-12 04:04 PM
4.3.6
78kB
Taffu
07-13-12 01:56 PM
4.3.5
77kB
Taffu
05-26-12 07:58 AM
4.3.4b
77kB
Taffu
05-02-12 05:02 PM
4.3.4a
77kB
Taffu
05-02-12 01:15 PM
4.3.4
77kB
Taffu
05-01-12 02:17 PM
4.3.3
73kB
Taffu
04-10-12 04:48 PM
4.3.2
73kB
Taffu
04-01-12 03:42 PM
4.3.1
72kB
Taffu
02-01-12 05:53 PM
4.3.0
70kB
Taffu
01-29-12 09:43 AM
4.2.9
70kB
Taffu
01-28-12 12:30 PM
4.2.8a
69kB
Taffu
01-23-12 06:33 PM
4.2.8
69kB
Taffu
01-23-12 06:15 PM
4.2.7
62kB
Taffu
01-14-12 06:26 AM
4.2.6
45kB
Taffu
01-08-12 05:19 AM
4.2.5
42kB
Taffu
01-03-12 12:11 PM
4.2.4
42kB
Taffu
01-02-12 09:28 PM
4.2.3
43kB
Taffu
12-31-11 09:35 AM
4.2.2
59kB
Taffu
12-29-11 05:51 PM
4.2.1
59kB
Taffu
12-24-11 08:08 AM
4.2.0
58kB
Taffu
12-23-11 11:10 AM
4.1.1
257kB
Taffu
12-18-11 12:47 PM
4.1.0
257kB
Taffu
12-11-11 05:06 AM
4.0.6
264kB
Taffu
02-08-11 06:41 PM
4.0.5
261kB
Taffu
10-21-10 03:52 AM
4.0.4
261kB
Shiadra
10-20-10 07:26 AM
4.0.3
261kB
Shiadra
10-19-10 01:27 PM
4.0.2
260kB
Shiadra
10-19-10 11:24 AM
4.0.1
260kB
Shiadra
10-17-10 04:48 AM
4.0.0
258kB
Shiadra
10-15-10 07:16 AM


Post A Reply Comment Options
Unread 09-12-10, 06:29 AM  
suicidalkatt
A Rage Talon Dragon Guard
 
suicidalkatt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 317
File comments: 1405
Uploads: 60
Originally posted by Shiadra
No, sry
didn't get any chance to look at cataclysm yet
Probably gotta wait till release.
I have posted some changes for cataclysm and have given both you and gimbli the ability to change anything you'd like:

http://www.wowinterface.com/download...FanUpdate.html
suicidalkatt is offline Report comment to moderator  
Reply With Quote
Unread 09-12-10, 01:51 PM  
Makershot
A Kobold Labourer
 
Makershot's Avatar

Forum posts: 1
File comments: 7
Uploads: 0
Originally posted by Bentobaku
Great Addon one of my favorite

Am seconding the request for Real ID support and Officer note support
Thirding. I tried poking around in Guild.lua, and it seems like Officer Note support is there, but I have no idea how to implement it correctly.

Any help as how to go about this? We use officer notes extensively in our guild, and having to open the guild panel every time gets old after a while.
__________________
Makershot is offline Report comment to moderator  
Reply With Quote
Unread 09-13-10, 11:33 AM  
Shiadra
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 34
Uploads: 0
Originally posted by Makershot
Thirding. I tried poking around in Guild.lua, and it seems like Officer Note support is there, but I have no idea how to implement it correctly.

Any help as how to go about this? We use officer notes extensively in our guild, and having to open the guild panel every time gets old after a while.
I'm gonna take a look at it. Shouldn't be too much work anyway^^
Shiadra is offline Report comment to moderator  
Reply With Quote
Unread 09-14-10, 02:02 PM  
soddi
A Kobold Labourer

Forum posts: 0
File comments: 24
Uploads: 0
You forgot to implement the <alt+leftclick> invite feature on the friendlist on battle.net friends to use the charactername instead of the realId name :-)

Thanks for updating this cool addon.
Last edited by soddi : 09-14-10 at 02:04 PM.
soddi is offline Report comment to moderator  
Reply With Quote
Unread 09-14-10, 02:38 PM  
Shiadra
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 34
Uploads: 0
Originally posted by soddi
You forgot to implement the <alt+leftclick> invite feature on the friendlist on battle.net friends to use the charactername instead of the realId name :-)

Thanks for updating this cool addon.
Thanks, didn't even notice that yet ^^ But should be fixed now
Shiadra is offline Report comment to moderator  
Reply With Quote
Unread 09-15-10, 03:32 AM  
Darxon
A Warpwood Thunder Caller
AddOn Compiler - Click to view compilations

Forum posts: 92
File comments: 65
Uploads: 2
Code:
Message: Interface\AddOns\SLDataText\Elements\Friends.lua:7: Cannot find a library instance of "Tablet-2.0".
Time: 09/15/10 11:31:24
Count: 1
Stack: [C]: in function `error'
Interface\AddOns\AddonLoader\LibStub\LibStub.lua:23: in function `LibStub'
Interface\AddOns\SLDataText\Elements\Friends.lua:7: in main chunk

Locals: (*temporary) = "Cannot find a library instance of "Tablet-2.0"."
__________________
Darxon is offline Report comment to moderator  
Reply With Quote
Unread 09-15-10, 10:09 AM  
Shiadra
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 34
Uploads: 0
Originally posted by Darxon
Code:
Message: Interface\AddOns\SLDataText\Elements\Friends.lua:7: Cannot find a library instance of "Tablet-2.0".
Time: 09/15/10 11:31:24
Count: 1
Stack: [C]: in function `error'
Interface\AddOns\AddonLoader\LibStub\LibStub.lua:23: in function `LibStub'
Interface\AddOns\SLDataText\Elements\Friends.lua:7: in main chunk

Locals: (*temporary) = "Cannot find a library instance of "Tablet-2.0"."
Looks like u messed something up Just try to delete Interface/AddOns/SLDT and copy a fresh download in your addon folder.
Shiadra is offline Report comment to moderator  
Reply With Quote
Unread 09-15-10, 04:24 PM  
Darxon
A Warpwood Thunder Caller
AddOn Compiler - Click to view compilations

Forum posts: 92
File comments: 65
Uploads: 2
i did just that, always delete the old folder before intsalling a new version of an addon.
Deleted the SLDataText.lua and SLDataText.bak to after the first error.

Gonna look into what wnr wrong when im not tierd after work :P
__________________
Darxon is offline Report comment to moderator  
Reply With Quote
Unread 09-16-10, 01:51 AM  
Shiadra
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 34
Uploads: 0
Originally posted by Darxon
i did just that, always delete the old folder before intsalling a new version of an addon.
Deleted the SLDataText.lua and SLDataText.bak to after the first error.

Gonna look into what wnr wrong when im not tierd after work :P
Strange. You do have SLDataText\Libs\TabletLib? Inside there there should be the Tablet-2.0. The only thing i could think of is some problem with an external lib you got. Though even that would be somewhat weird. Tried wether it works if you just load SLDT without any other addons running?

I guess there aren't any other people with this problem, are there?
Last edited by Shiadra : 09-16-10 at 01:53 AM.
Shiadra is offline Report comment to moderator  
Reply With Quote
Unread 09-22-10, 05:21 PM  
tgurok
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Occasional Error

I get this error quite a bit.. when logging on a character, sometimes a reloadui will fix it.. sometimes I'll get the error again..

Date: 2010-09-22 19:19:37
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\SLDataText\Elements\Friends.lua line 520:
bad argument #2 to 'format' (string expected, got nil)
Debug:
(tail call): ?
(tail call): ?
[C]: format()
SLDataText\Elements\Friends.lua:520: Refresh()
SLDataText\Core.lua:233: RefreshModule()
SLDataText\Elements\Friends.lua:360: ?()
...ist\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147:
...ist\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147
[string "safecall Dispatcher[1]"]:4:
[string "safecall Dispatcher[1]"]:4
[C]: ?
[string "safecall Dispatcher[1]"]:13: ?()
...ist\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:92: Fire()
...s\AckisRecipeList\libs\AceEvent-3.0\AceEvent-3.0.lua:120:
...s\AckisRecipeList\libs\AceEvent-3.0\AceEvent-3.0.lua:119
AddOns:
"blah blah blah"
tgurok is offline Report comment to moderator  
Reply With Quote
Unread 09-23-10, 04:27 AM  
Shiadra
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 34
Uploads: 0
Re: Occasional Error

Originally posted by tgurok
I get this error quite a bit.. when logging on a character, sometimes a reloadui will fix it.. sometimes I'll get the error again..

Date: 2010-09-22 19:19:37
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\SLDataText\Elements\Friends.lua line 520:
bad argument #2 to 'format' (string expected, got nil)
Debug:
(tail call): ?
(tail call): ?
[C]: format()
SLDataText\Elements\Friends.lua:520: Refresh()
SLDataText\Core.lua:233: RefreshModule()
SLDataText\Elements\Friends.lua:360: ?()
...ist\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147:
...ist\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147
[string "safecall Dispatcher[1]"]:4:
[string "safecall Dispatcher[1]"]:4
[C]: ?
[string "safecall Dispatcher[1]"]:13: ?()
...ist\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:92: Fire()
...s\AckisRecipeList\libs\AceEvent-3.0\AceEvent-3.0.lua:120:
...s\AckisRecipeList\libs\AceEvent-3.0\AceEvent-3.0.lua:119
AddOns:
"blah blah blah"
i get this one myself from time to time too. Seems to happen if u got a lot of addons and a long load screen.
Shiadra is offline Report comment to moderator  
Reply With Quote
Unread 09-25-10, 04:10 PM  
AJMac
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
I've been trying to get SLData text to change its alpha when entering combat to 0.5 and returning to 1 once out of combat. I'm not expert at LUA, but I've been picking bit ups while fiddling around with addons for the past couple of days. I found this block of text in Core.lua:

Code:
local function outCombat()
    for key, val in SLDataText:IterateModules() do
        if ( val:IsEnabled() and db.hideInCombat and not val.db.profile.noCombatHide ) then
            fadeIn(val.frame)
        end
	end
end

local function inCombat()
    for key, val in SLDataText:IterateModules() do
		if ( val:IsEnabled() and db.hideInCombat and not val.db.profile.noCombatHide ) then
            fadeOut(val.frame)
        end
	end
end
I'm thinking it's in that section there that I have to put the code to do what I want it to. What exactly do I need to put in there?
AJMac is offline Report comment to moderator  
Reply With Quote
Unread 09-26-10, 07:21 AM  
Shiadra
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 34
Uploads: 0
Originally posted by AJMac
I've been trying to get SLData text to change its alpha when entering combat to 0.5 and returning to 1 once out of combat. I'm not expert at LUA, but I've been picking bit ups while fiddling around with addons for the past couple of days. I found this block of text in Core.lua:

Code:
local function outCombat()
    for key, val in SLDataText:IterateModules() do
        if ( val:IsEnabled() and db.hideInCombat and not val.db.profile.noCombatHide ) then
            fadeIn(val.frame)
        end
	end
end

local function inCombat()
    for key, val in SLDataText:IterateModules() do
		if ( val:IsEnabled() and db.hideInCombat and not val.db.profile.noCombatHide ) then
            fadeOut(val.frame)
        end
	end
end
I'm thinking it's in that section there that I have to put the code to do what I want it to. What exactly do I need to put in there?
I'd say it has to look like that:

Code:
local function outCombat()
    for key, val in SLDataText:IterateModules() do
        if ( val:IsEnabled() and db.hideInCombat and not val.db.profile.noCombatHide ) then
            val.frame:SetAlpha(1)
        end
	end
end

local function inCombat()
    for key, val in SLDataText:IterateModules() do
		if ( val:IsEnabled() and db.hideInCombat and not val.db.profile.noCombatHide ) then
            val.frame:SetAlpha(0.5)
        end
	end
end
I haven't tested it. But it should work

Edit:
If you'd like to keep the fade effect u could probably also just change this (without the changes above):
Code:
local function fadeOut(frame)
    if ( frame:GetAlpha() > 0 ) then
        local step = 0.05
        frame:SetScript("OnUpdate", function(self, elapsed)
            if ( frame:GetAlpha() <= 1.0 and frame:GetAlpha() > 0.5 ) then
                frame:SetAlpha(frame:GetAlpha()-step)
            elseif ( frame:GetAlpha() <= 0.5 ) then
                frame:SetScript("OnUpdate", nil)
            end
        end)
    end
end
and

Code:
local function fadeIn(frame)
    frame:Show()
    if ( frame:GetAlpha() <= 0.5 ) then
        local step = 0.05
        frame:SetScript("OnUpdate", function(self, elapsed)
            if ( frame:GetAlpha() < 1.0 ) then
                frame:SetAlpha(frame:GetAlpha()+step)
            elseif ( frame:GetAlpha() == 1.0 ) then
                frame:SetScript("OnUpdate", nil)
            end
        end)
    end
end
Last edited by Shiadra : 09-26-10 at 07:52 AM.
Shiadra is offline Report comment to moderator  
Reply With Quote
Unread 09-26-10, 07:02 PM  
ProfilerX
A Murloc Raider
 
ProfilerX's Avatar

Forum posts: 4
File comments: 10
Uploads: 0
problem with moving elements

I have a problem with moving certain elements such as: GUILD/FPS/MS/MAIL/MEMORY/CURRENCY and FRIENDS. I can move only ARMOR and BAG. This is a real issue now i cant do what i want with it thus i have to uninstall or it not use it.. its sad ;S cause i like it alot.

Any possibility of getting some help to try and fix it? thanks in advance.

Sean-
ProfilerX is offline Report comment to moderator  
Reply With Quote
Unread 09-26-10, 10:20 PM  
ProfilerX
A Murloc Raider
 
ProfilerX's Avatar

Forum posts: 4
File comments: 10
Uploads: 0
Fix

Ok ive been tinkering around with it and it seems you can actually move the elements if they wont highlight to drag and drop by clicking enable off then on again.

Also i did a /reload while i had SLDataText open and "Lock" ticked off and when i logged in again i could move ALL the elements w/o having to go through each one to reset.

Also if you happen to move the element off your screen and are wondering on how to get it back just put in the position of that element in the options menu of that particular element. For e.g. Show at LEFT side and it will pop up there for you.

Hope this helps some ppl
ProfilerX is offline 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.