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,800
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 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: 331
Uploads: 8
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
Report comment to moderator  
Reply With Quote
Unread 10-29-10, 08:34 AM  
Thorzon
A Murloc Raider

Forum posts: 4
File comments: 13
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.
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: 331
Uploads: 8
Cataclysm

Will this be updated to Cataclysm if needed?
__________________
Arp UI oUF_Arp
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!
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: 207
Uploads: 20
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.
__________________
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
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! (:
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: 207
Uploads: 20
This is a problem some other people reported, I'm not sure why it happens and I'm still trying to fix it.
__________________
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.
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: 207
Uploads: 20
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.
__________________
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!
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: 207
Uploads: 20
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.
__________________
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: 563
Uploads: 10
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.
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: 207
Uploads: 20
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
__________________
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.
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.