PQR - Rotation Bot menu

User Tag List

Page 247 of 779 FirstFirst ... 147197243244245246247248249250251297347747 ... LastLast
Results 3,691 to 3,705 of 11681
  1. #3691
    Ssateneth's Avatar Contributor
    Reputation
    142
    Join Date
    May 2008
    Posts
    866
    Thanks G/R
    1/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by crystal_tech View Post
    link: API IsSpellInRange - WoWWiki - Your guide to the World of Warcraft

    some notes on this api:

    You will get a 'nil' if:

    1) The spell cannot be cast on the unit. i.e. attempting to check range using 'Frostbolt' on a party member will always return 'nil', similarly testing 'Heal' against an enemy target will also return nil.
    2) If the unit is not 'visible' (see API UnitIsVisible) then you will get a nil, and not a '0' as you might expect.
    3) The unit doesnt exist (e.g. 'target' when you have nothing targetted)
    4) The current player does not know this spell (so you cannot use 'Heal' to test 40 yard range for anyone other than a priest)
    5) It can be used for scanning raid members distances, but just take care what spell you use. For example scanning heal range will start throwing out 'nil' if a raid member is mind controlled.


    so best use of IsSpellinRange() would be this:

    Code:
    local inRange = 0
    --sets up if target is in range of spell
    if UnitExists("target") and UnitIsVisible("target") and UnitIsEnemy("target") then
       inRange = IsSpellInRange("spellid", "target")
    end
    
    --if your in range then do what you want
    if inRange==1 then
       return true
    end
    You completely ignored his issue. Did you even bother to see if you could replicate his problem? Certain spells are BUGGED. If he has a hostile target within melee range and wants to get IsSpellInRange("Living Bomb","target"), it SHOULD return 1, but it returns nil. This also occurs with Devastate and ... wait for it ... FROST STRIKE! Instead of trying to look smart, how about looking to see if his problem is actually a problem and not a bad assumption on your part that he is stupid.
    KuRIoS is awesome!

    PQR - Rotation Bot
  2. #3692
    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 Ssateneth View Post
    You completely ignored his issue. Did you even bother to see if you could replicate his problem? Certain spells are BUGGED. If he has a hostile target within melee range and wants to get IsSpellInRange("Living Bomb","target"), it SHOULD return 1, but it returns nil. This also occurs with Devastate and ... wait for it ... FROST STRIKE! Instead of trying to look smart, how about looking to see if his problem is actually a problem and not a bad assumption on your part that he is stupid.
    wow just wow.

    if IsSpellInRange() is bugged have you tried the PQR_UnitDistance(unit1, unit2) instead?

    and just check if its 8 yards or less?

    if PQR_UnitDistance("player", "target") <= 8 then
    do something
    end

    might be the workaround you need for this. I think the id that your using is wrong as the game itself wouldn't let you cast it if you where in range or not if it was bugged.
    Last edited by crystal_tech; 09-07-2012 at 03:22 PM.

    Please if someone helped you donate rep to them.

  3. #3693
    Bgreen12's Avatar Banned
    Reputation
    32
    Join Date
    Aug 2012
    Posts
    128
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Taran32 View Post
    That would be perfect. How soon do you think you could get that up and running? Right now I'm just pvping on other characters until one gets released.

    I mean by the time people get to 90 in mop ill be there too so I'd say by then atleast

  4. #3694
    Taran32's Avatar Knight-Lieutenant
    Reputation
    9
    Join Date
    Feb 2012
    Posts
    369
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Bgreen12 View Post
    I mean by the time people get to 90 in mop ill be there too so I'd say by then atleast
    Oh I meant with regards to 85. You mentioned possibly being able to code one for current levels, so I was more interested in that. Or did I read that wrong?

  5. #3695
    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 crystal_tech View Post
    wow just wow.

    if IsSpellInRange() is bugged have you tried the PQR_UnitDistance(unit1, unit2) instead?

    and just check if its 8 yards or less?

    if PQR_UnitDistance("player", "target") <= 8 then
    do something
    end

    might be the workaround you need for this. I think the id that your using is wrong as the game itself wouldn't let you cast it if you where in range or not if it was bugged.
    Hi crystal_tech.

    First of, thank you for your constructive input.

    First of, as i said in my original post. I'm not using PQR or anything else found here on ownedcore, i merely brought this issue up for you guys as a heads up. Now with that said, let's continue.

    The link you gave earlier API IsSpellInRange - WoWWiki - Your guide to the World of Warcraft is outdated, as it doesn't state that you can also pass spelll index as an argument to IsSpellInRange, so the correct documentation for this would be:
    inRange = IsSpellInRange(index, "bookType", "unit") or IsSpellInRange("name", "unit")
    Return values remains the same as always.

    Using a range check on those spell thats bugged was actually my first workaround, but i found it to flakey.

    So the right approach to solve this is the following.
    If IsSpellInRange([name or ID], "unit") fail, you should try IsSpellInRange(index, "bookType", "unit")

    The reason you want to check first with the normal way IsSpellInRange([name or ID], "unit"), is because i just found out that Tricks of the Trade is bugged is used with the spell index.

    So to summ it up.
    First check the way you normally do, if that returns empty, then check with the spell index and problem solved.

  6. #3696
    kabman's Avatar Master Sergeant
    Reputation
    33
    Join Date
    Mar 2011
    Posts
    104
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    not sure why but non of the lock profiles are working for me. Any ideas?

  7. #3697
    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)
    If you are using my BM rotation replace the Kill Command ability with the following

    Code:
    if not IsPetAttackActive() 
    or IsRightControlKeyDown() 
    or UnitIsDead("pet") then return false end
    
    if IsSpellInRange(tostring(GetSpellInfo(2649)), "pettarget") == 1 then return true end
    This will make the rotation skip Kill Command when you hold down Right CTRL or it will skip if you do not have a pet out or your pet is dead. This might help on those fights where the pet goes nuts and won't Kill Command.
    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

  8. #3698
    sheuron's Avatar Knight-Champion
    Reputation
    319
    Join Date
    Aug 2011
    Posts
    504
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by LazyLazy View Post
    Hi crystal_tech.

    First of, thank you for your constructive input.

    First of, as i said in my original post. I'm not using PQR or anything else found here on ownedcore, i merely brought this issue up for you guys as a heads up. Now with that said, let's continue.

    The link you gave earlier API IsSpellInRange - WoWWiki - Your guide to the World of Warcraft is outdated, as it doesn't state that you can also pass spelll index as an argument to IsSpellInRange, so the correct documentation for this would be:
    inRange = IsSpellInRange(index, "bookType", "unit") or IsSpellInRange("name", "unit")
    Return values remains the same as always.

    Using a range check on those spell thats bugged was actually my first workaround, but i found it to flakey.

    So the right approach to solve this is the following.
    If IsSpellInRange([name or ID], "unit") fail, you should try IsSpellInRange(index, "bookType", "unit")

    The reason you want to check first with the normal way IsSpellInRange([name or ID], "unit"), is because i just found out that Tricks of the Trade is bugged is used with the spell index.

    So to summ it up.
    First check the way you normally do, if that returns empty, then check with the spell index and problem solved.
    You name all things you dont understand bug?

    It's not a bug, IT'S A FEATURE
    [ Sheuron PQR Profiles Pack ] https://goo.gl/lfAMC
    If you like this piece of code feel free to invite me a beer making a donation.
    My paypal account: [email protected]

  9. #3699
    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 Ssateneth View Post
    You completely ignored his issue. Did you even bother to see if you could replicate his problem? Certain spells are BUGGED. If he has a hostile target within melee range and wants to get IsSpellInRange("Living Bomb","target"), it SHOULD return 1, but it returns nil. This also occurs with Devastate and ... wait for it ... FROST STRIKE! Instead of trying to look smart, how about looking to see if his problem is actually a problem and not a bad assumption on your part that he is stupid.
    you are a contribute at least post like one this is the garbage a leecher would write

    Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
    Last edited by imdasandman; 09-07-2012 at 05:55 PM.
    My Frost/Unholy DK WoL ranking edits(4.3) and crystals Hunter Beta profiles-
    https://imdasandmandeathknight.googl...com/svn/trunk/
    Originally Posted by Valma View Post
    Oh sure. (: Plz,lord,rewrite my profile without "re-inventing a wheel".I'm really interested how would you do so.I even ready to eat my pants if yours will perform better in raids than mine

  10. #3700
    Ssateneth's Avatar Contributor
    Reputation
    142
    Join Date
    May 2008
    Posts
    866
    Thanks G/R
    1/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by imdasandman View Post
    you are a contribute at least post like one this is the garbage a leecher would write

    Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
    I contributed a lot when lua ninja hack was around (about the time of late tier 9, early tier 10 of WotLK) by making 1 button rotations, but I got fed up with the same redundant questions that were asked left and right. I had hoped people would -learn- from my scripts, but apparently that was too hard, so I stopped writing scripts and stopped receiving rep.
    KuRIoS is awesome!

  11. #3701
    wooloveshacks's Avatar Member
    Reputation
    5
    Join Date
    Nov 2008
    Posts
    33
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Whatever you think of Ssateneth's post in this thread, it's undeniable that Ssateneth is legendary in scripting.

    Loved the luaninja scripts (and assistance given to other scripters). and they're still used by quite a few as the framework for their current work.

    On that note, I'd like to thank everyone for their contributions and wish you all a happy 2 week, 3 days countdown till MoP

  12. #3702
    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)
    Aaaaaaaaaaand, to further update on the Feral Rotation of using Rake only and Shred/Mangle for Rip extensions, here's a little Blizzard feedback from Ghostcrawler:
    Beta Class Balance Analysis Pt. II - Forums - World of Warcraft
    Originally Posted by Ghostcrawler
    At both level 85 and level 90, in high-mastery conditions, Rake will outscale Shred for DPE and become the primary filler move for CPs. Shred is still weaved in to extend rip duration and letting tf/proc buffed Rakes roll, but overall the rotations is largely simplified by just spamming rake.
    Yeah, this seems like a valid concern (i.e. the numbers make sense). We'll investigate and try to shift damage around to discourage it.

    Soooo, further ado, my profile will be staying the same as it is as most likely, from the wording of that post, they are going to remove damage from rake and put it in other places. My guess, their going to probably seriously buff Rip to make up for the missing Damage or add it back to Shred/Mangle like it was before 5.0.4.

    Until something comes out on Beta, it's a big waiting game to see exactly what their going to do from stopping Rake spam. For all we know, they might Buff our Bleeds and Nerf our mastery, which doesn't seem half bad since the mastery got a buff I believe in 5.0.4.

  13. #3703
    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)
    this will be the last post on the isspellinrange api,

    I wasn't trying to start a flame war and I never used luaninja, with the info that i posted from wowwikki i was hoping that we could find coders the workaround for the api messing up. I posted the info from that page to show people what can cause a nil value on the call. its a major patch and things changed we all are having to relearn a bit so there will be bugs/errors/upset people but I wasn't trying to 'out smart' anyone.

    Anywho, I'm sorry if I seemed like that. Next up: Demo Lock!

    Please if someone helped you donate rep to them.

  14. #3704
    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 crystal_tech View Post
    this will be the last post on the isspellinrange api,

    I wasn't trying to start a flame war and I never used luaninja, with the info that i posted from wowwikki i was hoping that we could find coders the workaround for the api messing up. I posted the info from that page to show people what can cause a nil value on the call. its a major patch and things changed we all are having to relearn a bit so there will be bugs/errors/upset people but I wasn't trying to 'out smart' anyone.

    Anywho, I'm sorry if I seemed like that. Next up: Demo Lock!
    Woot woot I know quite a few people who are expectant of Demo !
    ^0^Team Nova's PQR NCC ^0^

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

  15. #3705
    KleskReaver's Avatar Sergeant
    Reputation
    9
    Join Date
    Jul 2012
    Posts
    39
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @ [Blinded]

    Just wanted to give you a heads up, in the new 5 man instance "Scarlet Halls" there are some mobs that man cannons called "Scarlet Cannoneer": Scarlet Cannoneer - NPC - World of Warcraft

    these mobs don't engage you in combat and just stand there firing cannon balls onto your group doing AOE damage

    Due to the way these mobs function I had to add "Scarlet Cannoneer" to your list of SpecialAggro targets in "PQR_notValid.lua"

    tested and works

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