Download
(60Kb)
Download
Updated: 06-30-11 01:16 PM
Addon for:
LitePanels.
Pictures
File Info
Updated:06-30-11 01:16 PM
Created:10-12-09 02:10 AM
Downloads:18,828
Favorites:113
MD5:

LiteStats  Popular! (More than 5000 hits)

Version: 40200.1
by: Katae [More]

Proof of concept plugin for LitePanels, which you will need installed.

To install, rename config_default.lua to config.lua.

/litestats (/lstats) - In-game functionality help.

Another stats mod? Why?
This addon was initially created to test LitePanels to make sure it was bug free. There are a lot of addons like this out there, but none that had the capabilities that I wanted from an addon of this type.

Missing a nifty feature X from stats mod Y?
Ask and ye shall receive!

~ modules ~

#Memory: Right click collects Lua garbage. Max number of addons can be set in the config.

#Durability: Armored man can be configured to be hidden or shown. Armor durability percentages scale from green (100%) to yellow (50%) to red (0%). Auto-repair may be toggled by right-clicking the text, guild funds can be configured in the config. Shift-click or Middle-click opens an equipment set switching menu.

#Gold: Saves data on the amount of gold you have server-wide. Right-clicking the text toggles auto-vendoring trash loot. A junk exceptions list can be configured via the /junk command.

#Clock: Left-click toggles the game calendar, right-click toggles time manager. Time manager settings apply.

#Location/Coords: Player coords are displayed on the tooltip or as a separate module. Clicking toggles the world map. Shift-click inserts the coordinates into chat.

#Ping: Displays a class colored text with who pinged the minimap!

#DPS: May be configured to show/hide on activity.

#Guild/Friends: Online count text including members/friends online tooltip with right-click sorting (guild only). Holding alt shows notes and ranks.

#Talents: Talent spec display with ability to right-click to cast dual spec.

#Character Stats: User's choice of stats configured in a [tag] format. Dual spec support.

#Experience/Played/Reputation: A three-in-one module with XP tracking, playtime tracking, and a reputation text display. The three modes can be cycled through by right-clicking.

Also: Latency, FPS, Mail, and Bag space.


Note that some modules may be disabled by default. Simply head to the config file and enable as you see fit!

» locales


40200.1 -- 2011.06.30
- Fixed a couple bugs that crept in with 4.2 API changes.
- 4.2 toc update.

40100.1 -- 2011.06.12
- Fixed a 4.1 bug in the DPS module that was breaking it.
- Implemented 'World' latency. Text shows the greater of home or world. Latency module given tooltip to display both.
- 4.1 toc update.

40000.5 -- 2011.03.12
- Added average ilvl to the durability tooltip.
- Friends list module was not updating when BN friends list changed.
- Explicitly converted 'lastkill' and 'lastquest' to a number in case it was being interpreted as a string. May have been causing some errors.

40000.4 -- 2011.02.15
- Fixed clock bug and added the Tol Barad timer. (donjon & dutorien)
- Moved around the default location of modules in the config in relation to the default minimal.
- Disabled the Coords, Talent, and Stats modules by default.
- Player name is no longer hidden in the guild module.
- Default minimap zone text is now hidden when the Location module is enabled.
- DPS module, if set to do so, will now hide when inactive after 10 seconds. DPS value can now be shortened (15.2k).

40000.3 -- 2010.10.24
- Minor code cleanup.
- Fixed issue where b.net friends' real names were not showing up by holding alt if the person didn't have a note.

40000.2 -- 2010.10.18
- Removed talent spam filtering, obsolete.
- Fixed bug equipmentManager bug. (thanks lainbh)
- Guild module now opens the new guild frame. (thanks lainbh)
- Friends module now shows Battle.net friends. Holding alt will show the player's real name while they're logged into WoW.
- Fixed watched currency icon.

40000.1 -- 2010.10.13
- 4.0 toc update.
- Ammo module obsolete, removed.
- Tracking module obsolete, removed.
- Talent module bugs squashed.
- Bug with the default clock not hiding correctly.

30300.9 -- 2010.08.13
- Enabled ability to set font to each stat individually. Simply use the following attributes in the individual stat settings: font, color, size, alpha, outline, and/or shadow.

30300.8 -- 2010.08.04
- Added Korean (koKR) locale. Updated Spanish (esES) locale.

0.9.10a -- 2010.01.29
- Localization updates: frFR added, complete; esES added, partial; deDE updated.

0.9.10 -- 2010.01.29
- Added [color] tag, for a gradient color code, to latency and durability modules.
- Added latency and fps to the memory tooltip.
- Hidden addons in the memory module, or hidden guild mates in the guild module can now be exposed by holding the Alt key.
- Faction name subs config added (faction_subs).
- Faction tooltip with basic info added.
- Localization updates. zhTW added, partial.

0.9.9 -- 2010.01.08
- ruRU and deDE localizations added. http://wow.curseforge.com/addons/litepanels/localization/
- Commented out d/h/m/s variables in experience module, customize by uncommenting.
- Changed default font to a more universal locale friendly one.
- Added ammo module by request. Enabled only on hunters by default.
- Added reputation watcher to experience module. Change format with the new faction_fmt variable.
- Left-click now cycles between experience, time played, and reputation.
- Experience module variable changes: normal_fmt -> xp_normal_fmt, rested_fmt -> xp_rested_fmt, maxlevel_fmt -> played_fmt
- Moved LPSTAT_SUBS table to Talents.name_subs in the module config.

0.9.8a -- 2009.12.15
- Small variable bug fix in experience module. Forgot to document changing the variable Experience.fmt to Experience.normal_fmt.

0.9.8 -- 2009.12.14
- Added in-combat hiding options for all or specific stats.
- Equipment set switching menu added to durability module. Shift-click or Middle-click opens it.

0.9.7a -- 2009.12.08
- Fixed error when config.lua isn't installed.

0.9.7 -- 2009.12.08
- 3.3 toc update.
- Renamed default config file to config_default.lua. Config now installed by changing the name to config.lua.
- Renamed Experience.fmt variable to Experience.normal_fmt
- Added location module's chat coords functionality to the coords module.
- Rewrote the coords module. Less buggy now.
- Added memory gradient coloring in memory tooltip.
- Modules anchored to a disabled module will no longer be hidden.
- Experience module and tags revamped, please see new config for changes.
- Playtime added to experience module, hold alt to see all character's total time played (default when max level).
- Minor time format changes (#d #h #m #s).
- Asterisk next to grouped friend/guildies is now colored green if in player's current zone, orange if not.
- Added /lstats command. Lists tips on how to use various module functionalities.

0.9.6c -- 2009.11.12
- Reverted last revision's "icon_size" setting changes back to "iconsize". This was causing a little confusion.
- Tracking icon bug fixed.
- Removed coord tracking inside instances. This was causing the world map to hide itself when opened.

0.9.6b -- 2009.11.11
- Added global tooltip icon setting (LTIPICONSIZE)
- Added icon tag to tracking module.

0.9.6a -- 2009.11.11
- Various bug fixes
- Class names can now be used in profiles.

0.9.6 -- 2009.11.11
- Added character stats module. Two strings available for dual specs, configurable by tags. Tag list is in config.
- Added experience module, tag configurable. Basic, much more functionality is planned in the future.
- Added coordinates module (off by default), location module tooltip retains coord functionality.
- Added an asterisk to friends and guild members that are in your group or raid.
- Added a default guild roster sorting setting.
- Tracked currencies added to the gold module. Left-click now opens currencies tab.
- Added the default UI mail tooltip to the mail module.

0.9.5a -- 2009.11.04
- Fixed a bug with class localizations in the friends module.

0.9.5 -- 2009.11.04
- Moved all of the configuration variables to config.lua. Included a string class coloring function.
- Guild list tooltip added to the guild module. Right-click cycles sorting name/level/class/zone, shift right-click reverses the current sort. Hold the Alt key to view or sort by notes and ranks.
- Friends list tooltip added to the friends module. Hold the Alt key to view notes.
- Reworked the clock module. The clock display now reflects the settings in the Time Manager (right-click).
- Memory module will now display in KB when below 1MB.
- Bugs in the talents module squashed.
- Made changes to string format configs dealing with numbers, allowing for more control over decimals.
- Stat building structure changed, see NewStat().

0.9.4 -- 2009.10.29
- Fixed a bug in the clock module.
- Added icon tag and chat filter to the talents module.

0.9.3 -- 2009.10.25
- Moved autosell/repair default savedvars to set themselves on login.
- 24-hour option added to the Clock module.
- Inventory repairs can now be ignored/unignored via the ignore_inventory option.
- Added guild and friends modules. Clicking will toggle either the guild or friends/ignore list.
- Added bag space module. Clicking opens/closes all bags.
- Added talents module. Clicking swaps spec if dual spec is learned, right-click opens the talent UI.
- Provided a commented stat template near the end of core.lua.

0.9.2 -- 2009.10.13
- Added a junk profit chat printout. Chat gold format changed.

0.9.1 -- 2009.10.13
- Removed some personal tweaks I forgot to remove in the release.
- Fixed a bug with profiles and moved them to a different file, profiles.lua
- Added variable for changing the number of letters the location text is truncated by, 0 disables this feature.
- Option for displaying local time added.
- Added chat syntax explanation for /junk.
- Tooltip click polishing.
- Default for DPS hide_inactive enabled.
- Added coords to the location tooltip, auto-updates. Shift-clicking location text will insert the player's zone and coords into the chat edit box.
- Memory tooltip now auto-updates while hovered.
- Included 04b03 font. http://www.dsg4.com/04/extra/bitmap/index.html

0.9 -- 2009.10.12
- Initial release.
Post A Reply Comment Options
Unread 05-19-16, 01:31 PM  
Alexwolfus
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Addon getting blocked when switching Talents

When I try to switch my talents sometimes the addon gets blocked and I would need to reload to fix it which is pretty annoying.
I didnt noticed a pattern but is there a fix for this problem known ?
Report comment to moderator  
Reply With Quote
Unread 05-11-15, 09:42 PM  
Mordre
A Kobold Labourer
 
Mordre's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 18
Uploads: 1
I got the below .lua error. I attempted to take a look at it myself to see if I could figure it out. I'm at a loss. Please help?

Code:
Message: Interface\AddOns\LiteStats\core.lua:41: attempt to index local 'modules' (a nil value)
Time: 05/11/15 23:41:27
Count: 1
Stack: Interface\AddOns\LiteStats\core.lua:41: in main chunk

Locals: P = "player"
realm = "Stormrage"
char = "Macsquirrely"
class = "PALADIN"
layout = <table> {
}
tthead = <table> {
 b = 1
 g = 0.78
 r = 0.4
}
ttsubh = <table> {
 b = 1
 g = 0.9
 r = 0.75
}
strata = "MEDIUM"
level = 99
profiles = nil
font = nil
t_icon = 20
allcombat = nil
IsAltKeyDown = <function> defined =[C]:-1
UpdateMemUse = <function> defined =[C]:-1
format = <function> defined =[C]:-1
strmatch = <function> defined =[C]:-1
strfind = <function> defined =[C]:-1
strtrim = <function> defined =[C]:-1
unpack = <function> defined =[C]:-1
pairs = <function> defined =[C]:-1
ipairs = <function> defined =[C]:-1
floor = <function> defined =[C]:-1
select = <function> defined =[C]:-1
max = <function> defined =[C]:-1
gsub = <function> defined =[C]:-1
modules = 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) = 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) = nil
(*temporary) = nil
(*temporary) = "attempt to index local 'modules' (a nil value)"
Report comment to moderator  
Reply With Quote
Unread 10-27-12, 04:10 PM  
Unkn
Premium Member
 
Unkn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 258
File comments: 165
Uploads: 2
I am still using LiteStats...

I have Talents, Stats, Friends, and Guild all set to false. I'm not experiencing any sort of fps drop or errors from it.

I am currently trying to fix the talents module and I'll email the author the update when I get it working, but its is low priority at the moment.
__________________
"I'm very feminine. And I'll beat the crap out of ANYONE who disagrees!"
Report comment to moderator  
Reply With Quote
Unread 09-26-12, 05:17 PM  
veri00
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
Originally Posted by l0lder
Originally Posted by Alexils
FPS is down to 5 when loading litestats. Why? Update to 5.0.4 please
Code:
...
Talents = {
enabled = false
...
This didn't work for me. Do you know what else could be the culprit? I've verified it's definitely LiteStats causing the massive fps drop, and I set talents to false, but it did nothing for me unfortunately.
Report comment to moderator  
Reply With Quote
Unread 09-08-12, 03:57 PM  
Alexils
A Kobold Labourer

Forum posts: 0
File comments: 31
Uploads: 0
l0lder thanks!

So, if problem with talents module, make rewriten code to him?
Report comment to moderator  
Reply With Quote
Unread 09-08-12, 03:02 AM  
l0lder
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Originally Posted by Alexils
FPS is down to 5 when loading litestats. Why? Update to 5.0.4 please
Code:
...
Talents = {
enabled = false
...
Report comment to moderator  
Reply With Quote
Unread 09-05-12, 12:34 PM  
Alexils
A Kobold Labourer

Forum posts: 0
File comments: 31
Uploads: 0
FPS is down to 5 when loading litestats. Why? Update to 5.0.4 please
Report comment to moderator  
Reply With Quote
Unread 04-28-12, 06:01 PM  
CityPunch
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 2
Uploads: 1
Originally Posted by Noctua
hi, i´m very new in this things and any time i load lite stats i get this message:

error code

could you tell me what this means and what i have to do?
mfg noctua
I was having this same issue, after some snooping around I saw that it had a variable file, found that file and it had a single line

LPSTAT = nil

after deleting this, everything started working

So make sure your config file is named properly, then delete the LiteStats.lua file in the general SavedVariables folder (WTF\Account\#\SavedVariables), and then reload your ui and it will populate that file with the proper saved variables from then on.
Report comment to moderator  
Reply With Quote
Unread 02-27-12, 08:25 AM  
Noctua
A Kobold Labourer
 
Noctua's Avatar

Forum posts: 0
File comments: 5
Uploads: 0
hi, i´m very new in this things and any time i load lite stats i get this message:

Code:
Message: Interface\AddOns\LiteStats\core.lua:41: attempt to index local 'modules' (a nil value)
Time: 02/27/12 15:14:36
Count: 1
Stack: Interface\AddOns\LiteStats\core.lua:41: in main chunk

Locals: P = "player"
realm = "Garrosh"
char = "Squeenie"
class = "MAGE"
layout = <table> {
}
tthead = <table> {
 b = 1
 g = 0.78
 r = 0.4
}
ttsubh = <table> {
 b = 1
 g = 0.9
 r = 0.75
}
strata = "MEDIUM"
level = 99
profiles = nil
font = nil
t_icon = 20
allcombat = nil
IsAltKeyDown = <function> defined =[C]:-1
UpdateMemUse = <function> defined =[C]:-1
format = <function> defined =[C]:-1
strmatch = <function> defined =[C]:-1
strfind = <function> defined =[C]:-1
strtrim = <function> defined =[C]:-1
unpack = <function> defined =[C]:-1
pairs = <function> defined =[C]:-1
ipairs = <function> defined =[C]:-1
floor = <function> defined =[C]:-1
select = <function> defined =[C]:-1
max = <function> defined =[C]:-1
gsub = <function> defined =[C]:-1
modules = 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) = 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) = nil
(*temporary) = nil
(*temporary) = "attempt to index local 'modules' (a nil value)"
could you tell me what this means and what i have to do?
mfg noctua
Report comment to moderator  
Reply With Quote
Unread 02-24-12, 12:44 AM  
4g33v
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Если вдруг кому нужно, для показа статов с учетом расы заходим в core.lua и меняем (к примеру при выводе хита будет учитываться дренейский бонус):

sorry, google.translate
check race and output parameter on the example of Draenei hit for "Stats":


Code:
 elseif strmatch(sub,"hit$") then
 local var = _G["CR_HIT_"..(strupper(strmatch(sub,"(%w-)hit$")) or "")]
 string, percent = var and GetCombatRatingBonus(var) or format("[%s]",sub), var
 end
на

change on

Code:
 elseif strmatch(sub,"hit$") then
 local _,race = UnitRace(P)
 local var = _G["CR_HIT_"..(strupper(strmatch(sub,"(%w-)hit$")) or "")]
 if race == "Draenei" then
 string, percent = var and GetCombatRatingBonus(var) + 1 or format("[%s]",sub), var
 else
 string, percent = var and GetCombatRatingBonus(var) + 0 or format("[%s]",sub), var
 end
если гоблинский хаст не учитывается (не проверял) то делаем по аналогии и получаем профит

а так же кусочек кода для вывода устойчивости (например можно добавить сразу после end в предыдущем куске кода):

code for "Stats" create new parameter "resilence":


Code:
 elseif sub == "resilience" then
 string, percent = GetCombatRating(16)
появляется новый параметр "resilence" который можно вбить в config.lua и радоваться жизни
Report comment to moderator  
Reply With Quote
Unread 12-21-11, 09:35 PM  
chenyuli
A Kobold Labourer
 
chenyuli's Avatar

Forum posts: 0
File comments: 29
Uploads: 0
equipment manager

Hi, I find the Blizzard default character info UI break usually, I can't select anything, especially in equipment manager, even I reload UI or re-login so many times. After all, I disable all of my addons and enable them one by one, I notice that the reason is LiteStats. I don't know why and not prove 100% reproduce, but my character info panel recover properly after I disable LiteStats.

I very like LiteStats, even there are a lot of addons like this, but LiteStats is the most simple, beautiful and useful one. Thank you for your great work, but this issue bother me so hard, hope it could be fix.
Last edited by chenyuli : 12-21-11 at 09:44 PM.
Report comment to moderator  
Reply With Quote
Unread 07-10-11, 05:03 PM  
Katae
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 208
File comments: 260
Uploads: 6
Originally posted by Kazie
i can't use it because of the way the tooltip for Guild and Friends are..
I get where you're coming from. They were designed to just give a simple overview of people online, since it's using a basic tooltip. Didn't have enough motivation to build a custom popup frame like sldt's from the ground up, and I don't play anymore so maybe someone else can propose a solution. I don't see it as messy, but i appreciate the feedback, to each their own
Report comment to moderator  
Reply With Quote
Unread 07-10-11, 11:31 AM  
Kazie
A Kobold Labourer

Forum posts: 1
File comments: 79
Uploads: 0
Oh man .. this looks so good..

But i can't use it because of the way the tooltip for Guild and Friends are..

It doesn't say Character name( real name ) like all other places in wow.. when it's RealID friends.. and the guild tooltip is so messy :s

Lol i'm sorry if i sound offensive here hehe.. it's really not..

Is there any chance that you're going to make the tooltips more like SLdatatext tooltips? .. those tooltips are the only reason i have not swapped to something better :s

Having those being clickable, players clickable(whisper and if installed, alt-click inviting through chatter) .. notes, o-notes, location and level...

Friends showing obivious difference between server friends and RealID friends; Real name, server, level, faction and location(game)

Having those things are just so awesome.. any chance you're going to make anything close to it?

Sorry for this long post.. not a flame or troll hehe...

If the levels did not disapear when holding ALT, the guild tooltip would not be so messy.. also no frames or tables or collones or whatever it's called in lua... is not used when holding alt and there for it gets messy.. if everything was in such an order like when not holding alt, it would be much more clean and easy to browse through

Seriously.. i'll stop now.. i always have too much feedback and stuff xD sorry.
Report comment to moderator  
Reply With Quote
Unread 07-01-11, 02:45 PM  
Bandes
A Kobold Labourer

Forum posts: 1
File comments: 73
Uploads: 0
Thank for the fast fix
Report comment to moderator  
Reply With Quote
Unread 07-01-11, 09:42 AM  
Katae
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 208
File comments: 260
Uploads: 6
Originally posted by mouffes
Is it possible to set the xp/rep/session text to hide when in a battleground? Would be awesome if possible
I'm sure it's possible. However, I don't think it's likely I'd have the time to implement it.
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.