Download
(2Kb)
Download
Updated: 04-10-10 01:13 PM
Pictures
File Info
Updated:04-10-10 01:13 PM
Created:08-07-09 08:37 PM
Downloads:26,313
Favorites:127
MD5:

aTotemBar  Popular! (More than 5000 hits)

Version: 1.0a
by: Arimis [More]

aTotemBar is a simple totem addon that allows you to move, hide, and scale Blizzard's Default Totem Bar.

Its compatible with most other bar mods:
For Bartender4, Disable the Totem Bar
For Dominos, Disable the Dominos_Totem addon
For rActionBarStyler, no changes needed.

Commands:
/atbar lock
- This toggles the bar position lock. When the frame is black the bar is dragable.

/atbar hide
- This toggles the visibility of the bar

/atbar scale x.x
- Sets the scale of the bar, replace x.x with numbers (ie: 0.9)

**OmniCC or a similar addon is required to add numbers to the timers.

Version 1.0a:
Button Spacing: Adjust in the .LUA

Version 1.0:
Changed the Shaman and Level checks to use the same mechanics that Blizzard has built-in. (Hopefully no more random Nil errors)
Rewrote all the timers to be more efficient. It will also clear the timers when your totems are destroyed from out ranging them.
Default Value should now be set properly upon first run.
Corrected Right-Click to destroy totems.
Timers can now be disabled by setting "aTotemBarTimers = false" in the .lua
Blizzards Timers can now be disabled by setting "BlizzardTimers = false" in the .lua
*Both timers are enabled by default.
**If you're updating, you can safely delete embeds.xml from this addon's folder.

Version 0.8:
TOC Bumped for 3.3
Timers added (Consider this a Beta feature for the time being) *Option to disable coming shortly

Version 0.7:
Shaman Check revised again. Checking for Shaman and Level 30 or greater instead of checking for the default bars existence.

Version 0.6:
Shaman Check Take 2 - Removed the OnLoad() in favor of a check elsewhere (based on Tukz Feedback)

Version 0.5:
Now disables if you're not a Shaman or if you don't have the new Totem Bar yet. - Thanks Tukz
Fixed a small typo.

Version 0.4:
Reworked the frame code to use a completely custom frame instead of attempting to control the default. This should take care of the occasionally position loss.
User Request - Added a command to set the scale.

Version 0.2:
Removed the disable based on class code for the time being.
Tweaked the startup function a little bit.
Optional Files (0)


Post A Reply Comment Options
Unread 08-07-09, 11:01 PM  
Lazybones13
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
does it work?

it didnt work for me , wasnt using any other totembar
Report comment to moderator  
Reply With Quote
Unread 08-08-09, 12:03 AM  
Willowy
A Kobold Labourer

Forum posts: 1
File comments: 39
Uploads: 0
Seems to work ok, except that it disables itself on a reload ui or between log ins.

I don't know much about lua, but it looks like:

if (select(2,UnitClass("player")) == "SHAMAN") then
DisableAddOn('aTotemBar')

needs to be:

if (select(2,UnitClass("player")) ~= "SHAMAN") then
DisableAddOn('aTotemBar')

Seems to work ok after that, but like I said, I don't know much about lua.

Handy though, not sure I liked Dominos Totem over Blizzard's either. I do love Dominos, though, perhaps Tuller will include an option to use and move the Blizzard totem bar sooner or later.
Last edited by Willowy : 08-08-09 at 12:53 AM.
Report comment to moderator  
Reply With Quote
Unread 08-08-09, 02:47 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Nasty
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 08-08-09, 06:03 AM  
Arimis
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 50
Uploads: 1
Re: does it work?

Originally posted by Lazybones13
it didnt work for me , wasnt using any other totembar
Try the new change as see if that works.
Report comment to moderator  
Reply With Quote
Unread 08-08-09, 11:39 AM  
Khoalabur
A Defias Bandit
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 3
Uploads: 2
i must check this out
Report comment to moderator  
Reply With Quote
Unread 08-08-09, 01:59 PM  
tukz
A Fallenroot Satyr
 
tukz's Avatar
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 50
Uploads: 3
Like roth said, nasty

Great work Arimis, i'll put a link to your totem bar for shaman user from my ui compilation. Very nice work.

edit : can i include this addon in a ui compilation or you don't approve this move ? i prefer to ask before doing this ...

Thank's
Last edited by tukz : 08-08-09 at 02:03 PM.
Report comment to moderator  
Reply With Quote
Unread 08-08-09, 03:17 PM  
brknsoul
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 160
Uploads: 2
A nice and simple addon.

It might be out of the scope of the addon, but would it be possible to scale the totem bar, and adjust the padding between each button?
Report comment to moderator  
Reply With Quote
Unread 08-08-09, 03:44 PM  
Arimis
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 50
Uploads: 1
Originally posted by tukz
Like roth said, nasty

Great work Arimis, i'll put a link to your totem bar for shaman user from my ui compilation. Very nice work.

edit : can i include this addon in a ui compilation or you don't approve this move ? i prefer to ask before doing this ...

Thank's
Sure!
Report comment to moderator  
Reply With Quote
Unread 08-08-09, 03:45 PM  
Arimis
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 50
Uploads: 1
Originally posted by brknsoul
A nice and simple addon.

It might be out of the scope of the addon, but would it be possible to scale the totem bar, and adjust the padding between each button?
If you edit aTotemBar.Lua, line #2, Change the number to adjust the scale.
Code:
local totemScale = 0.9
I'll check into spacing, and see what I can come up with.
Report comment to moderator  
Reply With Quote
Unread 08-08-09, 05:29 PM  
brknsoul
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 160
Uploads: 2
Originally posted by Arimis
If you edit aTotemBar.Lua, line #2, Change the number to adjust the scale.
Code:
local totemScale = 0.9
I'll check into spacing, and see what I can come up with.
cool, thanks! :-)
Report comment to moderator  
Reply With Quote
Unread 08-08-09, 06:45 PM  
Silentspy
A Defias Bandit
 
Silentspy's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 47
Uploads: 1
to extend this addon you should look into proper options libs, i recommend LibSimpleOptions-1.0, to make good interface panel with slider and everything

either way nice work! but the totembar wont save to its location for some reason..
Last edited by Silentspy : 08-08-09 at 06:46 PM.
Report comment to moderator  
Reply With Quote
Unread 08-08-09, 07:54 PM  
Arimis
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 50
Uploads: 1
Originally posted by Silentspy
to extend this addon you should look into proper options libs, i recommend LibSimpleOptions-1.0, to make good interface panel with slider and everything

either way nice work! but the totembar wont save to its location for some reason..
Latest update should take care of the position issues.

I'll consider adding GUI options if people want them. Personally I like to keep my addons very light and very specific to the task they do, BUT I wrote this to help out my fellow shaman, so we'll see
Report comment to moderator  
Reply With Quote
Unread 08-10-09, 09:31 AM  
tukz
A Fallenroot Satyr
 
tukz's Avatar
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 50
Uploads: 3
it's weird but function aTotemBar_OnLoad() doesn't work for my non shaman char. Code look fine and i don't really know why it doesn't work, but it show 2 buttons and we got errors with it

i removed this function and i only added the line with my r8 compilation with your 0.5 version and it work fine.
Report comment to moderator  
Reply With Quote
Unread 08-10-09, 09:47 AM  
cento
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
Thank you SO much for this!

I use Macaroon as my bar mod of choice, but there has been no word when Maul might update to include the new totem bar functionality. I didn't want to switch bar mods, but was worrying I would be forced to until I saw your post on MMO-Champion.

This little mod of yours saved my day!
Report comment to moderator  
Reply With Quote
Unread 08-10-09, 09:48 AM  
Niggldiniklas
A Kobold Labourer
 
Niggldiniklas's Avatar

Forum posts: 1
File comments: 10
Uploads: 0
perfekt^^
thanks you so much
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: