Download
(3Kb)
Download
Updated: 12-16-09 07:35 AM
Pictures
File Info
Updated:12-16-09 07:35 AM
Created:06-03-09 09:02 AM
Downloads:14,149
Favorites:69
MD5:

oUF TotemBar  Popular! (More than 5000 hits)

Version: r4
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.


Overview

oUF_TotemBar is a little plugin for shamans using oUF.
You will need oUF, a layout providing support for this plugin.


Features

  • Status bar for every totem
  • Abbreviated name (for exemple Strength of Earth Totem will be S.o.E.T and Totem of Wrath will be T.o.W.).
  • Custom colors if you want
  • Custom delay
  • Delete one totem on click, every totem on shift-click

Click here to submit a bug
Click here for a feature request



Documentation


All the documentation is at the top of oUF_TotemBar.lua but you can also see an exemple of integration here.
You will need to add oUF_TotemBar in the optional dependencies of your layout in the TOC file.
(New): The .Name element is now handled, it looks like every fontstring for elements

Thanks
haste for helping me with my (several) errors
p3lim for his RuneBar inspiration

r4
Added a destroy totem option
TOC update

r3
TOC bump

r2
Added the .Name element for the totem Name
Post A Reply Comment Options
Unread 01-23-10, 06:13 AM  
Caellian
A Frostmaul Preserver
 
Caellian's Avatar

Forum posts: 281
File comments: 252
Uploads: 5
In its current state, does the .Destroy option work ?
__________________
if (sizeof(workload) > sizeof(brain_capacity)) { die('System Overload'); }
Last edited by Caellian : 01-23-10 at 06:14 AM.
Report comment to moderator  
Reply With Quote
Unread 01-19-10, 08:34 AM  
Soeters
A Warpwood Thunder Caller
 
Soeters's Avatar
AddOn Author - Click to view AddOns

Forum posts: 97
File comments: 207
Uploads: 20
Then can you zip me your version and send it so that I can test on my computer and try to fix it
__________________
Report comment to moderator  
Reply With Quote
Unread 01-17-10, 11:49 AM  
Jadessia
A Kobold Labourer
 
Jadessia's Avatar

Forum posts: 1
File comments: 8
Uploads: 0
Originally posted by Soeters
Fixed version: http://wowi.pastey.net/131553

That didn't work because you didn't add the piece of code in the good place, but I fixed this
sadly this didn't work either, i tried with placing it there before but i had same result, being that the layout doesnt work and default blizzard frames are shown instead. thanks for the help tho
Report comment to moderator  
Reply With Quote
Unread 01-17-10, 05:27 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 Jadessia
ahh sorry

well i changed it to class and still nothing.

http://wowi.pastey.net/131531-2fmb

thats the entire layout but yeah settings file aint included.
Fixed version: http://wowi.pastey.net/131553

That didn't work because you didn't add the piece of code in the good place, but I fixed this
__________________
Report comment to moderator  
Reply With Quote
Unread 01-16-10, 10:42 AM  
Jadessia
A Kobold Labourer
 
Jadessia's Avatar

Forum posts: 1
File comments: 8
Uploads: 0
ahh sorry

well i changed it to class and still nothing.

http://wowi.pastey.net/131531-2fmb

thats the entire layout but yeah settings file aint included.
Report comment to moderator  
Reply With Quote
Unread 01-16-10, 06:18 AM  
Soeters
A Warpwood Thunder Caller
 
Soeters's Avatar
AddOn Author - Click to view AddOns

Forum posts: 97
File comments: 207
Uploads: 20
Is the variable playerClass set somewhere because if it's not set then it will never be true and you'll never see a bar, that's why I wanted to see the whole layout
__________________
Report comment to moderator  
Reply With Quote
Unread 01-15-10, 02:11 PM  
Jadessia
A Kobold Labourer
 
Jadessia's Avatar

Forum posts: 1
File comments: 8
Uploads: 0
Originally posted by Soeters
Verify that the textures are correctly set (e.g SetStatusBarTexture(tex) can be another thing).
If you're not really sure then post the layout here: http://wowi.pastey.net/
Then give me the link and I'll try to fix it
this is the code i use. settings.xxx is because the font/statusbar texture is in its on lua file.

Code:
if IsAddOnLoaded("oUF_TotemBar") and unit == "player"  and playerClass == "SHAMAN" then
	self.TotemBar = {}
	for i = 1, 4 do
		self.TotemBar[i] = CreateFrame("StatusBar", nil, self)
		self.TotemBar[i]:SetHeight(7)
		self.TotemBar[i]:SetWidth(240/4 - 0.85)
		if (i == 1) then
			self.TotemBar[i]:SetPoint("TOPLEFT", self, "BOTTOMLEFT", 0, -1)
		else
			self.TotemBar[i]:SetPoint("TOPLEFT", self.TotemBar[i-1], "TOPRIGHT", 1, 0)
		end
		self.TotemBar[i]:SetStatusBarTexture(settings.texture)
		self.TotemBar[i]:SetBackdrop(backdrop)
		self.TotemBar[i]:SetBackdropColor(0, 0, 0)
		self.TotemBar[i]:SetMinMaxValues(0, 1)
						
		self.TotemBar[i].bg = self.TotemBar[i]:CreateTexture(nil, "BORDER")
		self.TotemBar[i].bg:SetAllPoints(self.TotemBar[i])
		self.TotemBar[i].bg:SetTexture(settings.texture)
		self.TotemBar[i].bg.multiplier = 0.25
		
		self.TotemBar[i].Name = SetFontString(self.TotemBar[i],settings.font,12)
		self.TotemBar[i].Name:SetPoint("LEFT",self.TotemBar[i],"LEFT",1,0)

	end
end
Report comment to moderator  
Reply With Quote
Unread 01-15-10, 08:58 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 Jadessia
Hello,

Trying to implant this into oUF_Alza (Alza UI), i copied the code from Deith and added it into the layout. but when i log on and cast totems no bars comes up.

i also have totemtimers installed but dunno if that can be the reason :S

i also added oUF_TotemBar to Toc optional files etc and can't really find any reason why its not working :S and as i'm fairly new to coding and only know a little basics i thought i should ask you the author.

thanks in advance!
Verify that the textures are correctly set (e.g SetStatusBarTexture(tex) can be another thing).
If you're not really sure then post the layout here: http://wowi.pastey.net/
Then give me the link and I'll try to fix it
__________________
Report comment to moderator  
Reply With Quote
Unread 01-14-10, 04:43 PM  
Jadessia
A Kobold Labourer
 
Jadessia's Avatar

Forum posts: 1
File comments: 8
Uploads: 0
Hello,

Trying to implant this into oUF_Alza (Alza UI), i copied the code from Deith and added it into the layout. but when i log on and cast totems no bars comes up.

i also have totemtimers installed but dunno if that can be the reason :S

i also added oUF_TotemBar to Toc optional files etc and can't really find any reason why its not working :S and as i'm fairly new to coding and only know a little basics i thought i should ask you the author.

thanks in advance!
Report comment to moderator  
Reply With Quote
Unread 12-17-09, 11:20 AM  
Jrz
A Defias Bandit

Forum posts: 2
File comments: 4
Uploads: 0
oUF_TotemBar + oUF_Tukz

Hello,

I was wondering if you would be able to check out my post here: http://www.wowinterface.com/forums/s...ad.php?t=29336 and offer any advice.

I'm only linking it to not clutter this section with essentially a double-post. I'm checking for replies both here and in that thread, so whichever is easiest to reply in works for me!
Report comment to moderator  
Reply With Quote
Unread 12-16-09, 07:58 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 Ferous
You are the best! Thank you!
That wasn't too hard to implement
__________________
Report comment to moderator  
Reply With Quote
Unread 12-16-09, 07:49 AM  
Ferous
Sheer Sense of Doom
AddOn Author - Click to view AddOns

Forum posts: 863
File comments: 563
Uploads: 10
Originally posted by Soeters
Yes that's one of the features I'm working on
You are the best! Thank you!
Report comment to moderator  
Reply With Quote
Unread 12-15-09, 08:31 AM  
Soeters
A Warpwood Thunder Caller
 
Soeters's Avatar
AddOn Author - Click to view AddOns

Forum posts: 97
File comments: 207
Uploads: 20
Yes that's one of the features I'm working on
__________________
Report comment to moderator  
Reply With Quote
Unread 12-14-09, 07:12 PM  
Ferous
Sheer Sense of Doom
AddOn Author - Click to view AddOns

Forum posts: 863
File comments: 563
Uploads: 10
Hey there! I really like this and I want to continue to use it but I just started a shaman and one thing that really bugs me is that I can't despawn my totems. Is there a macro? Also, do you plan to ever in the future make it to where you can right click to despawn like on default unit frame totem times? Thanks in advance

Edit - I found the script to get rid of the totems, how hard would it be to add this function with oUF totem?

Code:
DestroyTotem(1);
Last edited by Ferous : 12-14-09 at 07:16 PM.
Report comment to moderator  
Reply With Quote
Unread 11-18-09, 11:34 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 gahtz
hello, I have a problem for the timer, the bars are full all time and at the last second the bars move :-/
Which layout are you using (in order to see the bug, even if I don't really have the time right now).

I have few other things to do before but I try to plan update and bug fixing on all my addons
__________________
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.