PQR - Rotation Bot menu

User Tag List

Page 531 of 779 FirstFirst ... 31431481527528529530531532533534535581631 ... LastLast
Results 7,951 to 7,965 of 11681
  1. #7951
    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)
    @pdey:
    Code:
    local mana = UnitPower("player") / UnitPowerMax("player") * 100
    
    -- Halo
    if IsPlayerSpell(120517) and mana >= 35 then
    	CastSpellByName(GetSpellInfo(120517),nil)
    	return true
    end
    
    -- Battle Horn
    if GetItemCooldown(86565) == 0 and mana >= 25 then
    	UseItemByName(5512)
    	return true
    end
    
    -- Dispersion
    if mana < 50 then
    	CastSpellByName(GetSpellInfo(47585),"player")
    	return true
    end
    It's very simple, though, you might want to add a cooldown check on Dispersion, I've not included one here.

    @scuzi: It'd be a lot more useffull if you post which kind of profile you're using before we can help you! I assume you've put yourself in combat and activated the profile using the key combination in PQR?
    Last edited by Kinky; 02-15-2013 at 03:51 PM.

    PQR - Rotation Bot
  2. #7952
    reapagedk's Avatar Member
    Reputation
    9
    Join Date
    Sep 2009
    Posts
    62
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    also scuzi some of the gylphs change spell ids so that could also be messing it up.

  3. #7953
    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)
    Originally Posted by mentally View Post
    @pdey:
    Code:
    local mana = UnitPower("player") / UnitPowerMax("player") * 100
    
    -- Halo
    if IsPlayerSpell(120517) and mana >= 35 then
    	CastSpellByName(GetSpellInfo(120517),nil)
    	return true
    end
    
    -- Battle Horn
    if GetItemCooldown(86565) == 0 and mana >= 25 then
    	UseItemByName(5512)
    	return true
    end
    
    -- Dispersion
    if mana < 50 then
    	CastSpellByName(GetSpellInfo(47585),"player")
    	return true
    end
    It's very simple, though, you might want to add a cooldown check on Dispersion, I've not included one here.

    @scuzi: It'd be a lot more useffull if you post which kind of profile you're using before we can help you! I assume you've put yourself in combat and activated the profile using the key combination in PQR?
    didnt he autmaticaly skip the abillity if it has a cooldown? if not.. the Halo needs a cooldowncheck too

    Edit Dispersion and Halo works.. i simply abused the *recast delay* for cooldown but the battle horn wont work.. i tried already everything ...

    at last :

    Code:
    local mana = UnitPower("player") / UnitPowerMax("player") * 100
    if mana < 25 then
    	UseItemByName(Schlachthorn)
    	return true 
      end


    Whats wrong?
    Last edited by Pdey; 02-15-2013 at 05:58 PM.

  4. #7954
    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)
    @Pdey: UseItemByName require a item ID or a Item Name. I most likely got the item ID of the Battle Horn wrong. But I'm glad you got it all to work!

  5. #7955
    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)
    Originally Posted by mentally View Post
    @Pdey: UseItemByName require a item ID or a Item Name. I most likely got the item ID of the Battle Horn wrong. But I'm glad you got it all to work!
    i'm sorry.. the battle horn wont work..

    the *schlachthprn* is just the german name for the Battle horn

    anyway it wont work..

    may you had a tip for me?

  6. #7956
    evlow's Avatar Contributor
    Reputation
    171
    Join Date
    Sep 2007
    Posts
    233
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    try UseItemByName(86565) vs. UseItemByName(5512)

  7. #7957
    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)
    Originally Posted by evlow View Post
    try UseItemByName(86565) vs. UseItemByName(5512)
    what the hell.. it worked..

    i already tryd this one before because the 5512 was a mana gem...
    THX!!

  8. #7958
    hordesucks1's Avatar Private
    Reputation
    1
    Join Date
    Feb 2013
    Posts
    8
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks! i will be using this
    Wanna solo heroics? grind out 1000 gold/hour? multiboxing ftw https://tinyurl.com/cvoyvqu
    I make a living playing WoW, and you also can https://tinyurl.com/d3soeer

  9. #7959
    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)

  10. #7960
    monopoly8's Avatar Member
    Reputation
    2
    Join Date
    Nov 2012
    Posts
    98
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hey i still cant find the ptr offsets Xelper said he poted, if somebody could link to where he posted it would be nice, ive been searching this thread all day and i only see him saying he posted it. or pm me with it, much appreciated! for PTR

  11. #7961
    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)
    @monopoly8: You don't mind them, you open PQR and when selecting your WoW process, click the button "Download Offsets"

    If you've done this already and PQR still can't detect World of Warcraft in your processes list, the version of WoW you're running doesn't have offsets yet.

  12. #7962
    monopoly8's Avatar Member
    Reputation
    2
    Join Date
    Nov 2012
    Posts
    98
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Alright, i guess the ptr version right now doesnt have offsets made yet cause of the changes they keep doing. thank you

  13. #7963
    osbornx22's Avatar Sergeant
    Reputation
    14
    Join Date
    Nov 2009
    Posts
    69
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i try to make dispel ability, but it doenst dispel anything and i dont know why. no lua error

    ability: dispel any friendly player in range and line of sight without "dont-dispel-debuffs". if there are more of these in range, dispel the one with most dispellable debuffs.

    Code:
    local group = "solo"
    
    if IsInRaid() then
    	group = "raid"
    elseif IsInGroup() then
    	group = "party"
    end
    
    if group ~= "solo" then
    	local max = GetNumGroupMembers()	
    	
    	local count = 0
    	local maxCount = 0
    	local maxTar = "player"
    		
    	for num = 1, max do	
    		local mem = group..num
    		
    		if IsSpellInRange("Läuterung",mem) == 1
    		and not PQR_IsOutOfSight(mem)
    		and UnitDebuffID(mem, 33786) == nil
    		and UnitDebuffID(mem, 131736) == nil
    		and UnitDebuffID(mem, 30108) == nil
    		and UnitDebuffID(mem, 30108) == nil
    		and UnitDebuffID(mem, 124465) == nil
    		and UnitDebuffID(mem, 34914) == nil
    		then			
    			count = 0
    				
    			for k = 1, 40 do			
    				local name, rank, icon, count, type = UnitDebuff(mem,k)
    				
    				if type == "Poison"
    				or type == "Disease"
    				or type == "Magic"
    				then
    					count = count + 1					
    				end					
    			end		
    		
    			if count > maxCount then
    				maxTar = mem
    				maxCount = count				
    			end			
    		end				
    	end
    	
    	if maxCount > 0 then		
    		PQR_CustomTarget = maxTar
    		return true
    	end	
    end
    where is the problem?

    PS: is there any faster way to get just dispellable debuffs?

    PPS: in group or solo (means not raid) this code doesnt dispel the player self, i know it is not finished yet
    Last edited by osbornx22; 02-18-2013 at 07:39 AM.

  14. #7964
    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)
    @osbornx22: It's not working because "solo" is not a defined environment. Also, you're endlessly looping the dispel function without it ever returning true.
    You're also leaking memory by stacking count way too high without ever depleting the variable.

    I believe this function should let you do it:
    PHP Code:
    -- Group setting
    if IsInRaid() then group "raid"
        
    elseif IsInGroup() then group "party" end

    if GetNumGroupMembers() > 0 then
        
    -- Loop party or raid members
        
    for i=1,GetNumGroupMembers() do
            
    local member group..i
            
            
    -- Do not dispel these spells
            local blackList 
    = {}
            
            -- 
    Dispel Type
            local dispelType 
    = {Magic,Disease}
            
            -- 
    At any given timewe can only have a total of 40 debuffs
            
    for i=1,40 do
                -- 
    Loop our dispelTypes
                
    for x=1,#dispelType do
                    
    -- Only fetch debuffs matching dispelType
                    
    if select(5,UnitDebuff(member,i)) == dispelType[xthen
                        
    -- If it's blacklisted, don't dispel it
                        
    for i=1,#blackList do
                            
    if UnitDebuff(member,blackList[i]) then return false end
                        end
                        
                        
    -- At this pointwe've cross referenced everything - Proceed
                        return true
                    end
                end
            end
        end
    end 
    I've tried to document every step on the way for you, alternatively you could save some CPU power by hard-coding dispelType instead or looping a list of dispelTypes.
    Remember that you absolutely need to set dispelType correctly, or you will dispel debuffs that you can't do and endlessly loop the function. Also, if you have some debuffs you DO NOT want to dispel, place their spell ID inside the blackList list, separate with comma. Just something I quickly created just for you that allows you to customize it to your liking without having to add and mess around with the code too much.

    Also, make sure you set the correct Spell ID in the Spell ID box on the PQR ability, and I would recommend setting the recast delay to 1000 do simply don't spam the ability endlessly.
    Last edited by Kinky; 02-18-2013 at 08:13 AM.

  15. #7965
    osbornx22's Avatar Sergeant
    Reputation
    14
    Join Date
    Nov 2009
    Posts
    69
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thank you for this mentally, but i think solo is not the problem, because this is working correctly:

    Code:
    local group = "solo"
    
    if IsInRaid() then
    	group = "raid"
    elseif IsInGroup() then
    	group = "party"
    end
    
    if group ~= "solo" then
    	local max = GetNumGroupMembers()	
    		
    	for num = 1, max do	
    		local mem = group..num	
    		
    		if IsSpellInRange("Läuterung",mem) == 1
    		and not PQR_IsOutOfSight(mem)
    		and UnitDebuffID(mem, 33786) == nil
    		and UnitDebuffID(mem, 131736) == nil
    		and UnitDebuffID(mem, 30108) == nil
    		and UnitDebuffID(mem, 30108) == nil
    		and UnitDebuffID(mem, 124465) == nil
    		and UnitDebuffID(mem, 34914) == nil
    		then				
    			for k = 1, 40 do			
    				local name, rank, icon, count, type = UnitDebuff(mem,k)
    				
    				if type == "Poison"
    				or type == "Disease"
    				or type == "Magic"
    				then
    					PQR_CustomTarget = mem
    					return true					
    				end					
    			end					
    		end							
    	end	
    end
    your code is also ok i think, but i want to dispel the one with the most dispellable debuffs, not the first i found. After extending my code here above with the count-thing, they dispel nothing and i dont know why

    your code also doesnt count this is not what i search. your code is just more "beautiful" but doenst do more then my code

    what do you mean with "solo is not a defined environment"? i just checking if its a string "solo" or not.

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 11:47 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search