1. #1

    Apply Trade Skill script no longer works [SOLVED]

    /run CloseTradeSkill()
    /cast Engineering
    /run local s for i=1,GetNumTradeSkills() do s=GetTradeSkillInfo(i) if (s=="Nitro Boosts") then DoTradeSkill(i) end end
    /run CloseTradeSkill()
    /run CharacterFrame:Show()


    It worked before the new trade UI in 7.0. I'd click this and it would open up my character window. I'd click my belt and it would apply Nitro Boost. Anyone know how to fix this?
    Last edited by Machinelf; 2016-07-25 at 02:08 PM.

  2. #2
    Quote Originally Posted by Machinelf View Post
    It worked before the new trade UI in 7.0. I'd click this and it would open up my character window. I'd click my belt and it would apply Nitro Boost. Anyone know how to fix this?

    Not sure how the new C_TradeSkillUI works, but I managed to do it with the spell ID instead of name

    Also changed it to click the belt and confirmation popup automatically
    Code:
    /cast Engineering
    /run C_TradeSkillUI.CraftRecipe(55016)
    /cast Engineering
    /click CharacterWaistSlot
    /click StaticPopup1Button1
    Last edited by Ketho; 2016-07-24 at 07:14 AM.

  3. #3
    Quote Originally Posted by Ketho View Post
    Not sure how the new C_TradeSkillUI works, but I managed to do it with the spell ID instead of name

    Also changed it to click the belt and confirmation popup automatically
    Code:
    /cast Engineering
    /run C_TradeSkillUI.CraftRecipe(55016)
    /cast Engineering
    /click CharacterWaistSlot
    /click StaticPopup1Button1
    Thanks! Not only works but an improvement over what i had before. I use it with Opie. You rock.
    Last edited by Machinelf; 2017-01-15 at 10:15 PM.

Posting Permissions

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