Category: Plug-Ins & Patches
Addon Information
Works with 3.2
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)

This file is a Addon for LitePanels by Katae. You must have that installed before this Addon will work.

Author:
Version:
0.9.6c
Date:
11-12-2009 06:42 AM
Size:
25.75 Kb
Downloads:
1,294
Favorites:
44
MD5:
Pictures
LiteStats
Proof of concept plugin for LitePanels, which you will need installed.
The main configuration is in the Lua file (don't expect a GUI config).

Another stats mod? Why?
I needed rigorously test the capabilities of LitePanels during its development, and at the same time wanted to move away from sldt. So, naturally, I ended up writing an extensive stat text addon to serve that purpose. This now exists on WoWI for anyone who will find it useful, and in hopes to inspire others to create more plugins for LitePanels.

~ modules ~
#Memory: Right click collects Lua garbage. Max number of addons can be set.
#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 addon file.
#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 inactivity.
#Guild/Friends: Online count text including members/friends online tooltip with right-click sorting (guild only).
#Talents
: Dual spec switcher and current talent spec display with a primary/secondary tooltip.
#Character Stats (new): User's choice of stats configured in a [tag] format. Dual spec support.

Also: Experience
(new), Latency, FPS, Tracking, Mail, and Bag space.

Any of these modules can be configured or disabled in config.lua
.


  Change Log - LiteStats
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.
  Archived Versions - LiteStats
File Name
Version
Size
Author
Date
0.9.4
18kB
Katae
10-30-2009 01:19 AM
0.9.3
18kB
Katae
10-26-2009 12:20 AM
0.9.2
16kB
Katae
10-14-2009 12:22 AM
0.9
7kB
Katae
10-12-2009 05:08 AM
  Comments - LiteStats
Post A Reply Comment Options
Unread Today, 09:01 PM  
Katae
A Flamescale Wyrmkin
 
Katae's Avatar
Interface Author - Click to view interfaces

Forum posts: 122
File comments: 122
Uploads: 5
Moved from LitePanels comments.

Quote:
Originally posted by Shestak
After these changes appeared a small problem from other users in Shestak UI. See comments(screenshots).
Problem in: strata = "HIGH", level = 99,
Is it the guy with the problem with his options panel? I don't see how stat text strata/level can interfere with that.

Tip: I noticed that you're anchoring the stats to the bottom but kept the tooltips anchored to "ANCHOR_BOTTOMLEFT", you can change it to "ANCHOR_TOPRIGHT" to make it look much better.

Also, your world map bugginess might be due to my stats coords function. I rewrote the coords and it won't have any of those problems in the next version (Or you can replace the Coords() function on your own with this).
Katae is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Unread Today, 08:47 PM  
Shestak
A Murloc Raider
 
Shestak's Avatar

Forum posts: 8
File comments: 160
Uploads: 4
Found an error when I use pMap.
If Coords = { enabled = true,

Quote:
Originally posted by Leots
I now also noticed the world map closes whenever you try to few the map of a zone you're not currently in. For example: when I'm in Dragonblight and I want to view the map of Sholazar Basin, the world map closes. So it's not just viewing a map of a zone located on another continent that causes the world map to close, as I previously thought.
Quote:
Originally posted by Shestak
I also noticed this error. Only in the underground metro. When I try to open the map, it immediately closes. Now I can not say what may be the reason.
I will try to find out why and correct it as soon as possible.
upd:
in core.lua ~55
Code:
if (x == 0 or y == 0) and not IsInInstance() then WorldMapFrame:Show(); WorldMapFrame:Show();
But coords 0.0
Code:
if (x == 0 or y == 0) and not IsInInstance() then WorldMapFrame:Show(); WorldMapFrame:Hide();
World map to close
__________________
Modified Alekk UI for 1280*800.
Shestak UI for 1280*800, screenshots.
Modified Neav UI for 1280*800, screenshots.

Last edited by Shestak : 11-22-2009 at 09:02 PM.
Shestak is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Unread Today, 09:55 AM  
richerich
A Fallenroot Satyr
 
richerich's Avatar
Interface Author - Click to view interfaces

Forum posts: 28
File comments: 394
Uploads: 5
Quote:
Originally posted by shinchih2001
good,but maybe autohide when max level??
You can already do that. take a look at my code for example:

Code:
	Experience = {
		enabled = true,
		fmt = class'Lv'.."[level]"..class' -  '.."[cur] "..class'/'.." [total] "..class'('.."[rest]"..class')', -- Tags: [level] [cur] [total] [percent] [rest]
		maxlevel = " ",
		anchor_frame = "Stats", anchor_to = "top", anchor_from = "top",
		x_off = 0, y_off = -40,
	}
__________________


Dajova UI

Dajova UI Mini
richerich is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Unread Today, 09:24 AM  
shinchih2001
A Kobold Labourer

Forum posts: 0
File comments: 98
Uploads: 0
Quote:
Originally posted by Katae
Made a tooltip for the experience module. Here's a preview, suggestions?

good,but maybe autohide when max level??
and consider add raid save tooltip??

Last edited by shinchih2001 : 11-22-2009 at 09:25 AM.
shinchih2001 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old Yesterday, 11:47 AM  
Shestak
A Murloc Raider
 
Shestak's Avatar

Forum posts: 8
File comments: 160
Uploads: 4
Quote:
Originally posted by Katae
Made a tooltip for the experience module. Here's a preview, suggestions?
Good
__________________
Modified Alekk UI for 1280*800.
Shestak UI for 1280*800, screenshots.
Modified Neav UI for 1280*800, screenshots.
Shestak is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old Yesterday, 08:53 AM  
Katae
A Flamescale Wyrmkin
 
Katae's Avatar
Interface Author - Click to view interfaces

Forum posts: 122
File comments: 122
Uploads: 5
Made a tooltip for the experience module. Here's a preview, suggestions?

Katae is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-17-2009, 05:26 PM  
Katae
A Flamescale Wyrmkin
 
Katae's Avatar
Interface Author - Click to view interfaces

Forum posts: 122
File comments: 122
Uploads: 5
If it's a problem, you can find strata and level values in the NewStat function in core.lua, and lower them.
Quote:
Originally posted by alimjocox
question about the frame 'level' of the stats. e.g. I'm opening my Character Pane, Quest Log, Mail etc.. and the stats are on top of it, nothing major just wondering
Katae is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-17-2009, 03:52 PM  
alimjocox
A Kobold Labourer

Forum posts: 0
File comments: 17
Uploads: 0
question about the frame 'level' of the stats. e.g. I'm opening my Character Pane, Quest Log, Mail etc.. and the stats are on top of it, nothing major just wondering
alimjocox is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-17-2009, 01:04 AM  
richerich
A Fallenroot Satyr
 
richerich's Avatar
Interface Author - Click to view interfaces

Forum posts: 28
File comments: 394
Uploads: 5
Quote:
Originally posted by Katae
Well I tested on Lunar, which the player frame is "oUF_Lunar_Player", so apparently not always the same.

One way to be sure: /run print(GetMouseFocus():GetName())
Already did that and it says "oUF_Player" :S

EDIT: hmm strange... now it works o.O didnt work before...
__________________


Dajova UI

Dajova UI Mini

Last edited by richerich : 11-17-2009 at 01:41 AM.
richerich is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-14-2009, 08:48 PM  
Katae
A Flamescale Wyrmkin
 
Katae's Avatar
Interface Author - Click to view interfaces

Forum posts: 122
File comments: 122
Uploads: 5
Well I tested on Lunar, which the player frame is "oUF_Lunar_Player", so apparently not always the same.

One way to be sure: /run print(GetMouseFocus():GetName())

Quote:
Originally posted by richerich
Well, it should be the same for all layouts that uses oUF, right? then it should be right, unless i'm completely wrong >.<
If i am (and i assume u use oUF as well), might wanna give the right frame name of it, since "oUF_player" doesnt seems to work.
Katae is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-14-2009, 08:17 PM  
richerich
A Fallenroot Satyr
 
richerich's Avatar
Interface Author - Click to view interfaces

Forum posts: 28
File comments: 394
Uploads: 5
Quote:
Originally posted by Katae
I tested with a few unitframe addons and I can anchor things fine. Are you 100% sure about the frame names? PlayerFrame will always be the bliz default frame, it's only hidden.
Well, it should be the same for all layouts that uses oUF, right? then it should be right, unless i'm completely wrong >.<
If i am (and i assume u use oUF as well), might wanna give the right frame name of it, since "oUF_player" doesnt seems to work.
__________________


Dajova UI

Dajova UI Mini
richerich is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-14-2009, 07:59 PM  
Katae
A Flamescale Wyrmkin
 
Katae's Avatar
Interface Author - Click to view interfaces

Forum posts: 122
File comments: 122
Uploads: 5
Sorry I made an error with the code I gave, I corrected my previous post for you.
Quote:
Originally posted by Strongbow
I put this in the config.lua

but then i got this error
Katae is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-14-2009, 07:15 PM  
Strongbow
A Deviate Faerie Dragon
 
Strongbow's Avatar

Forum posts: 10
File comments: 98
Uploads: 0
I put this in the config.lua

Code:
LPSTAT_PROFILES = {
	["Name - Realm"] = {
		-- To change modules on a per-character basis, copy and paste any or all of
		-- the default module configs here and modify them at will.
		DPS = { enabled = false },
		Experience = { enabled = false },
		Stats = { spec1fmt = "[spellpower]SP ~ [manaregen]mp5" }
	},
    ["HUNTER"] = {
        spec1fmt = "RAP:[rangedap] :: Crit:[rangedcrit]% :: Hit:[rangedhit]% :: ArP:[armorpen]% :: Haste:[rangedhaste]%",
        spec2fmt = "RAP:[rangedap] :: Crit:[rangedcrit]% :: Hit:[rangedhit]% :: ArP:[armorpen]% :: Haste:[rangedhaste]%",
    },
    ["SHAMAN"] = {
        spec2fmt = "Spellpower:[spellpower] :: Hit:[spellhit]% :: Crit:[spellcrit]% :: Haste:[spellhaste]%",
        spec1fmt = "Spellpower:[spellpower] :: MP5 I5SR:[manaregen] :: Healing:[healing] :: Haste:[spellhaste]%",     
    },
    ["MAGE"] = {
        spec1fmt = "Spellpower:[spellpower] :: Hit:[spellhit]% :: Crit:[spellcrit]% :: Haste:[spellhaste]%",
        spec2fmt = "Spellpower:[spellpower] :: Hit:[spellhit]% :: Crit:[spellcrit]% :: Haste:[spellhaste]%",     
    },
    ["PRIEST"] = {
        spec1fmt = "Spellpower:[spellpower] :: Hit:[spellhit]% :: Crit:[spellcrit]% :: Haste:[spellhaste]%",
        spec2fmt = "Spellpower:[spellpower] :: MP5 I5SR:[manaregen] :: Healing:[healing] :: Haste:[spellhaste]%",    
    },
    ["WARLOCK"] = {
        spec1fmt = "Spellpower:[spellpower] :: Hit:[spellhit]% :: Crit:[spellcrit]% :: Haste:[spellhaste]%",
        spec2fmt = "Spellpower:[spellpower] :: Hit:[spellhit]% :: Crit:[spellcrit]% :: Haste:[spellhaste]%",
    },
}

but then i got this error

Date: 2009-11-15 01:14:47
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\LiteStats\core.lua line 32:
bad argument #1 to 'pairs' (table expected, got string)
Debug:
[C]: ?
[C]: pairs()
LiteStats\core.lua:32: in main chunk

-Strongbow-
Strongbow is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-14-2009, 12:18 AM  
Katae
A Flamescale Wyrmkin
 
Katae's Avatar
Interface Author - Click to view interfaces

Forum posts: 122
File comments: 122
Uploads: 5
Quote:
Originally posted by KleinerMink
How to add icons to mail and gold?
For gold, at the end of the OnEvent function, add what's in bold:
Code:
 self.text:SetText("|TInterface\\Minimap\\TRACKING\\Auctioneer:20|t"..formatgold(modules.Gold.style, LPSTAT[char].Gold))
For mail, just add the icon string in the newmail config. You can find all of the wow art here.
Quote:
Originally posted by richerich
One question... how do i hook a module to my unitframes? i tried this code:
EDIT2: Hmm, after further testing, "PlayerFrame" was working... but it was positioned where the default player frame is positioned, not my custom frame :S
I tested with a few unitframe addons and I can anchor things fine. Are you 100% sure about the frame names? PlayerFrame will always be the bliz default frame, it's only hidden.

Last edited by Katae : 11-14-2009 at 12:48 AM.
Katae is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-13-2009, 11:00 PM  
richerich
A Fallenroot Satyr
 
richerich's Avatar
Interface Author - Click to view interfaces

Forum posts: 28
File comments: 394
Uploads: 5
One question... how do i hook a module to my unitframes? i tried this code:

Code:
anchor_frame = "oUF_player", anchor_to = "bottom", anchor_from = "bottom",
		x_off = 0, y_off = -20,
... but it doesn't seems to work :S

EDIT: tried with
Code:
anchor_frame = "PlayerFrame"
as well, but nothing...

EDIT2: Hmm, after further testing, "PlayerFrame" was working... but it was positioned where the default player frame is positioned, not my custom frame :S
__________________


Dajova UI

Dajova UI Mini

Last edited by richerich : 11-13-2009 at 11:31 PM.
richerich is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.