 |
| Welcome to Elitist Jerks |
We're testing some new features on the site regarding OpenID registration and coordination with gamerDNA. If you experience any issues with registering an account, please take the time to fill out a report and send it to this e-mail address. We would appreciate any assistance you could provide in making sure everything is functioning as intended. Thanks!
If this is your first visit, please be sure to check out the FAQ and the forum rules. Users must register to post and new registrations are subject to a one day "mute" period to get acquainted with the community.
|
03/17/08, 7:18 PM
|
#251
|
|
Von Kaiser
Human Death Knight
Greymane
|
Originally Posted by Jemsky
I'd appreciate some advice on this macro and if it is rubbish, please let me know as well..Thank you in advance for any advice
I created a macro for the 3:2 rotation and I'm trying to find out where to insert the kill command and also was wondering if this macro is viable
/console Sound_EnableSFX 0
/cast !Auto shot
/cast Steady shot
/cast Steady Shot
/cast !Auto shot
/cast Steady shot
/console Sound_EnableSFX 1
|
Try this:
/console Sound_EnableSFX 0
/castsequence reset=3 !Auto Shot, Steady Shot, Steady Shot, !Auto Shot, Steady Shot
/cast [target=pettarget, exists] Kill Command
/console Sound_EnableSFX 1
I'm not entirely sure about Hunter Shot mechanics, but this may be better:
/console Sound_EnableSFX 0
/castsequence reset=3 Steady Shot, !Auto Shot
/cast [target=pettarget, exists] Kill Command
/console Sound_EnableSFX 1
Try them both, see if it is what you were looking for.
|
|
|
|
|
|
03/17/08, 10:57 PM
|
#252
|
|
Glass Joe
Night Elf Warrior
Icecrown
|
I have an Overpower macro that is supposed to, if in Berserker Stance cast Battle Stance and if in Battle Stance cast Overpower. Pretty simple.
#showtooltip Overpower
/cast [stance:1] Overpower; Battle Stance
However, I would like to alter it so that it puts me back in Berserker Stance afterwards. I have tried:
#showtooltip Overpower
/cast [stance:1] Overpower; [combat,nostance:3] Berserker Stance; Battle Stance
which does not put me back in Berserker Stance, and I have tried:
#showtooltip Overpower
/cast [combat,nostance:3] Berserker Stance; [stance:1] Overpower; Battle Stance
which obviously does not ever cast Overpower.
Is what I am trying to do too much, as in should I make it two separate macros, or am I just missing something in the logic?
|
|
|
|
|
|
03/17/08, 11:20 PM
|
#253
|
|
Von Kaiser
Human Death Knight
Greymane
|
This should work, though there may be a better way I'm not thinking of:
#showtooltip Overpower
/cast [nostance:1] Battle Stance
/stopmacro [nostance:1]
/castsequence reset=3 Overpower, Berserker Stance
The above will, if you are not in battle stance, switch you to it. Once in battle stance, the first press will cast overpower, the second press will put you into berserker stance. The macro will stall in Battle Stance if Overpower can not be cast btw, so be aware of that. I would suggest using two macros which will always work, but if you absolutely need it in a single macro, enjoy 
|
|
|
|
|
|
03/17/08, 11:54 PM
|
#254
|
|
Glass Joe
Night Elf Warrior
Icecrown
|
Thanks, I think you are right about using two macros, fewer issues.
#showtooltip Overpower
/cast [stance:1] Overpower; Battle Stance
and (which is my Charge/Intercept macro)
#showtooltip
/cast [combat,nostance:3] Berserker Stance; [nocombat,nostance:1] Battle Stance; [stance:3] Intercept; Charge
ought to do the trick just fine. Thanks for the mash-ro though 8)~
|
|
|
|
|
|
03/18/08, 3:08 AM
|
#255
|
|
Glass Joe
Troll Mage
Twisting Nether
|
Originally Posted by Gere
Drums do not have a cast time or trigger the GCD so 1 press will use both the haste pot and the drums, the rest will require spamming of the button of course.
I do have a question though, what is the difference between using /script UIErrorsFrame:Hide(); / Show(); and using /script UIErrorsFrame:Clear();?
I use Clear(); at the end of my macros and I also do not get the UI Errors.
Thanks
|
Clear does exactly what it says, it clears them, show and hide stops them from being shown.
IE if you had a bunch of error messages already up and ran a clear, it would remove them all.
so actually you do still get the error messages, it just clears them before you see them.
The difference in the end if small i suppose.
|
|
|
|
|
|
03/18/08, 3:12 AM
|
#256
|
|
Glass Joe
Troll Mage
Twisting Nether
|
So i was looking for a macro or mod to swap people in raid via name and not have to actually drag them, or know their "number" in the raid. I stumbled across this thread
WoW-Europe.com Forums -> Moving people around in a raid via macro?
Heres the code I'm referring to if you wish to not look at the thread.
SLASH_RAIDSWAP1 = "/raidswap";
SlashCmdList["RAIDSWAP"] = function(msg)
local name1, name2 = string.match(string.lower(msg), "^(.-) (.-)$");
if name1 == nil or name2 == nil then
ChatFrame1:AddMessage("Syntax: /raidswap name1 name2");
return;
end
local idx1, idx2 = 0,0;
for i = 1, GetNumRaidMembers() do
local name = string.lower(GetRaidRosterInfo(i));
if name == name1 then
idx1 = i
elseif name == name2 then
idx2 = i
end
end
if idx1 == 0 then
ChatFrame1:AddMessage("Error, " .. name1 .. " not found in raid")
elseif idx2 == 0 then
ChatFrame1:AddMessage("Error, " .. name2 .. " not found in raid")
else
SwapRaidSubgroup(idx1, idx2)
end
end;
Wondering how to implement such a thing, I'm guessing i have to make my own "addon" but attempting to do so i failed.
Any help would be appreciated.
Or if you know of some mod that works to swap people via name, thats fine as well.
|
|
|
|
|
|
03/18/08, 4:30 AM
|
#257
|
|
Von Kaiser
Night Elf Death Knight
Bronzebeard (EU)
|
Originally Posted by Sinzar
Try this:
Snip
Try them both, see if it is what you were looking for.
|
Thanks for that..however , I was under the impression that castsequence macro command was broken..am I mistaken?
|
"To bathe a cat takes brute force, perseverance, courage of conviction - and a cat.
The last ingredient is usually hardest to come by."
|
|
|
|
03/18/08, 10:55 AM
|
#258
|
|
Glass Joe
Gnome Warlock
Lightninghoof
|
macros for SSC
Should I use a macro in SSC for my warlock. I have not used any yet. Will they make my game improve?
|
|
|
|
|
|
03/20/08, 12:22 PM
|
#259
|
|
Banned
Undead Mage
Lightning's Blade (EU)
|
#showtooltip Ice Armor;
/cast [modifier:shift] Ice Armor;
/cast [nomodifier:shift] Frost Armor(rank 1)
Any ideas why this macro is working only partially?
I can cast Ice armor with this macro with shift as modifier but Frost armor isnt buffing me, even though i dont have Icearmor / Frost armor higher rank up on me.
Edit: This one works but i want it like its above. Weird stuff.
#showtooltip Frost Armor;
/cast [modifier:shift] Frost Armor(rank 1);
/cast [nomodifier:shift] Ice armor
Edit2: problem solved. This one works but still wondering why 1st macro doesnt.
#showtooltip Frost Armor(rank 1);
/cast [nomodifier:shift] Frost Armor(rank 1);
/cast [modifier:shift] Ice Armor;
Last edited by Sorcerer : 03/20/08 at 12:33 PM.
|
|
|
|
|
|
03/20/08, 1:50 PM
|
#260
|
|
Von Kaiser
|
Originally Posted by Sorcerer
#showtooltip Ice Armor;
/cast [modifier:shift] Ice Armor;
/cast [nomodifier:shift] Frost Armor(rank 1)
Any ideas why this macro is working only partially?
I can cast Ice armor with this macro with shift as modifier but Frost armor isnt buffing me, even though i dont have Icearmor / Frost armor higher rank up on me.
Edit: This one works but i want it like its above. Weird stuff.
#showtooltip Frost Armor;
/cast [modifier:shift] Frost Armor(rank 1);
/cast [nomodifier:shift] Ice armor
Edit2: problem solved. This one works but still wondering why 1st macro doesnt.
#showtooltip Frost Armor(rank 1);
/cast [nomodifier:shift] Frost Armor(rank 1);
/cast [modifier:shift] Ice Armor;
|
I'm not quite sure what you wanted to do with the [nomodifier:shift], do you want it to cast Frost Armor if you're not holding down shift, and cast it if you're holding down any other modifier? Anyhoo, this would be the easiest way:
#showtooltip Ice Armor
/cast [modifier:shift] Frost Armor(rank 1); Ice Armor
|
|
|
|
|
|
03/20/08, 6:04 PM
|
#261
|
|
Glass Joe
|
You should probably leave out the trailing semi-colon at the end of macros as they can sometimes lead to unintended consequences.
|
|
|
|
|
|
03/21/08, 1:11 PM
|
#262
|
|
Assistant to the Regional Manager
Draenei Shaman
Thunderlord
|
Announce delay macros.
I didn't see this posted yet so here is a little tip. You can create a delay in an action (I don't know the limitations, I only use it for reporting things to chat.) by using the Ace2 Library, AceEvent. If you are a user of Ace addons, you should already have this.
I use this functionality to automatically report to my party when the next [Drums of Battle] need to be used. But obviously this can be used for many other things, this is what my macro looks like.
/p Drums of Battle used. Next in 30 seconds.
/use Drums of Battle
/in 30 /p Use next Drums of Battle now.
|
|
|
|
|
|
03/21/08, 7:49 PM
|
#263
|
|
mage no more
Blood Elf Paladin
Turalyon
|
Apologies if this has been asked elsewhere, quick scan of this thread didn't reveal anything.
I have 2 [Carved Witch Doctor's Stick], a normal one with a +12 spell damage gem, and another with a +10 int gem I use for Evocation. It's clearly possible to distinguish between items of the same name via a mod (closetgnome, itemrack, et al), but I was curious if it could be done in a macro. I don't like using mods to do it for me because they love to switch things at inopportune times (triggering a GCD), so I'm wondering if anyone has any experience in this regards?
|
|
|
|
|
|
03/23/08, 12:12 AM
|
#264
|
|
Glass Joe
Undead Rogue
Mannoroth (EU)
|
Regarding my Drums of Battle macro on the previous page:
First i want to thank Sinzar and Zorick for your suggestions.
@Sinzar: I made a new folder "drumsofbattle", created a drumsofbattle.lua with your code and a drumsofbattle.toc
When i start wow and click on addons at the character screen it is listed there.
However, when i try to use a macro in game like /run BaerbelThrottledMsg("test")
i get the following error mesage: [string "BaerbelThrottledMsg("test")"]:1: attempt to call a global 'BaerbelThrottledMsg' (a nil value)
and after clicking it several times: [string "BaerbelThrottledMsg("test")"]:1: unfinished string near '<eof>'
There is no message appearing in the chat window. I tested this while i was in a 10 man raid and had 2-4 other party members. Sadly i have pretty much no knowledge about creating wow addons, so i dont know how to fix this, so perhaps you could help me again?
@Zorick: The /in 30 /p msg seems to work nicely, thanks.
Ideally i would like to combine the 2 suggestions, would that be possible?
#showtooltip
/run BaerbelThrottledMsg("Using Drums of Battle, next one in 30 secs")
/use Drums of Battle
/in 30 /run BaerbelThrottledMsg("Drums of Battle expired, use next one")
|
|
|
|
|
|
03/23/08, 12:40 AM
|
#265
|
|
Von Kaiser
Human Death Knight
Greymane
|
Code I posted should work fine! I'm guessing you maybe created the .toc wrong, so anyway I made and uploaded it for you
http://www.lunarisguild.org/sinzar/m...msofbattle.zip
And yes, this should work fine:
#showtooltip
/run BaerbelThrottledMsg("Using Drums of Battle, next one in 30 secs")
/use Drums of Battle
/in 30 /run BaerbelThrottledMsg("Drums of Battle expired, use next one")
|
|
|
|
|
|
03/23/08, 1:08 AM
|
#266
|
|
Glass Joe
Undead Rogue
Mannoroth (EU)
|
Again thanks for your help, tested it and it is working like a charm now 
|
|
|
|
|
|
03/23/08, 1:31 AM
|
#267
|
|
Piston Honda
|
Originally Posted by Jarlyn
Apologies if this has been asked elsewhere, quick scan of this thread didn't reveal anything.
I have 2 [Carved Witch Doctor's Stick], a normal one with a +12 spell damage gem, and another with a +10 int gem I use for Evocation. It's clearly possible to distinguish between items of the same name via a mod (closetgnome, itemrack, et al), but I was curious if it could be done in a macro. I don't like using mods to do it for me because they love to switch things at inopportune times (triggering a GCD), so I'm wondering if anyone has any experience in this regards?
|
I believe the only way to do this would be to use an assigned bag slot, but I don't know the specifics.
|
|
|
|
|
|
03/23/08, 7:05 PM
|
#268
|
|
Von Kaiser
Undead Rogue
Ragnaros (EU)
|
Originally Posted by Jarlyn
Apologies if this has been asked elsewhere, quick scan of this thread didn't reveal anything.
I have 2 [Carved Witch Doctor's Stick], a normal one with a +12 spell damage gem, and another with a +10 int gem I use for Evocation. It's clearly possible to distinguish between items of the same name via a mod (closetgnome, itemrack, et al), but I was curious if it could be done in a macro. I don't like using mods to do it for me because they love to switch things at inopportune times (triggering a GCD), so I'm wondering if anyone has any experience in this regards?
|
Yes, assigning a specific bag slot seems to be the only possibility, see this page for further information.
|
|
|
|
|
|
03/23/08, 7:22 PM
|
#269
|
|
Von Kaiser
Undead Rogue
Ragnaros (EU)
|
Originally Posted by ishellbulleti
/run UIErrorsFrame:Hide();
|
You may delete this line and download ErrorMonster, in order to avoid spam-lags (dunno if this happens, but it manages with one line less)
|
|
|
|
|
|
03/25/08, 11:58 PM
|
#270
|
|
Glass Joe
|
With 2.4 being out now, anyone know if there are toggles we can put in macros for detailed loot info and the automatic passing of loot?
Thanks.
|
|
|
|
|
|
03/26/08, 11:30 AM
|
#271
|
|
Von Kaiser
Human Warrior
Argent Dawn
|
I tried to customize the new combat log, and it actually wasn't too bad.
/script TEXT_MODE_A_STRING_TIMESTAMP = "[$time]"
/script TEXT_MODE_A_STRING_VALUE = "$amountType$amount"
/script TEXT_MODE_A_STRING_VALUE_SCHOOL = "$school "
/script TEXT_MODE_A_STRING_VALUE_TYPE = "($powerType) "
/script TEXT_MODE_A_STRING_1 = "$source $spell $action $dest $result $value. $timestamp"
/script TEXT_MODE_A_STRING_2 = "$source $action $spell $dest $result $value. $timestamp"
Basically all this does is make the end of the line (Critical) Nature 200. [12:01:37]
Instead of the default order of 200 Nature (Critical), and timestamps at the front. Note that timestamps do not display if you don't enable them in the Blizzard UI.
You can find the rest of the strings in FrameXML/GlobalStrings.lua.
http://wdnaddons.com/
Last edited by Margot : 03/26/08 at 7:09 PM.
Reason: solved my problem
|
|
|
|
|
|
03/26/08, 10:28 PM
|
#272
|
|
Piston Honda
Night Elf Druid
Bronzebeard
|
I posted a question about 7 pages ago asking about a macro to tab between the various chat tabs and never got an answer. However, I found a macro someone posted on the WoW UI forum that works!
/run local a, tab, c=DOCKED_CHAT_FRAMES for i=1, #a do if a[i]==SELECTED_DOCK_FRAME then c=a[i+1] break; end end c=c or a[1] tab = getglobal(c:GetName().."Tab") tab:Click()
|
|
|
|
|
|
03/27/08, 5:26 PM
|
#273
|
|
Piston Honda
|
With the addition of adding raid icons to chat, I was wondering if there was any way to dynamically retrieve what the icons are (if any) for a given target. I didnt see any code that Blizz posted that jumped out at me to do this, but I was hoping one of you other macro/LUA savvy members might have seen something along these lines.
|
|
|
|
|
|
03/28/08, 1:20 PM
|
#275
|
|
Von Kaiser
|
Is there any way to use a macro to target a specific raid target icon? For example a macro that would target the "Skull" icon.
|
|
|
|
|
|
|