Elitist Jerks
Register
Blogs
Urban Rivals
Forums
New Posts


Go Back   Elitist Jerks > Public Discussion > Public Discussion
Elitist Jerks Login

gamerDNA Login

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.

Reply
 
LinkBack (9) Thread Tools
Old 03/17/08, 7:18 PM   #251
Sinzar
Von Kaiser
 
Sinzar's Avatar
 
Human Death Knight
 
Greymane
Originally Posted by Jemsky View Post
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.
 
User is offline.
Reply With Quote
Old 03/17/08, 10:57 PM   #252
nakoda
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?
 
User is offline.
Reply With Quote
Old 03/17/08, 11:20 PM   #253
Sinzar
Von Kaiser
 
Sinzar's Avatar
 
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
 
User is offline.
Reply With Quote
Old 03/17/08, 11:54 PM   #254
nakoda
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)~
 
User is offline.
Reply With Quote
Old 03/18/08, 3:08 AM   #255
ishellbulleti
Glass Joe
 
Troll Mage
 
Twisting Nether
Originally Posted by Gere View Post
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.
 
User is offline.
Reply With Quote
Old 03/18/08, 3:12 AM   #256
ishellbulleti
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.
 
User is offline.
Reply With Quote
Old 03/18/08, 4:30 AM   #257
Jemsky
Von Kaiser
 
Jemsky's Avatar
 
Night Elf Death Knight
 
Bronzebeard (EU)
Originally Posted by Sinzar View Post
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."
 
User is offline.
Reply With Quote
Old 03/18/08, 10:55 AM   #258
Bnjoe
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?
 
User is offline.
Reply With Quote
Old 03/20/08, 12:22 PM   #259
Sorcerer
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.
 
User is offline.
Reply With Quote
Old 03/20/08, 1:50 PM   #260
Thanahtos
Von Kaiser
 
Thanahtos's Avatar
 
Undead Warlock
 
Stormrage
Originally Posted by Sorcerer View Post
#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
 
User is offline.
Reply With Quote
Old 03/20/08, 6:04 PM   #261
revoemag
Glass Joe
 
Gnome Warrior
 
Nesingwary
You should probably leave out the trailing semi-colon at the end of macros as they can sometimes lead to unintended consequences.
 
User is offline.
Reply With Quote
Old 03/21/08, 1:11 PM   #262
Zorick
Assistant to the Regional Manager
 
Zorick's Avatar
 
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.
 
User is offline.
Reply With Quote
Old 03/21/08, 7:49 PM   #263
Jarlyn
mage no more
 
Jarlyn's Avatar
 
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?
 
User is online.
Reply With Quote
Old 03/23/08, 12:12 AM   #264
Baerbel
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")
 
User is offline.
Reply With Quote
Old 03/23/08, 12:40 AM   #265
Sinzar
Von Kaiser
 
Sinzar's Avatar
 
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")
 
User is offline.
Reply With Quote
Old 03/23/08, 1:08 AM   #266
Baerbel
Glass Joe
 
Undead Rogue
 
Mannoroth (EU)
Again thanks for your help, tested it and it is working like a charm now
 
User is offline.
Reply With Quote
Old 03/23/08, 1:31 AM   #267
hypetech
Piston Honda
 
hypetech's Avatar
 
Draenei Mage
 
Trollbane
Originally Posted by Jarlyn View Post
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.
 
User is offline.
Reply With Quote
Old 03/23/08, 7:05 PM   #268
badMonkey
Von Kaiser
 
badMonkey's Avatar
 
Undead Rogue
 
Ragnaros (EU)
Originally Posted by Jarlyn View Post
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.
 
User is offline.
Reply With Quote
Old 03/23/08, 7:22 PM   #269
badMonkey
Von Kaiser
 
badMonkey's Avatar
 
Undead Rogue
 
Ragnaros (EU)
Originally Posted by ishellbulleti View Post
/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)
 
User is offline.
Reply With Quote
Old 03/25/08, 11:58 PM   #270
Sodsleep
Glass Joe
 
Undead Priest
 
Staghelm
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.
 
User is offline.
Reply With Quote
Old 03/26/08, 11:30 AM   #271
Margot
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
 
User is offline.
Reply With Quote
Old 03/26/08, 10:28 PM   #272
Aranan
Piston Honda
 
Aranan's Avatar
 
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()
 
User is offline.
Reply With Quote
Old 03/27/08, 5:26 PM   #273
Xaoc
Piston Honda
 
Orc Rogue
 
Eitrigg
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.
 
User is offline.
Reply With Quote
Old 03/28/08, 1:54 AM   #274
Sinzar
Von Kaiser
 
Sinzar's Avatar
 
Human Death Knight
 
Greymane
GetRaidTargetIndex("unit") will return what shape the specified unit has, if any.

API GetRaidTargetIndex - WoWWiki - Your guide to the World of Warcraft
 
User is offline.
Reply With Quote
Old 03/28/08, 1:20 PM   #275
Zomghuntar
Von Kaiser
 
Orc Hunter
 
Executus
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.
 
User is offline.
Reply With Quote
Reply

Go Back   Elitist Jerks > Public Discussion > Public Discussion

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Warlock] 5 v 5 Macro help Cronjob Player vs. Player 13 09/08/07 7:38 AM
Need help with a macro. Iol User Interface and AddOns 5 08/10/07 4:36 PM
Macro Fun KGBAgent185 Public Discussion 16 11/05/05 2:24 PM