PQR - Rotation Bot menu

User Tag List

Page 26 of 116 FirstFirst ... 22232425262728293076 ... LastLast
Results 376 to 390 of 1739
  1. #376
    haisenberg's Avatar Member
    Reputation
    1
    Join Date
    Aug 2011
    Posts
    56
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by rootlsuer View Post
    High level frameworks are generally a bad idea especially with changing content. The WoW API has all the tools you need to perform these actions; adding more obscurity would merely make this task more difficult or obscure. If you want to see code on how to heal blue blobs or tsulong, check out vachiusa's profiles.
    I see your point. Blue blobs or tsulong were just examples. The main idea behind it (was): Right now, most profiles have their own library of events and actions, some work very good some not ( -> I mean certain bosses and actions work better then others and certain libraries work better then others in certain regards). Why not merging them into one "big (bad)" thing / library where any developer can make use of right away... not really bigger then currently existent. 3 modules: dps, tank, heal (MAYBE fourth category for whatever special task a person can have). The developer takes the respective and necessary module for hier/her new/current profile.. and ta-da... boss actions added (of course, my description is VERY superficial, I am aware of that).

    PQR - Rotation Bot
  2. #377
    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 warlock2000 View Post
    Hi, quick question for the knowledgeable guys. Here's a piece of code I've written for a Shadowburn function with Havoc up. It works perfectly for its designed function so far in raids.

    The weird thing is, if I'm running around Shrine or in a raid instance and do not have a target, I get huge LUA error spam. The moment I target any player or Npc, the spam stops.

    Code:

    local Targethealth = 100*UnitHealth("target")/UnitHealthMax("target")
    local Havoc,_,_,Havocstacks = UnitBuffID("player",80240)
    local TargetID = tonumber(UnitGUID("target"):sub(6,10),16)
    ----------------------------------------------------------------------------

    if UnitAffectingCombat("player")
    and UnitExists("target") ~= nil then
    if TargetID == 73195 -- Kor'kron Jailer
    or TargetID == 71720 -- Ice Tomb
    or TargetID == 71979 -- Kor'kron Warbringer
    or TargetID == 71983 -- Farseer Wolf Rider
    or TargetID == 72154 -- Desecrated Weapon
    or TargetID == 72198 -- Empowered Desecrated Weapon
    or TargetID == 72272 then -- Minion of Y'Shaarj
    if IsPlayerSpell(17877) == true
    and PQR_SpellAvailable(17877) == true
    and IsSpellInRange(GetSpellInfo(17877),"target") == 1
    and Havoc ~= nil and Havocstacks >= 1
    and UnitPower("player",14) >= 1
    and Targethealth <= 20 then
    CastSpellByName(GetSpellInfo(17877),"target")
    LASTCAST = "Shadowburn"
    return true
    end
    end
    end

    Any ideas?!?
    the lua errors stem prob from you math not getting a value or its returning a nil.

    i've made some mods to your code however, take them as you see them or change them up again.

    PHP Code:
    local sTargets = { 73195717207197971983721547219872272 } --add your mobs here
    local Havoc
    ,_,_,Havocstacks UnitBuffID("player",80240)
    local Targethealth 999 --using this to prevent nil math errors

    if UnitExits("target"then Targethealth 100*UnitHealth("target")/UnitHealthMax("target") else Targethealth 999 end 
    --above keeps Targethealth as a local for ya

    function isStarget() --pretty much this is ments specialUnit function 
        if 
    UnitExists("target"then
            local TargetID 
    tonumber(UnitGUID("target"):sub(6,10),16)
            for 
    i=1#sTargets do
                
    if sTargets[i] == TargetID then
                    
    return true
                end
                
    return false
            end
        
    else
            return 
    false
        end
    end

    --the core
    if UnitAffectingCombat("player") and UnitExists("target"then
        
    if IsPlayerSpell(17877)
            and 
    PQR_SpellAvailable(17877)
            and 
    IsSpellInRange(GetSpellInfo(17877),"target") == 1
            
    and Havoc ~= nil and Havocstacks >= 1
            
    and UnitPower("player",14) >= 1
            
    and Targethealth <= 20
            
    and isStarget() --the new function to check npcids 
        then
            CastSpellByName
    (GetSpellInfo(17877),"target"
            
    LASTCAST "Shadowburn"
            
    return true
        end
    end 

    Please if someone helped you donate rep to them.

  3. #378
    warlock2000's Avatar Sergeant
    Reputation
    8
    Join Date
    May 2013
    Posts
    64
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for this crystaltech ^^^. This is superb.

  4. #379
    Cikapaja's Avatar Member
    Reputation
    4
    Join Date
    Oct 2012
    Posts
    34
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    New offsets anyone?

    Edit:
    Actually everything is working on 17399, disregard this post.
    Last edited by Cikapaja; 10-16-2013 at 07:21 AM.

  5. #380
    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 warlock2000 View Post
    Thanks for this crystaltech ^^^. This is superb.
    no prob, i did forget one thing.

    the function is being recreated everytime the ability is ran so to stop it and only create it once put the function inside a if then like this

    if not _runonce then
    function here
    _runonce = true
    end


    would prevent some laggy-ness in the the profile.

    Please if someone helped you donate rep to them.

  6. #381
    jshookz's Avatar Member
    Reputation
    1
    Join Date
    Aug 2013
    Posts
    203
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    PQR not working on the PTR servers.

  7. #382
    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)
    I didnt know PTR-servers were still up, what can they possible be testing there now when 5.4 has gone live already?

  8. #383
    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)
    5.4.1 patch

    Please if someone helped you donate rep to them.

  9. #384
    jshookz's Avatar Member
    Reputation
    1
    Join Date
    Aug 2013
    Posts
    203
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well not even that I go on the PTR to test out profiles for the toons that I don't have 90's for :P

  10. #385
    fzU's Avatar Member
    Reputation
    3
    Join Date
    May 2012
    Posts
    38
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Any possibility to use razer mouse buttons Num1-12? like IsMouseButtonDown(9) ?

  11. #386
    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 fzU View Post
    Any possibility to use razer mouse buttons Num1-12? like IsMouseButtonDown(9) ?
    Doubtful as the name keys are just mapped keyboard keys and they don't have api like the mod keys have

    Please if someone helped you donate rep to them.

  12. #387
    Bekimo's Avatar Corporal
    Reputation
    2
    Join Date
    Mar 2012
    Posts
    17
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm really sadpanda cause there aint good working UH rotation to PVE. Would be extremely happy and spam rep to person who makes one good UH rotation.

    But still i thanks everyone who has made free rotations and Xelper massive thanks.

  13. #388
    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 crystal_tech View Post
    Doubtful as the name keys are just mapped keyboard keys and they don't have api like the mod keys have
    Oh, but there is (Possibly). Download the Razer WoW addon for the mouse and look how they have the buttons setup there. Might give you an Idea on how to get it to work. My guess though is it would be a custom function where you inject a macro on start then delete the macro after the spell is cast or something like that.

  14. #389
    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 rootlsuer View Post
    performing arithmetic on unchecked values makes me cringe...

    API UnitHealthMax - WoWWiki - Your guide to the World of Warcraft

    returns 0 by default.. you've now divided by zero.
    Returns 0 if you have no target.
    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

  15. #390
    CodeMyLife's Avatar Contributor
    Reputation
    272
    Join Date
    Mar 2013
    Posts
    707
    Thanks G/R
    24/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by fzU View Post
    Any possibility to use razer mouse buttons Num1-12? like IsMouseButtonDown(9) ?
    You should not use razer its really shitty :P

    That beign said it could be done with macros that you assing to keys in WoW.. Simply
    Soapbox Rotations Developer

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. [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
  3. rotation bot leveling (PQR)
    By classdog in forum WoW Bots Questions & Requests
    Replies: 3
    Last Post: 09-17-2013, 06:13 PM
  4. [Release] PQR - Rotation Bot
    By Xelper in forum World of Warcraft Bots and Programs
    Replies: 11680
    Last Post: 09-16-2013, 07:47 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 10:01 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