PQR - Rotation Bot menu

User Tag List

Page 701 of 779 FirstFirst ... 201601651697698699700701702703704705751 ... LastLast
Results 10,501 to 10,515 of 11681
  1. #10501
    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)
    WoW LUA Script Developer
    Need Something Custom? WarmaneScripts.com
    Skype - grapejuice111

    PQR - Rotation Bot
  2. #10502
    crystal_tech's Avatar Elite User
    Reputation
    468
    Join Date
    Feb 2008
    Posts
    1,033
    Thanks G/R
    1/6
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by iEthos View Post
    If anyone is an experienced coder, I need help with a Hunter's Readiness code. Every one I try has these problems, casts Rapid Fire > uses Readiness > casts Rapid Fire again, over lapping the current one... or just flat out doesn't work. If anyone can write me a little code that will check to see if I have the Rapid Fire buff, and holds off casting Readiness until the buff fades so it will cast another Rapid Fire right after the first one ends, it would be much appreciated, thank you!
    what i did in my SV profile:
    PHP Code:
    local PlayerCombat UnitAffectingCombat("player") --check for combat
    local PQ_Rapid 
    PQ_Rapid
    local nMod_ForceCD
    AutoCooldowns nMod_ForceCDAutoCooldowns

    if Nova_Mod() == nMod_ForceCD
        
    or ( AutoCooldowns == and SpecialUnit() )
    then
        
    if PQR_SpellAvailable(PQ_Rapid)
            and 
    not UnitBuffID("player"PQ_Rapid)
            and 
    PQ_HasHero() == false
            
    and PlayerCombat
        then
            
    if GetInventoryItemCooldown("player"13) == 0 then
                UseInventoryItem
    (13)
            
    end
            CastSpellByName
    (GetSpellInfo(PQ_Rapid))
            return 
    true
        end
    end 
    a bit much as i use a trinket at the same time as rapid fire and i've set names to the spellids

    heres what would work for you:

    PHP Code:
    --replace 'PQ_Rapid' with SpellID
        
    if PQR_SpellAvailable(PQ_Rapid) --see if its off CD
            
    and not UnitBuffID("player"PQ_Rapid) --checks to make sure we don't have the buff
            and UnitAffectingCombat("player") -- would be good if we where in combat
        then
            CastSpellByName(GetSpellInfo(PQ_Rapid))
            return true
        end 

    Please if someone helped you donate rep to them.

  3. #10503
    iEthos's Avatar Sergeant
    Reputation
    16
    Join Date
    Aug 2010
    Posts
    42
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by crystal_tech View Post
    what i did in my SV profile:
    PHP Code:
    local PlayerCombat UnitAffectingCombat("player") --check for combat
    local PQ_Rapid 
    PQ_Rapid
    local nMod_ForceCD
    AutoCooldowns nMod_ForceCDAutoCooldowns

    if Nova_Mod() == nMod_ForceCD
        
    or ( AutoCooldowns == and SpecialUnit() )
    then
        
    if PQR_SpellAvailable(PQ_Rapid)
            and 
    not UnitBuffID("player"PQ_Rapid)
            and 
    PQ_HasHero() == false
            
    and PlayerCombat
        then
            
    if GetInventoryItemCooldown("player"13) == 0 then
                UseInventoryItem
    (13)
            
    end
            CastSpellByName
    (GetSpellInfo(PQ_Rapid))
            return 
    true
        end
    end 
    a bit much as i use a trinket at the same time as rapid fire and i've set names to the spellids

    heres what would work for you:

    PHP Code:
    --replace 'PQ_Rapid' with SpellID
        
    if PQR_SpellAvailable(PQ_Rapid) --see if its off CD
            
    and not UnitBuffID("player"PQ_Rapid) --checks to make sure we don't have the buff
            and UnitAffectingCombat("player") -- would be good if we where in combat
        then
            CastSpellByName(GetSpellInfo(PQ_Rapid))
            return true
        end 
    Sweet, works now, thank you.

  4. #10504
    iEthos's Avatar Sergeant
    Reputation
    16
    Join Date
    Aug 2010
    Posts
    42
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Would you also happen to know a little Steady Shot code that will use it when below say 60 focus (or whatever the optimal number is to avoid being focus starved)?

  5. #10505
    kuukuu's Avatar Contributor
    Reputation
    269
    Join Date
    Jul 2012
    Posts
    619
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by finish View Post
    hi all, i hope someone can help me

    im working on a dk blood pvp profile...yes u did read correct, blood pvp perhaps no one needs or wants this, but im writing this for a friend, and i must say its crazy as blood, profile works like a charm...he was mostly green, my dk has nice equip, and with 2 blood dk´s we filled his 15k cap in nearly 1 day and now 1700+ rating...lol
    anyway, here is my problem

    as blood dk i want to slow the tartgets with blood boil, and that is my coding:

    Code:
    if PQR_SpellAvailable(48721)
    	and PQ_ValidUnit
    	and IsSpellInRange(GetSpellInfo(45462), PQR_CustomTarget) == 1
    	and (UnitDebuffID("target",55095,"PLAYER") or UnitDebuffID("target",55078,"PLAYER")) then
    			BR1start, BR1duration, BR1ready = GetRuneCooldown(1)
    			BR2start, BR2duration, BR2ready = GetRuneCooldown(2)
    			if BR1ready or BR2ready and not UnitDebuffID("target",50435,"PLAYER") then return true end
    end
    the spellrange check is working ok with the spellid of plague strike, but blood boil has a range of 10yards, so i want to check for this

    but when i just change the spellid to 48721 it just dont work ;-(
    perhaps because blood boil is an aoe ? hope someone can help me ;-)
    thanks in advance
    finni
    IsSpellInRange doesn't seem to work with every spell so for 10 yards I would use CheckInteractDistance like this:

    Code:
    if PQR_SpellAvailable(48721)
    	and PQ_ValidUnit
    	and CheckInteractDistance(PQR_CustomTarget, 3)
    	and (UnitDebuffID("target",55095,"PLAYER") or UnitDebuffID("target",55078,"PLAYER")) then
    			BR1start, BR1duration, BR1ready = GetRuneCooldown(1)
    			BR2start, BR2duration, BR2ready = GetRuneCooldown(2)
    			if BR1ready or BR2ready and not UnitDebuffID("target",50435,"PLAYER") then return true end
    end
    3 is the duel range which is 9.9 yards so should work fine for that.
    Former PQR Developer

  6. #10506
    botirk's Avatar Master Sergeant
    Reputation
    14
    Join Date
    May 2013
    Posts
    118
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @xepler thanks for review

    I already met weird runtime restrictions.
    So I started at SimCraft if statement parsement.
    Again met blizzard runtime restrictions.
    WTF!
    I should restart WoW every library bug, runtime restriction too.

  7. #10507
    Nov17's Avatar Sergeant Major CoreCoins Purchaser
    Reputation
    9
    Join Date
    Aug 2011
    Posts
    161
    Thanks G/R
    6/0
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    After spending more than 15 hours on various tweaks on failroads/bgeeens profile I wish there was something to debug errors (or that I found them faster)

    However I will keep trying :P

  8. #10508
    finish's Avatar Master Sergeant
    Reputation
    18
    Join Date
    Mar 2013
    Posts
    77
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by kuukuu View Post
    IsSpellInRange doesn't seem to work with every spell so for 10 yards I would use CheckInteractDistance like this:

    Code:
    if PQR_SpellAvailable(48721)
    	and PQ_ValidUnit
    	and CheckInteractDistance(PQR_CustomTarget, 3)
    	and (UnitDebuffID("target",55095,"PLAYER") or UnitDebuffID("target",55078,"PLAYER")) then
    			BR1start, BR1duration, BR1ready = GetRuneCooldown(1)
    			BR2start, BR2duration, BR2ready = GetRuneCooldown(2)
    			if BR1ready or BR2ready and not UnitDebuffID("target",50435,"PLAYER") then return true end
    end
    3 is the duel range which is 9.9 yards so should work fine for that.
    hey man, i love u, thanks for taking the time and help me out! ;-)

  9. #10509
    ozmodiar's Avatar Member
    Reputation
    13
    Join Date
    Oct 2012
    Posts
    41
    Thanks G/R
    1/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by iEthos View Post
    Would you also happen to know a little Steady Shot code that will use it when below say 60 focus (or whatever the optimal number is to avoid being focus starved)?
    The first piece of code here is "cast steady shot if under 60 focus".

    PHP Code:
    if UnitPower("player") < 60 then 
    return true end 
    Make sure to specify SpellID 56641 in the ability info. Typically this would be the last thing in the rotation.

    The second piece is "force-cast Steady if I don't have Steady Focus or if it's going to fall off within 3 seconds".
    PHP Code:
    if not UnitBuffID("player",53224)
    or (
    select(7,UnitBuffID("player",53224)) - GetTime() < 3)
    then return true end 
    Also make sure to specify SpellID 56641.

    This you'd want to have very HIGH in the rotation, so that you're always keeping up SF.

    Big thanks to KMD/crystal_tech/soapbox - I learned everything I know about hunter profiles from theirs. <3
    Last edited by ozmodiar; 06-17-2013 at 10:51 AM.

  10. #10510
    Yoghourt's Avatar Member
    Reputation
    3
    Join Date
    May 2009
    Posts
    54
    Thanks G/R
    2/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello , anyone know the offsets for " Arena-Tournament | Where the Challenge Begins "

    <CurrentWoWVersion>15595</CurrentWoWVersion>

    Please help me , greetings
    Last edited by Yoghourt; 06-17-2013 at 02:33 PM.

  11. #10511
    Xelper's Avatar ★ Elder ★
    Reputation
    1024
    Join Date
    Mar 2007
    Posts
    860
    Thanks G/R
    0/8
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by solva View Post
    Can I use that function to print the value of a variable for debug purposes?
    I know I can use the value in the suffix but I was wondering what is the syntax for using it in the prefix.

    On topic what is the best way, or how do you debug your code?
    There is another function, PQR_DebugP("text") that prints to the chat as long as you have debug mode on the settings tab set to "Profile." If you are looking to do something like just testing what the return of a function call is, I suggest sending this command in chat:

    /dump PQR_UnitInfo("player")

    That will display the returns of a function call.
    Last edited by Xelper; 06-17-2013 at 03:12 PM.

  12. #10512
    Xelper's Avatar ★ Elder ★
    Reputation
    1024
    Join Date
    Mar 2007
    Posts
    860
    Thanks G/R
    0/8
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by botirk View Post
    @xepler thanks for review

    I already met weird runtime restrictions.
    So I started at SimCraft if statement parsement.
    Again met blizzard runtime restrictions.
    WTF!
    I should restart WoW every library bug, runtime restriction too.
    You may be setting a variable/function name that is being used by an addon or protected Blizzard code. If you do this you taint the execution path of the PQR code and it will not run. Check variable names and make sure they are unique.

    EDIT: Also, don't try to set any variable values from the chat.
    Last edited by Xelper; 06-17-2013 at 03:12 PM.

  13. #10513
    botirk's Avatar Master Sergeant
    Reputation
    14
    Join Date
    May 2013
    Posts
    118
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @Xelper here is example:

    library code:
    DummyArray = {}
    pqr code:
    DummyArray["mangle"] = 1099
    result:
    DummyArray is empty...

  14. #10514
    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 NiceL View Post
    PQR with offsets 17055 does not work
    только что проверил последнюю версию, все работает, ничего не крашится, переустанавливать игру уж точно не было смысла, попробуй удалить пкр и скачать его чистый через автоапдейтер, возможно проблемы в твоем профайле, на конец предыдущая версия 2.2.1 все еще работает.

  15. #10515
    botirk's Avatar Master Sergeant
    Reputation
    14
    Join Date
    May 2013
    Posts
    118
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @Xelper

    I discovered bug, most likely caused by dot.NET

    representation: loadstring("UnitHealth(\"player\")")
    reason: \" string symbol is not supported by dot.NET or XML

    This is LUA standard. Seems they don't work at PQR.

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 05:44 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