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

Shout-Out

User Tag List

Page 25 of 731 FirstFirst ... 21222324252627282975125525 ... LastLast
Results 361 to 375 of 10955
  1. #361
    Xcesiuss's Avatar Contributor CoreCoins Purchaser
    Reputation
    119
    Join Date
    Mar 2008
    Posts
    135
    Thanks G/R
    14/85
    Trade Feedback
    4 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Have anyone made a boomkin rotation yet?

    [BETA] PQRotation - an automated ability priority queue.
  2. #362
    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)
    Xelper, I have PM'd you psuedo code for hunter MM shots.

    If you could help that would be great.

  3. #363
    machajr's Avatar Member
    Reputation
    1
    Join Date
    Jul 2011
    Posts
    38
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    any dk tank rotation ?

  4. #364
    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)
    This is an interim fix for the MM rotation. This will fix the MM arcane shot so that it actually fires.

    local csStart, csDuration, csEnabled = GetSpellCooldown(53209)
    local csCooldown = (csStart + csDuration - GetTime())
    local playerFocus = UnitPower("player")


    if csCooldown <= 1 then
    return false --Chimera Shot is off CD
    end


    if playerFocus < 80 then
    return false --We have less than 80 focus
    end


    return true

  5. #365
    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 kickmydog View Post
    This is an interim fix for the MM rotation. This will fix the MM arcane shot so that it actually fires.

    local csStart, csDuration, csEnabled = GetSpellCooldown(53209)
    local csCooldown = (csStart + csDuration - GetTime())
    local playerFocus = UnitPower("player")


    if csCooldown <= 1 then
    return false --Chimera Shot is off CD
    end


    if playerFocus < 80 then
    return false --We have less than 80 focus
    end


    return true
    I think i see a prob with this one. change it to this and remove the last return true statement.

    Code:
    if playerFocus <= 80 then
        return false
    else
         return true
    end
    or try this
    Code:
    if playerFocus >= 80 then
         return true
    end

  6. #366
    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 crystal_tech View Post
    I think i see a prob with this one. change it to this and remove the last return true statement.

    Code:
    if playerFocus <= 80 then
        return false
    else
         return true
    end
    or try this
    Code:
    if playerFocus >= 80 then
         return true
    end
    Thank you for double checking the code, I'm not a very good coder, so any help is appreciated.

    I was hoping that this code makes Aimed Shot hard cast when you have dynamic haste and above 90% health, but something is not working. Instead it opts for firing off arcane shots when those haste effects are up.

    Code:
    local playerFocus = UnitPower("player")
    local unithealth = 100 * UnitHealth("target") / UnitHealthMax("target")
    
    
    sBL = UnitBuffID("player", 2825)--check for Bloodlust & more than 70 focus
         
    if sBL ~= nil and playerFocus >= 70 then
    	return true
    	end
    
    
    sAH = UnitBuffID("player", 90355)--check for Ancient Hysteria & more than 70 focus
         
    if sAH ~= nil and playerFocus >= 70 then
    	return true
    	end
    
    
    sTW = UnitBuffID("player", 80353)--check for Timewarp & more than 70 focus
         
    if sTW ~= nil and playerFocus >= 70 then
        	return true
    	end
    
    
    sRF = UnitBuffID("player", 3045)--check for Rapid Fire & more than 70 focus
         
    if sRF ~= nil and playerFocus >= 70 then
        	return true
    	end
    
    
    sHO = UnitBuffID("player", 32182)--check for Heroism & more than 70 focus
         
    if sHO ~= nil and playerFocus >= 70 then
        	return true
    	end
    
    if unithealth >= 90 then --check for greater than 90% health
    	return true
    
    end
    Last edited by kickmydog; 07-30-2011 at 09:12 PM.

  7. #367
    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)
    to me thats a jumbled mess but an easy fix.

    1. declare locals first. you have 2 locals but many more that need the word 'local' in front and need to be moved up.
    2. you can chain buff checks to reduce the amount of if then statements

    try this:
    Code:
    local playerFocus = UnitPower("player")
    local unithealth = 100 * UnitHealth("target") / UnitHealthMax("target")
    local sBL = UnitBuffID("player", 2825)--check for Bloodlust & more than 70 focus
    local sAH = UnitBuffID("player", 90355)--check for Ancient Hysteria & more than 70 focus
    local sTW = UnitBuffID("player", 80353)--check for Timewarp & more than 70 focus
    local sRF = UnitBuffID("player", 3045)--check for Rapid Fire & more than 70 focus
    local sHO = UnitBuffID("player", 32182)--check for Heroism & more than 70 focus
    local hasMM = UnitBuffID("player", 82926) --fire! buff check
    
    if hasMM ~= nil then
    	return true
    end
    
    if Unithealth >= 90 and playerFocus >= 70 then
    	return true
    end
    
    if playerFocus >= 70 then
    	if sBL ~= nil or sAH ~= nil or sTW ~= nil or sHO~= nil or sRF ~= nil then
    	return true
            end
    end
    It should check for the Fire! Buff and cast it, as well as cast it if the target is above 90% with player focus at or above 70, and do the same check for your focus levels before it checks for lust/rapid fire effects.

    Could go another step forward with the code and do this:
    Code:
    local playerFocus = UnitPower("player")
    local unithealth = 100 * UnitHealth("target") / UnitHealthMax("target")
    local sBL = UnitBuffID("player", 2825)--check for Bloodlust & more than 70 focus
    local sAH = UnitBuffID("player", 90355)--check for Ancient Hysteria & more than 70 focus
    local sTW = UnitBuffID("player", 80353)--check for Timewarp & more than 70 focus
    local sRF = UnitBuffID("player", 3045)--check for Rapid Fire & more than 70 focus
    local sHO = UnitBuffID("player", 32182)--check for Heroism & more than 70 focus
    local hasMM = UnitBuffID("player", 82926) --fire! buff check
    
    if hasMM ~= nil then
    	return true
    end
    
    if playerFocus >= 70 then
    	if Unithealth >= 90 then
    		return true
    	elseif sBL ~= nil or sAH ~= nil or sTW ~= nil or sHO~= nil or sRF ~= nil then
    		return true
            else
    		return false
    	end
    end
    just note I haven't tested the code yet. I'm working on my BM hunter spec right now then I was going to do MM.
    Last edited by crystal_tech; 07-30-2011 at 10:58 PM.

  8. #368
    leck's Avatar Member
    Reputation
    2
    Join Date
    Jul 2009
    Posts
    27
    Thanks G/R
    2/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by crystal_tech View Post

    just note I haven't tested the code yet. I'm working on my BM hunter spec right now then I was going to do MM.
    Looking forward to your MM rotation

  9. #369
    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)
    just note I haven't tested the code yet. I'm working on my BM hunter spec right now then I was going to do MM.
    Thanks very much for cleaning that up for me. However, I tested the code, the "Fire!" part works great, and enables removing that extra "Aimed Shot if Fire! entry from the rotation edit. The part that does not work is the checking for the dynamic haste part. Since i only had rapid fire to check with, it never once cast aimed shot while rapid fire was up. Not sure as to why. Also checked with bloodlust.

    After doublechecking it looks like the "Fire!" part does not work.
    Last edited by kickmydog; 07-31-2011 at 12:26 AM. Reason: double checked.

  10. #370
    amustrami's Avatar Member
    Reputation
    1
    Join Date
    Oct 2006
    Posts
    43
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Love to see a druid bear and a combat rogue.

  11. #371
    jackus's Avatar Active Member
    Reputation
    58
    Join Date
    Aug 2006
    Posts
    802
    Thanks G/R
    1/12
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Any way to add a lot of healing spells at ones? Coz I have a text document with all spells, but they are NOT named its only IDs. Can I add IDs instead of spell names?

  12. #372
    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 kickmydog View Post
    Thanks very much for cleaning that up for me. However, I tested the code, the "Fire!" part works great, and enables removing that extra "Aimed Shot if Fire! entry from the rotation edit. The part that does not work is the checking for the dynamic haste part. Since i only had rapid fire to check with, it never once cast aimed shot while rapid fire was up. Not sure as to why. Also checked with bloodlust.

    After doublechecking it looks like the "Fire!" part does not work.
    i'm going to work on mm today. My bm is rough but i'm bursting 30k on a dummy and dropping to 13k so I want to get that up a bit before posting it.

  13. #373
    Alachanza's Avatar Private
    Reputation
    1
    Join Date
    Jul 2011
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    I was trying to get an Arms PVE rotation with stance dancing included. Wouldn't be too hard I suppose, having the Taste of Blood buff timer as indicator to when to return to battle stance, but I have some problems regarding the code to stances...

    How can I keep track of which stance I am right now in lua code?

    My intention was to do something like this (pseudocode):

    if taste of blood is active, cast Battle Stance
    if battle stance, cast Overpower
    if taste of blood is not active, cast Berserker Stance
    if berserker stance, return false

    It's just an initial idea, I will improve it later, but first... How do I write in lua the sentence "if battle stance, cast Overpower"?

    Thanks a lot.

  14. #374
    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 crystal_tech View Post
    i'm going to work on mm today. My bm is rough but i'm bursting 30k on a dummy and dropping to 13k so I want to get that up a bit before posting it.
    Couple things to check for on your BM rotation, make sure that it is not using Focus Fire when BW is active or when there is less than 15s left on the BW cooldown, and also probably a good idea not to use BW unless there is 5 stacks of frenzy.

  15. #375
    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)
    yea i'm still fine tuning it but making my MM rotation the main focus right now.

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 11:18 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