Go to Page... |
Updated: | 06-30-11 01:16 PM |
Created: | 10-12-09 02:10 AM |
Downloads: | 18,960 |
Favorites: | 113 |
MD5: |
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
Comment Options |
Mordin |
View Public Profile |
Send a private message to Mordin |
Find More Posts by Mordin |
Add Mordin to Your Buddy List |
03-20-10, 10:08 AM | |
|
That worked like a charm, felt so certain I had to edit in LiteStats and not in the acctually panel module, but thanks I hope I've learned a thing or two now
|
|
aapoo |
View Public Profile |
Send a private message to aapoo |
Find More Posts by aapoo |
Add aapoo to Your Buddy List |
Katae |
View Public Profile |
Send a private message to Katae |
Find More Posts by Katae |
Add Katae to Your Buddy List |
03-19-10, 02:44 PM | |
|
:)
Hey, was just wondering something. Can i add a line or 2 to the ZoneInfo(Location) / Clock to make those 2's font bigger than the rest of the stat texts?
edit: oh and one more thing, can i do something so the clock only grows to the Left and the Location text only grows to the Right. like, so that the "PM" and "AM" thing is at the same spot all the time, same with the first letter in the Location text. thx sry for bad english=P
Last edited by Minerv : 03-19-10 at 03:05 PM.
|
|
Minerv |
View Public Profile |
Send a private message to Minerv |
Find More Posts by Minerv |
Add Minerv to Your Buddy List |
03-19-10, 10:02 AM | |
|
Attach a panel to a stat
Hi! I use litestats and litepanels, and my question is how can I add a frame to be shown when I have a new mail, also is it possible to hide the "no mail" frame apart from just erasing the text, i'm not that great with lua and I don't dare to poke around in the acctual addon code
|
|
aapoo |
View Public Profile |
Send a private message to aapoo |
Find More Posts by aapoo |
Add aapoo to Your Buddy List |
03-11-10, 11:53 AM | ||
A Defias Bandit
Forum posts: 2
File comments: 7
Uploads: 0
|
Code:
local hex = gradient(self.total / 20000) Code:
local hex = gradient(self.total / 20*1024) Now it's good thanks |
|
|
Lùinwë |
View Public Profile |
Send a private message to Lùinwë |
Find More Posts by Lùinwë |
Add Lùinwë to Your Buddy List |
03-11-10, 06:42 AM | ||
|
If it's for the text display, you can use this at line 286 (the gray text being existing code, and 20k being the point where the memory is the max red): Code:
local hex = gradient(self.total / 20000) return self.total >= 1024 and format(gsub(modules.Memory.fmt_mb,"%[color%]",hex), self.total / 1024) or format(gsub(modules.Memory.fmt_kb,"%[color%]",hex),self.total) |
|
|
Katae |
View Public Profile |
Send a private message to Katae |
Find More Posts by Katae |
Add Katae to Your Buddy List |
03-10-10, 03:35 PM | ||
A Defias Bandit
Forum posts: 2
File comments: 7
Uploads: 0
|
Thanks |
|
|
Lùinwë |
View Public Profile |
Send a private message to Lùinwë |
Find More Posts by Lùinwë |
Add Lùinwë to Your Buddy List |
03-10-10, 02:33 PM | |||
|
Code:
OnClick = function(self, button) if IsAddOnLoaded("LiteStats") then SlashCmdList["LSTATS"]() end end |
||
|
Katae |
View Public Profile |
Send a private message to Katae |
Find More Posts by Katae |
Add Katae to Your Buddy List |
03-10-10, 01:27 PM | ||
A Defias Bandit
Forum posts: 2
File comments: 7
Uploads: 0
|
Code:
-- FPS if not modules.FPS.enabled then blank'FPS' else NewStat("FPS", { text = { string = function() local fps = floor(GetFramerate()) return format(gsub(modules.FPS.fmt,"%[color%]",(gradient(fps/70))),fps) end } }) end Thanks by advance |
|
|
Lùinwë |
View Public Profile |
Send a private message to Lùinwë |
Find More Posts by Lùinwë |
Add Lùinwë to Your Buddy List |
03-07-10, 09:49 PM | ||
|
Code:
------------------------------------------ -- FPS if not modules.FPS.enabled then blank'FPS' else NewStat("FPS", { text = { string = function() local fps = floor(GetFramerate()) return format(gsub(modules.FPS.fmt,"%[color%]",fps>=20 and "|cff55FF55" or "|cffFF55FF"),fps) end } }) end |
|
|
Katae |
View Public Profile |
Send a private message to Katae |
Find More Posts by Katae |
Add Katae to Your Buddy List |
03-07-10, 11:39 AM | |
A Kobold Labourer
Forum posts: 0
File comments: 6
Uploads: 0
|
Is there a way to make FPS be colored like, red under 20 and green over?
|
|
subtext |
View Public Profile |
Send a private message to subtext |
Find More Posts by subtext |
Add subtext to Your Buddy List |
03-07-10, 08:32 AM | |
A Kobold Labourer
Forum posts: 0
File comments: 6
Uploads: 0
|
Is there a way to anchor all the stats to my viewport, created by litepanels?
I tried something like this Clock = {enabled = true, anchor_frame = "GreyBox", y_off = 1, x_off = 0}, (viewport is at the top), where GreyBox is defined in the LitePanels layout.lua, but it doesn't seem to work I just want a simple viewport on the top and all the stats up there, mimicking the Fubar look edit: ok i got the clock to work but now memory doesnt want to appear next to it Code:
Clock = {enabled = true, anchor_frame = "GreyBox", y_off = 1, x_off = -1100, level = 1, anchor_to = "bottom"}, Memory = {enabled = true, anchor_frame = "GreyBox", y_off = 1, x_off = -1095, level = 1, anchor_to = "bottom"}, edit 3: is there a way to make a litestat panel run a / command from game? the idea would be to open the atlas loot window or something by clicking on a text called Atlas and it would run /atlasloot
Last edited by subtext : 03-07-10 at 11:30 AM.
|
|
subtext |
View Public Profile |
Send a private message to subtext |
Find More Posts by subtext |
Add subtext to Your Buddy List |
03-04-10, 06:02 PM | |
A Defias Bandit
Forum posts: 3
File comments: 198
Uploads: 0
|
memory function
the memory usage states
right-click is junk garbege will you mind to add left-click fuction is sort by ui-name??? if this is big work,forgot this suggestion |
|
shinchih2001 |
View Public Profile |
Send a private message to shinchih2001 |
Find More Posts by shinchih2001 |
Add shinchih2001 to Your Buddy List |
03-01-10, 01:13 PM | ||
|
|
|
|
Katae |
View Public Profile |
Send a private message to Katae |
Find More Posts by Katae |
Add Katae to Your Buddy List |
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.