PQR - Rotation Bot menu

User Tag List

Page 602 of 779 FirstFirst ... 102502552598599600601602603604605606652702 ... LastLast
Results 9,016 to 9,030 of 11681
  1. #9016
    DiabloFan's Avatar Master Sergeant
    Reputation
    10
    Join Date
    Sep 2011
    Posts
    80
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Leynd View Post
    The problem is that use the trinket with Guardian of the Ancient Kings. When I attempt to add code to keep the trinket from firing off when GOAK or Divine Prot is up The trinket never fires:

    Code:
    if PlayerHP <= 100 and GetInventoryItemCooldown("player",13) == 0 and not PQR_SpellAvailable(498) and not  and not PQR_SpellAvailable(86669) and not  then
    UseInventoryItem(13)
    I am sure I have missed something quite simple. Any help would be most appreciative!
    PHP Code:
    local DivineProtection UnitBuffID("player",498)
    local Guardian UnitBuffID("player",86669)

    if 
    PlayerHP <= 100 and GetInventoryItemCooldown("player",13) == and not PQR_SpellAvailable(498) and not PQR_SpellAvailable(86669then
        UseInventoryItem
    (13)
        return 
    true
    end 
    Try that.
    Last edited by DiabloFan; 03-29-2013 at 11:42 AM.

    PQR - Rotation Bot
  2. #9017
    Leynd's Avatar Active Member
    Reputation
    15
    Join Date
    Oct 2012
    Posts
    43
    Thanks G/R
    0/8
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by gnitor View Post
    Hey, you seem to have a typo with your brackets:
    Code:
    not unitBuffID "player", (498)
    Don't know if it'll do the trick, but never hurts to check this.
    The code in the profile does not have this mistake, but thanks anyway!

  3. #9018
    Leynd's Avatar Active Member
    Reputation
    15
    Join Date
    Oct 2012
    Posts
    43
    Thanks G/R
    0/8
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by DiabloFan View Post
    [php]
    Try that.
    This gives me the same result. My first two (Divine Prot and GoAK) cast fine, but it does not use the trinket.

  4. #9019
    kiekie's Avatar Master Sergeant
    Reputation
    3
    Join Date
    Dec 2012
    Posts
    74
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Im not sure if its PQR or the profile, but when its casting spells all i can hear is the spamming noise of flickering, anyway to turn the sound of or something?

  5. #9020
    cpowroks's Avatar Contributor
    Reputation
    180
    Join Date
    Oct 2007
    Posts
    623
    Thanks G/R
    1/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Leynd, Try this.

    PHP Code:
    local DPCD select(2,GetSpellCooldown(498))
    local GuardianCD select(2,GetSpellCooldown(86669))
    local PlayerHP UnitHealth("player") / UnitHealthMax("player") * 100

    -- Divne Protection
    if PlayerHP <= 100 
    and PQR_SpellAvailable(498then
         CastSpellByName
    (GetSpellInfo(498))
    end
    -- Guardian of Ancient King
    if PlayerHP <= 100 
    and PQR_SpellAvailable(86669
    and 
    DPCD 
    and UnitBuffID("player"498) == nil then 
       CastSpellByName
    (GetSpellInfo(86669))
    end
    -- Trinket 1
    if PlayerHP <= 100 
    and GetInventoryItemCooldown("player",13) == 
    and DPCD 
    and UnitBuffID"player"498) == nil then 
       UseInventoryItem
    (13)
    end 


    if you want it to use the trinket when guardian or DP is not up then you could just do

    PHP Code:
    if PlayerHP <= 100 
    and GetInventoryItemCooldown("player",13) == 
    and UnitBuffID("player"86669) == nil 
    and UnitBuffID("player"498) == nil then 
        UseInventoryItem
    (13)
    end 
    Last edited by cpowroks; 03-29-2013 at 12:15 PM.
    WoW LUA Script Developer
    Need Something Custom? WarmaneScripts.com
    Skype - grapejuice111

  6. #9021
    Derpanda's Avatar Private
    Reputation
    1
    Join Date
    Mar 2013
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Has anyone still got cokx's dk pvp profiles?? can't find it anywhere.

  7. #9022
    DiabloFan's Avatar Master Sergeant
    Reputation
    10
    Join Date
    Sep 2011
    Posts
    80
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Leynd View Post
    The code in the profile does not have this mistake, but thanks anyway!
    This is the code that I use for all my on-use items.

    PHP Code:
    PQR_GetItemCooldown nil
    function PQR_GetItemCooldown(ID)
        
    local ItemStartItemDuration GetItemCooldown(ID)
        
    local ItemCooldown ItemStart GetTime() + ItemDuration
        
        
    if ItemCooldown 0 then
            ItemCooldown 
    0
        end
        
        
    return ItemCooldown
    end

    local UseIDs 
    = {
        
    10,    --Hands
        13
    ,    --Trinket1
        14     
    --Trinket2
    }

    for 
    _,v in ipairs(UseIDs) do
        
    local ItemID GetInventoryItemID("player",v)
        
    local HasUseEffect GetItemSpell(ItemID)
        
        if 
    HasUseEffect ~= nil then
            
    if PQR_GetItemCooldown(ItemID) == 0 then
                UseItemByName
    (ItemID)
                return 
    true
            end
        end
    end 
    Try that as an ability in a blank rotation and see if the trinket is used.
    Last edited by DiabloFan; 03-29-2013 at 01:12 PM.

  8. #9023
    kiekie's Avatar Master Sergeant
    Reputation
    3
    Join Date
    Dec 2012
    Posts
    74
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Im not sure if its PQR or the profile, but when its casting spells all i can hear is the spamming noise of flickering, anyway to turn the sound of or something?

  9. #9024
    Leynd's Avatar Active Member
    Reputation
    15
    Join Date
    Oct 2012
    Posts
    43
    Thanks G/R
    0/8
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by cpowroks View Post
    Try this.
    With both options, the Trinket is paired with either GOAK or Divine Prot.

  10. #9025
    Leynd's Avatar Active Member
    Reputation
    15
    Join Date
    Oct 2012
    Posts
    43
    Thanks G/R
    0/8
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It uses the trinket, but Im not sure what you are getting at as mine will use the trinket as well, just not under the conditions Im looking for.

  11. #9026
    blaythe's Avatar Active Member
    Reputation
    52
    Join Date
    Aug 2012
    Posts
    137
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How would i write

    If Backdraft has less than 2 charges and Dark Soul Instability is up, cast Chaos Bolt?

    So far I've been trying everything x.x

    Code:
    local _,_,_,Backdraft = UnitBuffID("player",117896)
    
    if Backdraft < 2 and UnitBuffID("player",113858) then
    CastSpellByName(tostring(GetSpellInfo(116858)))
    end
    Blaythes Destruction Warlock
    https://goo.gl/vUUhW

  12. #9027
    bestdamnwarrior's Avatar Master Sergeant
    Reputation
    20
    Join Date
    Nov 2011
    Posts
    110
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Derpanda View Post
    Has anyone still got cokx's dk pvp profiles?? can't find it anywhere.
    Why don't you try actually LOOKING for it rather than posting every hour. His PvP profiles are there staring at you on Page 1 of the Bot Maps and Profiles section!

  13. #9028
    DiabloFan's Avatar Master Sergeant
    Reputation
    10
    Join Date
    Sep 2011
    Posts
    80
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Leynd View Post
    It uses the trinket, but Im not sure what you are getting at as mine will use the trinket as well, just not under the conditions Im looking for.
    If it isn't PlayerHP then it must be GetInventoryItemCooldown("player",13) == 0 that's causing the issue.

    PHP Code:
    local DivineProtection UnitBuffID("player",498)
    local Guardian UnitBuffID("player",86669)
    local UseIDs = {
        
    10,    --Hands
        13
    ,    --Trinket1
        14     
    --Trinket2
    }

    PQR_GetItemCooldown nil
    function PQR_GetItemCooldown(ID)
        
    local ItemStartItemDuration GetItemCooldown(ID)
        
    local ItemCooldown ItemStart GetTime() + ItemDuration
        
        
    if ItemCooldown 0 then
            ItemCooldown 
    0
        end
        
        
    return ItemCooldown
    end

    if PlayerHP <= 100 and not DivineProtection and not Guardian then
    print("PlayerHP not working")
        if 
    not PQR_SpellAvailable(498) and not PQR_SpellAvailable(86669then
    print("PQR_SpellAvailable not working")
            for 
    _,v in ipairs(UseIDs) do
                
    local ItemID GetInventoryItemID("player",v)
                
    local HasUseEffect GetItemSpell(ItemID)
                
                if 
    HasUseEffect ~= nil then
                    
    if PQR_GetItemCooldown(ItemID) == 0 then
                        UseItemByName
    (ItemID)
                        return 
    true
                    end
                end
            end
        end
    end 
    Use this, if it doesn't work you'll be able to find which section isn't working properly.
    Last edited by DiabloFan; 03-29-2013 at 01:20 PM.

  14. #9029
    Guinness's Avatar Member
    Reputation
    5
    Join Date
    Apr 2012
    Posts
    75
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by bestdamnwarrior View Post
    Why don't you try actually LOOKING for it rather than posting every hour. His PvP profiles are there staring at you on Page 1 of the Bot Maps and Profiles section!
    Probably because Cokx's SVN does not have the DK profile. Hence why he is asking, albeit way to frequently.

  15. #9030
    cpowroks's Avatar Contributor
    Reputation
    180
    Join Date
    Oct 2007
    Posts
    623
    Thanks G/R
    1/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by blaythe View Post
    How would i write

    If Backdraft has less than 2 charges and Dark Soul Instability is up, cast Chaos Bolt?

    So far I've been trying everything x.x

    Code:
    local _,_,_,Backdraft = UnitBuffID("player",117896)
    
    if Backdraft < 2 and UnitBuffID("player",113858) then
    CastSpellByName(tostring(GetSpellInfo(116858)))
    end

    PHP Code:
    local Backdraft,_,_,Stacks UnitBuffID("player",117896)
    if 
    Backdraft ~= nil  --This basically means "If you have the buff" You have to do this for any buff you are checking
    and Stacks -- and the stack of the buff is less then 2
    and UnitBuffID("player",113858) ~= nil then -- and you have that buff
       CastSpellByName
    (tostring(GetSpellInfo(116858))) 
    end 
    WoW LUA Script Developer
    Need Something Custom? WarmaneScripts.com
    Skype - grapejuice111

Similar Threads

  1. [Bot] PQR PE Next Steps / Future of Rotation Botting
    By Chevrolet1 in forum World of Warcraft Bots and Programs
    Replies: 120
    Last Post: 10-21-2014, 11:47 AM
  2. [Bot] PQR - Rotation Bot
    By Xelper in forum World of Warcraft Bots and Programs
    Replies: 1738
    Last Post: 10-15-2014, 11:00 AM
  3. [Selling] 3 Lifetime Session Keys For Sale, Great for the PQR user looking for a rotation bot
    By cukiemunster in forum World of Warcraft Buy Sell Trade
    Replies: 13
    Last Post: 03-11-2014, 07:18 AM
  4. rotation bot leveling (PQR)
    By classdog in forum WoW Bots Questions & Requests
    Replies: 3
    Last Post: 09-17-2013, 06:13 PM
  5. [HELP] PQR Rotation Bot Profile Making
    By Missu in forum Programming
    Replies: 0
    Last Post: 10-22-2012, 06:27 AM
All times are GMT -5. The time now is 06:37 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search