04-05-06, 02:39 PM | #41 |
ZHC + ToEP charm macro
So lemme get this straight. Using Aktash's multiple trinket macro from Cirk's post...
/script if not FastcastUseItem(14) or not FastcastUseItem(13) then CastSpellByName("Scorch"); end ...but replacing "Scorch" with "Shadow Bolt," I could activate one of my trinkets (if it's ready), or the other trinket (if the first is on cooldown, but the next is ready), and then cast Shadow Bolt with the benefits of FastCase. Is this true? By the way, thank you Cirk for this wonderful addon! |
|
04-05-06, 05:37 PM | #42 | ||
I guess ideally I shouldn't be enforcing that check for macros anymore now that I've added the FastcastStopCasting function, but if I take it out again (i.e., macros will always run) then any existing macros using SpellStopCasting will break until they are modified to use FastcastStopCasting. I'd suggest going with something like the solution I suggested for now, and when I update Fastcast, you'll be able to check for the new feature (somehow, I'll keep that requirement in mind) and do an either-or approach in your addon. Cheers -- Cirk
__________________
Cirk's Addons |
|||
04-06-06, 06:55 PM | #43 | |
|
||
04-06-06, 07:15 PM | #44 | |
-- Cirk
__________________
Cirk's Addons |
||
04-09-06, 10:18 AM | #45 | |
Code:
function SpecialHeal() if _isCasting then if UnitIsOverhealed() then SpellStopCasting() _isCasting = false end return end local damage = UnitHealthMax("target") - UnitHealth("target") local spell = GetBestRank(damage) CastSpellByName(spell) _isCasting = true end function UnitIsOverhealed() -- guess you can imagine what happenes here, but lets do something simple: if UnitHealthMax("target") == UnitHealth("target") then return true else return false end end Thanks again... Last edited by Maia : 04-09-06 at 10:26 AM. |
||
04-15-06, 06:30 PM | #46 | |
Sorry for the delay Maia, missed this update somehow!
(The difference between macros and normal spells is that while the last spell is still casting, Fastcast will allow a different macro to be run at any time, but won't allow a different spell to start until the end-time is reached.). What this means for you is that any UseAction called macros that call your SpecialHeal function will be ignored by Fastcast once they start casting a spell (until the end-time for the spell is reached of course). I.e., the macro won't be executed, and SpecialHeal won't be called again. (You can test this easily - add some debug to your macro and see that it isn't being executed, or alternatively do /script SpecialHeal() from the editbox and see that it is executed even when Fastcast won't). So, the way around this (for now) is:
Hope that helps -- Cirk
__________________
Cirk's Addons |
||
04-24-06, 04:22 AM | #47 |
so this is a totaly legal mod?
|
|
04-26-06, 10:36 AM | #48 | |
|
||
05-13-06, 10:23 AM | #49 |
Nice work Cirk!
I understand that the "casting bar adjustment" works only under certain conditions if I use a separate mod to modify of casting bar. I use eCastingBar; should the "casting bar adjustment" work with this mod? It is a fairly popular mod for modifying how your casting bar looks, but I'm not sure whether it uses the "CastingBarFrame" and "CastingBarFrameStatusBar" objects that you mention in the Readme file. Does eCastingBar work with the "casting bar adjustment" in your FastCast? Or how do I check this myself? I simply did a search through all the files of the eCastingBar mod for "CastingBarFrame" and "CastingBarFrameStatusBar". I wasn't able to find any instances of "CastingBarFrameStatusBar" and I was able to find only two instances of "CastingBarFrame" (in "eCastingBar.lua"). I'm assuming this means FastCast's "casting bar adjustment" does not work with eCastingbar. The reason why I ask this is because it doesn't seem like my casting bar (from eCastingBar) is adjusting to the padding setting as I change it. If there isn't any way to get FastCast to work with eCastingBar, would anyone have any suggestions for another casting bar mod with similar capabilities of eCastingBar that works with FastCast's "casting bar adjustment" option? Thanks in advance. Great mod Cirk, keep it up! Last edited by Skizz : 05-13-06 at 10:25 AM. |
|
05-30-06, 01:30 PM | #50 |
macro that sets padding time to latency
I have taken the liberty to add a function in the macro callable functions portion of the Fastcast add on. It allows one to set the current latency with one the push of a button. You could even have it “calibrate” your latency everytime you cast a spell.
Code:
function Fastcast_SetLat() local up, down, lag = GetNetStats(); lag = lag / 1000; _fastPadding = lag + .005; end Code:
/script Fastcast_SetLat(); /fastcast fast |
|
06-23-06, 05:48 PM | #51 |
I dont know if you still check this forum, (its been 2 months since your last reply) but in case you do...
I was wondering if its possible to set up a macro to work with FastCast that incorperates the 8/8 Netherwind bonus of instant cast spells. The current macro I use is: /script local f for i=1,24 do f=f or strfind(UnitBuff("player",i) or "","Shadow_Teleport") end if not f then CastSpellByName("Scorch") else CastSpellByName("Pyroblast") end Where "Shadow_Teleport" is the name of the buff givin by the NW proc. Thanks |
|
06-29-06, 04:48 AM | #52 |
there is a bug:
while mounted and attacked by mobs/player it is NOT possible to dismount when fastcast is enabled! pressing your mount icon doesnt do anything. its very unconfortable to turn it on/off every time i mount |
|
07-04-06, 10:08 PM | #53 | ||||
Some replies! (Sorry for the delay )
/script if FastcastStopCasting() then local f for i=1,24 do f=f or strfind(UnitBuff("player",i) or "","Shadow_Teleport") end if not f then CastSpellByName("Scorch") else CastSpellByName("Pyroblast") end end
Cheers -- Cirk
__________________
Cirk's Addons |
|||||
07-05-06, 01:28 PM | #54 |
Firstly, after reading the section on Fastcast and macros a few times, I'm still a bit confused; is the following macro (as is), able to take advantage of FastCast's chain casting?
/script Stop=SpellStopCasting;if not CastingBarFrame.casting and GetInventoryItemCooldown("Player",14)==0 then UseInventoryItem(14);Stop();end /cast Frostbolt *note: activates toep whenever it is up and casts frostbolt (even if toep is on cooldown). Secondly, I've been using this macro for a while and when I am trigger happy (assuming cooldown on toep is down) then I will get a couple short interrupt at the beginning of the cast (after toep is activated) - assuming I am rapidly clicking the macro. This can get annoying and cause me to lose valuable casting time. I've almost learned not to be 'trigger happy' but sometiems I still fall into this old trend. Anyway, I just tried FastCast (not even thinking about my trigger happy macro problem), and surprisingly, the problem above has disappeared. This seems to solve my macro problem when "Protect Channeling" is enabled, whether or not FastCast is enabled. That is, the Protect Channeling seems to have fixed my problem with the interruptions when rapidly clicking the macro. So, why does "Protect Channeling" fix this? Does the ToEP act as a "Channeled Spell?" Thanks |
|
07-05-06, 05:36 PM | #55 | |
When Fastcast is enabled at all (either for fast-casting or channeling-protection) it effectively waits for confirmation from the server for the last initiated action before allowing the same action to occur again (this is needed due to the sequencing involved), even though, when that confirmation is received it does nothing special with it (if fast-casting is disabled). Only if you disable both fast-casting and channeling-protection will Fastcast effectively remove itself "from the loop". In order for your macro to make proper use of Fastcast's fast-casting for chain-casting you'll need to have another SpellStopCasting() call in there, since otherwise your Frostbolt won't be fast-cast. However, since presumably you don't want your macro to interrupt any other spell already being cast, you'll probably want to make use of Fastcast's macro callable functions. Basically, if you enable fast-casting, you can replace your existing macro with: /script if FastcastStopCasting() then FastcastUseItem("Talisman of Ephemeral Power") CastSpellByName("Frostbolt") end Alternatively, if the ToEP does require a SpellStopCasting call after it (not all trinkets do) then you'd use: /script if FastcastStopCasting() then if FastcastUseItem("Talisman of Ephemeral Power") then SpellStopCasting() end CastSpellByName("Frostbolt") end Note that if you disable the fast-casting option, then these macros will interrupt your current spell cast every time, which you definitely won't want, so you'd be better using your current macro (or a slight variation using just FastcastUseItem say). Anyway, hope that helps some! Cheers -- Cirk
__________________
Cirk's Addons |
||
07-20-06, 08:27 AM | #56 | |
Last edited by Skizz : 07-20-06 at 08:31 AM. |
||
07-20-06, 09:49 AM | #57 | |
Watch this space! -- Cirk
__________________
Cirk's Addons |
||
07-20-06, 11:05 AM | #58 | |
|
||
07-21-06, 07:36 AM | #59 |
Version 1.11.0 of Fastcast is now available! (finally )
Changes from v1.10.2:
Those of you waiting for eCastingBar or CastProgress support will find it in this version (enjoy Skizz), although note that with eCastingBar, if you toggle off and on the eCastingBar feature itself, you'll need to either toggle on and off both of Fastcast's fast-casting and channel protection features as well (toggle them both to off, then on again) or logout and in again, to get Fastcast to properly see the eCastingBar casting bar. I've also improved the way in which Fastcast handles macros, to allow macros to indicate that they are "Fastcast aware" and so can be trusted to be called anytime the user triggers the action, even if there is a spell cast in progress already from that macro. This means that addons that provide features such as mana conservation (such as what Maia was working on) that are triggered via macro just need to make sure they call FastcastAware() or use FastcastIsCasting() or FastcastStopCasting() and Fastcast. Note that existing macros that use these functions to allow fast-casting of macro called spells (e.g., for the trinket + spell combos) should still work properly with this change, but if you have any problems with them, please post here and I'll be happy to help figure out what needs to be changed. Lastly, a couple of bug fixes, including that annoying "can't always use shapeshift, stealth, or shadowform abilities from the action bar" bug that has been floating around in one form or another for ages (for Xerophyte, Exilera, Azgrim, Vista, dynamicbr, and everyone else that were affected by this). Enjoy! -- Cirk
__________________
Cirk's Addons |
|
07-21-06, 09:49 AM | #60 |
WOOT! Thanks Cirk, can't wait to get home and try this!
|
|
WoWInterface » AddOns, Compilations, Macros » Released AddOns » Cirk's Fastcast |
«
Previous Thread
|
Next Thread
»
|
Display Modes |
Linear Mode |
Switch to Hybrid Mode |
Switch to Threaded Mode |
|
|