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,305
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-10-09, 10:30 AM  
Arimis
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 50
Uploads: 1
Originally posted by tukz
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.
Very strange. I had to fix the OnLoad because you're original line didnt work for my non-shaman characters. I'll poke around a bit more and see if i can get it worked out properly.
Report comment to moderator  
Reply With Quote
Unread 08-10-09, 10:31 AM  
Arimis
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 50
Uploads: 1
Originally posted by cento
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!
When the patch dropped I had to switch to bars mods and rebind everything to get quick functionality, what a pain! So I wrote this guy...

Nice to know it works with Macaroon
Report comment to moderator  
Reply With Quote
Unread 08-10-09, 10:48 AM  
Arimis
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 50
Uploads: 1
Originally posted by tukz
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.
I change that section and tested on my toons, worked okay for me. Let me know if it's not working for anyone and I'll get it fixed asap.
Report comment to moderator  
Reply With Quote
Unread 08-10-09, 10:54 AM  
tukz
A Fallenroot Satyr
 
tukz's Avatar
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 50
Uploads: 3
Originally posted by Arimis
Very strange. I had to fix the OnLoad because you're original line didnt work for my non-shaman characters. I'll poke around a bit more and see if i can get it worked out properly.
nvm, the code work fine for 0.5 version, but the problem is only when you log for the first time when atotembar is enabled on non shaman char. atotembar load 2 buttons of blizzard totem bar before the automaticaly disabling function. You need to relog in game or /rl to have atotembar disabled on non-shaman char. After you first log-on it work fine and disabled via addon list.

http://img217.imageshack.us/img217/3...1009124854.jpg

anyway, without _OnLoad function, it work fine for me and atotembar is not active on non shaman char even if atotembar is enabled in the list.

edit: spelling... my English is very bad!
Last edited by tukz : 08-10-09 at 11:23 AM.
Report comment to moderator  
Reply With Quote
Unread 08-10-09, 03:40 PM  
tukz
A Fallenroot Satyr
 
tukz's Avatar
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 50
Uploads: 3
ehm, it's me again, after a check, my method doesn't work aswell when you don't have any aTotemBar in your Savedvariables on first login with a non-shaman character. 2 Buttons appears until your relog or you have a aTotemBar.lua in your savedvariables.

Only way i fixed it to not show these 2 buttons on first login on non shaman character is by modifying OnLoad function on 0.5 version.

Now it look like this :

Code:
function aTotemBar_OnLoad()
	-- tukz fix if you are not a shaman
	if not HasMultiCastActionBar or select(2, UnitClass("player")) ~= "SHAMAN" then
		MultiCastSummonSpellButton:Hide()
		MultiCastRecallSpellButton:Hide()
		DisableAddOn("aTotemBar")
		return
	end
end
I don't know why we need to put these lines in red to prevent error on first logon only but anyway, work fine now and addon is disabled after next relog in your addon list if your are not a shaman. Again, thank's for your great work with this totem bar.
Last edited by tukz : 08-10-09 at 03:50 PM.
Report comment to moderator  
Reply With Quote
Unread 08-10-09, 08:15 PM  
YrDaDy
A Defias Bandit
 
YrDaDy's Avatar

Forum posts: 2
File comments: 62
Uploads: 0
problem

so far this little addon is great seeing how normal bar mods don't do the trick with the new totem bars..

but, I have a serious problem that is pushing me away from the mod. while I am in combat being attacked etc, I can not change the totem on the bar.. I bring up the little menu.. click on the totem I want to switch to.. the bar goes away like I selected it.. but the main totem that I click to cast the actual totem does not change until I run away and get out of combat etc... any ideas?
Report comment to moderator  
Reply With Quote
Unread 08-10-09, 08:26 PM  
Arimis
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 50
Uploads: 1
Re: problem

Originally posted by YrDaDy
so far this little addon is great seeing how normal bar mods don't do the trick with the new totem bars..

but, I have a serious problem that is pushing me away from the mod. while I am in combat being attacked etc, I can not change the totem on the bar.. I bring up the little menu.. click on the totem I want to switch to.. the bar goes away like I selected it.. but the main totem that I click to cast the actual totem does not change until I run away and get out of combat etc... any ideas?
That's by Blizzard design, so there's not anything I can do about it.

TotemTimers are the same, but they do allow you to drop from the their menu while sacrificing some of the new set functions.
Report comment to moderator  
Reply With Quote
Unread 08-10-09, 09:10 PM  
YrDaDy
A Defias Bandit
 
YrDaDy's Avatar

Forum posts: 2
File comments: 62
Uploads: 0
hmm

what do you mean "by blizzard design"

cause I can change the totems just dandy with the default blizzard bar without using any mod(s).
Report comment to moderator  
Reply With Quote
Unread 08-10-09, 09:33 PM  
Arimis
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 50
Uploads: 1
I was pretty sure the default was locked down during combat. I'll see what i can figure out.
Report comment to moderator  
Reply With Quote
Unread 08-11-09, 01:23 AM  
Burnum
A Defias Bandit
 
Burnum's Avatar

Forum posts: 2
File comments: 81
Uploads: 0
Hey I heard about this over in the Macaroon comments so I tried it out. it looks just like the default Bliz one, nice. I run Macaroon, (some) Macaroon: Xtras, and Macaroon: Extensions.

Oh, and I would like to request the option to hide the destroy totems button, (blast me bad memory for names!) the last one on the right. I have that one on my regular bars and key bound.

great work so far! (sounds like it works for most people)


--edited
took out my comment about no menus, I figured out another mod was hidden but floating in front. (and not 100% gone) so, good to go!
Last edited by Burnum : 08-11-09 at 01:37 AM.
Report comment to moderator  
Reply With Quote
Unread 08-11-09, 12:24 PM  
k3nt0456
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
If I log in on my hunter alt it still shows up (with no buttons).

Good work otherwise
Report comment to moderator  
Reply With Quote
Unread 08-11-09, 12:25 PM  
YrDaDy
A Defias Bandit
 
YrDaDy's Avatar

Forum posts: 2
File comments: 62
Uploads: 0
Originally posted by Arimis
I was pretty sure the default was locked down during combat. I'll see what i can figure out.
thanks, hopefully it's an easy fix!
Report comment to moderator  
Reply With Quote
Unread 08-11-09, 05:14 PM  
Tankarr
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Yeah, I'm having the same problem as YrDaDy with the mod. With the Blizzard totem bar you can switch totems in combat. With this one, it seems to be locked in combat.

Also...everyone stating that the bar still shows up on non-shaman characters...um... you guys DO realize that you can set which addons you want enabled for each character, right?
Last edited by Tankarr : 08-11-09 at 05:16 PM.
Report comment to moderator  
Reply With Quote
Unread 08-11-09, 05:22 PM  
Arimis
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 50
Uploads: 1
taint logs would be awesome!

I found that Dominos causes this behavior for me.

To start the taint log use this command in chat:
/console taintLog 1

Try to reproduce the problem, you'll probably see the "Action Failed" error msg in chat. Log out to commit the log and it's in the Log folder of your wow install.
Report comment to moderator  
Reply With Quote
Unread 08-12-09, 06:34 AM  
Arimis
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 50
Uploads: 1
I'm investigating the two buttons showing for other toons. It looks like the check for if you have the new bar, doesn't work as intended. I'll see what I can do to work around it.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: