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

Shout-Out

User Tag List

Page 333 of 731 FirstFirst ... 233283329330331332333334335336337383433 ... LastLast
Results 4,981 to 4,995 of 10955
  1. #4981
    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)
    Code:
    http://bubba-pqr-profiles.googlecode.com/svn/trunk/
    that's what you need

    Originally Posted by happydado View Post
    ok but where i must write the text?
    if you are going to be doing any editing of codes.... i recommend at least reading the very first post of this incredibly helpful thread
    ^0^Team Nova's PQR NCC ^0^

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

    [BETA] PQRotation - an automated ability priority queue.
  2. #4982
    Debordes's Avatar Member
    Reputation
    14
    Join Date
    Oct 2007
    Posts
    128
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That was insanely quick sir, I thank you very much, and +rep.

    Oops, well +rep when I can again :3

  3. #4983
    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 ticklets View Post
    Is there a function to check if the player is in combat or not?

    I want to set a certain spell to cast ONLY when in combat, but have the profile itself not require combat.
    create a pause and add this 'if UnitAffectingCombat("player") == nil then return true end' and that should stop the rotation until your in combat, everything above it will still try to be casted.

  4. #4984
    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 sheuron View Post
    Why care about that debuff when that slime is always the priority to kill?
    I can't think of any times that you kill the Purple on heroic.

  5. #4985
    brutal's Avatar Member
    Reputation
    1
    Join Date
    Jun 2007
    Posts
    29
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Would be epic if the monster Team (aka the profile editors) made a sticky post with SVN

    just an idea ^^

  6. #4986
    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 kickmydog View Post
    I can't think of any times that you kill the Purple on heroic.
    this... we make our healers deal with purple debuff

  7. #4987
    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 Gabbz View Post
    Regarding Loftys question

    Yorsahj have the healing debuff that for each heal on a target a counter stacks and at 5 stacks its explodes. So pretty much if Boss have this buff, Shadowed Blood of Shu'ma - Spell - World of Warcraft, then you should not aoe heal and any targetting function need to check if the healing target have 4 stacks then it is not allowed to heal except for certain spells that do not up the counter. Also extra neat if incoming heals is checked as well so that the target is at 3 at start casting and someone else is healing and stacking it to 4. Perhaps stop casting can be used.
    Deep Corruption is the debuff to check, Deep Corruption - Spell - World of Warcraft.
    just uploaded a new version of PvE Holy on SVN that has basic code in place to help with this specific boss and healing it...... may need to be tweaked, i have ZERO way of testing this haha

    when i get some successful tests and pms saying all the new features work as intended, i will upload to google code as a full release.
    Last edited by bu_ba_911; 01-30-2012 at 10:53 PM.
    ^0^Team Nova's PQR NCC ^0^

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

  8. #4988
    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
    just uploaded a new version of PvE Holy on SVN that has basic code in place to help with this specific boss and healing it...... may need to be tweaked, i have ZERO way of testing this haha

    when i get some successful tests and pms saying all the new features work as intended, i will upload to google code as a full release.
    Check out Xelper's lightwell code, it has a deep corruption check.

    Code:
    local LightwellName = "Lightwell"
    local hp = UnitHealth("player") / UnitHealthMax("player") * 100
    local sLightwell = UnitBuffID("player", 7001)
    local sDeepCorruption = UnitDebuffID("player", 108220)
    if PQR_LightwellTimeout == nil then
        PQR_LightwellTimeout = 0
    end
    
    
    
    
    if hp < 70 and sLightwell == nil then
        if PQR_LightwellTimeout < GetTime() then
            if sDeepCorruption == nil then
                PQR_LightwellTimeout = GetTime() + 1
                InteractUnit(LightwellName)
            end
        end
    end

  9. #4989
    Serpious's Avatar Contributor CoreCoins Purchaser
    Reputation
    134
    Join Date
    Jul 2011
    Posts
    364
    Thanks G/R
    0/1
    Trade Feedback
    4 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by sheuron View Post
    Why care about that debuff when that slime is always the priority to kill?
    Not on HC.

    Each time you will either have purple (Healing debuff) or red (Soft enrage)

    In HC you have 4 oozes and can only kill one.

  10. #4990
    Valma's Avatar Contributor
    Reputation
    152
    Join Date
    Nov 2011
    Posts
    209
    Thanks G/R
    3/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Testy9 View Post
    Also, bu_ba_911. The profile (1-28-2012_HPally_Bubba_WORKING.zip) from your code google page still doesn't heal myself. At least that's what happened. I only use the No Mouseover one =/
    Dunno what buba did,but I changed this and it works perfectly:

    Code:
    if SafeTarget(&amp;quot;target&amp;quot;) then 
      PQR_CustomTarget = &amp;quot;target&amp;quot; 
      PQR_CustomTargetHP = CalculateHP(&amp;quot;target&amp;quot;) 
    else 
      lowhpmembers = 0
      PQR_CustomTarget = &amp;quot;player&amp;quot;
      PQR_CustomTargetHP = CalculateHP(&amp;quot;player&amp;quot;)
      local group = &amp;quot;party&amp;quot;
      local members = GetNumPartyMembers()
      local targethp = CalculateHP(&amp;quot;player&amp;quot;)

  11. #4991
    Valma's Avatar Contributor
    Reputation
    152
    Join Date
    Nov 2011
    Posts
    209
    Thanks G/R
    3/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by kickmydog View Post
    Check out Xelper's lightwell code, it has a deep corruption check.

    Code:
    local LightwellName = "Lightwell"
    local hp = UnitHealth("player") / UnitHealthMax("player") * 100
    local sLightwell = UnitBuffID("player", 7001)
    local sDeepCorruption = UnitDebuffID("player", 108220)
    if PQR_LightwellTimeout == nil then
        PQR_LightwellTimeout = 0
    end
    
    
    
    
    if hp < 70 and sLightwell == nil then
        if PQR_LightwellTimeout < GetTime() then
            if sDeepCorruption == nil then
                PQR_LightwellTimeout = GetTime() + 1
                InteractUnit(LightwellName)
            end
        end
    end
    There is no check for number of stacks.Thats the problem.Easilly solved by this:

    Code:
    if UnitDebuffID(member, 108220) and select(4, UnitDebuffID(member, 108220) < 3 then
    	return true
    elseif UnitDebuffID(member, 108220) == nil
    	return true
    end

  12. #4992
    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 Valma View Post
    Dunno what buba did,but I changed this and it works perfectly:

    Code:
    if SafeTarget("target") then 
      PQR_CustomTarget = "target" 
      PQR_CustomTargetHP = CalculateHP("target") 
    else 
      lowhpmembers = 0
      PQR_CustomTarget = "player"
      PQR_CustomTargetHP = CalculateHP("player")
      local group = "party"
      local members = GetNumPartyMembers()
      local targethp = CalculateHP("player")
    targethp set to 100 was pretty much saying this. The ghost player we compare against has 100% health, and if you gave less health than that you are now the target player :-) . So valma you were having issues with it healing people when it was set to 100?

    Also in regards to the deep corruption, mine was a lot ,more in depth, but I think the spellid I was given was wrong lol. Valma have you looked my newest update over yet?

    I put my stack checker for DC in SafeTarget function
    Last edited by bu_ba_911; 01-31-2012 at 02:18 AM.
    ^0^Team Nova's PQR NCC ^0^

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

  13. #4993
    Gabbz's Avatar Contributor
    Reputation
    184
    Join Date
    Dec 2011
    Posts
    451
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Valma View Post
    There is no check for number of stacks.
    That is no good idea since the lightwell will heal you for less then a "proper" heal does. So i think it is ok designed, ie do not use small heals if its gives u a stack.

  14. #4994
    Valma's Avatar Contributor
    Reputation
    152
    Join Date
    Nov 2011
    Posts
    209
    Thanks G/R
    3/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Gabbz View Post
    That is no good idea since the lightwell will heal you for less then a "proper" heal does. So i think it is ok designed, ie do not use small heals if its gives u a stack.
    Man,for god sake,read whole chain of posts before reply to something,I beg you.

    What I said was reply to kickdog,not more or less,don't try to find something that isn't said.Ofc,you need to include a better logic for small heals,BUT it must be done in each "smallheal" ability and not in major check.

  15. #4995
    Valma's Avatar Contributor
    Reputation
    152
    Join Date
    Nov 2011
    Posts
    209
    Thanks G/R
    3/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by bu_ba_911 View Post
    targethp set to 100 was pretty much saying this. The ghost player we compare against has 100% health, and if you gave less health than that you are now the target player :-) . So valma you were having issues with it healing people when it was set to 100?

    Also in regards to the deep corruption, mine was a lot ,more in depth, but I think the spellid I was given was wrong lol. Valma have you looked my newest update over yet?

    I put my stack checker for DC in SafeTarget function
    I had problems with it healing myself,so I modded your code a bit,and implied a bit better logic(as I think,but you know my point of view is not obsolete LOL ).Here what I got:

    Code:
    <Ability><Name>AT Smart Low HP NMO</Name><Default>false</Default><SpellID>0</SpellID><Actions></Actions>
    <Lua>
    if not healinit then
    	
    	function CalculateHP(t)
        	local incomingheal = 0
        	if UnitGetIncomingHeals(t) then incomingheal = UnitGetIncomingHeals(t)  end
        	return 100 * ( UnitHealth(t) + incomingheal ) / UnitHealthMax(t)
    	end
    
      	function SafeTarget(t)
    
        	if IsSpellInRange(tostring(GetSpellInfo(635)),t) == 1
        	and UnitExists(t) 
        	and UnitIsCharmed(t) == nil
        	and UnitIsDeadOrGhost(t) == nil 
        	and UnitIsFriend(&amp;quot;player&amp;quot;,t) 
        	and PQR_IsOutOfSight(t) == false  
        	then
      			if UnitDebuffID(t, 108220) and select(4, UnitDebuffID(t, 108220) < 3 then
    				return true
    			elseif UnitDebuffID(t, 108220) == nil
    				return true
    			end    		
        	end 
      	end
    
      	healinit = true
    
    end
    
    if SafeTarget(&amp;quot;target&amp;quot;) then 
      	PQR_CustomTarget = &amp;quot;target&amp;quot; 
      	PQR_CustomTargetHP = CalculateHP(&amp;quot;target&amp;quot;) 
    else 
      	lowhpmembers = 0
      	PQR_CustomTarget = &amp;quot;player&amp;quot;
      	PQR_CustomTargetHP = CalculateHP(&amp;quot;player&amp;quot;)
      	local group = &amp;quot;party&amp;quot;
      	local members = GetNumPartyMembers()
      	local targethp = CalculateHP(&amp;quot;player&amp;quot;) + 20
      	if GetNumRaidMembers() &amp;gt; 0 then group = &amp;quot;raid&amp;quot; members = GetNumRaidMembers() end
    
      	for i = 1, members, 1 do
        	local member = group..tostring(i)
        	local memberhp = CalculateHP(member)
          	if SafeTarget(member)  then
          		if UnitGroupRolesAssigned(member) == &amp;quot;TANK&amp;quot; and UnitBuffID(member, 53563) == nil  then memberhp = memberhp - 1 else memberhp = memberhp + 3  end
          		if UnitThreatSituation(member) == 3 then memberhp = memberhp - 3 end
          		if memberhp &amp;lt; 88 then lowhpmembers = lowhpmembers +1 end
          		if memberhp &amp;lt; targethp then
            		PQR_CustomTarget = member
            		targethp = memberhp
            		PQR_CustomTargetHP = 100 * UnitHealth(PQR_CustomTarget) / UnitHealthMax(PQR_CustomTarget)
            	end 
        	end
      	end
    end
    </Lua>
    <RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability>
    As you can see the code is more simplier then it was before while it do exactly the same. :/

    local targethp = CalculateHP(&amp;quot;player&amp;quot + 20 This made for handle passive self healing ability, ie if pally has 80% hp it means he dont need/deserve( ) heals and will be healed passivelly.
    Last edited by Valma; 01-31-2012 at 02:43 AM.

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 07:02 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