Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(5 Kb)
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:6,227
Favorites:41
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)


Archived Files (5)
File Name
Version
Size
Author
Date
r8
5kB
Soeters
12-06-09 04:46 AM
r7
5kB
Soeters
12-02-09 09:55 AM
r6
5kB
Soeters
11-22-09 08:45 AM
r5
5kB
Soeters
11-21-09 04:49 AM
r4
4kB
Soeters
08-05-09 03:24 AM


Post A Reply Comment Options
Unread 10-30-10, 04:07 AM  
Tobbe8716
An Aku'mai Servant
 
Tobbe8716's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 341
Uploads: 13
Re: Re: Cataclysm

Originally posted by Thorzon
You can use SLDT and get the same items.
It's being updated.
SLDT is to heavyweight, this is alot better.
__________________
Arp UI oUF_Arp
Tobbe8716 is offline Report comment to moderator  
Reply With Quote
Unread 10-29-10, 08:34 AM  
Thorzon
A Murloc Raider

Forum posts: 4
File comments: 12
Uploads: 0
Re: Cataclysm

Originally posted by Tobbe8716
Will this be updated to Cataclysm if needed?
You can use SLDT and get the same items.
It's being updated.
Thorzon is offline Report comment to moderator  
Reply With Quote
Unread 09-29-10, 12:01 PM  
Tobbe8716
An Aku'mai Servant
 
Tobbe8716's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 341
Uploads: 13
Cataclysm

Will this be updated to Cataclysm if needed?
__________________
Arp UI oUF_Arp
Tobbe8716 is offline Report comment to moderator  
Reply With Quote
Unread 08-07-10, 08:03 AM  
Aeun
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Maybe you should better try with clock instead of ctext and f. (simply replace f and ctext by clock)
But I'm not sure this would work either (though that was my suggestion before), because it could be some taint call (i.e. attempting to use SetAlpha while in combat). You would have to use StateDrivers (or something like that ).
I've never used this kind of functions as I did have no need for it, but as some people request a IC/OOC option, I may add such an option.
I'll give it a go and mess about with it, and see if I can get any type of success. Thanks for the help (Some authors seem to be completely against offering any help, did they not expect questions when they made and uploaded an addon? ><)

Yeah the ic/ooc option is the only real thing i'd say was missing from sttext compared to sldt. Although I'd rather use yours with no combat options since sldt seemed to use half my cpu ha!
Aeun is offline Report comment to moderator  
Reply With Quote
Unread 08-06-10, 03:48 PM  
Soeters
A Warpwood Thunder Caller
 
Soeters's Avatar
AddOn Author - Click to view AddOns

Forum posts: 97
File comments: 206
Uploads: 21
Originally posted by Aeun
Trying to get certain modules to hide on combat. Namely the Clock and Durability ones.

Tried editing (read:guessing) your code you wrote a few lines below, but since that was for all of them (wasn't it?), and the lack of luck I had 'editing' it, I could use some help.

This is what i changed it to, and wacked it in at the end of the clock module in the texts section. Excuse the poor code quoting..
Code:
 
        f:RegisterEvent"PLAYER_ENTERING_COMBAT"
	f:RegisterEvent"PLAYER_LEAVING_COMBAT"
	f:SetScript("OnEvent", function(self, event)
 		 if(event == "PLAYER_ENTERING_COMBAT") then
   			ctext:Alpha(0)

  		elseif(event == "PLAYER_LEAVING_COMBAT") then
			ctext:SetAlpha(1)
 		end
	end)
I think the part where i'm going wrong is what to put as the 'f' bit before the registerevents, and what to call the clock module? (what i'm calling ctext in this bit, although i did try lots of things :<)

If you fancy helping me i'd really appreciate it! I can then probably work out the durability one from there, or it'll atleast entertain me for a few more hours, before I come crawling back to you for help
Maybe you should better try with clock instead of ctext and f. (simply replace f and ctext by clock)
But I'm not sure this would work either (though that was my suggestion before), because it could be some taint call (i.e. attempting to use SetAlpha while in combat). You would have to use StateDrivers (or something like that ).
I've never used this kind of functions as I did have no need for it, but as some people request a IC/OOC option, I may add such an option.
__________________
Soeters is offline Report comment to moderator  
Reply With Quote
Unread 08-01-10, 09:19 PM  
Aeun
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Trying to get certain modules to hide on combat. Namely the Clock and Durability ones.

Tried editing (read:guessing) your code you wrote a few lines below, but since that was for all of them (wasn't it?), and the lack of luck I had 'editing' it, I could use some help.

This is what i changed it to, and wacked it in at the end of the clock module in the texts section. Excuse the poor code quoting..
Code:
 
        f:RegisterEvent"PLAYER_ENTERING_COMBAT"
	f:RegisterEvent"PLAYER_LEAVING_COMBAT"
	f:SetScript("OnEvent", function(self, event)
 		 if(event == "PLAYER_ENTERING_COMBAT") then
   			ctext:Alpha(0)

  		elseif(event == "PLAYER_LEAVING_COMBAT") then
			ctext:SetAlpha(1)
 		end
	end)
I think the part where i'm going wrong is what to put as the 'f' bit before the registerevents, and what to call the clock module? (what i'm calling ctext in this bit, although i did try lots of things :<)

If you fancy helping me i'd really appreciate it! I can then probably work out the durability one from there, or it'll atleast entertain me for a few more hours, before I come crawling back to you for help
Aeun is offline Report comment to moderator  
Reply With Quote
Unread 07-28-10, 01:15 PM  
Aeun
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Have you deleted your SavedVariables ?
This looks like a symptom of this kind of problem. Your previous changes affected to SavedVariables and getting the addon won't change anything as the error comes from the data itself. Your positions for the Memory plugin must have been messed up I don't know how and now this screws up the SetPoint function whose purpose is to place them right.
Seems to have worked, thanks alot! (:
Aeun is offline Report comment to moderator  
Reply With Quote
Unread 07-25-10, 06:39 AM  
Soeters
A Warpwood Thunder Caller
 
Soeters's Avatar
AddOn Author - Click to view AddOns

Forum posts: 97
File comments: 206
Uploads: 21
This is a problem some other people reported, I'm not sure why it happens and I'm still trying to fix it.
__________________
Soeters is offline Report comment to moderator  
Reply With Quote
Unread 07-24-10, 09:11 PM  
Pro-Fool
A Murloc Raider

Forum posts: 5
File comments: 28
Uploads: 0
Not Sure If Im Blind...

But is there a option to change the path to which font the texts use? :S

Sorry if its painfully obvious I just looked through all of the lua's ...

Otherwise Great

EDIT: Ummm, my memory module refuses to work / load, I have not changed anything in the LUA except to changing the other module's to off, and lowered the font size.

/sttext says that Memory is an available module, however if I try to move it, essentially, /sttext Memory refuses to be entered through my chat frame, It will just freeze...

Suggestions?
Last edited by Pro-Fool : 07-24-10 at 09:17 PM.
Pro-Fool is offline Report comment to moderator  
Reply With Quote
Unread 07-24-10, 12:04 PM  
Soeters
A Warpwood Thunder Caller
 
Soeters's Avatar
AddOn Author - Click to view AddOns

Forum posts: 97
File comments: 206
Uploads: 21
Have you deleted your SavedVariables ?
This looks like a symptom of this kind of problem. Your previous changes affected to SavedVariables and getting the addon won't change anything as the error comes from the data itself. Your positions for the Memory plugin must have been messed up I don't know how and now this screws up the SetPoint function whose purpose is to place them right.
__________________
Soeters is offline Report comment to moderator  
Reply With Quote
Unread 07-19-10, 06:30 PM  
Aeun
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Tried editing some of the settings file, messed it up, but that's not important ha. Now I'm getting an lua error (even after deleting and reinstalling a new copy of your addon).

Error occured in: Global
Message: ..\AddOns\stText\Core.lua line 43:
stText_Memory:SetPoint(): Couldn't find region named '(null)'
Debug:
[C]: ?
[C]: SetPoint()
stText\Core.lua:43: CreateText()
stText\Texts.lua:196:
stText\Texts.lua:84
^ that. And then my memory module won't show. Really confused as to why not, and have no clue how to fix it (:

If you could point my in the right direction as to what i've messed up, then it'd be appreciated. Thanks!
Aeun is offline Report comment to moderator  
Reply With Quote
Unread 07-09-10, 04:33 AM  
Soeters
A Warpwood Thunder Caller
 
Soeters's Avatar
AddOn Author - Click to view AddOns

Forum posts: 97
File comments: 206
Uploads: 21
Mmmh, okay. I gonna try to find out what's wrong, I can't promise for something soon.

For your ic/ooc, I can suggest this:

Code:
f:RegisterEvent"PLAYER_ENTERING_COMBAT"
f:RegisterEvent"PLAYER_LEAVING_COMBAT
f:SetScript("OnEvent", function(self, event)
  if(event == "PLAYER_ENTERING_COMBAT") then
    f:SetAlpha(0)

  elseif(event == "PLAYER_LEAVING_COMBAT") then
	f:SetAlpha(0.4)
  end
end)
You put it in Core.lua, just after the OnMouseUp/Down scripts. This is not tested but it should work.
__________________
Soeters is offline Report comment to moderator  
Reply With Quote
Unread 07-08-10, 05:19 PM  
Ferous
Sheer Sense of Doom
AddOn Author - Click to view AddOns

Forum posts: 863
File comments: 564
Uploads: 32
Re: Re: Location text

When I type /stt Memory ingame I get a lua error, and I can't move it. Where can I change the position in the lua?

Code:
[16:18:51] Interface\AddOns\stText\Core.lua:19: attempt to index field 'bg' (a nil value)
[C]: ?
Interface\AddOns\stText\Core.lua:19: in function `value'
Interface\FrameXML\ChatFrame.lua:4070: in function `ChatEdit_ParseText'
Interface\FrameXML\ChatFrame.lua:3660: in function `ChatEdit_SendText'
Interface\FrameXML\ChatFrame.lua:3698: in function `ChatEdit_OnEnterPressed'
[string "*:OnEnterPressed"]:1: in function <[string "*:OnEnterPressed"]:1>
Also, how can I change the justification for each stat seperately? Can I just add it in there and it will over ride it?

edit - I figured out the justification in the lua. Still having problems with Memory though, and I just disabled it :P I can't move it with the slash command, i get the error above.

Also, this is my code for trying to hide it in combat else setting the alpha to 0.4, if maybe you can help me as to what i'm doing wrong? :P Maybe I'm putting it in the wrong place.

Code:
function f:OnEvent()
  if(event == "PLAYER_ENTERING_COMBAT") then
    f:SetAlpha(0)
	else
  if(event == "PLAYER_LEAVING_COMBAT") then
	f:SetAlpha(0.4)
    end
  end
end
Last edited by Ferous : 07-08-10 at 06:11 PM.
Ferous is offline Report comment to moderator  
Reply With Quote
Unread 06-15-10, 09:22 AM  
Soeters
A Warpwood Thunder Caller
 
Soeters's Avatar
AddOn Author - Click to view AddOns

Forum posts: 97
File comments: 206
Uploads: 21
Re: Location text

Originally posted by norpsa
Is there a way to limit the amount of characters displayed in the location module?

With places named like putricide's room, the location text just ends up overriding other frames i have.
I'll try find a way to fix that but I can't promise anything
__________________
Soeters is offline Report comment to moderator  
Reply With Quote
Unread 06-03-10, 09:06 PM  
norpsa
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
Location text

Is there a way to limit the amount of characters displayed in the location module?

With places named like putricide's room, the location text just ends up overriding other frames i have.
norpsa 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.