Download
(159Kb)
Download
Updated: 03-20-24 02:20 PM
Pictures
File Info
Compatibility:
Plunderstorm (10.2.6)
Updated:03-20-24 02:20 PM
Created:10-17-10 03:25 PM
Downloads:6,772
Favorites:27
MD5:
10.2.6

ShardAce Cataclysm  Popular! (More than 5000 hits)

Version: 1.23g
by: Kyrgune [More]

The basic functionality of this addon still works as far as flyout windows go from the minimap with the Dragonflight expansion.

**This addon is a work in progress, but it works!**

Description: Button goodness for Warlocks which can be placed near your minimap.

Some basic useful hints:

Options to setup the addon is in the "Addons" tab in the World of Warcraft menu. (Options/Addons)

Currently you can only move the buttons using "cursor"

Left click (or right click) on the Shard counter button and then drag to the left to bring out the flyout buttons for Warlock specific spells to use. Or middle click to bring out the flyout buttons.

Select your target and right click on the Soulstone button to Soulstone a target.

Right click on the Healthstone button to create a Healthstone. Left click to use the Healthstone.

A big thanks to everyone helping out to continue this great addon!

This is an updated version of ShardAceWoTLK which can be found at http://www.wowinterface.com/download...dAceWoTLK.html

1.23g

--Updated TOC

1.23f

--Updated TOC

1.23e

--Updated TOC

1.23d

--Updated TOC

1.23c

--Updated TOC

1.23b

--Updated TOC

1.23a

-- Updated TOC

1.23

-- Updated TOC

1.22

-- Updated TOC
-- Fixed buttons

1.21

-- Updated TOC
-- Changed Succubus spell ID

1.20

-- Updated TOC
-- Updated libs

1.19

-- Updated TOC
-- Updated libs
--Soulstone expiration sound not working.

1.18

-- Updated TOC
-- Updated Ace3 libs
-- Commented some code out from errors with patch 8.0.1

1.17

-- Updated TOC
-- Updated Libstub
-- The main fuctions work. I wanted to let everyone know I am still around for Legion.

1.16

-- Removed options for messaging Warlock specific spells.
-- Healthstone button to 1 minute.
-- Other small cleanup changes. (Much more is to be done I know.)

1.15

-- Some fixes to timers such as Summoning and SoulBurn.

1.14

-- Removed desaturate for the Soulstone button.
-- Added Dark Intent for the flyout buttons with the spell change.

1.13

-- Fixed The SoulStone button to show the 10 minute cooldown.
-- Updated TOC

1.12b

-- Updated TOC

1.12a

-- Updated TOC

1.12

-- Added Dark Intent to flyout buttons.

1.11

-- Fixed Soulstone messages to Party/Raid and yourself.

1.10

-- Added in fixes for strata.
-- Fixed errors for low level Warlocks hovering over the Healthstone and Soulstone buttons.

1.09

-- Changed Soulstone timer back to 15 minutes.
-- Changed the self message from "RAID" to "SAY".
-- Removed strata for the buttons until a better way is found.

1.08

-- Fixed Empower timer

1.07

-- Fixed spelling mistakes, thanks Ravynne.
-- HOPEFULLY removed all the old useless code :)
-- For positioning the main buttons, changed the description to include "cursor".


1.06

-- Changed the name of the addon.
-- Added in Ravynee's fix to set strata for the buttons.

1.05

-- Thanks to Ravynne for adding the Soulshard count and a new button icon.
-- Changed the layout of flyout buttons so they make alittle bit more sense.
-- Added grayouts for Doomguard and Infernal. (They both gray out since they share the same cooldown.)
-- Added grayouts for SoulWell and Summoning Portal (Right now they gray out if you just cast the spell and nobody clicks on it, but it's better than not having them do it at all.)
-- Other small misc. changes to code cleanup.


1.04

-- Fixed a small boo-boo for the 3rd row not showing the right icons for the spell selected.
-- Updated TOC

1.03

-- Fixed Soul Harvest cooldown so it grays out when on cooldown.
-- Added Soulburn to the flyout buttons.
-- Changed position of the Felguard on the flyout buttons.

1.02

-- Fixed Metamorphosis popup error.

1.01

-- Cleaned up some code.
-- Removed old Shard count.
-- Added Soul Harvest to flyout row one.


1.0

-- Thanks to pod_x for fixing the buttons.
Archived Files (10)
File Name
Version
Size
Author
Date
1.23g
159kB
Kyrgune
01-17-24 11:57 AM
1.23f
159kB
Kyrgune
11-14-23 12:32 PM
1.23e
159kB
Kyrgune
09-06-23 05:13 PM
1.23d
163kB
Kyrgune
07-12-23 08:25 AM
1.23c
159kB
Kyrgune
05-04-23 12:56 PM
1.23b
159kB
Kyrgune
03-21-23 07:07 AM
1.23a
159kB
Kyrgune
01-24-23 02:09 PM
1.23
159kB
Kyrgune
11-28-22 02:43 PM
1.22
161kB
Kyrgune
11-10-22 09:50 PM
1.21
161kB
Kyrgune
03-09-22 10:41 PM


Post A Reply Comment Options
Unread 10-31-10, 02:25 PM  
Ravynne
A Kobold Labourer

Forum posts: 0
File comments: 17
Uploads: 0
Here's today's issues:

I used Demonic Empowerment today and it caused an error.
I believe line 1129ish in the Empower timer block refers to the icon in row 1, button 5. But it's row 1, icon 3, as defined on line 963ish.

You should ensure that all the timer abilities are lined up with the new locations of all the icons.

Happy Halloween
Report comment to moderator  
Reply With Quote
Unread 10-31-10, 02:46 PM  
Kyrgune
Premium Member
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 14
File comments: 66
Uploads: 2
Originally posted by Ravynne
Here's today's issues:

I used Demonic Empowerment today and it caused an error.
I believe line 1129ish in the Empower timer block refers to the icon in row 1, button 5. But it's row 1, icon 3, as defined on line 963ish.

You should ensure that all the timer abilities are lined up with the new locations of all the icons.

Happy Halloween
Whoops, yeah I wanted to test out ALL the buttons in game to make sure I had them correct, but I didn't feel like spending the gold to respec. (Shame on me.) Sometimes after looking at just the lua for fixes etc. for hours my eyes start blurring heheh. Changing the background to black has helped though...Anyways...I'll fix that ASAP. Thanks...
Last edited by Kyrgune : 10-31-10 at 02:55 PM.
Report comment to moderator  
Reply With Quote
Unread 11-27-10, 01:53 PM  
Djambo
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
Thank you all for keeping this up to date. I have been using ShardAce and all its predecessors for more than 5 years since I discovered it in the Cosmos pack. Old times.

I have one minor question concerning the strata. As I have placed the buttons at the minimap while using the Chocolate Bar as my LDB-display the ShardAce buttons overlap the popup of my LDB-plugins. Screenshot

Would it be possible to have the three ShardAce buttons in the background (behind the popups) and the flyouts as they are now (above my buffs)?
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 11-27-10, 05:27 PM  
Ravynne
A Kobold Labourer

Forum posts: 0
File comments: 17
Uploads: 0
Originally posted by Djambo
Would it be possible to have the three ShardAce buttons in the background (behind the popups) and the flyouts as they are now (above my buffs)? [/b]
Kyrgune, here's how I would implement this, but I haven't tested it yet:

1. Add new parameter to NewButton
ButtonDaemon-1.0.lua
function ButtonDaemon:NewButton(Border, Icon, templates, strataTooltip)

2. Use the new parameter in the NewButton function
if strataTooltip then
button:SetFrameStrata("TOOLTIP")
end

3. Set the parameter to false when adding main buttons in shardacecata:CreateButtons()

ie: BD:NewButton("Interface\\AddOns\\shardacecata\\BtnRound", "Interface\\AddOns\\shardacecata\\shard", "SecureHandlerClickTemplate", false),

4. Set the parameter to true when adding flyout buttons:
ie:
BD:NewButton("Interface\\AddOns\\shardacecata\\BtnRound", select(3,GetSpellInfo(self.spellID.SoulHarvest)), "SecureActionButtonTemplate", true),
Report comment to moderator  
Reply With Quote
Unread 11-27-10, 05:34 PM  
Ravynne
A Kobold Labourer

Forum posts: 0
File comments: 17
Uploads: 0
You are not in a raid

When I solo and cast soulstone on myself, I get messages you are not in a raid. I think the code in SendMyMessage is a mess. I'm not sure what the original programmer had in mind there. But the only spot of code that calls it with soulstone passes the channel RAID. But, if we're not in a raid, or a party, it puts the message in RAID channel anyway. This is dumb. It should default it to SAY or not print it at all. I'm putting it to SAY in my copy. Just sharing. As always, enjoy
Report comment to moderator  
Reply With Quote
Unread 11-27-10, 05:45 PM  
Ravynne
A Kobold Labourer

Forum posts: 0
File comments: 17
Uploads: 0
Doesn't work for me at all. Apparently, I have much more to learn about strata and other ui items

It basically changes the behavior to that before I recommended the strata change...

Originally posted by Ravynne
Kyrgune, here's how I would implement this, but I haven't tested it yet:

1. Add new parameter to NewButton
ButtonDaemon-1.0.lua
function ButtonDaemon:NewButton(Border, Icon, templates, strataTooltip)

2. Use the new parameter in the NewButton function
if strataTooltip then
button:SetFrameStrata("TOOLTIP")
end

3. Set the parameter to false when adding main buttons in shardacecata:CreateButtons()

ie: BD:NewButton("Interface\\AddOns\\shardacecata\\BtnRound", "Interface\\AddOns\\shardacecata\\shard", "SecureHandlerClickTemplate", false),

4. Set the parameter to true when adding flyout buttons:
ie:
BD:NewButton("Interface\\AddOns\\shardacecata\\BtnRound", select(3,GetSpellInfo(self.spellID.SoulHarvest)), "SecureActionButtonTemplate", true),
Report comment to moderator  
Reply With Quote
Unread 11-28-10, 01:03 PM  
Kyrgune
Premium Member
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 14
File comments: 66
Uploads: 2
Originally posted by Djambo
Thank you all for keeping this up to date. I have been using ShardAce and all its predecessors for more than 5 years since I discovered it in the Cosmos pack. Old times.

I have one minor question concerning the strata. As I have placed the buttons at the minimap while using the Chocolate Bar as my LDB-display the ShardAce buttons overlap the popup of my LDB-plugins. Screenshot

Would it be possible to have the three ShardAce buttons in the background (behind the popups) and the flyouts as they are now (above my buffs)?
Actually I noticed the same thing with Chocolate Bar after I added in the strata option so I commented out the line that does it. I didn't like how it behaved either. I don't know if anyone else likes the strata option that's in there so I haven't uploaded a version without it.

If you want to get rid of it do this: (Just changing Ravynne's original post a little bit heh)

Edit ButtonDaemon-1.0\ButtonDaemon-1.0.lua
after Line 13: button = CreateFrame line...

So on new Line 14:
--button:SetFrameStrata("TOOLTIP")

That will get rid of the strata, or you can just totally get rid of line 14 if you want.
Report comment to moderator  
Reply With Quote
Unread 11-28-10, 02:01 PM  
Kyrgune
Premium Member
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 14
File comments: 66
Uploads: 2
Re: You are not in a raid

Originally posted by Ravynne
When I solo and cast soulstone on myself, I get messages you are not in a raid. I think the code in SendMyMessage is a mess. I'm not sure what the original programmer had in mind there. But the only spot of code that calls it with soulstone passes the channel RAID. But, if we're not in a raid, or a party, it puts the message in RAID channel anyway. This is dumb. It should default it to SAY or not print it at all. I'm putting it to SAY in my copy. Just sharing. As always, enjoy
Noticed that myself, thought I tested everything out but I must have forgotten about the ForteXorcist addon which I use for my Soulstone messages.

When you Soulstone yourself it has some white text come up in your chatbox saying you have been soulstoned.

It's not the "WHISPER" channel (I just tried it in ShardAce), not sure what it is. I supose having it set to "SAY" for now seems like the best choice. I'll look and see what I can do.
Report comment to moderator  
Reply With Quote
Unread 11-29-10, 03:09 AM  
Djambo
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
Nice, thank you. Exactly what I was looking for.

Originally posted by Kyrgune
Actually I noticed the same thing with Chocolate Bar after I added in the strata option so I commented out the line that does it. I didn't like how it behaved either. I don't know if anyone else likes the strata option that's in there so I haven't uploaded a version without it.

If you want to get rid of it do this: (Just changing Ravynne's original post a little bit heh)

Edit ButtonDaemon-1.0\ButtonDaemon-1.0.lua
after Line 13: button = CreateFrame line...

So on new Line 14:
--button:SetFrameStrata("TOOLTIP")

That will get rid of the strata, or you can just totally get rid of line 14 if you want.
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 12-05-10, 09:41 AM  
Jeehell
A Kobold Labourer

Forum posts: 0
File comments: 18
Uploads: 0
Hi Kyrgune...

Can you bring back the fix for the soulstone timer that I posted in the WotLK version of the addon...

self.Timers.SoulTimer = time() + 1800

Replace 1800 with 900 to bring the timer down from 30 to 15 minutes...

Thanks
Report comment to moderator  
Reply With Quote
Unread 12-05-10, 10:59 AM  
Kyrgune
Premium Member
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 14
File comments: 66
Uploads: 2
Didn't realize they changed it back. For awhile the soulstone lasted 15 minutes, but you couldn't actually cast it on yourself or someone else for 30 minutes thereafter. Good catch there.

Originally posted by Jeehell
Hi Kyrgune...

Can you bring back the fix for the soulstone timer that I posted in the WotLK version of the addon...

self.Timers.SoulTimer = time() + 1800

Replace 1800 with 900 to bring the timer down from 30 to 15 minutes...

Thanks
Last edited by Kyrgune : 12-05-10 at 11:04 AM.
Report comment to moderator  
Reply With Quote
Unread 12-12-10, 12:14 PM  
Ravynne
A Kobold Labourer

Forum posts: 0
File comments: 17
Uploads: 0
New Round of Fixes

Here are my new round of "fixes"

1. Low level characters get strange errors when hovering over the soulstone and healthstone button. Add an appropriate if check to the "SetupTooltips" function to see if the attribute(spell) is available. As a side effect, non-warlocks who hover over these icons don't experience errors.

Code:
    for i=2, 3, 1 do
      self.buttons[i]:SetScript("OnEnter", function(self) GameTooltip_SetDefaultAnchor(GameTooltip, UIParent); if self:GetAttribute("spell2") ~= nil then GameTooltip:SetHyperlink(GetSpellLink(self:GetAttribute("spell2"),"")) end end)
      self.buttons[i]:SetScript("OnLeave", function(self) GameTooltip:Hide() end )
    end
2. I think I have a fix for the Strata problem. The 3 buttons around the minimap are at default strata. Only the buttons that show up when you click the shard button are at TOOLTIP level. The reason my previous attempt at this did not work, was because I did not look at the parent frame option. This code sets the buttons to have a parent frame of the shard button. This makes it better (at least for me). ButtonDaemon-1.0.lua, add a parameter for the parent frame option. When creating a new button, use the parent option. If the parent frame is UIParent, then leave the strata alone. If the parent frame is not UIParent, then set the strata to TOOLTIP.

Code:
function ButtonDaemon:NewButton(Border, Icon, templates, parentFrame)
  local button
  local inherit = "BD-1.0-RndTmpl"
  if templates then
    inherit = format("BD-1.0-RndTmpl, %s", templates)
  end
  button = CreateFrame("Button", nil, parentFrame, inherit)
  if parentFrame ~= UIParent then
    button:SetFrameStrata("TOOLTIP")
  end
In ShardAceCata, CreateButtons remember the frame of the shard button, and pass it as a parameter to the children buttons.

Code:
  local shardButton = BD:NewButton("Interface\\AddOns\\shardacecata\\BtnRound", "Interface\\AddOns\\shardacecata\\shard", "SecureHandlerClickTemplate", UIParent)
  self.buttons = self.buttons or {
    shardButton,
    BD:NewButton("Interface\\AddOns\\shardacecata\\BtnRound", select(3,GetSpellInfo(self.spellID.CreateSS)), "SecureActionButtonTemplate", UIParent),
    BD:NewButton("Interface\\AddOns\\shardacecata\\BtnRound", select(3,GetSpellInfo(self.spellID.CreateHS)), "SecureActionButtonTemplate", UIParent),
  }

  self.firstrow = self.firstrow or {
    BD:NewButton("Interface\\AddOns\\shardacecata\\BtnRound", select(3,GetSpellInfo(self.spellID.SoulHarvest)), "SecureActionButtonTemplate", shardButton),
    BD:NewButton("Interface\\AddOns\\shardacecata\\BtnRound", select(3,GetSpellInfo(self.spellID.SoulLink)), "SecureActionButtonTemplate", shardButton),
    BD:NewButton("Interface\\AddOns\\shardacecata\\BtnRound", select(3,GetSpellInfo(self.spellID.Empower)), "SecureActionButtonTemplate", shardButton),
  }

-- Add the "shardButton" parameter to all of the following BD:NewButton as the last parameter
If you have any questions, then please let me know.


Thanks and enjoy!
Report comment to moderator  
Reply With Quote
Unread 12-14-10, 11:54 AM  
Kyrgune
Premium Member
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 14
File comments: 66
Uploads: 2
Re: New Round of Fixes

Tested out the changes you did and they all seem to be working correctly. The strata changes play well with Chocolatebar (and I'm assuming other LDB display addons). I'll post an update to the addon soon. Thankyou very much!

Kyrgune
Report comment to moderator  
Reply With Quote
Unread 12-14-10, 09:30 PM  
Ravynne
A Kobold Labourer

Forum posts: 0
File comments: 17
Uploads: 0
Re: Re: New Round of Fixes

Originally posted by Kyrgune
Tested out the changes you did and they all seem to be working correctly. The strata changes play well with Chocolatebar (and I'm assuming other LDB display addons). I'll post an update to the addon soon. Thankyou very much!

Kyrgune
I'm glad they work!

1. Can you confirm that soulstone cast messages will ever go to raid members? I think the last update you did forced them to "SAY" channel, which meant in a raid, they went nowhere. But it could also be due to other settings. The old way, saying RAID for those messages, meant in SendMyMessage, that they would go to RAID...

In any event, I think this needs an overhaul:
If in a raid, send to raid.
If in a party, send to party.
If solo - send to no one. Are there any summons that work solo? If I'm soulstoning myself right before running into an enemy town, won't my "SAY" message tell them I'm nearby?

2. I just leveled to 83 last night (I'm a slow leveler)... and learned Dark Intent. This is a good candidate for one of the bars.
Spell ID is 80398
I placed it on thirdrow, as I was thinking it's more like a 30 min buff like FelArmor...

But technically, row1 and 3 are a mess. I'm thinking row1 should be stuff you use in combat often (empower, shadowward, meta) and the rest on row3, stuff you usually do while not in combat (but can) (soullink, soulharvest, armor, breath). I know some spells CAN be done in combat.

Well, I'm just not sure

(Should the warlock get to decide which bar each spell goes on? That's a lot of work to program!)

3. There's that level 85 spell, which has a timer, so another set of timer code is needed. I don't have that spell ID handy at the moment, but it's easy to find on wowhead...
Report comment to moderator  
Reply With Quote
Unread 12-15-10, 12:33 PM  
Kyrgune
Premium Member
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 14
File comments: 66
Uploads: 2
Re: Re: Re: New Round of Fixes

Originally posted by Ravynne
I'm glad they work!

1. Can you confirm that soulstone cast messages will ever go to raid members? I think the last update you did forced them to "SAY" channel, which meant in a raid, they went nowhere. But it could also be due to other settings. The old way, saying RAID for those messages, meant in SendMyMessage, that they would go to RAID...

In any event, I think this needs an overhaul:
If in a raid, send to raid.
If in a party, send to party.
If solo - send to no one. Are there any summons that work solo? If I'm soulstoning myself right before running into an enemy town, won't my "SAY" message tell them I'm nearby?

2. I just leveled to 83 last night (I'm a slow leveler)... and learned Dark Intent. This is a good candidate for one of the bars.
Spell ID is 80398
I placed it on thirdrow, as I was thinking it's more like a 30 min buff like FelArmor...

But technically, row1 and 3 are a mess. I'm thinking row1 should be stuff you use in combat often (empower, shadowward, meta) and the rest on row3, stuff you usually do while not in combat (but can) (soullink, soulharvest, armor, breath). I know some spells CAN be done in combat.

Well, I'm just not sure

(Should the warlock get to decide which bar each spell goes on? That's a lot of work to program!)

3. There's that level 85 spell, which has a timer, so another set of timer code is needed. I don't have that spell ID handy at the moment, but it's easy to find on wowhead...
I agree, that whole message system needs an overhaul. I don't really see a reason for notifying you if you soulstone yourself. What I thought I changed in the code was just the message for yourself, but it affects "RAID" as well. I just tested this and no messages show up.

As far as the other stuff, sure it could be put into more of a reasonable order. I won't have time to work on it until after New Years though. I can add an "optional" section to the addon so you can upload any changes you have done. Let me know.

Take it easy!
Last edited by Kyrgune : 12-17-10 at 11:09 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: