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

User Tag List

Page 15 of 731 FirstFirst ... 11121314151617181965115515 ... LastLast
Results 211 to 225 of 10955
  1. #211
    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)
    For those of you having trouble opening the frost Deathknight attachments, copy and paste the following code into the the respective files *replacing* the existing content:

    DEATHKNIGHT_Rotations.xml
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <DEATHKNIGHT>
        <Rotation>
            <RotationName>
                Frost 4.2
            </RotationName>
            <RotationDefault>
                false
            </RotationDefault>
            <RotationList>
                Horn of Winter(on)|Pillar of Ice|Outbreak|Frost Strike(rp-cap)|Howling Blast (proc)|Plague Strike|Obliterate|Frost Strike|Horn of Winter|Blood Tap
            </RotationList>
        </Rotation>
        <Rotation>
            <RotationName>
                poop
            </RotationName>
            <RotationDefault>
                false
            </RotationDefault>
            <RotationList>
                Blood Strike
            </RotationList>
        </Rotation>
    </DEATHKNIGHT>
    DEATHKNIGHT_Abilities.xml
    Code:
    <?xml version="1.0" encoding="utf-8" ?><DEATHKNIGHT><Ability><Name>Rune Strike</Name><Default>false</Default><SpellID>56815</SpellID><Actions>/startattack</Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>Obliterate</Name><Default>false</Default><SpellID>49020</SpellID><Actions>/startattack|/use 10</Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>Howling Blast</Name><Default>false</Default><SpellID>49184</SpellID><Actions>/startattack</Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>Plague Strike</Name><Default>false</Default><SpellID>45462</SpellID><Actions></Actions><Lua>local dbBloodPlague, _, _, _, _, _, BloodPlagueExpire = UnitDebuffID(&amp;quot;target&amp;quot;,59879, &amp;quot;player&amp;quot;)
    
    if  dbBloodPlague ~= nil then
    	--cast if debuff has &amp;lt; 5 sec left
    	BloodPlagueExpire =(BloodPlagueExpire - GetTime())
    	if BloodPlagueExpire &amp;lt; 5 then
    		return true
    	end
    else
    	return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>Blood Strike</Name><Default>false</Default><SpellID>45902</SpellID><Actions></Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>Frost Strike</Name><Default>false</Default><SpellID>49143</SpellID><Actions></Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>Outbreak</Name><Default>false</Default><SpellID>77575</SpellID><Actions></Actions><Lua>local dbBloodPlague, _, _, _, _, _, BloodPlagueExpire = UnitDebuffID(&amp;quot;target&amp;quot;,59879, &amp;quot;player&amp;quot;)
    
    
    if UnitHealth(&amp;quot;target&amp;quot;) &amp;gt;= 300000  then 	
    	if  dbBloodPlague ~= nil then
    		--cast if debuff has &amp;lt; 5 sec left
    		BloodPlagueExpire =(BloodPlagueExpire - GetTime())
    		if BloodPlagueExpire &amp;lt; 5 then
    			return true
    		end
    	else
    		return true
    	end
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>Death Strike</Name><Default>false</Default><SpellID>49998</SpellID><Actions></Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>Horn of Winter</Name><Default>false</Default><SpellID>57330</SpellID><Actions></Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>Mind Freeze</Name><Default>false</Default><SpellID>53550</SpellID><Actions></Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>Festering Strike</Name><Default>false</Default><SpellID>85948</SpellID><Actions></Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>Pestilence</Name><Default>false</Default><SpellID>50842</SpellID><Actions></Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>Howling Blast (proc)</Name><Default>false</Default><SpellID>49184</SpellID><Actions>/startattack</Actions><Lua>local FreezingFog = UnitBuffID(&amp;quot;player&amp;quot;, 59052)
    local dbFrostFever, _, _, _, _, _, dbexpire = UnitDebuffID(&amp;quot;target&amp;quot;,55095, &amp;quot;player&amp;quot;)
    
    if FreezingFog ~= nill then
    	return true
    
    else	if dbFrostFever ~= nil then
    		--cast if debuff has &amp;lt; 5 sec left
    		dbexpire =(dbexpire - GetTime())
    		if dbexpire &amp;lt; 5 then
    			return true
    		end
    	else
    		return true
    	end
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>Horn of Winter(on)</Name><Default>false</Default><SpellID>57330</SpellID><Actions></Actions><Lua>local bHornofWinter, _, _, _, _, _, expire = UnitDebuffID(&amp;quot;target&amp;quot;,57330, &amp;quot;player&amp;quot;)
    
    if bHornofWinter ~= nill then
    	return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>Frost Strike(rp-cap)</Name><Default>false</Default><SpellID>49143</SpellID><Actions></Actions><Lua>if UnitPower(&amp;quot;player&amp;quot;) &amp;gt;= 90 then
    	return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>Pillar of Ice</Name><Default>false</Default><SpellID>51271</SpellID><Actions>/startattack</Actions><Lua>if UnitHealth(&amp;quot;target&amp;quot;) &amp;gt;= 300000  then 
    	return true
    end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>Blood Tap</Name><Default>false</Default><SpellID>45529</SpellID><Actions>/startattack</Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability></DEATHKNIGHT>

    [BETA] PQRotation - an automated ability priority queue.
  2. #212
    Frantz0126's Avatar Member
    Reputation
    1
    Join Date
    Jan 2009
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Diesall, I can't get your DK stuff to work. I replaced DEATHKNIGHT_Abilities.xml and DEATHKNIGHT_Rotations.xml with their respective coding. In-game when I press the hotkey to start the rotation, nothing happens. Everything runs fine on my paladin and warrior.

    -----------------------------------------

    My most anticipated rotations: Arcane Mage and Frost/Blood Death Knight

  3. #213
    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)
    Frost Deathknight ability rotation, files here:

    DEATHKNIGHT_Rotations.xml
    DEATHKNIGHT_Abilities.xml

  4. #214
    Frantz0126's Avatar Member
    Reputation
    1
    Join Date
    Jan 2009
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks diesall! Works perfectly.

  5. #215
    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)
    just a few quick question to xelper,

    is there a list of the instruction set exposed for ability rule creation as i was only using commands i found in the other classes for reference, ie. available deathknight runes and cooldowns, target name, name of spells being cast, etc..

    is there any way of printing out text from the ability creator into the chat frame for raw syntax checking

  6. #216
    AdamZZ's Avatar Active Member
    Reputation
    42
    Join Date
    May 2007
    Posts
    139
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by diesall View Post
    just a few quick question to xelper,

    is there a list of the instruction set exposed for ability rule creation as i was only using commands i found in the other classes for reference, ie. available deathknight runes and cooldowns, target name, name of spells being cast, etc..

    is there any way of printing out text from the ability creator into the chat frame for raw syntax checking
    Turn on the "Display LUA Errors" ingame, that way if your code is broken you will know kind of where. (It doesn't tell you exactly where in the code)
    Wowpedia/wowwiki got API pages with all available commands, and as this program is using this API it should work the same. (with exceptions)
    Oh, typing "/run local LOL = UnitDebuffID("target", SPELLID); print(LOL)" ingame will print out the return in the chat. (in LUA you can have everything in one line of code, just remember to use ";" before you type the next command)

    Didn't really get what you were asking for but I think this should answer your question. :P

  7. #217
    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)
    Hey all, I've been out of town for the past two days so haven't been writing up much, however, I'm back and working on a modification to my Shadowpriest setup to make it more smoother.

    Nice work to everyone who's taken their time to create profiles though!

  8. #218
    lostwalker's Avatar Member
    Reputation
    2
    Join Date
    Sep 2008
    Posts
    103
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The warlock demo spec will not cast if a target isn't selected, not sure if that helps you or not.

    [/COLOR]

    The difference is how WoW handles spells for the 2 classes. As a Shadow Priest if you cast a spell and dont have a target, it will target something in range and attack it automatically. This doesn't happen as a warrior, or if it does they are outside of melee range so it doesn't matter.

    I can try to detect if nothing is selected and not cast anything, but it might be too agressive that the last target dies right as it tries to cast a spell and it casts it on the next target. A friend has been requesting the "Smart Hotkey" mode to allow you to cast the next ability by spamming a key rather than it toggling on/off. That is still a little ways off, though.[/QUOTE]

  9. #219
    balrogv723's Avatar Private
    Reputation
    1
    Join Date
    Jul 2011
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Any update to Hunter Rotations anyone?

  10. #220
    andy012345's Avatar Active Member
    Reputation
    59
    Join Date
    Oct 2007
    Posts
    124
    Thanks G/R
    0/7
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just a few notes for you crystal_tech on the warlock stuff.

    Problems I've found are:

    Molten core procs causes you to weave incinerate and shadowbolt. This is probly because of the "cast again delay" and should be fixed with UnitCastingInfo (if molten core stack == 1 and castingspell == incinerate return false).

    The cast again delay on destruction for soul fire is too short, improved soul fire is procced when soul fire hits, so it can end up casting soul fire again before the soul fire lands.

  11. #221
    theri's Avatar Private
    Reputation
    1
    Join Date
    Mar 2011
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Definitely liking this program, makes the game more fun in some ways or maybe I'm just beyond bored with the game otherwise. Ret is my paladin's off spec and I've gotten this to pull over 15k sustained dps on the raid dummy now so I can't complain.

    Here's my version of zealotry. It wont use Zealotry if GoAK is available to be used. Will use it if GoAK is on cooldown and will use it if GoAK is active and the strength bonus is fully stacked.

    Code:
    local sDivinePurpose = UnitBuffID("player", 90174)
    -- 86700 is the stacking strength buff from GoaK.
    local _,_,_,APowerCount = UnitBuffID("player", 86700)
    -- Where Z = Zealotry, G = Guardian of Ancient Kings and s,d,e are start, duration and enabled.
    local Zs,Zd,Ze = GetSpellCooldown(85696)
    local Gs,Gd,Ge = GetSpellCooldown(86150)
    
    if Ze == 0 then
    	-- Zealotry is active.
    	return false
    else
    	-- Neither Zealotry nor GoAK are active.
    	if (Gs == 0 and Gd == 0) then
    		-- GoAK is ready to use, do not use Zealotry.
    		return false
    	else
    		-- GoAK is on cool down, free to use Zealotry.
    		if APowerCount == nil then
    			if (Zs == 0 and Zd == 0) then
    				-- Zealotry is ready to use.
    				if UnitPower("player", 9) == 3 or sDivinePurpose ~= nil then
    					return true
    				end
    			end
    		elseif APowerCount ~=nil then
    			if APowerCount == 20 then
    				if (Zs == 0 and Zd == 0) then
    					-- Zealotry is ready to use.
    					if UnitPower("player", 9) == 3 or sDivinePurpose ~= nil then
    						return true
    					end
    				end
    			end
    		end
    	end
    end
    Last edited by theri; 07-20-2011 at 02:26 PM.

  12. #222
    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 diesall View Post
    just a few quick question to xelper,

    is there a list of the instruction set exposed for ability rule creation as i was only using commands i found in the other classes for reference, ie. available deathknight runes and cooldowns, target name, name of spells being cast, etc..

    is there any way of printing out text from the ability creator into the chat frame for raw syntax checking
    The Lua code section has full access to the WoW Lua engine, so anything you can do here: World of Warcraft API - Wowpedia - Your wiki guide to the World of Warcraft is fair game. Now for Syntax checking... the most I can suggest is that when building a rotation you test out abilities 1 at a time in a separate rotation. You can always do stuff like:
    Code:
    if UnitLevel("target") == -1 then
    	print("The target is a boss!")
    end
    To verify that the code is working as it should.

  13. #223
    TeQ99's Avatar Member
    Reputation
    3
    Join Date
    Jun 2009
    Posts
    16
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by balrogv723 View Post
    Any update to Hunter Rotations anyone?
    Would be very nice. But haven seen it yet...

  14. #224
    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)
    Hey, Xelper and everyone else. I've been working on making my rotation not trying to spam every key but rather use them the second they're available, but I'm having issues trying to make my script smart. If you can call it that.

    Take a look at this code for Mind Blast.
    Code:
    local _,_,_,MMcount = UnitBuffID("player", 33371)
    local usable, nomana = IsUsableSpell("8092")
    
    if usable ~= nil then
    	if nomana == nil then
    		if PQR_IsMoving(1.2) then
    			if MMcount ~= nil then
    				if MMcount >= 2 then
    					return true
    				else
    					return false
    				end
    			end
    		else
    			return true
    		end
    	end
    end
    It checks if you've learned the spell, that it's available, that you have enough mana to actually cast it, then checks if you're moving, checks for stacks of mind melt for instant Mind Blast, and moves on to casting it regularly if you're standby.

    When testing it, it works fine right off the bat on it's own. However, when I try to add the same logic onto the rest of the abilities, it just casts Mind Blast then stops until it's out of combat. (On the training dummies.)

    I've tried checking around by running code directly in-game using /run local usable = IsUsableSpell("Spell name / ID"); print(usable) and confirmed that it in fact returns a true value (1) but even with the code above, the only spell that even remotely wants to go off is Mind Blast when the rotation is all setup.

    I've previously tried using UnitCastingInfo and UnitChannelInfo but they didn't seem to happy about wanting to start the rotation at all.

    Is there something I'm missing here? Such as checking the GCD or something like that. I really have no clue at all at the moment.

  15. #225
    Shamrockstar's Avatar Member
    Reputation
    51
    Join Date
    May 2007
    Posts
    108
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    As somebody who lost three accounts to LUA Ninja I'll steer clear of this but definitely going to +rep the author. I would even be wary of using this if protection is implemented. Have fun with it while it lasts though! Also, when I get a chance I'll look through some of the stuff you guys created for certain classes/spec's and rep those author's appropriately.

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 08:34 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