[BETA] PQRotation - an automated ability priority queue. menu

User Tag List

Page 523 of 731 FirstFirst ... 23423473519520521522523524525526527573623 ... LastLast
Results 7,831 to 7,845 of 10955
  1. #7831
    googlebee's Avatar Contributor PQR Profile Developer CoreCoins Purchaser
    Reputation
    235
    Join Date
    Oct 2007
    Posts
    478
    Thanks G/R
    0/0
    Trade Feedback
    9 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by imdasandman View Post
    Bubu code:
    Code:
    local PQ_Debuff, _, _, count = UnitDebuffID("target", 33745)
    
    if PQ_Debuff then
      if count <= 2 then
        return true
      elseif count >= 3 then
        return false
      end
    else
      return true
    end
    I think he had a small typo not totally sure

    try this:

    Code:
    local PQ_Debuff, _, _, count = UnitDebuffID("target", 33745)
    
    if PQ_Debuff then
      if count <= 2 then
        return true
      else
      if count >= 3 then
        return false
      end
    else
      return true
    end
    also try this one because for some odd reason there are 2 return true statements in that bit of code and can cause maybe an issue? I am no pro but it doesn't seem right...

    Code:
    local PQ_Debuff, _, _, count = UnitDebuffID("target", 33745)
    
    if PQ_Debuff then
      if count <= 2 then
        return true
      else
      if count >= 3 then
        return false
      end
    end
    Aye thanks for the pointer, i noticed that as well and fixed it too.

    However it is still applying lacerates when at 3 stacks......no idea why.

    [BETA] PQRotation - an automated ability priority queue.
  2. #7832
    imdasandman's Avatar Contributor
    Reputation
    206
    Join Date
    Feb 2011
    Posts
    965
    Thanks G/R
    9/4
    Trade Feedback
    7 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Nerigal View Post
    Hello, I am new here.
    forgive my poor English skills. :-) I've heard from a friend that there is something here do not really think it's too bad but with my destructive witch I make 5-6k dps more like a profile on here. schadow the profile is quite good, I'm only 4 k over it manually you have to or you can customize the profile to specify any tempo caps so it is more then the profile? just do not understand ... whether fast or values ​​are calculated does with magic or if it just runs on standard and the values ​​they themselves still have to adapt.
    make your post in your native language maybe someone here can help you better because I can barely decipher what you are asking. And I have no idea whom you are asking your question to?

    Valma makes the nice Warlock profiles btw.
    My Frost/Unholy DK WoL ranking edits(4.3) and crystals Hunter Beta profiles-
    https://imdasandmandeathknight.googl...com/svn/trunk/
    Originally Posted by Valma View Post
    Oh sure. (: Plz,lord,rewrite my profile without "re-inventing a wheel".I'm really interested how would you do so.I even ready to eat my pants if yours will perform better in raids than mine

  3. #7833
    ishtro's Avatar Master Sergeant
    Reputation
    36
    Join Date
    Jul 2010
    Posts
    74
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    here is some basic functions i have started to use.

    Code:
    ---------------------------------
    ---------- Buff Checks ----------
    ---------------------------------
    --Has Buff
    function PQ_hasBuff(buff)
    	if UnitBuffID("player",buff) then 
    		return true
    	end
    end
    
    --Time Remaining
    function PQ_Btr(buff)
    	local name,_,_,_,_,_,expiration = UnitBuffID("player",buff);
    	if not name then 
    		return 0 
    	end
    	return (expiration - GetTime());
    end
    
    --Stack Count
    function PQ_Bstack(buff)
    	local name,_,_,count = UnitBuffID("player",buff);
    	if not name then 
    		return 0 
    	end
    	return count
    end
    
    ---------------------------------
    --------- Debuff Checks ---------
    ---------------------------------
    --Has Debuff
    function PQ_hasDebuff(debuff)
    	local rank = select(2,UnitDebuffID("target",debuff));
    	if not rank then 
    		return false 
    	end
    	if not UnitDebuffID("target",debuff,rank,"PLAYER") then 
    		return false 
    	else 
    		return true 
    	end;
    end
    
    --Debuff on Target
    function PQ_Debuff(debuff)
    	if not UnitDebuffID("target",debuff) then 
    		return false 
    	else 
    		return true 
    	end;
    end
    
    --Time Remaining
    function PQ_Dbtr(debuff)
    	local rank = select(2,UnitDebuffID("target",debuff));
    	if not rank then 
    		return 0 
    	end
    	local name,_,_,_,_,_,expiration = UnitDebuffID("target",debuff,rank,"PLAYER");
    	if not name then 
    		return 0 
    	end
    	return (expiration - GetTime());
    end
    
    --Stacks
    function PQ_Dbstack(debuff)
    	local rank = select(2,UnitDebuffID("target",debuff));
    	if not rank then 
    		return 0 
    	end
    	local name,_,_,count = UnitDebuffID("target",debuff,rank,"PLAYER");
    	if not name then 
    		return 0 
    	end
    	return count;
    end
    
    ---------------------------------
    -------- Spell Cooldown ---------
    ---------------------------------
    function PQ_CD(spell)
    	local start,duration,enable = GetSpellCooldown(spell);
    	if start == nil then 
    		return 99999 
    	end
    	if start == 0 then
    		return 0;
    	else
    		return duration - (GetTime() - start);
    	end
    end
    
    --Lust, Heroism, Time Warp, Ancient Hysteria or Bloodlust
    function PQ_Lust()
    	if PQ_hasBuff(32182) or PQ_hasBuff(80353) or PQ_hasBuff(90355) or PQ_hasBuff(2825) then
    		return true;
    	else
    		return false;
    	end
    end

  4. #7834
    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)
    I just put out a quick update with a bugfix that translates the URL encoding characters in profile update URLs to their normal values: example: %20 to space. This way if the URL for your download update button is "Xelpers%20Interrupt%20Profile_INTERRUPT_Rotations.xml" it will save it as "Xelpers Interrupt Profile_INTERRUPT_Rotations.xml"

    Just run PQR Updater from your current directory to download the fix. If you do not have the latest (and final) version of PQR Updater it is available here: (Just paste the .exe into your current PQR directory)

    http://dl.dropbox.com/u/39925787/PQR.zip

    Still labeled v2.0.6.
    Last edited by Xelper; 03-18-2012 at 08:56 PM.

  5. #7835
    daveyboyuk's Avatar Active Member
    Reputation
    31
    Join Date
    May 2009
    Posts
    201
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @ imdasndman love your edits plenty of ranks just tried ur new edit with added pestilence however it seems to be casting dnd not pestilence for me respect to original coders that made these possible

  6. #7836
    googlebee's Avatar Contributor PQR Profile Developer CoreCoins Purchaser
    Reputation
    235
    Join Date
    Oct 2007
    Posts
    478
    Thanks G/R
    0/0
    Trade Feedback
    9 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    im done for the night - this shit is killing my brain.....had this profile working flawlessly.....copy it over to the new PQR 2.0.6 fire it up and BLAMO EHHHHH WRONG GUESS! broken...........

    been at this all damn day too...god...

    W T F IS WRONG!
    Last edited by googlebee; 03-18-2012 at 09:58 PM.

  7. #7837
    imdasandman's Avatar Contributor
    Reputation
    206
    Join Date
    Feb 2011
    Posts
    965
    Thanks G/R
    9/4
    Trade Feedback
    7 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by daveyboyuk View Post
    @ imdasndman love your edits plenty of ranks just tried ur new edit with added pestilence however it seems to be casting dnd not pestilence for me respect to original coders that made these possible
    are you using your right Alt button to spread pest? left Control is my Dnd button for all rotations.

    to rest of the people here that likes using the wiki for PQR I updated my rotations on there in the DK section... cheers
    Last edited by imdasandman; 03-18-2012 at 10:03 PM.
    My Frost/Unholy DK WoL ranking edits(4.3) and crystals Hunter Beta profiles-
    https://imdasandmandeathknight.googl...com/svn/trunk/
    Originally Posted by Valma View Post
    Oh sure. (: Plz,lord,rewrite my profile without "re-inventing a wheel".I'm really interested how would you do so.I even ready to eat my pants if yours will perform better in raids than mine

  8. #7838
    kickmydog's Avatar Contributor
    Reputation
    257
    Join Date
    Jul 2011
    Posts
    635
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by bu_ba_911 View Post
    Code:
    local myTable = {
    	"Twilight Assault Drake",
    	"Twilight Assassin",
    	"Raider's Training Dummy",
    	"Arm Tentacle",
    	"Wing Tentacle",
    	"Mutated Corruption",
    	"Mana Void",
    	"Elementium Bolt",
    	"Burning Tendons",
    	"Warmaster Blackhorn",
    	"Goriona"
    }
    for i=1,#myTable do
    	if not UnitExists("target") then
    		RunMacroText("/tar "..myTable[i])
    	else
    		if IsSpellInRange(GetSpellInfo(20271), "target") == 1
    			and not UnitIsDeadOrGhost("target") -- Can't have this enabled to test Dummies
    			and UnitCanAttack("player","target")
    			and not PQR_IsOutOfSight("target", 1)
    		then return false else RunMacroText("/cleartarget") end
    	end
    end
    I edited this to test on my Pally, and made the change I recommended and it worked beautiful Mentally <3

    Wonderful Mentally I wish i could rep you more lol (Anyone willing to rep her for me?)

    Here's Mentally's idea in the form of auto Focusing Targets

    Code:
    local myTable = {
    	"Twilight Assault Drake",
    	"Twilight Assassin",
    	"Raider's Training Dummy",
    	"Arm Tentacle",
    	"Wing Tentacle",
    	"Mutated Corruption",
    	"Mana Void",
    	"Elementium Bolt",
    	"Burning Tendons",
    	"Warmaster Blackhorn",
    	"Goriona"
    }
    for i=1,#myTable do
    	if not UnitExists("focus") then
    		RunMacroText("/tar "..myTable[i])
    		if UnitExists("target") and UnitName("target") == myTable[i] then
    			RunMacroText("/focus")
    			TargetLastTarget()
    		end
    	else
    		if IsSpellInRange(GetSpellInfo(20271), "focus") == 1
    			and not UnitIsDeadOrGhost("focus") -- Can't have this enabled to test Dummies
    			and UnitCanAttack("player","focus")
    			and not PQR_IsOutOfSight("focus", 1)
    		then return false else RunMacroText("/clearfocus") end
    	end
    end
    I think this need a target exact in it. I tried running this on Heroic Blackthorn, and omg, the most horrible thing ever, constantly targeting Twilight Elites even when I was manually targeting the drakes. It also cycles through targets a lot, very distracting!
    https://www.ownedcore.com/forums/world-of-warcraft/world-of-warcraft-bots-programs/wow-bot-maps-profiles/422388-kickmydog-bm-mm-sv-hunter-profiles.html#post2793017

  9. #7839
    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)
    ok as i'm learning to use functions i'm needin some help.

    i'm trying to turn the math for hp to % into a function.

    what i have

    Code:
    function PQ_HealthPercent(pq_health)
         pq_health = 100 * UnitHealth("target") / UnitHealthMax("target")
    end
    am i missing anything and how would i use the function say i want it to return true if a target is below 90% would it be like

    Code:
    if PQ_HealthPercent() <= 90 then return true end
    thanks for helping me.

    Please if someone helped you donate rep to them.

  10. #7840
    sheuron's Avatar Knight-Champion
    Reputation
    319
    Join Date
    Aug 2011
    Posts
    504
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Xelper View Post
    I just put out a quick update with a bugfix that translates the URL encoding characters in profile update URLs to their normal values: example: %20 to space. This way if the URL for your download update button is "Xelpers%20Interrupt%20Profile_INTERRUPT_Rotations.xml" it will save it as "Xelpers Interrupt Profile_INTERRUPT_Rotations.xml"

    Just run PQR Updater from your current directory to download the fix. If you do not have the latest (and final) version of PQR Updater it is available here: (Just paste the .exe into your current PQR directory)

    http://dl.dropbox.com/u/39925787/PQR.zip

    Still labeled v2.0.6.
    Xelper is on fire! Thanks goodness he said 2.0.3 or 2.0.4 will be last version in time.

  11. #7841
    bu_ba_911's Avatar Elite User
    Reputation
    552
    Join Date
    May 2006
    Posts
    1,638
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by crystal_tech View Post
    ok as i'm learning to use functions i'm needin some help.

    i'm trying to turn the math for hp to % into a function.

    what i have

    Code:
    function PQ_HealthPercent(pq_health)
         pq_health = 100 * UnitHealth("target") / UnitHealthMax("target")
    end
    am i missing anything and how would i use the function say i want it to return true if a target is below 90% would it be like

    Code:
    if PQ_HealthPercent() <= 90 then return true end
    thanks for helping me.
    Code:
    function PQ_UnitInfo(t)
    	--Takes an input of UnitID (player, target, pet, mouseover, etc) and gives you their most useful info
    	local TManaActual = UnitPower(t)
    	local TMana = 100 * UnitPower(t) / UnitPowerMax(t)
    	local THealthActual = UnitHealth(t)
    	local THealth = 100 * UnitHealth(t) / UnitHealthMax(t)
    	local myClassPower = 0
    	local PQ_Class = select(2, UnitClass("player"))
    	if PQ_Class == "PALADIN" then
    		myClassPower = UnitPower("player", 9)
    	elseif PQ_Class == "WARLOCK" then
    		myClassPower = UnitPower("player", 7)
    	elseif PQ_Class == "DRUID" and GetPrimaryTalentTree() == 2 then
    		myClassPower = UnitPower("player", 8)
    	end
    	return THealth, THealthActual, TMana, TManaActual, myClassPower
    end
    that's the function i wrote up for my Data file. It returns Health as a %, Health as it's Actual Value. Mana as a Percent, Mana as it's Actual Value, and if your class applies, their Special Power
    ^0^Team Nova's PQR NCC ^0^

    If you think someone did something good, take the time to show your appreciation!

  12. #7842
    ipass's Avatar Member
    Reputation
    1
    Join Date
    Jan 2012
    Posts
    45
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @Diesal
    Hi I was Wondering how the PQInterface update been going?

    thanks

    ipass

  13. #7843
    bu_ba_911's Avatar Elite User
    Reputation
    552
    Join Date
    May 2006
    Posts
    1,638
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by crystal_tech View Post
    ok as i'm learning to use functions i'm needin some help.

    i'm trying to turn the math for hp to % into a function.

    what i have

    Code:
    function PQ_HealthPercent(pq_health)
         pq_health = 100 * UnitHealth("target") / UnitHealthMax("target")
    end
    am i missing anything and how would i use the function say i want it to return true if a target is below 90% would it be like

    Code:
    if PQ_HealthPercent() <= 90 then return true end
    thanks for helping me.
    and if you don't want to use my function i'll explain how to make one

    Code:
    --function [Name of the function](What variables we are sending the function to use)
    function PQ_HealthPercent(unitID)
         -- A function is meant to pretty much do code in a different part of the profile so you code looks neater and takes up less room. How we get our return value is by returning it
         return 100* UnitHealth(unitID) / UnitHealthMax(unitID)
    end
    
    -How we would use it in an ability file
    if PQ_HealthPercent("player") <= 90 then USE HEALTHSTONE RAWR end
      OR
    if PQ_HealthPercent("target") >= 20 then USE EXECUTE BLARGH end
    what we put in the () comes out as unitID in our function...... hopefully that helped some in this particular example
    ^0^Team Nova's PQR NCC ^0^

    If you think someone did something good, take the time to show your appreciation!

  14. #7844
    diesall's Avatar Contributor
    Reputation
    105
    Join Date
    Jul 2011
    Posts
    162
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by bu_ba_911 View Post
    Code:
    function PQ_UnitInfo(t)
    	--Takes an input of UnitID (player, target, pet, mouseover, etc) and gives you their most useful info
    	local TManaActual = UnitPower(t)
    	local TMana = 100 * UnitPower(t) / UnitPowerMax(t)
    	local THealthActual = UnitHealth(t)
    	local THealth = 100 * UnitHealth(t) / UnitHealthMax(t)
    	local myClassPower = 0
    	local PQ_Class = select(2, UnitClass("player"))
    	if PQ_Class == "PALADIN" then
    		myClassPower = UnitPower("player", 9)
    	elseif PQ_Class == "WARLOCK" then
    		myClassPower = UnitPower("player", 7)
    	elseif PQ_Class == "DRUID" and GetPrimaryTalentTree() == 2 then
    		myClassPower = UnitPower("player", 8)
    	end
    	return THealth, THealthActual, TMana, TManaActual, myClassPower
    end
    that's the function i wrote up for my Data file. It returns Health as a %, Health as it's Actual Value. Mana as a Percent, Mana as it's Actual Value, and if your class applies, their Special Power
    localizing all your blizzard api calls used in your data file will boost performance as well, that way whenever you call your function it will be accessing localized api functions, reducing global lookup overhead.

    for example....

    Code:
    local UnitPower, UnitPowerMax, UnitHealth,  UnitHealthMax, UnitClass =  UnitPower, UnitPowerMax, UnitHealth,  UnitHealthMax, UnitClass
    local GetPrimaryTalentTree = GetPrimaryTalentTree 
    etc.....
    function PQ_UnitInfo(t)
    	...
    end

  15. #7845
    bu_ba_911's Avatar Elite User
    Reputation
    552
    Join Date
    May 2006
    Posts
    1,638
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by diesall View Post
    localizing all your blizzard api calls used in your data file will boost performance as well, that way whenever you call your function it will be accessing localized api functions, reducing global lookup overhead.

    for example....

    Code:
    local UnitPower, UnitPowerMax, UnitHealth,  UnitHealthMax, UnitClass =  UnitPower, UnitPowerMax, UnitHealth,  UnitHealthMax, UnitClass
    local GetPrimaryTalentTree = GetPrimaryTalentTree 
    etc.....
    function PQ_UnitInfo(t)
    	...
    end
    hmm True.... I should add some more info to the PQ_UnitInfo lol

    I didn't want it to be cluttered, but it would save code somewhere else
    ^0^Team Nova's PQR NCC ^0^

    If you think someone did something good, take the time to show your appreciation!

Similar Threads

  1. [Buying] Planetside 2 Priority Beta Key
    By isit123 in forum General MMO Buy Sell Trade
    Replies: 0
    Last Post: 07-21-2012, 06:34 AM
  2. [Selling] PLANETSIDE 2 Priority/Early Access Beta Account
    By Kabraxiss in forum General MMO Buy Sell Trade
    Replies: 0
    Last Post: 07-18-2012, 10:20 AM
  3. [Selling] Planetside 2 Priority/Early access Beta Keys
    By mrsluf in forum General MMO Buy Sell Trade
    Replies: 3
    Last Post: 07-17-2012, 04:45 AM
  4. [Selling] Planetside 2 Priority Access beta key codes
    By fatalefout in forum General MMO Buy Sell Trade
    Replies: 1
    Last Post: 06-26-2012, 04:08 PM
  5. [Bot] Automated dungeon queue / Justice Point leecher(Auto-it source)
    By s_e_a_n_66 in forum World of Warcraft Bots and Programs
    Replies: 36
    Last Post: 01-17-2011, 11:50 AM
All times are GMT -5. The time now is 09:20 PM. 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