Download
(5Kb)
Download
Updated: 01-17-10 05:21 AM
Pictures
File Info
Updated:01-17-10 05:21 AM
Created:07-02-09 08:38 AM
Downloads:7,809
Favorites:40
MD5:

stText  Popular! (More than 5000 hits)

Version: r9
by: Soeters [More]

I've stopped playing WoW, so this addon won't be updated again, at least not by me.
If someone feels like updating it, just PM me.


What is this

stText is a little addon which display some informations like:

  • Time
  • Latency
  • Memory usage (now with a tooltip for the 35 addons which uses the most memory)
  • Location
  • Coordinates
  • Framerate
  • Durability (thanks to phrozenassid)

Customisation

In the screenshot you can see some text written in teal, it's a custom color. You can choose a custom color or set the classcolor instead.

All the settings can be changed in Settings.lua. The settings are the text size, justify and the modules enabled.

To unlock a module, just type /stt (or /sttext) (Name of the module) (i.e /stt Clock to unlock the clock, or /stt Memory to unlock the memory module)
By default they will all be crowded at the center of the screen.
If type /stt or /stt help (indeed if you type something that's not a module name) to have a list all available modules
To move them, hold the Alt key and drag them wherever you want.

r9
Independant module outlines
Separated coords from location

r8
Outline text
Independant module sizes

r7
12/24 time format
Slash command help

r6
Changed slash commands

r5
Durability module (thanks to phrozenassid)

r4
Toc bump

r3
Fixed the errors occuring when enabling an addon

r2
New placement management (SavedVariables)
Memory tooltip
Optional Files (0)


Post A Reply Comment Options
Unread 01-25-10, 12:54 AM  
Coop
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Originally posted by Soeters
I just can't fathom out why there would be different fonts inside a *.ttf file, that's just very odd and that's beyond my abilities.
Perhaps I may be able to be of some assistance here as I think I'm having somewhat of a related problem... either that or I'm going about it all wrong. Maybe he's talking about a font family? I'm currently running windows 7 and they group families, like arial, arial black, arial narrow, arial bold, arial italic, etc., as "Arial" in the font folder. This could probably be a little confusing as to how to choose a specific one, but I'm pretty sure using the specific font file name that you get if you right click the one you want and click properties should do the trick.

Then again, this is mere speculation and hope that I'm doing something wrong as I can't get this to work. I know the font I want, I know where it is, but for some reason every time I try to use it, I get
Code:
"..\AddOns\stText\Texts.lua line 122:
   <unnamed>:SetText(): Font not set"
when I swap out ARIALN.ttf for it. it's in the windows\fonts folder, maybe I just have the wrong directory in mind? I'm hoping this is the case, but if it is, then what directory does this font need to be in, since I've searched my entire computer for ARIALN and have had no luck, to be honest.

Unfortunately this is really the only thing holding me back from switching from the broken SLDT to this. I'd really like to be able to aesthetically integrate this mod into the rest of my UI. So far I'm content to click "close" on an error window once in a while, so long as it looks right.

(Somewhat obvious) feature request: Easier to implement font choices.
Last edited by Coop : 01-25-10 at 01:41 AM.
Report comment to moderator  
Reply With Quote
Unread 01-22-10, 01:26 PM  
Soeters
A Warpwood Thunder Caller
 
Soeters's Avatar
AddOn Author - Click to view AddOns

Forum posts: 97
File comments: 207
Uploads: 20
Whoops, I didn't modify the good one
Undo that change and instead do that.
Lines 349, 350
Code:
			local itemDuraColor = getSlotDuraColor(floor(durabilityValue * 100))
			local itemDura = format("%s%i", itemDuraColor, floor(durabilityValue * 100))
Into

Code:
			local itemDura = format("%i", floor(durabilityValue * 100))
This is untested but it should work
__________________
Report comment to moderator  
Reply With Quote
Unread 01-22-10, 11:06 AM  
Tobbe8716
An Aku'mai Servant
 
Tobbe8716's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 331
Uploads: 8
Originally posted by Soeters
In Texts.lua, line 351 change
Code:
dura_text:SetText(itemDura..colorCode.."%|r")
into
Code:
dura_text:SetText(itemDura.."%|r")
nothing happened. saved /reload, nothing restared wow, still green. Isnt really that important tho
__________________
Arp UI oUF_Arp
Report comment to moderator  
Reply With Quote
Unread 01-22-10, 05:41 AM  
Soeters
A Warpwood Thunder Caller
 
Soeters's Avatar
AddOn Author - Click to view AddOns

Forum posts: 97
File comments: 207
Uploads: 20
In Texts.lua, line 351 change
Code:
dura_text:SetText(itemDura..colorCode.."%|r")
into
Code:
dura_text:SetText(itemDura.."%|r")
__________________
Report comment to moderator  
Reply With Quote
Unread 01-21-10, 11:01 AM  
Tobbe8716
An Aku'mai Servant
 
Tobbe8716's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 331
Uploads: 8
Durability Color

I would like to have the durability color to be white like the rest instead of green. Mind directing me to what line I need to change? Found some file that i think is connected to it but didnt really see anything i was willling to mess with Thanks
__________________
Arp UI oUF_Arp
Last edited by Tobbe8716 : 01-21-10 at 11:04 AM.
Report comment to moderator  
Reply With Quote
Unread 01-19-10, 08:32 AM  
Soeters
A Warpwood Thunder Caller
 
Soeters's Avatar
AddOn Author - Click to view AddOns

Forum posts: 97
File comments: 207
Uploads: 20
Originally posted by Attro
For some reason the "move" function doesn't seem to be working. Example: I type '/stt clock' then hold down the 'alt' key and try to drag the clock but it doesn't want to grab. I've disabled all of the other modules so that just the clock is active thinking that maybe one of the other modules was on top preventing me from grabbing the clock, but that didn't help.

I thought I would bypass the move function and edit the lua file directly but I can't seem to figure out where the locations are being stored.

Is it possible for me to hard code the locations in the lua file?

Thanks.

Edit: I figured it out... it seems to be case sensitive.
I'll try to find a solution as soon as possible.

For the mail, I'll write a plugin.

For the parents, I'm working on it but it would require a lot of work because of the movable frames so that's the last feature I would add on the three ones
__________________
Report comment to moderator  
Reply With Quote
Unread 01-18-10, 07:48 PM  
alimjocox
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 96
File comments: 68
Uploads: 2
hey mate, any chance the add the options to move the stats using pixels coords and parents? i figured most of it is alrdy Lua config, so that would be a nice feature
Report comment to moderator  
Reply With Quote
Unread 01-17-10, 05:15 PM  
praetorians
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
Any update to getting a "New Mail" indicator in it?
Report comment to moderator  
Reply With Quote
Unread 01-17-10, 01:03 PM  
Attro
A Murloc Raider

Forum posts: 6
File comments: 25
Uploads: 0
For some reason the "move" function doesn't seem to be working. Example: I type '/stt clock' then hold down the 'alt' key and try to drag the clock but it doesn't want to grab. I've disabled all of the other modules so that just the clock is active thinking that maybe one of the other modules was on top preventing me from grabbing the clock, but that didn't help.

I thought I would bypass the move function and edit the lua file directly but I can't seem to figure out where the locations are being stored.

Is it possible for me to hard code the locations in the lua file?

Thanks.

Edit: I figured it out... it seems to be case sensitive.
Last edited by Attro : 01-17-10 at 01:10 PM.
Report comment to moderator  
Reply With Quote
Unread 01-17-10, 07:10 AM  
Morpheusdead
An Aku'mai Servant
 
Morpheusdead's Avatar
AddOn Author - Click to view AddOns

Forum posts: 33
File comments: 46
Uploads: 1
Originally posted by Dödsmyggan
Hi there

I have been in your code and looking around on texts.lua . I have made one change, I changed the uppdate time for the FPS to 1 sec insted of 5 sec. But I cant find any chanse to make the FPS limit higher. Can I in someway change so the FPS can go higher then 60 FPS?
LAWL

You have Vertical Sync checkmarked on your video settings page in game options, And you are using a 60hz monitor. Therefor the game will not display more than 60 FPS.

Again

LAWL
Last edited by Morpheusdead : 01-17-10 at 07:11 AM.
Report comment to moderator  
Reply With Quote
Unread 01-17-10, 06:35 AM  
Soeters
A Warpwood Thunder Caller
 
Soeters's Avatar
AddOn Author - Click to view AddOns

Forum posts: 97
File comments: 207
Uploads: 20
The good ones are "LEFT", "CENTER" and "RIGHT".
I'll update the documentation for the next version
__________________
Report comment to moderator  
Reply With Quote
Unread 01-17-10, 05:31 AM  
eldavido
A Kobold Labourer

Forum posts: 1
File comments: 106
Uploads: 0
Oh man !!!

thanks for making the changes

Quick question, how do I get the text to centre justify, I've tried "MIDDLE" and "CENTRE" and neither work

EDIT: NVM, it's "CENTER" ... damned American spelling :P
Last edited by eldavido : 01-17-10 at 05:39 AM.
Report comment to moderator  
Reply With Quote
Unread 01-17-10, 04:56 AM  
Soeters
A Warpwood Thunder Caller
 
Soeters's Avatar
AddOn Author - Click to view AddOns

Forum posts: 97
File comments: 207
Uploads: 20
I'm pretty overwhelmed this time, but this week I'll try to find some free time to update this (maybe this afternoon)
__________________
Report comment to moderator  
Reply With Quote
Unread 01-16-10, 10:04 AM  
eldavido
A Kobold Labourer

Forum posts: 1
File comments: 106
Uploads: 0
Is there any update on the request I made a few weeks back, about seperating the location and co-ords, and also the ability to independantly add outlines to certain modules ??

Thanks
Report comment to moderator  
Reply With Quote
Unread 01-04-10, 12:02 PM  
Soeters
A Warpwood Thunder Caller
 
Soeters's Avatar
AddOn Author - Click to view AddOns

Forum posts: 97
File comments: 207
Uploads: 20
Originally posted by Dödsmyggan
No, I´m only using yours, ( Bartender menu desabled ) You havent set a limit, this is the probelm I think. Then you will go after blizzard orginal FPS. And blizzards are only showing max 60 FPS. I can´t much in this coding so I dont now how to make limit. If you see 90 FPS so cant you use this addon or so have you coded beside this one we can download.
I can assure that I have nothing that deals with it (however that wouldn't be possible as we can't get system informations in another way than Blizzard functions) and I know (and I've seen several people) that I can have more than 60 fps (SL_DataText example at 61 fps here)
__________________
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.