:confused: Help me wtih code plz menu

User Tag List

Results 1 to 5 of 5
  1. #1
    ossuaire's Avatar Active Member
    Reputation
    16
    Join Date
    Jan 2009
    Posts
    65
    Thanks G/R
    3/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    :confused: Help me wtih code plz

    Hello,

    I use an addon call Shield Maid. It helps decide what ability gives you the best mitigation for your rage points.

    Otherwise I use pe with boxo's warrior profil, my question is whether instead of lighting an icon with the addon Sield maid, it could not just use the spell?


    In the addon code, there is something like that:

    local apply = not name or expires - systemTime <= ns.Config.shieldBlockTimeout
    if estimatedBlock > estimatedAbsorb60 and currentRage >= 60 and apply then
    self:ShowGlow()
    else
    self:HideGlow(name)
    end
    What can I change?

    thank you

    :confused: Help me wtih code plz
  2. #2
    Alfalfa's Avatar Legendary
    Reputation
    746
    Join Date
    Feb 2013
    Posts
    669
    Thanks G/R
    70/79
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by ossuaire View Post
    Hello,

    I use an addon call Shield Maid. It helps decide what ability gives you the best mitigation for your rage points.

    Otherwise I use pe with boxo's warrior profil, my question is whether instead of lighting an icon with the addon Sield maid, it could not just use the spell?


    In the addon code, there is something like that:

    What can I change?

    thank you
    You will have to unlock lua. There's programs for this in the bots/programs section.

    I do not have the rest of the addon code to look at but you should be able to do either of these:

    Replace "self:ShowGlow()" with "self:Click()", or do something along the line of "CastSpellByName(self:Name())". The self:Name() part will have to be changed to retrieve spell name, or if spell ID is easily accessible you can do CastSpellByID.

  3. Thanks hackerlol (1 members gave Thanks to Alfalfa for this useful post)
  4. #3
    Jadd's Avatar 🐸 Premium Seller
    Reputation
    1511
    Join Date
    May 2008
    Posts
    2,432
    Thanks G/R
    81/333
    Trade Feedback
    1 (100%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Spell casting API is locked to Blizzard functions. Addons cannot cast without a Lua unlocker of some kind (there's free ones available in the bots/programs section.)

    If you get a Lua unlocker working, you should be able to use this code block instead:

    Code:
    local apply = not name or expires - systemTime <= ns.Config.shieldBlockTimeout
    if estimatedBlock > estimatedAbsorb60 and currentRage >= 60 and apply then
      CastSpellByName("Shield Block")
    end

  5. #4
    ossuaire's Avatar Active Member
    Reputation
    16
    Join Date
    Jan 2009
    Posts
    65
    Thanks G/R
    3/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you are awesome guys, so quick to answer

    Like I use Probably engine I also use firehack, so, the Jadd solution seems perfect!

    I test in game and I share the full code if it works.

  6. #5
    ossuaire's Avatar Active Member
    Reputation
    16
    Join Date
    Jan 2009
    Posts
    65
    Thanks G/R
    3/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    looks great!

    here is the link of the entire addon, remember need a lua unlocker.

    https://mega.nz/#F!iE50hDoD

    Original addon: Shield Maid - Warrior - World of Warcraft Addons - Curse

    Thx for help.

  7. Thanks Jadd (1 members gave Thanks to ossuaire for this useful post)

Similar Threads

  1. [Help Needed] Hex code for Ashbringer?
    By andmel in forum WoW ME Questions and Requests
    Replies: 2
    Last Post: 12-21-2007, 02:15 PM
  2. [Request] Help with mount swap plz! +rep
    By oliax in forum WoW ME Questions and Requests
    Replies: 6
    Last Post: 10-02-2007, 02:36 PM
  3. Help with GM permissions plz
    By Teddy Bear Love in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 09-21-2007, 07:32 AM
  4. NEED HELP: experienced players READ plz
    By Dagonarth in forum World of Warcraft General
    Replies: 4
    Last Post: 12-15-2006, 05:43 AM
  5. help me wit guide plz
    By olsalty in forum World of Warcraft General
    Replies: 3
    Last Post: 08-21-2006, 08:53 PM
All times are GMT -5. The time now is 01:37 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search