JASlaughter
12-14-2004, 12:11 PM
I hope you don't mind, I took some liberties with AutoBar that I think others may find useful.
http://bellsouthpwp.net/j/a/jaslaughter
The link to my interface is there, but you can delete everything you don't want. For the updated AutoBar, you'll need the AutoBar directory and the JASuite directory.
Here's a breakdown of what's changed:
First off, the bar is now vertical, and smaller. It binds to the right-side of your main chat window. To the right of each icon, a count (if you have more than one) is shown. You can see that in the screenshot.
/jasuite - Help message
/jasuite clear - clears current toon's autobar settings
/jasuite clearall - clears all toons' autobar settings
/autobar# - clears current toon's autobar number #
/autobar# <items> - sets autobar tracking for autobar number #.
Example usage:
/autobar5 Light Shot, Crafted Light Shot, Heavy Shot
will set the 5th slot (hearthstone by default) to track heavy shot, then crafted light shot, then light shot, in that order. The order you type them in is in order of least preferable to most preferable. I'll fix this some day.
/autobar4 Flash Powder
will set the 4th slot to only track flash powder.
/autobar3
will reset the 3rd slot to default settings.
All changes take place immediately.
I tried to make it so you can use the shift-click, but I couldn't figure out how to just get text. It seems there's extra info sent to the variable when you do that and it's not as simple as trimming the [] off of it. But the good news is:
You only have to do this once, per character. Your selections are saved per character and automatically reloaded on login. New characters are automatically created. If Blizzard ever gives us the option to find the server name, that'll be done too...
Note that the item names have to be capitalized correctly. However, you -can- just type /autobar4 Linen and it'll track Bolt of Linen Cloth and then Linen Cloth. That's standard AutoBar functionality. Also, all key-bindings should work, though I haven't tested it since I modified the code.
I'll try to keep up with this forum now if you have any questions, since I normally just browse the Blizzard UI board. Keep in mind, however, that the core functionality is the same AutoBar code. I just needed a way to utilize those slots for other things for different classes, in-game.
Hope you all find it useful.
- Jason
---------------------
As a side note, this modification of this fine mod is my first foray into LUA programming. My code may not be the most optimized although I did try. If you have the time and notice something stupid I did, that could be done better, please state that if you don't mind :) I'm always learning.
http://bellsouthpwp.net/j/a/jaslaughter
The link to my interface is there, but you can delete everything you don't want. For the updated AutoBar, you'll need the AutoBar directory and the JASuite directory.
Here's a breakdown of what's changed:
First off, the bar is now vertical, and smaller. It binds to the right-side of your main chat window. To the right of each icon, a count (if you have more than one) is shown. You can see that in the screenshot.
/jasuite - Help message
/jasuite clear - clears current toon's autobar settings
/jasuite clearall - clears all toons' autobar settings
/autobar# - clears current toon's autobar number #
/autobar# <items> - sets autobar tracking for autobar number #.
Example usage:
/autobar5 Light Shot, Crafted Light Shot, Heavy Shot
will set the 5th slot (hearthstone by default) to track heavy shot, then crafted light shot, then light shot, in that order. The order you type them in is in order of least preferable to most preferable. I'll fix this some day.
/autobar4 Flash Powder
will set the 4th slot to only track flash powder.
/autobar3
will reset the 3rd slot to default settings.
All changes take place immediately.
I tried to make it so you can use the shift-click, but I couldn't figure out how to just get text. It seems there's extra info sent to the variable when you do that and it's not as simple as trimming the [] off of it. But the good news is:
You only have to do this once, per character. Your selections are saved per character and automatically reloaded on login. New characters are automatically created. If Blizzard ever gives us the option to find the server name, that'll be done too...
Note that the item names have to be capitalized correctly. However, you -can- just type /autobar4 Linen and it'll track Bolt of Linen Cloth and then Linen Cloth. That's standard AutoBar functionality. Also, all key-bindings should work, though I haven't tested it since I modified the code.
I'll try to keep up with this forum now if you have any questions, since I normally just browse the Blizzard UI board. Keep in mind, however, that the core functionality is the same AutoBar code. I just needed a way to utilize those slots for other things for different classes, in-game.
Hope you all find it useful.
- Jason
---------------------
As a side note, this modification of this fine mod is my first foray into LUA programming. My code may not be the most optimized although I did try. If you have the time and notice something stupid I did, that could be done better, please state that if you don't mind :) I'm always learning.