PQR - Rotation Bot menu

Shout-Out

User Tag List

Page 731 of 779 FirstFirst ... 231631681727728729730731732733734735 ... LastLast
Results 10,951 to 10,965 of 11681
  1. #10951
    cassrgs's Avatar Master Sergeant Authenticator enabled
    Reputation
    9
    Join Date
    Oct 2011
    Posts
    90
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello there anyone got offsets for ptr 17247?

    PQR - Rotation Bot
  2. #10952
    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 MrHeroe View Post
    All right thank you. One more question about the functions:

    i found (for example) this function:



    The function UnitGetIncomingHeals() is not declared in a ability or in the lua api or in the custom functions... where does it come from?

    World of Warcraft API - WoWWiki - Your guide to the World of Warcraft
    PQR Custom Functions - PQRotation Wiki

    best regards
    It's probably a function unique to that profile, declared in the profile somewhere, for example the abilities or in a data file.
    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

  3. #10953
    Vinshom's Avatar Contributor
    Reputation
    86
    Join Date
    Apr 2012
    Posts
    428
    Thanks G/R
    11/21
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Guys, Crystal_Tech is helping me but he is not online for now. I have two issues with this destro warlock pvp profile teaked from Mavmin's pve profile. One, every time I toggle focus fear (mouse button 3, which is middle mouse) without selecting focus the profile stops working. Issue number two is when I toggle burst key ( Mouse button 5) Dark Soul: Instability is not working here, any help would be appreciated.
    Destro Warlock PvP.zip

  4. #10954
    deadpanstiffy's Avatar Knight-Lieutenant
    Reputation
    158
    Join Date
    Mar 2012
    Posts
    240
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by kickmydog View Post
    It's probably a function unique to that profile, declared in the profile somewhere, for example the abilities or in a data file.
    No it is built into the wow api, just no one has documented it on any sites.

    docs/api/UnitGetIncomingHeals - World of Warcraft Programming: A Guide and Reference for Creating WoW Addons

  5. #10955
    demisehi's Avatar Member
    Reputation
    50
    Join Date
    Jun 2009
    Posts
    147
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by deadpanstiffy View Post
    No it is built into the wow api, just no one has documented it on any sites.

    docs/api/UnitGetIncomingHeals - World of Warcraft Programming: A Guide and Reference for Creating WoW Addons
    I experimented with that API a while back and it wasn't reliable enough to do what I wanted it for with my own scripts. Maybe it is better now, or more reliable, I wouldn't know. Just saying...

  6. #10956
    kuukuu's Avatar Contributor
    Reputation
    269
    Join Date
    Jul 2012
    Posts
    619
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by bgr View Post
    Could you please explain how to do this or point me in the right direction?

    Thank you
    CML's profiles make extensive use of macros so you could try looking at his code for help maybe.
    Former PQR Developer

  7. #10957
    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)
    Originally Posted by bgr View Post
    Could you please explain how to do this or point me in the right direction?

    Thank you
    You can do it with creating your own slash commands in PQR and then macroing them in macros. Here's a good start: Creating a slash command - WoWWiki - Your guide to the World of Warcraft

    Supporter of Frozen.

  8. #10958
    MrHeroe's Avatar Member
    Reputation
    3
    Join Date
    May 2013
    Posts
    67
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you, thank you.

    One more question - why does many function or init "abilites" start with "if SetFunctions == nil then..." and at the end of that file "SetFunctions = true"?

    That is for declaring functions only one time? So the next recursions wont even look into that init file?

    Best reagds

  9. #10959
    crystal_tech's Avatar Elite User
    Reputation
    468
    Join Date
    Feb 2008
    Posts
    1,036
    Thanks G/R
    1/6
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by MrHeroe View Post
    Thank you, thank you.

    One more question - why does many function or init "abilites" start with "if SetFunctions == nil then..." and at the end of that file "SetFunctions = true"?

    That is for declaring functions only one time? So the next recursions wont even look into that init file?

    Best reagds
    yep no need to recreate the function or static globals/locals more than once

    Please if someone helped you donate rep to them.

  10. #10960
    thenthelies's Avatar Member
    Reputation
    14
    Join Date
    Dec 2007
    Posts
    70
    Thanks G/R
    3/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is there some profile/code some can reference that would allow me to set up a function to check the last ability used?

    something like;;

    if not LastAbility(133) then
    return true
    end

    The purpose of this is for a fire mage profile, the problem is refreshing Living Bomb will cause it to waste a heating up proc because it refreshes the bomb after a Fireball is casted when it needs to do Inferno Blast or Pyroblast to make use of the Heating Up proc.

    I know I could order the priority of refreshing the bomb below IB and PYRO but that causes the bomb to needlessly be delayed and off for too long in times of good RNG on crits.

    What I need is some function that allows me to tell Living Bomb to only cast if the last ability used was NOT fireball.

    +5 reps to anyone who can help

  11. #10961
    deadpanstiffy's Avatar Knight-Lieutenant
    Reputation
    158
    Join Date
    Mar 2012
    Posts
    240
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by demisehi View Post
    I experimented with that API a while back and it wasn't reliable enough to do what I wanted it for with my own scripts. Maybe it is better now, or more reliable, I wouldn't know. Just saying...
    Just saying?.. what?

    It works flawless, you were implementing it wrong.


    Your incoming heals:
    Code:
    UnitGetIncomingHeals("target", "player") or 0
    All incoming heals:
    Code:
    UnitGetIncomingHeals("target") or 0

  12. #10962
    jkleetz's Avatar Private
    Reputation
    1
    Join Date
    Jul 2013
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by thenthelies View Post
    Is there some profile/code some can reference that would allow me to set up a function to check the last ability used?

    something like;;

    if not LastAbility(133) then
    return true
    end

    The purpose of this is for a fire mage profile, the problem is refreshing Living Bomb will cause it to waste a heating up proc because it refreshes the bomb after a Fireball is casted when it needs to do Inferno Blast or Pyroblast to make use of the Heating Up proc.

    I know I could order the priority of refreshing the bomb below IB and PYRO but that causes the bomb to needlessly be delayed and off for too long in times of good RNG on crits.

    What I need is some function that allows me to tell Living Bomb to only cast if the last ability used was NOT fireball.

    +5 reps to anyone who can help
    Yes, you would use a combat log tracker and when the spell cast is success set the variable to the last spell used... Fcking noobs
    Last edited by jkleetz; 07-30-2013 at 01:13 PM.

  13. #10963
    thenthelies's Avatar Member
    Reputation
    14
    Join Date
    Dec 2007
    Posts
    70
    Thanks G/R
    3/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by jkleetz View Post
    Yes, you would use a combat log tracker and when the spell cast is success set the variable to the last spell used.
    How would I set the variable to last spell used though? I got this:
    Code:
    function LastAbilityFrame_OnEvent(self,event,...)
        if event == "COMBAT_LOG_EVENT_UNFILTERED" then
            local subEvent        = select(2, ...)
            local source        = select(5, ...)
            local destination    = select(9, ...)
            local spell            = select(13, ...)
            local damage        = select(15, ...)
            local critical        = select(21, ...)
            local buffList = buffList
            
            if subEvent == "SPELL_CAST_SUCCESS" and UnitName("player") == source and spell == GetSpellInfo(133) then
                Fireball = 1
                else
                Fireball = 0
            end    
        end
    end
    problem is it's considering the whole combat log, not just the last ability used.

    Originally Posted by jkleetz View Post
    Fcking noobs
    Such aggression! Chill friend, nobody is out to hurt you here.

  14. #10964
    Paszo's Avatar Member
    Reputation
    3
    Join Date
    Mar 2013
    Posts
    60
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How do I get PQR to work for the PTR? Can anyone help?

  15. #10965
    tonytouch's Avatar Banned
    Reputation
    7
    Join Date
    Jul 2013
    Posts
    12
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by thenthelies View Post
    How would I set the variable to last spell used though? I got this:
    Code:
    function LastAbilityFrame_OnEvent(self,event,...)
        if event == "COMBAT_LOG_EVENT_UNFILTERED" then
            local subEvent        = select(2, ...)
            local source        = select(5, ...)
            local destination    = select(9, ...)
            local spell            = select(13, ...)
            local damage        = select(15, ...)
            local critical        = select(21, ...)
            local buffList = buffList
            
            if subEvent == "SPELL_CAST_SUCCESS" and UnitName("player") == source and spell == GetSpellInfo(133) then
                Fireball = 1
                else
                Fireball = 0
            end    
        end
    end
    problem is it's considering the whole combat log, not just the last ability used.


    Such aggression! Chill friend, nobody is out to hurt you here.
    This in the data file:

    Code:
    function LastSpell_OnEvent(self,event,...)
    if event == "COMBAT_LOG_EVENT_UNFILTERED" and select(2,...) == "SPELL_CAST_SUCCESS" and select(4,...) == UnitGUID("player") then
        	lastSpellCast = select(13,...);
        	lastUnit = select(9,...);
        end
    end
    This in the profile:
    Code:
    	if not initialize then
    		local LastSpell = CreateFrame("Frame");
    		LastSpell:RegisterEvent("COMBAT_LOG_EVENT_UNFILTERED");
    		LastSpell:SetScript("OnEvent", LastSpell_OnEvent);
    		LastSpell:Show();
    		initialize = 1;
    	end
    Then, you can call the variable lastSpellCast as you wish... your example given is if the last spell was not fireball... for example:
    Code:
    if lastSpellCast ~= GetSpellInfo(133) then
     do something...
    end

    Edit: I just put lastUnit in there for your amusement,, however, to accomplish what you wanted in the first place it wouldnt be needed.
    Last edited by tonytouch; 07-30-2013 at 03:55 PM.

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 06:27 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