1. #1
    High Overlord Qelkhandras's Avatar
    Join Date
    Mar 2010
    Location
    beneath your bed, so, don´t troll or i´ll notice
    Posts
    148

    Macro doing one half of the task.....

    Ok guys, I was searching for a /selljunk macro and in between i found this one that does the following:

    1- Swicht your current talent spec, and
    2- Swap your current gear for the corresponding one from the Wow Eq Manager.

    the thing is that it just doesnt do number two, care to take a look and tell me whats wrong?:

    Code:
    /run if( GetActiveTalentGroup() == 1 ) then DEFAULT_CHAT_FRAME:AddMessage("Spec1...");SetActiveTalentGroup(2) else DEFAULT_CHAT_FRAME:AddMessage("Spec2...");SetActiveTalentGroup(1) end
    /in 6 /equipset [spec:2]Eq1;Eq2
    then you are just supposed to simply edit "Eq1" and "Eq2" to "Set1" and "Set2" you want . Hell, i even renamed them Eq1 and Eq2 to use the macro as it came, and NOTHING. Any ideas?.

    Quote Originally Posted by Idaho
    so if bolvar is on fire how is he in the frozen throne shouldnt it melt cause hes on fire and fire is hot so the frozen throne which is made of ice and is cold shouldnt it melt
    Apparently Physics applies where we are cows that become chickens then becomes cats then do you /kill and /lololololol.....yep. ^^
    Quote Originally Posted by SPF18
    If Bolvar turns out to be a dragon, I'll put a pancake on my face and wave at traffic for 10 minutes.
    God, if you can hear me, make it to be a dragon...
    Quote Originally Posted by Spectro
    dude where have you been? we´ve porn streaming websites now!

  2. #2

    Re: Macro doing one half of the task.....

    It is likely that the /in command for a preset delay before something is carried out cannot perform certain actions.
    Certainly I have seen it used for chat announcements, but to be perfectly honest nothing else.

    Try that in a macro on its own to determine that, but I believe it is the delay preventing you from an "automated" gear change, and it is that automation that is being blocked.
    Quote Originally Posted by DeadmanWalking View Post
    I don't understand why we don't have flying so they tell us we will have convenient flight points. Immersion and danger? Here take some coins and fly me there while I read facebook or go take a poop.
    Quote Originally Posted by Reinaerd View Post
    T'is good to see there are still people valiantly putting the "Ass" in assumption.

  3. #3
    Bloodsail Admiral Cjeska's Avatar
    Join Date
    Sep 2008
    Location
    Bavaria / Germany
    Posts
    1,170

    Re: Macro doing one half of the task.....

    afaik "/in" works only for chat commands, like:
    /in 5 /y I can haz Cheeseburger!

    but you could try to use a higher number, the way it is now it might try to change gear when you are still "casting" the respecc due to lag.

  4. #4

    Re: Macro doing one half of the task.....

    Swap the order since swapping specs is off the gdc..

    /equipset [spec:2]Eq1;Eq2
    /run if( GetActiveTalentGroup() == 1 ) then DEFAULT_CHAT_FRAME:AddMessage("Spec1...");SetActiveTalentGroup(2) else DEFAULT_CHAT_FRAME:AddMessage("Spec2...");SetActiveTalentGroup(1) end

  5. #5
    Scarab Lord Taryble's Avatar
    Join Date
    Aug 2008
    Location
    Texas
    Posts
    4,038

    Re: Macro doing one half of the task.....

    Because of issues like Fury Warriors and Enhancement shammies (not being able to fully equip a set until the spec swap finishes), I use an addon for this - one of Tekkub's, called "Crossdresser". It lets you assign a set to each spec, and it swaps the sets after the spec swap happens.
    We have done the impossible, and that makes us mighty. - Sgt. Malcolm "Mal" Reynolds, Battle of Serenity Valley

  6. #6

    Re: Macro doing one half of the task.....

    Quote Originally Posted by Taryble
    Because of issues like Fury Warriors and Enhancement shammies (not being able to fully equip a set until the spec swap finishes), I use an addon for this - one of Tekkub's, called "Crossdresser". It lets you assign a set to each spec, and it swaps the sets after the spec swap happens.
    Ah didn't realize that enhance-shammies and fury-warrs would have an issue with it >< I never play one so it never even came to mind. What I posted should work for anything besides that though.

    /run local a,c=CreateFrame("Frame"),GetActiveTalentGroup;a:SetScript("OnEvent",function() if(c==1)then UseEquipmentSet("Set1")elseif(c==2)then UseEquipmentSet("Set2") end);a:RegisterEvent("ACTIVE_TALENT_GROUP_CHANGED");

    should work if you press that just after you login. It should (untested) equip set1 if you're new spec is your primary spec, and set two if your new spec is your secondary spec.

  7. #7

    Re: Macro doing one half of the task.....

    Code:
    local a=CreateFrame("Frame")
    a:SetScript("OnEvent", function()
       UseEquipmentSet(GetActiveTalentGroup()==1 and "spec1set" or "spec2set")
    end)
    a:RegisterEvent("ACTIVE_TALENT_GROUP_CHANGED")
    How to use this
    (Replace spec1set and spec2set, obviously)
    UI & AddOns expert | Interface & Macros moderator - My work

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •