I call this a HUGE realese!!!
GOOD WORK!!!!
+rep![]()
I call this a HUGE realese!!!
GOOD WORK!!!!
+rep![]()
Yep! That was it, thanks. AceEvents.
Edit2: +rep!
Removed the part that throws up an error, etc, if a secured command is used. About to try it out and see if it actually works now, or if all I did was turn off the error message.
Edit: Works! I'll post up the edited acevents lua file in a second
Edit2: http://rapidshare.com/files/184627839/AceEvent-2.0.lua
Overwrite your old AceEvent.lua with that one, and you should now be able to use secured commands with /in. For example, /in 1 /script CastSpellByName("Whirlwind");
Last edited by Karrde; 01-16-2009 at 08:39 PM.
To everyone asking and all,an example of a macro you can do is such:
/cast Mangle - Cat
/in 1.5 /script CastSpellByName('Rake')
/in 3.4 /script CastSpellByName('Mangle - Cat')
/in 6.9 /script CastSpellByName('Ferocious Bite')
/in 10.4 /script CastSpellByName('Mangle - Cat')
(Replace the ' with ")
Basically you have to use /in on a timely matter from the start of the macro,which means that the second spell will be cast 1.5 seconds after the first one,and the third will be cast 3.4 secs from the first one (1.9 secs from the second one) and so on.
(If you want to do an energy dependent macro you will have to take energy regeneration in consideration,you gain one energy point every 0.1 secs so to use an energy move that requires 35 energy you'll have to do /in 3.5 and such)
But for Mana using people,just add /in 1.5,/in 3,/in 4.5 etc before every spell so it will wait through the global cooldown.
Last edited by DarkXma; 01-16-2009 at 08:46 PM.
Hmm ill add some things you can use with this.
1) Vanish-immune or Antimagic shell an incoming spell like death coil.
2) Spell conditionals macro like auto-down-ranking spells (might have a use), One button spam Sinister strike-> eviscerate with combo points check, Or automatic debuff tracking macro (eg. recast Scorch when its down)
3) Auto cast buffs on your self addon
4) Cast buffs by class macro for pallies
5) The old Decursive(one button raid decursing matching the decurse type) and Healbot(heal priority) macros/addons
6) Loop macros like Auto tracking switching or toggling for miners and herbalists
I don't recall but isn't the spell target or recipient protected? So you can make addons that will warn you if someone is specifically casting a spell on you such as fear or polymorph?
I have been reading the API pages in the wowwiki since this nice program was released. I had always wanted to cast one spell or another depending on conditions. Thanks man for making that a reality!
Anyway, I just quickly put up the simplest script for maximising a Frost DK damage. I'm learning more as I go. Will try and do a few more later.
/script if UnitBuff("player","Freezing Fog") then CastSpellByName("Howling Blast") else CastSpellByName("Obliterate") end
Sample mage script, cast 5 scorch then fireballs as long scorch is up and running. Only unsure if the debuff is named "Scorch" or "Improved Scorch" so just change that part if it doesn't work at first. ;P Not a mage.
Code:/run if (select(4,UnitDebuff("target","Scorch")) or 0)~=5 then CastSpellByName("Scorch") else CastSpellByName("Fireball") end
Awesome work Kynox! Thx a lot!
Just some questions form my side:
1.) Is there any protected function which allows the toon to interact/use an NPC?
2.) Is there any protected function which allows the toon to loot a mob with a macro?
3.) How secure is this tool? I mean isn't it quite easy for Blizz to identify players who are using protected functions?
THX
G
I've tried to build my own macro for counterspell, but it isn't working (I know almost nothing about lua or programming in general :/)
would be nice if someone could help me with this. I know this thread isn't about basic understanding of lua or anything. But a functional macro like this is definitely appreciated by other mages aswellCode:#showtooltip Counterspell /run if UnitCastingInfo("target") ~=nil or UnitChannelInfo("target") ~=nil then SpellStopCasting and CastSpellByName("Counterspell") end end
(I hope you can see what I want this macro to do :P)
nothing here
I managed to edit the code of an existing addon to cast spells via the CastSpellByName function, but it gives me an error. "(Name of Addon) has been blocked from an action only available to the Blizzard UI. You can disable this addon and reload the UI."
The odd thing is that the command works fine when used in a macro format, usiing /script CastSpellByName. Any idea whats going on?
Try this one instead mate:
#showtooltip Counterspell
/run if UnitCastingInfo("target") or UnitChannelInfo("target") then SpellStopCasting()CastSpellByName("Counterspell") end
this is the most amazing release this year!!! nice job Kynox
with macrosequence addon and some macros i have my own bot for cat dps rotation, perfect rotation with only one button
are you planning do new version with patch 3.0.8? i will be so happy with that
thanks again
I have spent quite a bit of time trying to get this to work with the addon "face smasher" http://wow.curse.com/downloads/wow-a...e-smasher.aspx
but when the addon loads it gives this errorThis addon would be absolutely ideal for this program for death knights as it would auto cast everything in the most optimized way possible but I just can't seem to figure out how to get it to work without giving me the above error. any ideas?FaceSmasher has been blocked from an action only available to the blizzard ui
here's as far as I've gotten, if someone could check the error it gives and see if you understand it, i know a little programming but next to nothing about Lua syntax.
basically keeping diseases up as the priority, casting blood strikes for death rune conversion otherwise Death strike's...also tried checking for all runes on CD so I could add in Death Coil, but haven't read far enough into the Lua manual yet to figure out the best way to do it./script local rune=GetRuneCooldown if not UnitDebuff("target","Frost Fever") then CastSpellByName("Icy Touch") elseif not UnitDebuff("target","Blood Plague") then CastSpellByName("Plague Strike") elseif rune(1)=isReady or rune(2)=isReady then CastSpellByName("Blood Strike") elseif rune(1)==isReady or rune(2)==isReady then CastSpellByName("Death Strike") end end
edit: ok I've gotten a little further along
this works...
and this works.../run local runes={0,0,0,0} for i=1,6,1 do local start, duration, runeReady=GetRuneCooldown(i) if not UnitDebuff("target","Frost Fever") then CastSpellByName("Icy Touch") elseif not UnitDebuff("target","Blood Plague") then CastSpellByName("Plague Strike") elseif runes[1]>0 then CastSpellByName("Blood Strike") end end end
but this doesnt work?/run local runes = {0,0,0,0} for i=1,6,1 do local start, duration, runeReady=GetRuneCooldown(i) local runeType = GetRuneType(i) if runeReady then runes[runeType] = runes[runeType] + 1 end end local runic = UnitPower("Player") if UnitCastingInfo("target") or UnitChannelInfo("target") then if runic>=20 and GetTime()-10>10 and IsSpellInRange(GetSpellInfo(4752, "target") == 1 then CastSpellByName("Mind Freeze") end if runes[1]>0 or runes[4]>0 then if GetTime()-120>120 and IsSpellInRange(GetSpellInfo(47476), "target")==1 then CastSpellByName("Strangulate") end end end
/run local runes={0,0,0,0} for i=1,6,1 do local start, duration, runeReady=GetRuneCooldown(i) if runes[2]>0 and runes[3]>0 then CastSpellByName("Death Strike") elseif runes[2]>0 and runes[4]>0 then CastSpellByName("Death Strike") elseif runes[3]>0 and runes[4]>0 then CastSpellByName("Death Strike") elseif runes[4]>1 then CastSpellByName("Death Strike") end end end
Last edited by dbseraph; 01-19-2009 at 11:40 PM. Reason: more info