Download
(113 Kb)
Download
Updated: 02-27-07 12:42 AM
Addon for:
FuBar 3.6.5.
Pictures
File Info
Updated:02-27-07 12:42 AM
Created:unknown
Downloads:5,399
Favorites:26
MD5:
Fubar CharmsFu  Popular! (More than 5000 hits)
Version: 0.2
by: sid67 [More]
This is a simple Fubar addon that allows you to set Raid Icons for your targets from your Fubar. As of the 0.2 release, I also added a ? button called Auto Charms that will auto assign the icons based on what your other party members or raid officers are targeting. If you don't want the Auto Charms button, simply right-click CharmsFu and hide the button.

The idea is HEAVILY inspired by MicroMenuFu and Lucky Charms. In fact, 90% of the code for the buttons is a simple adaptation of cknight's work on MicroMenuFu.

I created it for my own use, but thought I would upload it for the benefit of others. I really liked the concept of Lucky Charms and some of the other "Charm" type addons, but struggled with the space concept. I thought to myself, it's too bad it isn't just on my Fubar and then I thought of MicroMenuFu and... here we go.

Enjoy!

Update 2-26-07: Added an Auto Charms button for auto assigning party and raid targets. It's not intended to be fancy, just a quick way to setup targets. When clicked, Auto Charms will place an icon on the target of every party member (if in Party) or every raid officer (if in Raid).

The logic does try to assign icons by class: mage1 is moon, mage2 is square, mage3 is triangle, warlock is cross, hunter is diamond, rogue is star, priest is circle. If a class is full or not listed, one of the icons not used is assigned to that player. By intentional design, the Skull is never auto assigned.

If two players have the same target selected, only one icon is selected. The priority is based on the above: moon > square > triangle > cross > diamond > star > circle.

---
Update 2-23-07: I backdated the Ace libraries to older versions to eliminate conflicts that were occuring with some addons. Compatibility should be fixed now.
Post A Reply Comment Options
Old 04-09-07, 02:01 PM  
sid67
A Cliff Giant
AddOn Author - Click to view AddOns

Forum posts: 78
File comments: 31
Uploads: 10
I don't know why your having trouble with that macro, it should work fine. I usually act as the main assist, so I am the one picking targets. That means that, personally, I am using "target" instead of focus. So you would want to do this to set skull to target...

/script if IsPartyLeader() or IsRaidLeader() or IsRaidOfficer() then SetRaidTarget("target",8); end

Alternately, if you set your MT as your focus, you can do the following...

/script if IsPartyLeader() or IsRaidLeader() or IsRaidOfficer() then SetRaidTarget("focustarget",8); end

That will put the Skull on the target of your focus. If it's set to MT, then that will put the kill icon on whatever they are attacking. Could be useful if your party leader is a healer...

Alternately, this should also do the same thing AND set your target as the target of the focus.

/assist focus
/script if IsPartyLeader() or IsRaidLeader() or IsRaidOfficer() then SetRaidTarget("target",8); end
sid67 is offline Report comment to moderator  
Reply With Quote
Old 04-05-07, 02:19 PM  
klaarm
A Kobold Labourer

Forum posts: 1
File comments: 5
Uploads: 0
Keybind Macro

HI there,
I got the Autocharm keybind to work, but I seem to have a syntax problem with the Skull setting one you made. Is the text in your post a copy from your working macro? Thanks! Love this add-on, btw.
klaarm is offline Report comment to moderator  
Reply With Quote
Old 03-15-07, 03:58 PM  
sid67
A Cliff Giant
AddOn Author - Click to view AddOns

Forum posts: 78
File comments: 31
Uploads: 10
UniqueLT: That is a good idea, but it's a bit out-of-scope for what I intended of this project.

The only way I could see this being done reliably is to use OnUpdate every .1 seconds to reassign a raid charm. This would be a simple iteration, so .1 puts circle, .2 triangle, .3 square. Since there are 8 icons, this would result in cycling through all 8 every .8 seconds. This would also give the effect of flashing icons if "your MT and OT were being stupid".

I'll have to put some thought into whether or not I want to add something like that.
sid67 is offline Report comment to moderator  
Reply With Quote
Old 03-09-07, 06:19 AM  
UniqueLT
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 8
Uploads: 3
Thumbs up Idea

One feature of a charms addon I really miss was FuBar_FromViewToAKillFu - you could assign a symbol to a player in your raid... and every time that player took a target, it'd mark that target with the symbol. If 2 assigns took the same target, the icon would flicker between the 2, so you could instantly see when your MainTank/OffTank were being idiots :P.

Don't know if you see it in the scope of this addon, but it seems like a good option for it - maybe building on the AutoTarget option.

Uni
UniqueLT is offline Report comment to moderator  
Reply With Quote
Old 03-05-07, 12:47 PM  
sid67
A Cliff Giant
AddOn Author - Click to view AddOns

Forum posts: 78
File comments: 31
Uploads: 10
I'm glad you like the auto-charm feature. I tried to keep it simple, but useful.

Keybindings are pretty simple to add. I'll keep it in mind the next time I update. In the meantime, you should be able to put this in a macro and put that on one of your actionbars.

/script CharmsFu:AutoTargets();

Since the bars are bindable, you could create a keybinding that way. I do something similar for my Skull targeting macro.

/focus
/script if IsPartyLeader() or IsRaidLeader() or IsRaidOfficer() then SetRaidTarget("focus",8); end

This sets my target as my focus AND puts the Skull icon on them. When I tank with my warrior, I just use this to set where I want focus DPS to go. I use a Unit Frames mod that shows me target of focus and health of focus. So I know when I need to switch back, grab aggro or set a new Skull target.
Last edited by sid67 : 03-05-07 at 12:47 PM.
sid67 is offline Report comment to moderator  
Reply With Quote
Old 03-03-07, 09:44 PM  
joshwill80
A Murloc Raider

Forum posts: 5
File comments: 144
Uploads: 0
nice addon i think an auto charms keybinding would work well for this addon.
joshwill80 is offline Report comment to moderator  
Reply With Quote
Old 02-24-07, 07:36 AM  
wraithpc
A Defias Bandit

Forum posts: 2
File comments: 20
Uploads: 0
Thanks, seems to have fixed the problems
wraithpc is offline Report comment to moderator  
Reply With Quote
Old 02-23-07, 04:19 PM  
sid67
A Cliff Giant
AddOn Author - Click to view AddOns

Forum posts: 78
File comments: 31
Uploads: 10
I posted a version with some older libraries that should work for everyone. Thanks!
sid67 is offline Report comment to moderator  
Reply With Quote
Old 02-23-07, 10:07 AM  
sid67
A Cliff Giant
AddOn Author - Click to view AddOns

Forum posts: 78
File comments: 31
Uploads: 10
Originally posted by wraithpc
Would be a great mod if it worked... All i get is a ton of errors and the display on my Fubar...

some of the errors.....
Hmm. I'm not using MonkeyFu or ArkInventory and it works great for me. I'll have to install those addons and see if I can recreate the error. I'm also using the libs from the latest librarys, so I wonder if that is causing the conflict.

edit: Actually, upon looking at your errors further I am pretty sure that it's the latest version of the libraries I included that is causing the problem. I *think* some of your other addons that use these libraries are getting errors when using the latest version.

I'll look into uploading a version with older libraries when I get home tonight.

IN THE SHORT TERM, you could try to fix the problem by downloading MicroMenuFu from wowinterface and replacing the /libs directory in CharmsFu with the /libs directory from MicroMenuFu.

http://www.wowinterface.com/downloads/info4738-FuBar-MicroMenuFu.html
Last edited by sid67 : 02-23-07 at 10:53 AM.
sid67 is offline Report comment to moderator  
Reply With Quote
Old 02-23-07, 06:21 AM  
wraithpc
A Defias Bandit

Forum posts: 2
File comments: 20
Uploads: 0
Would be a great mod if it worked... All i get is a ton of errors and the display on my Fubar...

some of the errors.....

2007/02/23 06:14:47-716-x20]: Dewdrop-2.0-28457 (FuBar_CharmsFu):2702: attempt to index local 'button' (a nil value)
FuBar-25921\FuBar.lua:761: in function <Interface\AddOns\FuBar\FuBar.lua:751>
Dewdrop-2.0-28457 (ArkInventory):1667: in function <...ace\AddOns\ArkInventory\Libs\Dewdrop\Dewdrop-2.0.lua:1616>
Dewdrop-2.0-28457 (ArkInventory):489: in function <...ace\AddOns\ArkInventory\Libs\Dewdrop\Dewdrop-2.0.lua:424>

---

2007/02/23 06:14:50-716-x21]: Tablet-2.0-28502 (FuBar_CharmsFu):261: attempt to index upvalue 'testString' (a nil value)
Tablet-2.0-28502 (FuBar_CharmsFu):753: in function `new'
Tablet-2.0-28502 (FuBar_CharmsFu):556: in function `AddLine'
Tablet-2.0-28502 (FuBar_CharmsFu):534: in function `new'
Tablet-2.0-28502 (FuBar_CharmsFu):388: in function `AddCategory'
Tablet-2.0-28502 (FuBar_CharmsFu):313: in function `Display'
Tablet-2.0-28502 (FuBar_CharmsFu):2330: in function `children'
Tablet-2.0-28502 (FuBar_CharmsFu):2339: in function `Open'
Tablet-2.0-28502:2581: in function <...s\FuBar_MonkeyQuestFu\libs\Tablet-2.0\Tablet-2.0.lua:2575>
FuBarPlugin-2.0-27487:396: in function <...\FuBarPlugin-2.0\FuBarPlugin-2.0\FuBarPlugin-2.0.lua:395>

[2007/02/23 06:14:50-716-x8]: Tablet-2.0-28502 (FuBar_CharmsFu):261: attempt to index upvalue 'testString' (a nil value)
Tablet-2.0-28502 (FuBar_CharmsFu):753: in function `new'
Tablet-2.0-28502 (FuBar_CharmsFu):559: in function `AddLine'
...and\Elements\TipOnDemand_FuBar\TipOnDemand_FuBar.lua:31: in function `add':
...and\Elements\TipOnDemand_FuBar\TipOnDemand_FuBar.lua:32: in function `OnTooltipUpdate':
FuBarPlugin-2.0-27487:347: in function `runChildren'
Tablet-2.0-28502 (FuBar_CharmsFu):2328: in function `children'
Tablet-2.0-28502 (FuBar_CharmsFu):2339: in function `Open'
Tablet-2.0-28502 (FuBar_ReagentFu):2640: in function <...ddOns\FuBar_ReagentFu\libs\Tablet-2.0\Tablet-2.0.lua:2634>
FuBarPlugin-2.0-27487:396: in function <...\FuBarPlugin-2.0\FuBarPlugin-2.0\FuBarPlugin-2.0.lua:395>

[2007/02/23 06:14:50-716-x3]: Dewdrop-2.0-28457 (FuBar_CharmsFu):2669: attempt to index field '?' (a nil value)
Dewdrop-2.0-28457 (ArkInventory):137: in function <...ace\AddOns\ArkInventory\Libs\Dewdrop\Dewdrop-2.0.lua:130>
Dewdrop-2.0-28457 (ArkInventory):658: in function <...ace\AddOns\ArkInventory\Libs\Dewdrop\Dewdrop-2.0.lua:657>

---

2007/02/23 06:14:54-716-x7]: Tablet-2.0-28502 (FuBar_CharmsFu):261: attempt to index upvalue 'testString' (a nil value)
Tablet-2.0-28502 (FuBar_CharmsFu):753: in function `new'
Tablet-2.0-28502 (FuBar_CharmsFu):559: in function `AddLine'
BugSack-2.1.1\BugSackFu.lua:143: in function `OnTooltipUpdate'
FuBarPlugin-2.0-27487:347: in function `runChildren'
Tablet-2.0-28502 (FuBar_CharmsFu):2328: in function `children'
Tablet-2.0-28502 (FuBar_CharmsFu):2339: in function `Open'
Tablet-2.0-28502:2581: in function <...s\FuBar_MonkeyQuestFu\libs\Tablet-2.0\Tablet-2.0.lua:2575>
FuBarPlugin-2.0-27487:396: in function <...\FuBarPlugin-2.0\FuBarPlugin-2.0\FuBarPlugin-2.0.lua:395>

---
wraithpc is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: