PQR - Rotation Bot menu

Shout-Out

User Tag List

Page 604 of 779 FirstFirst ... 104504554600601602603604605606607608654704 ... LastLast
Results 9,046 to 9,060 of 11681
  1. #9046
    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)
    You should really post the block of code youre working with.
    WoW LUA Script Developer
    Need Something Custom? WarmaneScripts.com
    Skype - grapejuice111

    PQR - Rotation Bot
  2. #9047
    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 cpowroks View Post
    You should really post the block of code youre working with.
    Code:
    if PQR_SpellAvailable(115921) and IsSpellKnown(115921) then
    
    	for i=1, #members do
            if not UnitIsDeadOrGhost(members[i].Unit) and IsSpellInRange(GetSpellInfo(115921), members[i].Unit) == 1 then
            
            	local BuffList	= { 
    	117666,		-- monk
    	1126,		-- druid
    	20217,		-- paladin
    	90363	 	-- hunter's pet
    
    	}
    			
    			local b = 0
    			
            	        for j=1, #BuffList do
    				if UnitBuffID(members[i].Unit, BuffList[j]) ~= nil then
    				b = 1
    				end
    			end
    			
    			if b == 0 then
    				PQR_CustomTarget = members[i].Unit
    				return true
    			end
    			
                    end
    	end
    end

  3. #9048
    Pdey's Avatar Contributor
    Reputation
    139
    Join Date
    Aug 2011
    Posts
    271
    Thanks G/R
    4/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    need some help... ^^

    Cast spell 17 if i don't have defbuff ''Weakened Soul''

    will spend you some rep for help :3

  4. #9049
    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 Pdey View Post
    need some help... ^^

    Cast spell 17 if i don't have defbuff ''Weakened Soul''

    will spend you some rep for help :3
    PHP Code:
    if not UnitDebuffID("player",6788) and PQR_SpellAvailable(17then
        CastSpellByName
    (GetSpellInfo(17),"player")
        return 
    true
    end 
    That should work.

  5. #9050
    Pdey's Avatar Contributor
    Reputation
    139
    Join Date
    Aug 2011
    Posts
    271
    Thanks G/R
    4/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    damn... tryed myself to add some spells ..

    all i got was some laggs... ^^

    Flashheal:
    if Nova_UnitInfo("player") <= 40 then
    return true
    end

    Renew:
    if Nova_UnitInfo("player") <= 80 then
    return true
    end

    Vampiric Embrace:
    if PQR_SpellAvailable(15286)
    and Nova_UnitInfo("player") <= 20 then
    return true
    end
    what was missing?
    (spell IDs was added in the box in the bot on the left side...

  6. #9051
    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)
    I lied. its wokring.
    Last edited by blaythe; 03-29-2013 at 08:19 PM.
    Blaythes Destruction Warlock
    https://goo.gl/vUUhW

  7. #9052
    greaver77's Avatar Member
    Reputation
    1
    Join Date
    Jan 2012
    Posts
    8
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can anyone tell me why when I set up the intterupt bot and no matter what I set the delay at 20ms all the way to 1000ms It still just interrupts as fast as it can . Am i doing something wrong here >

  8. #9053
    spearfish's Avatar Member CoreCoins Purchaser
    Reputation
    1
    Join Date
    Apr 2007
    Posts
    46
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by greaver77 View Post
    Can anyone tell me why when I set up the intterupt bot and no matter what I set the delay at 20ms all the way to 1000ms It still just interrupts as fast as it can . Am i doing something wrong here >
    use this
    http://www.ownedcore.com/forums/showthread.php?t=405389
    [PQR] Interrupt with random delay

    drop it into your interrupt folder in profiles then select as the interrupt profile the setting you are playing with is how often pqr checks to see if a scripted ability is of CD I believe

    Sent from my GT-I9300 using Tapatalk 2
    Last edited by spearfish; 03-29-2013 at 10:25 PM.

  9. #9054
    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)
    I don't know why PQR_Nova_Data.lua wasn't loaded and how to make it, but I found members table initialization, now everything works well, i believe ^^
    next step:
    i need to do Shadowed Soul debuff check and use ExtraActionButton1 on nearest valid raid member who have no Soul Fragment and with 6 or lesser stacks of Shadowed Soul, but i dont know how to use ExtraActionButton1 on target

    should it work?
    Code:
    if UnitDebuffID("player", 137641) then  -- Soul Fragment check
    	local _, _, _, SScount = UnitDebuffID("player", 137650) -- Shadowed Soul stacks on player
    	if SScount > 6 then
    		local mSSs = 6
    		while UnitDebuffID("player", 137641) do -- while debuff 
    			members = { { Unit = "player" } }
    			group = "raid"
    		  	for i = 1, GetNumGroupMembers() do
    				table.insert( members,{ Unit = group..i } )
    			end
    			for i=1, #members do -- looking for valid raid member
    				local _, _, _, membersSScount = UnitDebuffID(members[i].Unit, 137650)
    				local SoulFragment = UnitDebuffID(members[i].Unit, 137641)
    				local ShadowedSoul = UnitDebuffID(members[i].Unit, 137650)
                		        if not SoulFragment and not ShadowedSoul
            		        or not SoulFragment and ShadowedSoul and membersSScount <= mSSs then
            			        TargetUnit(members[i].Unit)
    					RunMacroText("/click ExtraActionButton1") -- spent debuff
    					TargetLastTarget()
        		                end
    			end
    		mSSs = mSSs + 1 -- when all raid members got 6 more stacks
    		end
    	end
    end
    Last edited by WWF; 03-30-2013 at 10:38 AM.

  10. #9055
    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)
    can someone tell me why this works

    Code:
    	if (ImmolateAoE == nil) then
    		CastSpellByName(tostring(GetSpellInfo(108683)))
    		CastSpellByName(tostring(GetSpellInfo(108686)))
    		return true
    	end

    but this code with a soulshard check

    Code:
    	if (ImmolateAoE == nil) and PQ_Soulshard > 1 then
    		CastSpellByName(tostring(GetSpellInfo(108683)))
    		CastSpellByName(tostring(GetSpellInfo(108686)))
    		return true
    	end
    throws this error

    Code:
    Date: 2013-03-30 18:31:21
    ID: 1
    Error occured in: Global
    Count: 1
    Message: [string "local CurrentCast = UnitCastingInfo("player..."] line 67:
       attempt to perform arithmetic on local 'ImmolateAoEtimer' (a nil value)
    Debug:
       [string "local CurrentCast = UnitCastingInfo("player..."]:67: ?()
       [string "if PQR_Addon_Loaded == nil then..."]:765: PQR_NextAbility()
       [string "if PQR_Addon_Loaded == nil then..."]:534: PQR_ExecuteRotation()
       [string "if PQR_Addon_Loaded == nil then..."]:287:
          [string "if PQR_Addon_Loaded == nil then..."]:214
    Locals:
    CurrentCast = nil
    Immolate = nil
    _ = nil
    _ = nil
    _ = nil
    _ = nil
    _ = nil
    Immolatetimer = nil
    ImmolateAoE = nil
    _ = nil
    _ = nil
    _ = nil
    _ = nil
    _ = nil
    ImmolateAoEtimer = nil
    (*temporary) = 11038.573
    (*temporary) = 11038.573
    (*temporary) = true
    (*temporary) = nil
    (*temporary) = "attempt to perform arithmetic on local 'ImmolateAoEtimer' (a nil value)"

  11. #9056
    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 Mavmins View Post
    can someone tell me why this works

    Code:
    	if (ImmolateAoE == nil) then
    		CastSpellByName(tostring(GetSpellInfo(108683)))
    		CastSpellByName(tostring(GetSpellInfo(108686)))
    		return true
    	end

    but this code with a soulshard check

    Code:
    	if (ImmolateAoE == nil) and PQ_Soulshard > 1 then
    		CastSpellByName(tostring(GetSpellInfo(108683)))
    		CastSpellByName(tostring(GetSpellInfo(108686)))
    		return true
    	end
    throws this error

    Code:
    Date: 2013-03-30 18:31:21
    ID: 1
    Error occured in: Global
    Count: 1
    Message: [string "local CurrentCast = UnitCastingInfo("player..."] line 67:
       attempt to perform arithmetic on local 'ImmolateAoEtimer' (a nil value)
    Debug:
       [string "local CurrentCast = UnitCastingInfo("player..."]:67: ?()
       [string "if PQR_Addon_Loaded == nil then..."]:765: PQR_NextAbility()
       [string "if PQR_Addon_Loaded == nil then..."]:534: PQR_ExecuteRotation()
       [string "if PQR_Addon_Loaded == nil then..."]:287:
          [string "if PQR_Addon_Loaded == nil then..."]:214
    Locals:
    CurrentCast = nil
    Immolate = nil
    _ = nil
    _ = nil
    _ = nil
    _ = nil
    _ = nil
    Immolatetimer = nil
    ImmolateAoE = nil
    _ = nil
    _ = nil
    _ = nil
    _ = nil
    _ = nil
    ImmolateAoEtimer = nil
    (*temporary) = 11038.573
    (*temporary) = 11038.573
    (*temporary) = true
    (*temporary) = nil
    (*temporary) = "attempt to perform arithmetic on local 'ImmolateAoEtimer' (a nil value)"
    The code you posted isn't the problem. The error clearly indicates you are trying to perform math on a nil value ('ImmolateAoEtimer.') which is nowhere to be found in your posted code.


    Sent from my iPhone using Tapatalk

  12. #9057
    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)
    here is the full code

    Code:
    local CurrentCast = UnitCastingInfo("player")
    local Immolate,_,_,_,_,_,Immolatetimer = UnitDebuffID("target",348,"PLAYER")
    local ImmolateAoE,_,_,_,_,_,ImmolateAoEtimer = UnitDebuffID("target",134972,"PLAYER")
    
    if not IsPlayerSpell(137587) then
    	if PQR_IsMoving(0.3) then
    		return false
    	end
    end
    
    if CurrentCast == "Immolate" then
    	return false
    end
    
    if not PQ_Zaslon then
    	if Immolate == nil then
    	CastSpellByName(tostring(GetSpellInfo(348)))
    	return true
    	end
    	
    	if Immolatetimer - GetTime() < 5 then
    	CastSpellByName(tostring(GetSpellInfo(348)))
    	return true
    	end
    end
    
    if PQ_Zaslon then
    	if (ImmolateAoE == nil) then
    	if PQ_SoulShard < 1 then
    		CastSpellByName(tostring(GetSpellInfo(108683)))
    		CastSpellByName(tostring(GetSpellInfo(108686)))
    		return true
    		end
    	end
    	
    	if (ImmolateAoEtimer - GetTime()) < 5 then
    		CastSpellByName(tostring(GetSpellInfo(108683)))
    		CastSpellByName(tostring(GetSpellInfo(108686)))
    		return true
    	end
    end
    the only thing im changing is the soulshard check and it works flawlessly without it

  13. #9058
    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 yuppyy View Post
    Xelper, any chance you could post the logic of PQR_IsMoving() here?
    Would be very interesting to see how it works! GetPlayerMapPosition("player") ?
    There is too much to tear out and post here...but basically I monitor/track the players x/y coordinates every X milliseconds, and if they have been changing for the last Y milliseconds it returns true.


    Sent from my iPhone using Tapatalk

  14. #9059
    greaver77's Avatar Member
    Reputation
    1
    Join Date
    Jan 2012
    Posts
    8
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So Im starting to understand this interrupt part of the bot but im trying to see now how do I add another intterupt spell to the list and make it so it does not use both at the same time is this possible I see

    if xelperInterruptInit == nil then
    --TestComment
    xelperInterruptInit = true
    function PQR_InterruptSpell()
    local _, playerClass = UnitClass("player")

    if playerClass == "DEATHKNIGHT" then
    return 47528
    elseif playerClass == "DRUID" then
    local catForm = UnitBuffID("player", 76
    if catForm ~= nil then
    return 80965
    else
    return 80964
    end
    elseif playerClass == "HUNTER" then
    return 34490
    elseif playerClass == "MAGE" then
    return 2139
    elseif playerClass == "PALADIN" then
    return 96231
    elseif playerClass == "PRIEST" then
    return 15487
    elseif playerClass == "ROGUE" then
    return 1766
    elseif playerClass == "SHAMAN" then
    return 57994
    elseif playerClass == "WARLOCK" then
    return 19647
    elseif playerClass == "WARRIOR" then
    return 6552
    else
    return 0
    end
    end
    end

    and Im playing warrior atm and I see pummel set up is there a way to add Disrupting shout to the list so it will rotate both intterupts ? spell ID = 102060 anyone that can help with this ?

  15. #9060
    crystal_tech's Avatar Elite User
    Reputation
    468
    Join Date
    Feb 2008
    Posts
    1,036
    Thanks G/R
    1/6
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by greaver77 View Post
    So Im starting to understand this interrupt part of the bot but im trying to see now how do I add another intterupt spell to the list and make it so it does not use both at the same time is this possible I see

    if xelperInterruptInit == nil then
    --TestComment
    xelperInterruptInit = true
    function PQR_InterruptSpell()
    local _, playerClass = UnitClass("player")

    if playerClass == "DEATHKNIGHT" then
    return 47528
    elseif playerClass == "DRUID" then
    local catForm = UnitBuffID("player", 76
    if catForm ~= nil then
    return 80965
    else
    return 80964
    end
    elseif playerClass == "HUNTER" then
    return 34490
    elseif playerClass == "MAGE" then
    return 2139
    elseif playerClass == "PALADIN" then
    return 96231
    elseif playerClass == "PRIEST" then
    return 15487
    elseif playerClass == "ROGUE" then
    return 1766
    elseif playerClass == "SHAMAN" then
    return 57994
    elseif playerClass == "WARLOCK" then
    return 19647
    elseif playerClass == "WARRIOR" then
    return 6552
    else
    return 0
    end
    end
    end

    and Im playing warrior atm and I see pummel set up is there a way to add Disrupting shout to the list so it will rotate both intterupts ? spell ID = 102060 anyone that can help with this ?
    change the elseif playerclass line to this

    PHP Code:
    elseif playerClass == "WARRIOR" then
        
    if PQR_SpellAvailable(6552then
            
    return 6552
        
    elseif IsPlayerSpell(102060)
            and 
    PQR_SpellAvailable(102060)
            and 
    not PQR_SpellAvailable(6552)
        
    then
            
    return 102060
        end 

    Please if someone helped you donate rep to them.

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 09:40 AM. 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