PQR - Rotation Bot menu

User Tag List

Page 251 of 779 FirstFirst ... 151201247248249250251252253254255301351751 ... LastLast
Results 3,751 to 3,765 of 11681
  1. #3751
    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 firepong View Post
    Lol, you could say that's how I did my own UnitDistance instead of using the one that Xelper made.
    Not understood ?

    EDIT:
    Why are you querying PQR_UnitInfo(var1) twice and the same with PQR_UnitInfo(var2)?

    local x1 , y1 = select(1,PQR_UnitInfo(var1)), select(2,PQR_UnitInfo(var1))
    local x2 , y2 = select(1,PQR_UnitInfo(var2)), select(2,PQR_UnitInfo(var2))
    Last edited by Wopak; 09-09-2012 at 12:39 AM.

    PQR - Rotation Bot
  2. #3752
    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 LazyLazy View Post
    Not understood ?

    EDIT:
    Why are you querying PQR_UnitInfo(var1) twice and the same with PQR_UnitInfo(var2)?

    local x1 , y1 = select(1,PQR_UnitInfo(var1)), select(2,PQR_UnitInfo(var1))
    local x2 , y2 = select(1,PQR_UnitInfo(var2)), select(2,PQR_UnitInfo(var2))
    Because PQR_UnitInfor(var1) returns 5 Values or more, can't remember in a Table:
    Value 1: X position
    Value 2: Y position
    Value 3: Z position
    Value 4: Faction ID?
    Value 5: Cant remember I know most of the time, for me, it return's 0 lol

    EDIT* See how I do select(1,... and select(2,...? I'm selecting those 2 values from the table that PQR_UnitInfo() is creating, in this case, The X and Y values of both my Target and myself in my rotation's.
    EDIT** After reading over it, I just came to a conclusion. I don't have to call it twice, but hey, I made this function way back when I was just really starting to understand LUA coding. I'll have to change it around xD lol
    Last edited by firepong; 09-09-2012 at 12:57 AM.

  3. #3753
    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 firepong View Post
    Because PQR_UnitInfor(var1) returns 5 Values or more, can't remember in a Table:
    Value 1: X position
    Value 2: Y position
    Value 3: Z position
    Value 4: Faction ID?
    Value 5: Cant remember I know most of the time, for me, it return's 0 lol

    EDIT* See how I do select(1,... and select(2,...? I'm selecting those 2 values from the table that PQR_UnitInfo() is creating, in this case, The X and Y values of both my Target and myself in my rotation's.
    EDIT** After reading over it, I just came to a conclusion. I don't have to call it twice, but hey, I made this function way back when I was just really starting to understand LUA coding. I'll have to change it around xD lol
    Your last EDIT was my point exactly Now you've taken 2 call out out PQR_UnitDistance, that you basically have no control over, which leaves us with:

    Function PQR_UnitDistance(var1, var2)
    if UnitExists(var1) and not UnitIsDead(var1) then
    local x1 , y1 = PQR_UnitInfo(var1)
    local x2 , y2 = PQR_UnitInfo(var2)
    local w = 100000
    local h = 100000
    local distance = sqrt(min(x1 - x2, w - (x1 - x2))^2 + min(y1 - y2, h - (y1-y2))^2)

    return distance
    end
    end

    -----
    Now, i know this is all minor thing's, but i'm used to database optimizing IRL and everything adds up, so here goes.

    You declaring to local variables that you're not carrying over to something else, or doing any other internal manipulation too, so i assume it's only 'fot the looks'
    local w = 100000
    local h = 100000
    Delete those and put those values directly in the line

    local distance = sqrt(min(x1 - x2, 100000 - (x1 - x2))^2 + min(y1 - y2, 100000 - (y1-y2))^2)

    Now for this line itself, it's rather pointless to make distance a local variable for the exact same reasons as stated above, plus the fact that you're declaring distance only to return it in the next line, best option is to do this.
    return sqrt(min(x1 - x2, w - (x1 - x2))^2 + min(y1 - y2, h - (y1-y2))^2)

    and delete
    return distance
    Leaving you with

    Function PQR_UnitDistance(var1, var2)
    if UnitExists(var1) and not UnitIsDead(var1) then
    local x1 , y1 = PQR_UnitInfo(var1)
    local x2 , y2 = PQR_UnitInfo(var2)
    return sqrt(min(x1 - x2, 100000 - (x1 - x2))^2 + min(y1 - y2, 100000 - (y1-y2))^2)
    end
    end



    For your thought's about taking out UnitExists(), i can't say really, i only deal with objects. But a general rule of thumb is: Always ensure you have valid input data
    Last edited by Wopak; 09-09-2012 at 05:05 AM.

  4. #3754
    CrazyCactuaR's Avatar Contributor
    Reputation
    84
    Join Date
    Sep 2008
    Posts
    201
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Testing comparison between Buba Fury Single Target and FAW, Results Attachment 10052 http://oi49.tinypic.com/34ypauc.jpg
    Last edited by CrazyCactuaR; 09-09-2012 at 07:07 AM.
    (╯°□°)╯︵┻━┻ ლ(ಠ益ಠლ

  5. #3755
    Daganjaman's Avatar Member
    Reputation
    2
    Join Date
    Aug 2012
    Posts
    60
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Still LF disc priest profiles both pvp / pve :s

  6. #3756
    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 CrazyCactuaR View Post
    Testing comparison between Buba Fury Single Target and FAW, Results Attachment 10052 http://oi49.tinypic.com/34ypauc.jpg
    Crazy stuff.

  7. #3757
    Ninjaderp's Avatar Banned
    Reputation
    199
    Join Date
    Dec 2010
    Posts
    1,847
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Whats FAW?

  8. #3758
    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 CrazyCactuaR View Post
    Testing comparison between Buba Fury Single Target and FAW, Results Attachment 10052 http://oi49.tinypic.com/34ypauc.jpg
    were u casting CD's on mine?
    ^0^Team Nova's PQR NCC ^0^

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

  9. #3759
    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 bu_ba_911 View Post
    were u casting CD's on mine?
    I asked CrazyCactuaR the same, he said: No cd's, same char, same gear, same target, same timespan (20 mins) for both tests.

  10. #3760
    Fumi's Avatar Contributor CoreCoins Purchaser
    Reputation
    207
    Join Date
    Feb 2008
    Posts
    561
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    is it possible to make PQR press Keys after a key press? if i press E if will press Q W R right after ? or if i press R Q it will press mouse5?

  11. #3761
    frII's Avatar Master Sergeant
    Reputation
    1
    Join Date
    Mar 2010
    Posts
    86
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by CrazyCactuaR View Post
    Testing comparison between Buba Fury Single Target and FAW, Results Attachment 10052 http://oi49.tinypic.com/34ypauc.jpg
    So who is FAW?Could u give a link to his profile,also DPS is kind of low.I have 35-37 on 85 lvl dummy.If u beat the new raid one,it's senless.

    Xelper are u plannig to fix interrupt?And could we expect it soon?=)
    Best regards.

  12. #3762
    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 frII View Post
    So who is FAW?Could u give a link to his profile,also DPS is kind of low.I have 35-37 on 85 lvl dummy.If u beat the new raid one,it's senless.

    Xelper are u plannig to fix interrupt?And could we expect it soon?=)
    Best regards.
    "also DPS is kind of low" ^^ Compared to ?

    Sorry i didn't relay all info, so here goes.

    I asked CrazyCactuaR the same, he said: No cd's, same char, same gear, same target, same timespan (20 mins) for both tests.

    Additional info: Training Dummy lvl 85, ilvl384

  13. #3763
    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 Wopak View Post
    "also DPS is kind of low" ^^ Compared to ?

    Sorry i didn't relay all info, so here goes.

    I asked CrazyCactuaR the same, he said: No cd's, same char, same gear, same target, same timespan (20 mins) for both tests.

    Additional info: Training Dummy lvl 85, ilvl384
    so just to clarify since I don't know what that other profile is.... i know for a fact my Profile doesn't auto cast ANY CD's.... Does the other profile auto cast ANY CD's as well?
    ^0^Team Nova's PQR NCC ^0^

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

  14. #3764
    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 bu_ba_911 View Post
    so just to clarify since I don't know what that other profile is.... i know for a fact my Profile doesn't auto cast ANY CD's.... Does the other profile auto cast ANY CD's as well?
    No it doesn't

    I asked CrazyCactuaR the same, he said: No cd's, same char, same gear, same target, same timespan (20 mins) for both tests.

  15. #3765
    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 Wopak View Post
    No it doesn't

    I asked CrazyCactuaR the same, he said: No cd's, same char, same gear, same target, same timespan (20 mins) for both tests.
    is FAW Sheuron's Fury Arms profile?
    ^0^Team Nova's PQR NCC ^0^

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

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 03:22 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