PQR - Rotation Bot menu

Shout-Out

User Tag List

Page 603 of 779 FirstFirst ... 103503553599600601602603604605606607653703 ... LastLast
Results 9,031 to 9,045 of 11681
  1. #9031
    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)
    @ DiabloFan

    When I put that code into the profile, the profile stops working altogether. Ive tried in a blank profile as well, with the trinket code you provided before, and in the profile I am using.

    Im not sure you understand what the problem I am having actually is.

    I can write the code to use the trinket whenever either Divine Prot or GoAK is on cooldown and is not active. However, I can not get it to only work when both Divine Prot or GoAK are on cooldown and not active.

    In another words, I only want to have one mitigating ability up at a time as my raid has great healers but so so dps. I want gear more for DPS/Active mitigation. Ill take more damage overall and the number of spikes will increase, though the size of the spike is smaller. I am trying to counteract this by having one of my damage reducing abilites active as often as possible but I have been unable to automate it thus far.
    Last edited by Leynd; 03-29-2013 at 02:00 PM.

    PQR - Rotation Bot
  2. #9032
    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)
    Originally Posted by cpowroks View Post
    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 

    Excellent information.
    Got it working. Now how would I make it cast if Dark Soul has more than x seconds left on the cooldown?

    Code:
    local Backdraft,_,_,Stacks = UnitBuffID("player",117896)
    if Backdraft ~= nil 
    and Stacks > 3 then
    return false
    end
    if UnitBuffID("player",113858) ~= nil then 
       CastSpellByName(tostring(GetSpellInfo(116858))) 
    end
    That's what I have so far.
    Blaythes Destruction Warlock
    https://goo.gl/vUUhW

  3. #9033
    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)
    SpellCD = select(2,GetSpellCooldown(spellid))

    if SpellCD < x then
    --logic
    end
    WoW LUA Script Developer
    Need Something Custom? WarmaneScripts.com
    Skype - grapejuice111

  4. #9034
    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
    @ DiabloFan

    When I put that code into the profile, the profile stops working altogether. Ive tried in a blank profile as well, with the trinket code you provided before, and in the profile I am using.

    Im not sure you understand what the problem I am having actually is.

    I can write the code to use the trinket whenever either Divine Prot or GoAK is on cooldown and is not active. However, I can not get it to only work when both Divine Prot or GoAK are on cooldown and not active.

    In another words, I only want to have one mitigating ability up at a time as my raid has great healers but so so dps. I want gear more for DPS/Active mitigation. Ill take more damage overall and the number of spikes will increase, though the size of the spike is smaller. I am trying to counteract this by having one of my damage reducing abilites active as often as possible but I have been unable to automate it thus far.
    I understand exactly what your problem is and that code is working perfectly for me in-game, I just tested it. o_o

    If it's for Protection you're using the wrong spell ID for Guardian, it's 86659, that's probably what's causing it.

  5. #9035
    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)
    Originally Posted by cpowroks View Post
    SpellCD = select(2,GetSpellCooldown(spellid))

    if SpellCD < x then
    --logic
    end

    Thank you! I'd rep you again but I have to spread it around apparently.
    Blaythes Destruction Warlock
    https://goo.gl/vUUhW

  6. #9036
    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 blaythe View Post
    Thank you! I'd rep you again but I have to spread it around apparently.
    That actually won't return the correct cooldown. You have to do it like this:

    PHP Code:
    local SpellStartSpellDuration GetSpellCooldown(SpelID)
    local SpellCooldown SpellStart SpellDuration GetTime() 
    I just have a function in my data file to simplify it.

    PHP Code:
    function PQR_GetSpellCooldown(ID)
        
    local SpellStartSpellDuration GetSpellCooldown(ID)
        
    local SpellCooldown SpellStart GetTime() + SpellDuration
        
        
    if SpellCooldown 0 then
            SpellCooldown 
    0
        end
        
        
    return SpellCooldown
    end 
    Then it'd just be:

    PHP Code:
    if PQR_GetSpellCooldown(SpellID) < x then
    --blabla
    end 
    The default GetSpellCooldown function is only useful for checking if a cooldown is 0.

  7. #9037
    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
    If it's for Protection you're using the wrong spell ID for Guardian, it's 86659, that's probably what's causing it.
    That was my problem. I knew it would turn out to be something stupid simple. In case anyone is interested here is the code:

    Code:
    	-- Divne Protection
    	if PlayerHP <= 100 and PQR_SpellAvailable(498) then
    		CastSpellByName(GetSpellInfo(498))
    	-- Guardian of Ancient Kings
    	elseif PlayerHP <= 100 and PQR_SpellAvailable(86659) and not PQR_SpellAvailable(498) 
    	and not UnitBuffID("player", 498) then 
    		CastSpellByName(GetSpellInfo(86659))
    	end
    	-- Trinket 1 --
    	if PlayerHP <= 100 and GetInventoryItemCooldown("player",13) == 0 
    	and not PQR_SpellAvailable(498) and not PQR_SpellAvailable(86659) 
    	and not UnitBuffID("player", 498) and not UnitBuffID("player", 86659) then
    		UseInventoryItem(13)
    	end
    :edit: Props to DiabloFan for helping solve the problem and to AveryKey for the Profile this is based on.
    Last edited by Leynd; 03-29-2013 at 03:11 PM. Reason: cleaning up the code

  8. #9038
    Luciferozzy's Avatar Member
    Reputation
    2
    Join Date
    Apr 2011
    Posts
    81
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi guys is there anny rotation for DE'ing stuff? i know Alpha got one but its only de'ing specifik items and i would like one that de'ed all my green items.
    Anny help ?

  9. #9039
    WWF's Avatar Active Member
    Reputation
    31
    Join Date
    Jul 2010
    Posts
    215
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    so no idias why members[i].Unit wont work?

  10. #9040
    Ralphiuss's Avatar Active Member
    Reputation
    44
    Join Date
    Sep 2011
    Posts
    230
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by WWF View Post
    so no idias why members[i].Unit wont work?
    That's a Team Nova function I believe. You're using their data file correct?

  11. #9041
    WWF's Avatar Active Member
    Reputation
    31
    Join Date
    Jul 2010
    Posts
    215
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Ralphiuss View Post
    That's a Team Nova function I believe. You're using their data file correct?
    i have that file

  12. #9042
    yuppyy's Avatar Private
    Reputation
    1
    Join Date
    Mar 2013
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Xelper, any chance you could post the logic of PQR_IsMoving() here?
    Would be very interesting to see how it works! GetPlayerMapPosition("player") ?
    Last edited by yuppyy; 03-29-2013 at 03:38 PM.

  13. #9043
    Ralphiuss's Avatar Active Member
    Reputation
    44
    Join Date
    Sep 2011
    Posts
    230
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by WWF View Post
    i have that file
    Let me ask what are you actually trying to do?

  14. #9044
    Mavmins's Avatar Contributor
    Reputation
    165
    Join Date
    Oct 2012
    Posts
    606
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I seem to remember a couple of hundred pages back there was talk of being able to drop an AoE on a unit location rather than a mouse location ? Was this a PQR3 if it gets released feature or something possible with some wizardry in this version ?

  15. #9045
    WWF's Avatar Active Member
    Reputation
    31
    Join Date
    Jul 2010
    Posts
    215
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Ralphiuss View Post
    Let me ask what are you actually trying to do?
    1) checking 5% stat and crit buffs on my char and raid members, and buff it if someone have no buff
    2) i want to do Shadowed Soul debuff check and use extrabutton on raid member who have no Soul Fragment and with 8 or lesser stacks of Shadowed Soul, but now... i need to know how to use extrabutton...

    PQR_Nova_Data.lua in Data folder, but not loaded
    Last edited by WWF; 03-29-2013 at 04:43 PM.

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 02:10 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