File Details
Druid Bar v4.1 BETA⑨
- B
- Nov 1, 2008
- 27.57 KB
- 25
- 3.0.2
- Retail
File Name
DruidBarv4.1BETA.zip
Supported Versions
- 3.0.2
Rewrote the addon from scratch(WHAAAAAAAAAT?)
Did it all at once so bear with me while i document changes...hope i get them all.
Dumped XML file completely.
Switched to SavedVariablesPerCharacter(FINALLY.)
Reduced overhead by about 20k, with at-work/at-rest memory usage down about 2k(to about 105k/4k)
Split up differnet jobs into different files that should be independent of each other...except for bar.lua. keep that one in for now, k?
bar.lua: Mana Bar Changes-
Reworked Player and Replace to actually work(and work well);
repositioning and locking of the mana bar redone to work automatically.
Only one type of text style for the mana bar, for now. Options are always on, or on when mousing over.
Width and Height are constrained around 600/240px, and have set intervals of about 5/4. If you would like a larger range, or a more specific number, let me know and i can work it in.
message.lua: Shapeshifting Message Changes-
This may POSSIBLY work on non-druid characters. If you feel like it, try enabling it when on a warrior, paladin, rogue, shaman, or death knight, and mess around with your stances/auras/stealth/ghost wolf/whatever dk auras are called.
Added Flight Form to the list of possible messages.
Added Random - This will allow you to set how often these messages go off. 10 will ALAWYS do a message, 0 will VERY RARELY(but still go off). If you don't want to ever see them, Disable messages, don't set to 0.
shift.lua: Best Form and 2-Button Shifting Changes-
Best - MAYBE I HOPE I HOPE should be enabled for localization(if it wasn't working before)
Best - You'll now go into flight/travel form if you press it when standing still, but jumping.
2-Button Shifting has been completely redone. sorta. I had simply been using a macro system for it in the background anyway, but now the user can manipulate the macro how they see fit. Think of it as an extra 8 macro slots(unique to your character) that you've freed up from both the blizzard macro frame and your action bar, based purely around shifting into your desired form, with the perks you desire.
Similar to the message system, i am 87% sure that both the Best Form and the macros are usable as different classes. That way if you happen to leave the addon running for other characters, it can be of some use to you. Best form will allow you to use the different flying/riding mounts in the proper areas, and the form macros will just be extra macros for you. Don't worry, they shouldn't mess up your druid's macros if you change them. のヮの
menu.lua: GUI and slash command Changes-
Completely rewrote the GUI for DruidBar from scratch and incorporated it into the blizzard panels.
At the same time, i've completely removed the slash commands for the time being, except for simply /druidbar or /dbar to open the blizzard interface panel.
Random extra changes:
Keine is my new mascot. lol@suwako&tewi though.
Ok, i need help debugging this thing like crazy. I got it so that it's functional, now i need it to be extra pretty too. here's things to look for and give feedback about. If something aint' working or doesn't feel right, let me know what and how to reproduce, and i'll fix :D
SavedVariables Updating:
This should be able to work right out of the zip file, but if you have problems running it the first few times because of DruidBarKey errors, and you had used the old druidbar, you will probably need to delete your old druidbar stuff, log in, log out, and install this new one. A lot of variables changed, so it may be trying to use your old junk ones.
Bar updating feels a little more sluggish, due to a large switch from updating graphics OnUpdate to a purely OnEvent driven system(that only uses like 4 events.)
If you change a setting and you feel it takes TOO long, or never changes until you cast a spell or something, let me know. If it's an acceptable delay though(like 1s out of combat with the menu window open) then it should be ok.
Those of you who use Player or Replace functions, try them out and keep them working, make sure they layer properly and so on.
Different Text Styles currently ain't workin' none, son. I intend to put them back in, perhaps allowing custom fonts or something else, because the implementation i tried wasn't really how i wanted it.
Custom size is currently constrained to work with the slider. if you need a more open sizing option, you can set DruidBarKey.xvar and yvar manually. Let me know too, i'll start slowly adding back in chat commands and stuff.
Setting the frame layers for the bar and border are also currently disabled, just because i would need to not only rework it, but rework how it stores and uses that data too. i intend to put it back in eventually, just not yet.
Shifting messages may go off at weird times when you're in a form. I think i caught all the instances that this would happen, but just in case i did not, keep an eye out on it. Also, feel free to mess with it as different classes to see if it goes off when it shouldn't, or doesn't when it should
I am pretty sure i solved the whole "Going old world->best form picks travel instead of ground mount" thing, but try it out and make sure. i have it set to attempt the update as soon as you come in, then once again one second afterwards in case it missed anything.
The macro frame's scroll bar is complete and total fail. I mean, scrolling works for the most part, the bar is just a hackjob unfortunately and it tends to give more area than it should, or not updated arrows/bar position properly. Test it out and make sure it at least works well enough for daily use, but if you have a solution, lemme know.

