PQR - Rotation Bot menu

User Tag List

Page 287 of 779 FirstFirst ... 187237283284285286287288289290291337387 ... LastLast
Results 4,291 to 4,305 of 11681
  1. #4291
    Wopak's Avatar Active Member
    Reputation
    59
    Join Date
    Jul 2008
    Posts
    96
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by snowhawk View Post
    Maybe I am missing it, but is there a function in the API that returns whether a mob is hostile to you or not? I am trying to ensure I do not attack neutral mobs when using mouseovers.
    Hi snowhawk

    You can use UnitReaction

    PQR - Rotation Bot
  2. #4292
    Wopak's Avatar Active Member
    Reputation
    59
    Join Date
    Jul 2008
    Posts
    96
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by kickmydog View Post
    Does IsSpellInRange even work? I thought people were having serious issues with it.
    It does, if you use it with the globall spellid as i was trying to point out ages ago, but got hammered for and got shown link to useless pages on how to use WoW's Lua and all sorts.

    I even gave a function for getting the global spellid of a spell to use in IsSpellInRange()

  3. #4293
    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 Wopak View Post
    Out of curiousity, are you accounting for CombatReach here ?
    Nope, this is pure distance. It takes the Target's (x,y) value and you, the player, (x,y) value and calculates the distance to the target. If your standing in front of the target, it should roughly return anywhere from .5-3. Anything lower than .5, your practically standing on top of the target.

  4. #4294
    Meatglue's Avatar Active Member
    Reputation
    16
    Join Date
    Aug 2011
    Posts
    248
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Looking for a simple keyboard ability for left shift hand of protection. This is as close as I could get but having problem with it working.

    Code:
    if IsLeftShiftKeyDown()
    	 and not GetCurrentKeyBoardFocus()
    	 and (UnitAffectingCombat("player") or UnitAffectingCombat("mouseover"))
    	 and PQR_SpellAvailable(1022) then
    	 	PQR_CustomTarget = "mouseover"
    	 	return true

  5. #4295
    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 Meatglue View Post
    Looking for a simple keyboard ability for left shift hand of protection. This is as close as I could get but having problem with it working.

    Code:
    if IsLeftShiftKeyDown()
    	 and not GetCurrentKeyBoardFocus()
    	 and (UnitAffectingCombat("player") or UnitAffectingCombat("mouseover"))
    	 and PQR_SpellAvailable(1022) then
    	 	PQR_CustomTarget = "mouseover"
    	 	return true
    Obviously, I don't know if you actually have it in the Ability and just forgot to copy all of it, but your missing a "end" there

  6. #4296
    Meatglue's Avatar Active Member
    Reputation
    16
    Join Date
    Aug 2011
    Posts
    248
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by firepong View Post
    Obviously, I don't know if you actually have it in the Ability and just forgot to copy all of it, but your missing a "end" there
    lol nope just forgot to add it. Thanks.

  7. #4297
    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)
    here is sheruons PQR reference to PQR APIs: http://dl.dropbox.com/u/23527046/Mis..._Reference.lua

    Please if someone helped you donate rep to them.

  8. #4298
    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 did a small test of my own.....

    PHP Code:
    /dump IsSpellInRange(GetSpellInfo(585), "target")           returned 1
    /dump IsSpellInRange("Smite""target")              returned 1
    /dump IsSpellInRange(GetSpellInfo(14914), "target")         returned 1
    /dump IsSpellInRange("Holy Fire" "target")            returned 1 
    seems to be working fine for me in my tests :-/

    I know I use a range check on my Warlock as well, and it works for whatever spell I used there
    I was looking back at this post by accident, I don't know how I missed it. I did however, find it very useful since it works with Kill Command, I can now setup a BM rotation that will ignore Kill Command, BW, Lynx Rush if the target is not in range for a Kill Command. Other Pet abilities like Bite and Growl do not work. They report back Nil.

    As such I will be removing the ignore kill command by holding LEFT-CTRL from my rotation, this will enable me to use it for something else.
    Last edited by kickmydog; 09-22-2012 at 08:49 PM.
    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. #4299
    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)
    can anyone make a simple code to add to a profile that fires mortal coil at 50% hp for the free heal thx in adv

  10. #4300
    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)
    update v9

    KMD_All_Hunter_Rotations_v9.zip

    - added range check code for BM (BW, KC, Lynx Rush)
    - Healthstone will actually work now (thanks Wopak for localization on this)
    - replaced Right-CTRL to intimidate for BM
    Last edited by kickmydog; 09-23-2012 at 09:27 AM.
    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

  11. #4301
    Boppalopigus's Avatar Corporal
    Reputation
    11
    Join Date
    Jul 2011
    Posts
    15
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can someone please show me how to successfully use the PQR_RotationStarted variable to run code only once?

  12. #4302
    nilrem2004's Avatar Contributor
    Reputation
    163
    Join Date
    Mar 2009
    Posts
    810
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    local PlayerHP = 100 * UnitHealth("player") / UnitHealthMax("player")

    if PlayerHP < 50 and PQR_SpellAvailable(6789) then
    return true
    end

    put Ability name Mortal Coil or whatever you want
    put 6789 in spell ID
    target on target
    and cancel channel to true if you want to make it a priority over other spells, if not leave false
    Supporter of Frozen.

  13. #4303
    snowhawk's Avatar Contributor
    Reputation
    147
    Join Date
    Aug 2008
    Posts
    238
    Thanks G/R
    42/130
    Trade Feedback
    0 (0%)
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Boppalopigus View Post
    Can someone please show me how to successfully use the PQR_RotationStarted variable to run code only once?
    Pulled this code from one of the Nova profiles. When the rotation begins, a global variable PQR_RotationStarted is set to true. When the rotation ends, PQR_RotationStarted is set to false. If you want code to only run once, then set the PQR_RotationStarted flag to false and execute some code that is only processed once (in this example, it loads a data file).
    PHP Code:
    if PQR_RotationStarted == true then
        PQR_RotationStarted 
    false
        
    if PQR_LoadLua ~= nil then
            
    -- Load Data File
            
    if PQR_LoadLua("PQR_Nova_Data.lua") == false then
                PQR_WriteToChat
    ("You are missing PQR_Nova_Data.lua. Rotation has been stopped.""Error")
                
    PQR_StopRotation()
                return 
    true
            end
        end
        
    -- Clear out any global variable settings from previous runs...
        
    AoESwitch nil
        CDSwitch 
    nil
    end 
    This was posted before but read through this for other variables and functions available.
    http://dl.dropbox.com/u/23527046/Mis..._Reference.lua


    Originally Posted by Wopak View Post
    Hi snowhawk

    You can use UnitReaction
    Thanks, got it working now.
    Last edited by snowhawk; 09-23-2012 at 02:15 AM.

  14. #4304
    MACH9 WoW Services's Avatar Member CoreCoins Purchaser
    Reputation
    3
    Join Date
    Jun 2012
    Posts
    219
    Thanks G/R
    1/1
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm a holy paladin and I'm assigned to tank healing, is there anyway I can edit my profile to ignore healing raid members besides tank?

  15. #4305
    iceymot's Avatar Member
    Reputation
    1
    Join Date
    Mar 2012
    Posts
    32
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Could someone help me please with coding buff duration, checking stacks and cooldown remains

    1. if (BuffID<=2)
    2. if (BuffID.stack=5)
    3. (!Spell.cooldown.remains=0)

    thanks in advance.

Similar Threads

  1. [Bot] PQR PE Next Steps / Future of Rotation Botting
    By Chevrolet1 in forum World of Warcraft Bots and Programs
    Replies: 120
    Last Post: 10-21-2014, 11:47 AM
  2. [Bot] PQR - Rotation Bot
    By Xelper in forum World of Warcraft Bots and Programs
    Replies: 1738
    Last Post: 10-15-2014, 11:00 AM
  3. [Selling] 3 Lifetime Session Keys For Sale, Great for the PQR user looking for a rotation bot
    By cukiemunster in forum World of Warcraft Buy Sell Trade
    Replies: 13
    Last Post: 03-11-2014, 07:18 AM
  4. rotation bot leveling (PQR)
    By classdog in forum WoW Bots Questions & Requests
    Replies: 3
    Last Post: 09-17-2013, 06:13 PM
  5. [HELP] PQR Rotation Bot Profile Making
    By Missu in forum Programming
    Replies: 0
    Last Post: 10-22-2012, 06:27 AM
All times are GMT -5. The time now is 09:37 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