PQR - Rotation Bot menu

User Tag List

Page 739 of 779 FirstFirst ... 239639689735736737738739740741742743 ... LastLast
Results 11,071 to 11,085 of 11681
  1. #11071
    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)
    Looks like I found solution to my problem.
    @vitalic The problem is not in calling functions.
    I'm using: StopAttack(), StartAttack(), ClearTarget(), SpellStopCasting, GetSpellLink(), CastSpellByName(GetSpellInfo(), " "), etc...
    and even Notify_Short(), etc... -- not a WoW API functions
    right inside SlashCmd functions and it works without causing errors.
    The problem in the method of code. For example
    PHP Code:
    if table[i][j] = (table[i][j] == 1) and or 
    usually works fine, but when I used it in SlashCmd or in a function called by SlashCmd, then it caused errors.
    After I replaced it with a
    PHP Code:
    if table[i][j] == 1 then table[i][j] = else table[i][j] = 1 end 
    rotation has become to work without crashing!
    Оne small function
    PHP Code:
    SLASH_TOGGLEMYSPELL1 "/togglemyspell"
    SlashCmdList["TOGGLEMYSPELL"] = function(SpellName)
        for 
    iv in pairs(VFQ) do
            if 
    VFQ[i][1] == SpellName then
                
    if VFQ[i][2] == 1 then VFQ[i][2] = else VFQ[i][2] = 1 end
                
    print(string.format("%s has been %s the rotation."GetSpellLink(SpellName), VFQ[i][2] == and "|cff00ff00included|r in" or "|cffff0000excluded|r from"))            
            
    end
        end
    end 
    for any number of spells!
    Last edited by WWF; 08-08-2013 at 04:56 AM.

    PQR - Rotation Bot
  2. #11072
    ZidaneT's Avatar Corporal
    Reputation
    6
    Join Date
    Jan 2012
    Posts
    31
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey guys... Not to be that guy or anything, but why don't we all just put people on ignore and be happy lil campers again. coders gonna code, haters gonna hate.

  3. #11073
    paintpauller's Avatar Contributor
    Reputation
    128
    Join Date
    Jan 2012
    Posts
    265
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by MrHeroe View Post
    Hey Guys, is it possible to count through a enemy Team in a BG environment? Just Like arenaN something like bgteamN !?

    Best regards
    Mr.
    yes it is, tho its a bit more complicated then just bgteamN unforchantly. developed this back when people were wanting a BG interrupt. dont have time to explain much but basically it will do its best to keep your focus on a enemy BG player who is in interrupt range. before you ask i dont remember why its not in a loop but i do know that there was a reason and thats why i manually step every time, also UnitFactionGroup("player") was returning doubles so thats why that is there. you should be able to adopt this for your needs so here is the interrupt ability as a whole.

    if you have any questions just let me know and when i get more time i can help you out.

    PHP Code:
    if AlphaInterrupt_stop()
    or 
    not AlphaInterrupt_AlphaBattleGroundInterrupt_enable
    or UnitIsDeadOrGhost("player")
    or ((
    GetBattlefieldInstanceRunTime()/1000) < 120)
    or 
    not PQR_SpellAvailable(PQR_InterruptSpell())
    or 
    IsActiveBattlefieldArena() == 1
    then 
    return false end


    local name
    realm UnitName("target")
    if 
    realm == nil then
        
    if name == nil then
            lasttargetname 
    nil
        
    else lasttargetname name end
    else
        
    lasttargetname name.."-"..realm
    end


    if AlphaInterrupt_targetProtect == nil then AlphaInterrupt_targetProtect 0 end
    if AlphaInterrupt_targetProtect GetTime() then
        AlphaInterrupt_targetProtect 
    GetTime() + 1
        
        RequestBattlefieldScoreData
    ()
        if 
    BGnum == nil then BGnum 0 end
        
    if BGnum >= GetNumBattlefieldScores() then BGnum 0 end
        BGnum 
    BGnum 1
        local BG_PlayerInfo
    ____BG_PlayerFaction GetBattlefieldScore(BGnum)
        
    local BG_PlayerNameBG_PlayerServer strsplit("-"BG_PlayerInfo)


        if     
    UnitFactionGroup("player") == "Horde"             then CheckMyFaction 0
        
    elseif UnitFactionGroup("player") == "Horde Horde"         then CheckMyFaction 0
        
    elseif UnitFactionGroup("player") == "Alliance"             then CheckMyFaction 1
        
    elseif UnitFactionGroup("player") == "Alliance Alliance" then CheckMyFaction 1 end


        
    if CheckMyFaction == BG_PlayerFaction then
            
    --They are on my team dont need to focus
            AlphaInterrupt_targetProtect 
    GetTime() - 0.2
            
    return false
        end
        
    if UnitName("target") == BG_PlayerInfo then
            AlphaInterrupt_targetProtect 
    GetTime() - 0.2
            
    return false
        end
        
    if BG_PlayerInfo ~= nil then
            RunMacroText
    ("/targetexact "..BG_PlayerInfo)
            
    RunMacroText("/focus [@target, exists]")
            if 
    lasttargetname == nil then
                ClearTarget
    () 
            else
                
    RunMacroText("/targetexact "..lasttargetname)
            
    end
        end
        
    if UnitFactionGroup("player") == UnitFactionGroup("focus"then
            
    --They are on my team need to re focus (should not happen)
            
    AlphaInterrupt_targetProtect GetTime() - 2
            
    return false
        end
        
    if IsSpellInRange(GetSpellInfo(PQR_InterruptSpell()), "focus") ~= 1 then
            AlphaInterrupt_targetProtect 
    GetTime() - 2
            
    return false
        end
        
    if UnitName("target") == UnitName("focus"then
            AlphaInterrupt_targetProtect 
    GetTime() - 2
            
    return false
        end
    end


    local customTarget 
    "focus"
    local castName___castStartTimecastEndTime__castInterruptable UnitCastingInfo(customTarget)
    local channelName___channelStartTimechannelEndTime_channelInterruptable UnitChannelInfo(customTarget)
    local divineshield UnitBuffID(customTarget,642)
    local Inner_Focus UnitBuffID(customTarget,89485)


    if 
    channelName ~= nil then
        
    --target is channeling a spell that is interruptable
        
    --load the channel variables into the cast variables to make logic a little easier.
        
    castName channelName
        castStartTime 
    channelStartTime
        castEndTime 
    channelEndTime
        castInterruptable 
    channelInterruptable
    end




    --This is actually "Not Interruptable"... so lets swap it around to use in the positive.
    if 
    castInterruptable == false then
        castInterruptable 
    true
    else
        
    castInterruptable false
    end


    --we can't attack the target.
    if UnitCanAttack("player", customTarget) == nil then
        return false
    end
        
    --we can'
    t Interrupt when target has immunity.
    if 
    divineshield or Inner_Focus then
        AlphaInterrupt_targetProtect 
    GetTime() + 0.2
        
    return false
    end
        
    if castInterruptable then
        
    --target is casting something that is interruptable.
        --
    the following 2 variables are named logically... value is in seconds.
        
    local timeSinceStart = (GetTime() * 1000 castStartTime) / 1000
        local timeLeft 
    = ((GetTime() * 1000 castEndTime) * -1) / 1000
        local castTime 
    castEndTime castStartTime
        local currentPercent 
    timeSinceStart castTime 100000
        
        AlphaInterrupt_targetProtect 
    GetTime() + 0.5
        
        
    --make sure the interrupt spell is available
        local interruptSpell 
    PQR_InterruptSpell()
        if 
    interruptSpell ~= 0 then
            local interruptName 
    GetSpellInfo(interruptSpell)
            if 
    not PQR_SpellAvailable(interruptSpell) or IsSpellInRange(interruptNamecustomTarget) ~= or SpellIsTargeting() then
                
    return false
            end
        
    else
            return 
    false
        end    
        
        
    --Ignore spells on Ignore list
        if 
    AlphaInterrupt_Ignorelist_enable then
            Alpha_Deserialize
    (AlphaInterrupt_Ignorelist"Ignore")
            
    local unitname GetUnitName(customTarget)
            
    local Interruptspellname GetSpellInfo(PQR_InterruptSpell())
            for 
    1#toIgnore do
                
    if type(toIgnore[i]) == "string" then
                    
    if toIgnore[i] == castName then
                        PQR_Event
    ("PQR_Text""Ignoring - "..unitname..": "..castName20"DC143C")
                        return 
    false
                    end
                
    elseif type(toIgnore[i]) == "number" then
                    
    if (GetSpellInfo(toIgnore[i])) == castName then
                        PQR_Event
    ("PQR_Text""Ignoring - "..unitname..": "..castName20"DC143C")
                        return 
    false
                    end
                end        
            end
        end
        
        
    --should we use InstantInterrupt delays or normal?
        if 
    AlphaInterrupt_InstantInterruptlist_enable then
            Alpha_Deserialize
    (AlphaInterrupt_Instantlist"Instant Interrupt")
            
    local OnInstantlist false
            
    for 1#toInstantInterrupt do
                
    if type(toInstantInterrupt[i]) == "string" then
                    
    if toInstantInterrupt[i] == castName then OnInstantlist true end
                
    elseif type(toInstantInterrupt[i]) == "number" then
                    
    if (GetSpellInfo(toInstantInterrupt[i]))== castName then OnInstantlist true end
            end    end
            
    if OnInstantlist then
                
    if timeSinceStart AlphaInterrupt_Instant_InterruptDelay 0 then return false end
                
    if currentPercent AlphaInterrupt_Instant_InterruptPercent then return false end        
            
    else
                --
    interrupt percentage check
                
    if AlphaInterrupt_Protect1 == nil then AlphaInterrupt_Protect1 0 end
                
    if AlphaInterrupt_Protect1 GetTime() then
                    AlphaInterrupt_Protect1 
    GetTime() + 1.5
                    PQR_InterruptPercent 
    randompercentage()
                
    end
                
    if currentPercent PQR_InterruptPercent then
                    
    return false
                end
            
                
    --minimum interrupt time
                
    if AlphaInterrupt_Protect2 == nil then AlphaInterrupt_Protect2 0 end
                
    if AlphaInterrupt_Protect2 GetTime() then
                    AlphaInterrupt_Protect2 
    GetTime() + 1.5
                    PQR_InterruptDelay 
    randomdelay()
                
    end
                
    if timeSinceStart PQR_InterruptDelay 0 then
                    
    return false
                end
            end    
        
    else
            --
    interrupt percentage check
            
    if AlphaInterrupt_Protect1 == nil then AlphaInterrupt_Protect1 0 end
            
    if AlphaInterrupt_Protect1 GetTime() then
                AlphaInterrupt_Protect1 
    GetTime() + 1.5
                PQR_InterruptPercent 
    randompercentage()
            
    end
            
    if currentPercent PQR_InterruptPercent then
                
    return false
            end
        
            
    --minimum interrupt time
            
    if AlphaInterrupt_Protect2 == nil then AlphaInterrupt_Protect2 0 end
            
    if AlphaInterrupt_Protect2 GetTime() then
                AlphaInterrupt_Protect2 
    GetTime() + 1.5
                PQR_InterruptDelay 
    randomdelay()
            
    end
            
    if timeSinceStart PQR_InterruptDelay 0 then
                
    return false
            end
        end


        
    --Finally, make sure the spell they are casting is on the interrupt list or interrupt all is checked
        
    if PQR_IsOnInterruptList(castName) or PQR_IsInterruptAll() then
            
    --Nerder's DK priority
            if UnitClass("player") == "DEATHKNIGHT" then
                local name, _, _, count = UnitBuffID("player",114851)
                
                if PQR_InterruptSpell() ~= 47528 then
                     for i = 1, 2 do
                         local RuneCDstart, RuneCDduration = GetRuneCooldown(i)
                        if GetRuneType(i) == 1
                        and ( RuneCDstart + RuneCDduration - GetTime() > 0 ) then
                            if (name ~= nil and count >= 5) then
                                local unitname = GetUnitName(customTarget)
                                local Interruptspellname = GetSpellInfo(PQR_InterruptSpell())
                                PQR_Event("PQR_Text", "Interrupted - "..unitname..": "..castName.." - With: "..Interruptspellname.." - Used: "..GetSpellInfo(45529), 20, "DC143C")                        
                                CastSpellByName(GetSpellInfo(45529), "player")
                                CastSpellByID(interruptSpell, customTarget)
                                return true
                            end
                        else
                            return false
                        end
                    end
                elseif PQR_InterruptSpell() == 47528 then
                    local unitname = GetUnitName(customTarget)
                    local Interruptspellname = GetSpellInfo(PQR_InterruptSpell())
                    PQR_Event("PQR_Text", "Interrupted - "..unitname..": "..castName.." - With: "..Interruptspellname, 20, "DC143C")
                    CastSpellID(interruptSpell, customTarget)
                    return true
                end
            else
                local unitname = GetUnitName(customTarget)
                local Interruptspellname = GetSpellInfo(PQR_InterruptSpell())
                PQR_Event("PQR_Text", "Interrupted - "..unitname..": "..castName.." - With: "..Interruptspellname, 20, "DC143C")
                PQR_Debug("Casting interrupt on "..customTarget)
                CastSpellByID(interruptSpell, customTarget)
                return true
            end
        end
        
    end 

    Alpha Profiles: - All profiles with PQInterface support!
    Alpha Interrupt: https://goo.gl/OLhGi - Ignore List, Random Percentage, Time Delays, & much More!
    Alpha Utilities: https://goo.gl/rt7WA - Farming, Prospecting, Disenchanting, Milling, & Questing
    Alpha Moonkin: https://goo.gl/gjxw0 - Optimized DPS Rotation for PvE, Mashup of 3 Profiles
    Avery's Ret: https://goo.gl/GhurM - My take on Avery's outstanding Ret profile with PQI

  4. #11074
    Ninjaderp's Avatar Banned
    Reputation
    199
    Join Date
    Dec 2010
    Posts
    1,847
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah indeed, when I wake up tomorrow Im gonna check this thread for that video ^^

  5. #11075
    Vinshom's Avatar Contributor
    Reputation
    86
    Join Date
    Apr 2012
    Posts
    428
    Thanks G/R
    11/21
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Ninjaderp View Post
    Yeah indeed, when I wake up tomorrow Im gonna check this thread for that video ^^
    I wont even brush my teeth before I see the video.

  6. #11076
    sparkyiezz's Avatar Member
    Reputation
    3
    Join Date
    Apr 2013
    Posts
    282
    Thanks G/R
    0/2
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How many cores should I run pqr on? I have 4, no mattere what profile I run for somereason I dont loose much FPS but what happens is it makes the game much more unsmooth its like not laggy but un-smooth
    Last edited by sparkyiezz; 08-08-2013 at 08:43 PM.

  7. #11077
    Sivers's Avatar Member
    Reputation
    2
    Join Date
    May 2008
    Posts
    62
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just wondering for people on PTR, has anyone had issues getting the 32bit client to start? I changed the options in the launcher, I launch the WoW.exe (instead of WoW-64.exe) in the directory, but whenever the game loads, it's always the 64-bit client instead of the 32-bit client. No idea how that happened as I just installed the PTR now. Can't seem to force the 32-bit client to launch no matter what I do

  8. #11078
    cokx's Avatar Banned
    Reputation
    92
    Join Date
    Dec 2008
    Posts
    896
    Thanks G/R
    0/0
    Trade Feedback
    4 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    rename your wow-64.exe to anything else and it will work

  9. #11079
    MrHeroe's Avatar Member
    Reputation
    3
    Join Date
    May 2013
    Posts
    67
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by paintpauller View Post
    yes it is, tho its a bit more complicated then just bgteamN unforchantly. developed this back when people were wanting a BG interrupt. dont have time to explain much but basically it will do its best to keep your focus on a enemy BG player who is in interrupt range. before you ask i dont remember why its not in a loop but i do know that there was a reason and thats why i manually step every time, also UnitFactionGroup("player") was returning doubles so thats why that is there. you should be able to adopt this for your needs so here is the interrupt ability as a whole.

    if you have any questions just let me know and when i get more time i can help you out.

    PHP Code:
    if AlphaInterrupt_stop()
    or 
    not AlphaInterrupt_AlphaBattleGroundInterrupt_enable
    or UnitIsDeadOrGhost("player")
    or ((
    GetBattlefieldInstanceRunTime()/1000) < 120)
    or 
    not PQR_SpellAvailable(PQR_InterruptSpell())
    or 
    IsActiveBattlefieldArena() == 1
    then 
    return false end


    local name
    realm UnitName("target")
    if 
    realm == nil then
        
    if name == nil then
            lasttargetname 
    nil
        
    else lasttargetname name end
    else
        
    lasttargetname name.."-"..realm
    end


    if AlphaInterrupt_targetProtect == nil then AlphaInterrupt_targetProtect 0 end
    if AlphaInterrupt_targetProtect GetTime() then
        AlphaInterrupt_targetProtect 
    GetTime() + 1
        
        RequestBattlefieldScoreData
    ()
        if 
    BGnum == nil then BGnum 0 end
        
    if BGnum >= GetNumBattlefieldScores() then BGnum 0 end
        BGnum 
    BGnum 1
        local BG_PlayerInfo
    ____BG_PlayerFaction GetBattlefieldScore(BGnum)
        
    local BG_PlayerNameBG_PlayerServer strsplit("-"BG_PlayerInfo)


        if     
    UnitFactionGroup("player") == "Horde"             then CheckMyFaction 0
        
    elseif UnitFactionGroup("player") == "Horde Horde"         then CheckMyFaction 0
        
    elseif UnitFactionGroup("player") == "Alliance"             then CheckMyFaction 1
        
    elseif UnitFactionGroup("player") == "Alliance Alliance" then CheckMyFaction 1 end


        
    if CheckMyFaction == BG_PlayerFaction then
            
    --They are on my team dont need to focus
            AlphaInterrupt_targetProtect 
    GetTime() - 0.2
            
    return false
        end
        
    if UnitName("target") == BG_PlayerInfo then
            AlphaInterrupt_targetProtect 
    GetTime() - 0.2
            
    return false
        end
        
    if BG_PlayerInfo ~= nil then
            RunMacroText
    ("/targetexact "..BG_PlayerInfo)
            
    RunMacroText("/focus [@target, exists]")
            if 
    lasttargetname == nil then
                ClearTarget
    () 
            else
                
    RunMacroText("/targetexact "..lasttargetname)
            
    end
        end
        
    if UnitFactionGroup("player") == UnitFactionGroup("focus"then
            
    --They are on my team need to re focus (should not happen)
            
    AlphaInterrupt_targetProtect GetTime() - 2
            
    return false
        end
        
    if IsSpellInRange(GetSpellInfo(PQR_InterruptSpell()), "focus") ~= 1 then
            AlphaInterrupt_targetProtect 
    GetTime() - 2
            
    return false
        end
        
    if UnitName("target") == UnitName("focus"then
            AlphaInterrupt_targetProtect 
    GetTime() - 2
            
    return false
        end
    end


    local customTarget 
    "focus"
    local castName___castStartTimecastEndTime__castInterruptable UnitCastingInfo(customTarget)
    local channelName___channelStartTimechannelEndTime_channelInterruptable UnitChannelInfo(customTarget)
    local divineshield UnitBuffID(customTarget,642)
    local Inner_Focus UnitBuffID(customTarget,89485)


    if 
    channelName ~= nil then
        
    --target is channeling a spell that is interruptable
        
    --load the channel variables into the cast variables to make logic a little easier.
        
    castName channelName
        castStartTime 
    channelStartTime
        castEndTime 
    channelEndTime
        castInterruptable 
    channelInterruptable
    end




    --This is actually "Not Interruptable"... so lets swap it around to use in the positive.
    if 
    castInterruptable == false then
        castInterruptable 
    true
    else
        
    castInterruptable false
    end


    --we can't attack the target.
    if UnitCanAttack("player", customTarget) == nil then
        return false
    end
        
    --we can'
    t Interrupt when target has immunity.
    if 
    divineshield or Inner_Focus then
        AlphaInterrupt_targetProtect 
    GetTime() + 0.2
        
    return false
    end
        
    if castInterruptable then
        
    --target is casting something that is interruptable.
        --
    the following 2 variables are named logically... value is in seconds.
        
    local timeSinceStart = (GetTime() * 1000 castStartTime) / 1000
        local timeLeft 
    = ((GetTime() * 1000 castEndTime) * -1) / 1000
        local castTime 
    castEndTime castStartTime
        local currentPercent 
    timeSinceStart castTime 100000
        
        AlphaInterrupt_targetProtect 
    GetTime() + 0.5
        
        
    --make sure the interrupt spell is available
        local interruptSpell 
    PQR_InterruptSpell()
        if 
    interruptSpell ~= 0 then
            local interruptName 
    GetSpellInfo(interruptSpell)
            if 
    not PQR_SpellAvailable(interruptSpell) or IsSpellInRange(interruptNamecustomTarget) ~= or SpellIsTargeting() then
                
    return false
            end
        
    else
            return 
    false
        end    
        
        
    --Ignore spells on Ignore list
        if 
    AlphaInterrupt_Ignorelist_enable then
            Alpha_Deserialize
    (AlphaInterrupt_Ignorelist"Ignore")
            
    local unitname GetUnitName(customTarget)
            
    local Interruptspellname GetSpellInfo(PQR_InterruptSpell())
            for 
    1#toIgnore do
                
    if type(toIgnore[i]) == "string" then
                    
    if toIgnore[i] == castName then
                        PQR_Event
    ("PQR_Text""Ignoring - "..unitname..": "..castName20"DC143C")
                        return 
    false
                    end
                
    elseif type(toIgnore[i]) == "number" then
                    
    if (GetSpellInfo(toIgnore[i])) == castName then
                        PQR_Event
    ("PQR_Text""Ignoring - "..unitname..": "..castName20"DC143C")
                        return 
    false
                    end
                end        
            end
        end
        
        
    --should we use InstantInterrupt delays or normal?
        if 
    AlphaInterrupt_InstantInterruptlist_enable then
            Alpha_Deserialize
    (AlphaInterrupt_Instantlist"Instant Interrupt")
            
    local OnInstantlist false
            
    for 1#toInstantInterrupt do
                
    if type(toInstantInterrupt[i]) == "string" then
                    
    if toInstantInterrupt[i] == castName then OnInstantlist true end
                
    elseif type(toInstantInterrupt[i]) == "number" then
                    
    if (GetSpellInfo(toInstantInterrupt[i]))== castName then OnInstantlist true end
            end    end
            
    if OnInstantlist then
                
    if timeSinceStart AlphaInterrupt_Instant_InterruptDelay 0 then return false end
                
    if currentPercent AlphaInterrupt_Instant_InterruptPercent then return false end        
            
    else
                --
    interrupt percentage check
                
    if AlphaInterrupt_Protect1 == nil then AlphaInterrupt_Protect1 0 end
                
    if AlphaInterrupt_Protect1 GetTime() then
                    AlphaInterrupt_Protect1 
    GetTime() + 1.5
                    PQR_InterruptPercent 
    randompercentage()
                
    end
                
    if currentPercent PQR_InterruptPercent then
                    
    return false
                end
            
                
    --minimum interrupt time
                
    if AlphaInterrupt_Protect2 == nil then AlphaInterrupt_Protect2 0 end
                
    if AlphaInterrupt_Protect2 GetTime() then
                    AlphaInterrupt_Protect2 
    GetTime() + 1.5
                    PQR_InterruptDelay 
    randomdelay()
                
    end
                
    if timeSinceStart PQR_InterruptDelay 0 then
                    
    return false
                end
            end    
        
    else
            --
    interrupt percentage check
            
    if AlphaInterrupt_Protect1 == nil then AlphaInterrupt_Protect1 0 end
            
    if AlphaInterrupt_Protect1 GetTime() then
                AlphaInterrupt_Protect1 
    GetTime() + 1.5
                PQR_InterruptPercent 
    randompercentage()
            
    end
            
    if currentPercent PQR_InterruptPercent then
                
    return false
            end
        
            
    --minimum interrupt time
            
    if AlphaInterrupt_Protect2 == nil then AlphaInterrupt_Protect2 0 end
            
    if AlphaInterrupt_Protect2 GetTime() then
                AlphaInterrupt_Protect2 
    GetTime() + 1.5
                PQR_InterruptDelay 
    randomdelay()
            
    end
            
    if timeSinceStart PQR_InterruptDelay 0 then
                
    return false
            end
        end


        
    --Finally, make sure the spell they are casting is on the interrupt list or interrupt all is checked
        
    if PQR_IsOnInterruptList(castName) or PQR_IsInterruptAll() then
            
    --Nerder's DK priority
            if UnitClass("player") == "DEATHKNIGHT" then
                local name, _, _, count = UnitBuffID("player",114851)
                
                if PQR_InterruptSpell() ~= 47528 then
                     for i = 1, 2 do
                         local RuneCDstart, RuneCDduration = GetRuneCooldown(i)
                        if GetRuneType(i) == 1
                        and ( RuneCDstart + RuneCDduration - GetTime() > 0 ) then
                            if (name ~= nil and count >= 5) then
                                local unitname = GetUnitName(customTarget)
                                local Interruptspellname = GetSpellInfo(PQR_InterruptSpell())
                                PQR_Event("PQR_Text", "Interrupted - "..unitname..": "..castName.." - With: "..Interruptspellname.." - Used: "..GetSpellInfo(45529), 20, "DC143C")                        
                                CastSpellByName(GetSpellInfo(45529), "player")
                                CastSpellByID(interruptSpell, customTarget)
                                return true
                            end
                        else
                            return false
                        end
                    end
                elseif PQR_InterruptSpell() == 47528 then
                    local unitname = GetUnitName(customTarget)
                    local Interruptspellname = GetSpellInfo(PQR_InterruptSpell())
                    PQR_Event("PQR_Text", "Interrupted - "..unitname..": "..castName.." - With: "..Interruptspellname, 20, "DC143C")
                    CastSpellID(interruptSpell, customTarget)
                    return true
                end
            else
                local unitname = GetUnitName(customTarget)
                local Interruptspellname = GetSpellInfo(PQR_InterruptSpell())
                PQR_Event("PQR_Text", "Interrupted - "..unitname..": "..castName.." - With: "..Interruptspellname, 20, "DC143C")
                PQR_Debug("Casting interrupt on "..customTarget)
                CastSpellByID(interruptSpell, customTarget)
                return true
            end
        end
        
    end 
    Thank you so much =) +rep

  10. #11080
    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)
    does no one else remember failroad ?? its the same guy again trolling and moaning about PQR ! either that or his twin brother, always saying he has something WAY better and never letting anyone else use it

  11. #11081
    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 sparkyiezz View Post
    How many cores should I run pqr on? I have 4, no mattere what profile I run for somereason I dont loose much FPS but what happens is it makes the game much more unsmooth its like not laggy but un-smooth
    whos profile are you using?

    also Ment brought up this up, If your using PQR_UnitDistance(), or the one to if behind or facing try adding a global PQR_UnitInfo("player") and PQR_UnitInfo("target") and see if that helps with the laggeness.

    Please if someone helped you donate rep to them.

  12. #11082
    vitalic's Avatar Contributor CoreCoins Purchaser
    Reputation
    182
    Join Date
    Jun 2010
    Posts
    3,527
    Thanks G/R
    8/3
    Trade Feedback
    10 (100%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by crystal_tech View Post
    whos profile are you using?

    also Ment brought up this up, If your using PQR_UnitDistance(), or the one to if behind or facing try adding a global PQR_UnitInfo("player") and PQR_UnitInfo("target") and see if that helps with the laggeness.
    How would that help exactly?

  13. #11083
    sparkyiezz's Avatar Member
    Reputation
    3
    Join Date
    Apr 2013
    Posts
    282
    Thanks G/R
    0/2
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by crystal_tech View Post
    whos profile are you using?

    also Ment brought up this up, If your using PQR_UnitDistance(), or the one to if behind or facing try adding a global PQR_UnitInfo("player") and PQR_UnitInfo("target") and see if that helps with the laggeness.
    using cokx profile, he told me to change some numbers and its more stable now xD

  14. #11084
    Kinky's Avatar Banned CoreCoins Purchaser
    Reputation
    481
    Join Date
    Nov 2008
    Posts
    500
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @vitalic: It calls the player tracker that Xelper uses for those functions, like current coordinates and more. Without it, you'll get errors in form of "Action blocked by Blizzard" through the interface resulting in the Lua being disabled (fixed with a restart) or in a worst case scenario, a lagging profile. I'd find the documentation on it, but I'm not home right now.

    Sent from my HTC One using Tapatalk 4

  15. #11085
    vitalic's Avatar Contributor CoreCoins Purchaser
    Reputation
    182
    Join Date
    Jun 2010
    Posts
    3,527
    Thanks G/R
    8/3
    Trade Feedback
    10 (100%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by mentally View Post
    @vitalic: It calls the player tracker that Xelper uses for those functions, like current coordinates and more. Without it, you'll get errors in form of "Action blocked by Blizzard" through the interface resulting in the Lua being disabled (fixed with a restart) or in a worst case scenario, a lagging profile. I'd find the documentation on it, but I'm not home right now.

    Sent from my HTC One using Tapatalk 4
    I'll try that out, sometimes I feel like I start to lag after a while with PQR_UnitFacing() calls, I try to mitigate it as much as possible by making it the very last check or providing an option to bypass it completely, but it would be good to have that fixed.

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