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

User Tag List

Page 511 of 731 FirstFirst ... 11411461507508509510511512513514515561611 ... LastLast
Results 7,651 to 7,665 of 10955
  1. #7651
    phantom325's Avatar Turtle Nation
    Reputation
    1033
    Join Date
    Apr 2011
    Posts
    2,628
    Thanks G/R
    81/162
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by firepong View Post
    This is normal. Just copy the profiles from your previous install of PQR to their respective Class Folders under Profiles.
    Alright, thanks, was just wondering why they weren't showing. I thought it was just an error I was having, thanks for clearing it up, +rep

    [BETA] PQRotation - an automated ability priority queue.
  2. #7652
    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)
    Now that I added the "Download Offsets" button I've actually decided to do a few more things with downloading updates.

    I'm actually writing an update PQR application, that if/when you run it, goes and downloads the latest exe... hopefully that should reduce the burdens of updating.

    I'm also giving profile developers the ability to use a "Download Update" button. If you click Download Updates it will download the two XMLs, prompt the user with the current version as well as the downloaded version, and give the user the option to accept the XMLs or not. Quick preview:

    Last edited by Xelper; 03-15-2012 at 07:43 PM.

  3. #7653
    abndrew82's Avatar Active Member
    Reputation
    17
    Join Date
    Jan 2008
    Posts
    162
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Xelper View Post
    Now that I added the "Download Offsets" button I've actually decided to do a few more things with downloading updates.

    I'm actually writing an update PQR application, that if/when you run it, goes and downloads the latest exe... hopefully that should reduce the burdens of updating.

    I'm also giving profile developers the ability to use a "Download Update" button. If you click Download Updates it will download the two XMLs, prompt the user with the current version as well as the downloaded version, and give the user the option to accept the XMLs or not. Quick preview:


    That sounds awesome

  4. #7654
    Ninifay's Avatar Banned
    Reputation
    8
    Join Date
    Apr 2011
    Posts
    190
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is this bannable to use?

  5. #7655
    expunge's Avatar Knight-Lieutenant
    Reputation
    17
    Join Date
    Nov 2011
    Posts
    226
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Ninifay View Post
    Is this bannable to use?
    Yes. (10 chars)

  6. #7656
    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)
    I like this idea a lot Xelper, ty for offering it!!!
    ^0^Team Nova's PQR NCC ^0^

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

  7. #7657
    firepong's Avatar Elite User
    Reputation
    384
    Join Date
    Jan 2008
    Posts
    955
    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
    I like this idea a lot Xelper, ty for offering it!!!
    Now all we need is a way for it to pull git code Would be perfect then lol

  8. #7658
    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 mentally View Post
    @fluxlfux:
    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(8092), "target") == 1
    			and not UnitIsDeadOrGhost("target")
    			and UnitCanAttack("player","target")
    			and not PQR_IsOutOfSight("target", 1)
    		then return true else RunMacroText("/cleartarget") end
    	end
    end
    Fixed, should automatically target an enemy and clear your current target if:
    - You walk out of a 40 yard range
    - Target is dead
    - You can't attack the target anymore
    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
    Last edited by bu_ba_911; 03-15-2012 at 09:17 PM.
    ^0^Team Nova's PQR NCC ^0^

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

  9. #7659
    phantom325's Avatar Turtle Nation
    Reputation
    1033
    Join Date
    Apr 2011
    Posts
    2,628
    Thanks G/R
    81/162
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Ninifay View Post
    Is this bannable to use?
    Everything that modifies the game in some way that Blizzard does not intend to do is bannable.
    However, this is very unlikely to get you banned, unless you do Arenas and get into the top 2% or whatever, and even then, Blizzard can't really prove it.

  10. #7660
    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 i figured out the timer code and i'm going to share it

    notes:
    put it after a pause ability
    it does throw an error when turning it on. something about a nil compared to a number. if you find the fix let me know as i'm working on it now.
    it does take a half sec to get the calc going so it may delay casting something.

    Code:
    if TTD_loaded == nil and UnitAffectingCombat("player") ~= nil then
    	PQ_TimeA = GetTime()
    	PQ_LifeStart = UnitHealth("target")
    	PQ_LifeMax = UnitHealthMax("target")
    	TTD_loaded = 1
    elseif TTD_loaded == 1 and UnitAffectingCombat("player") == nil then
    	PQ_TimeA = nil
    	PQ_LifeStart = nil
    	PQ_LifeMax = nil
    	TTD_loaded = nil
            -- set PQ_CalcTime to something other than zero to stop delays
    	PQ_CalcTime = 0
    end
    
    if TTD_loaded then
    	PQ_TimeDiff = GetTime() - PQ_TimeA
    	PQ_HPDiff = PQ_LifeStart - UnitHealth("target")
    
    	if PQ_HPDiff > 0 then
    		PQ_FullTime = (PQ_TimeDiff * PQ_LifeMax)/PQ_HPDiff
    		PQ_PastFullTime = (PQ_LifeMax - PQ_LifeMax) * PQ_TimeDiff/ PQ_HPDiff
    		PQ_CalcTime = PQ_TimeA - PQ_PastFullTime + PQ_FullTime - GetTime()
    	end
    end
    
    --here i set Hunter's mark (ALLHM) to 1  if the TTD is greater than 21 secs
    if PQ_CalcTime >= 21 then
    	ALLHM = 1
    else
    	ALLHM = nil
    end
    
    
    --under the hunters mark ability its
    if unitdebuff("target", 1130) == nil and ALLHM then return true end
    I hope this helps with timing things. and give rep where due.

  11. #7661
    cukiemunster's Avatar Contributor
    Reputation
    132
    Join Date
    Dec 2009
    Posts
    1,129
    Thanks G/R
    1/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by cukiemunster View Post
    Ok, my next question is does anyone know how to incorporate the use of Healthstone into a profile? So it uses it at x% health? I quite simply fail at remembering to use lock stones in the heat of battle lol.
    Bump for this question^^


  12. #7662
    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 cukiemunster View Post
    Bump for this question^^

    just run a check on inventory items, then run a check on player health then return true if under that limit

    i think sheuron or i (i think it was him) made something for loot-a-rang
    ^0^Team Nova's PQR NCC ^0^

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

  13. #7663
    diesall's Avatar Contributor
    Reputation
    197
    Join Date
    Jul 2011
    Posts
    208
    Thanks G/R
    1/46
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by mentally View Post
    @a9058727: Fire away. :P You can speed that code up quite a bit though!
    Code:
    local BleedDebuff = BleedDebuff -- Localize the function variable first and foremost
    function BleedDebuff(t)
        local Bleeds = { 
    		16511, -- Rogue, Hemorrhage
    		33876, -- Druid, Cat: Mangle
    		33878, -- Druid, Bear: Mangle
    		35290, -- Hunter Pet: Gore
    		46857, -- Warrior, Trauma
    		50271, -- Hunter Pet: Tendon Rip
    		57386, -- Hunter Pet: Stampede
        }
        for i=1,#Bleeds do
    		if UnitDebuffID(t,Bleeds[i]) then return true else return false end
    	end
    end
    
    -- Now BleedDebuff() returns either true or false which speeds things up a bit
    if BleedDebuff("target") then return false else return true end
    It doesn't speed it up by anything noticeable, but, over-time it will make it a lot faster if you have a lot of code in the same ability this is called.
    If you split it up and put the function into another "ability", by all means, localize the function first. :P

    Take it like this. All global variables are like stars in the universe. Trying to pinpoint every single global call is gonna take some CPU power, the more globals, the more power it draws, if you localize the global variable you want to use (you essentially create a "local" copy of the global variable) it tells the program/addon exactl where/when/how to grab it and pinpoint it exactly where you want it, optimizing and speeding up your code considerably.

    Just send me a PM if you are ever wondering about anything, you can pretty much do the same with Valma and Bu_ba iirc as well.

    - Elizabeth

    Edit:
    @fluxflux: As bu_ba_911 pointed out bellow my post, try removing the part marked in red! (Unsure how it calls the exactMatch setting.)
    just a few tips to clarify previously made or not made clear enough and to explain why this piece of code would not even function correctly:
    Code:
    local BleedDebuff = BleedDebuff
    This is useless, a waste of cpu cycles.


    Dont declare the local table inside the function, declare it outside of the function, your pointlessly creating a new local variable and table every time you call the function....
    Code:
    if UnitDebuffID(t,Bleeds[i]) then return true else return false end
    this statement will cause the function to only ever check for Hemorrhage, as your returning false if the buff isn't active thus breaking out of the function and never testing for the other bleeds


    basically this is how it would want to be written for performance and clarity:
    Code:
    if not 'name'_Constants then
    	local Bleeds = {
    		16511, -- Rogue, Hemorrhage
    		33876, -- Druid, Cat: Mangle
    		33878, -- Druid, Bear: Mangle
    		35290, -- Hunter Pet: Gore
    		46857, -- Warrior, Trauma
    		50271, -- Hunter Pet: Tendon Rip
    		57386, -- Hunter Pet: Stampede
    	}
    	function PQ_BleedDebuff(unit)
    		for i=1,#Bleeds do
    			if UnitDebuffID(unit,Bleeds[i]) then return true end
    		end
    		return false
    	end
    
         'name'_Constants = true
    end
    this would want to be placed in the first ability of the rotation named for example RotationConstants
    'name'_Constants: substitute this for example with the name of your rotation, anything unique , for example: MyCombatRogue_Constants

    this is where you would define all other functions used by your rotation as well, in the same format

    Of-course this could be declared in the on pqr load script xelper has added in 2.0 and not the rotation itself.

  14. #7664
    marcmk2's Avatar Member
    Reputation
    5
    Join Date
    Nov 2008
    Posts
    51
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Omg I can't give anyone any rep. Every profile writer that I use and some that I don't all need to have rep spread before I can re-rep :| Sorry bubba I tried to give rep to mentally but the silly website won't let me
    The Wiki for the amazing PQRotation Bot <= Information and Profiles

    All profiles available brought to you by Ralphiuss So please give him some rep when you see him around if you find this helpful!

  15. #7665
    Deva's Avatar Master Sergeant
    Reputation
    17
    Join Date
    Oct 2011
    Posts
    74
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by diesall View Post
    this is where you would define all other functions used by your rotation as well, in the same format

    Of-course this could be declared in the on pqr load script xelper has added in 2.0 and not the rotation itself.
    diesall, thanks for the improvements! Sorry I butchered it the first time.

    You also touched on a question I had regarding the LUA script loader - I wasn't sure what could and could not be used in there. Anything that could be used in PQR? It would be great if I could make the new profiles I'm working on more flexible, or could share class-related code for different specs.

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 01:35 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