Register for your free account! | Forgot your password?

You last visited: Today at 08:56

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



PQ Rotation

Discussion on PQ Rotation within the WoW Bots forum part of the World of Warcraft category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2008
Posts: 25
Received Thanks: 10
PQ Rotation

PQRotation (PQR) is an all-in-one ability rotation application. It uses both simple memory reading as well as a memory detour to execute Lua code. It requires absolutely no setup* (read beta notes).
  • No addons to configure.
  • No pixel scanning to hinder performance.
  • Easily customizable and shareable abilities and rotations.
This program was mainly designed for PVE purposes, however it can easily be configured for PVP purposes as well. It will perform your currently selected rotation as perfectly as is possible, leaving the user to monitor more important things such as fight mechanics and anything else that might be happening in the party/raid. Each rotation is 100% configurable, and each ability can be assigned Lua code (protected or otherwise) that it will execute to determine if a spell should be cast. It also has a basic interrupt bot built in that allows you to interrupt ability that is interruptable (it will not try to interrupt non-interruptable abilities).

Current Pre-Configured Classes/Rotations
-PALADIN: Ret (Single Target and AOE), Prot (Single Target and AOE)
-PRIEST: Shadow. Thanks mentally.
-WARRIOR: Fury (PVE, Single and AOE), Arms (PVP), Prot (Single and AOE).
-WARLOCK: Destro, Demo, Affliction (Normal and AOE). Thanks crystal_tech.
*Please contribute any worthwhile configurations you may have and I will include them later on!

You should run WoW in either Windowed Mode (Full Screen) or Windowed Mode. Stopping/Starting the bot while minimized in "FULL SCREEN" mode may crash your WoW.

[BETA] README:
*Please note that this is beta software, and I have really only been able to configure the clases for which I have a level 85. All other classes are provided by members of the ********* community, and I will include them as they become fleshed out and available.



Download: UPDATE 1.0.10b (Patch 14545)
| If you are upgrading to a new version after using an older version during the same WoW session you should exit the old version, type /console reloadui ingame, then load the new version to avoid conflicts!








How to Use Rotation Bot
1) Launch PriorityQueueRotation.exe
2) Select the process you would like to attach to. You must be logged into your character to do this.
3) Select your Primary and Secondary rotations.
4) Press ALT+X to start your Primary rotation, and ALT+Z to start your Secondary rotation. Pressing the key(s) again will either stop the bot or switch the rotation, depending on what you have selected.

How to Use Interrupt Bot
1) Add/Remove any spell that you would like to interrupt on the main form or select "Interrupt All Spells".
2) Press ALT+C to start/stop Interrupt Mode.

Upcoming Features
-To Be Determined-

Known Issues
-
-None!

Configuring a Rotation

1) Select the "Rotation Editor"
2) Select the Class that you wish to edit.
3) Select the rotation you wish to edit, or add a new rotation.
4) The "Current Abilities" list is the rotation that will be used.
5) Rotations are automatically saved as you make changes.








Configuring an Ability
1) Select "Ability Editor" from the main form.
2) Select the Class for which you would like to configure an ability for.
3) You can then either select an ability from the list to load its settings, or create a new one simply by filling in the form. Please note names must be unique or they will be over-written!
4) Configuring an ability. An ability requires 4 parts to work properly.
  1. Ability Name (Required) - this is how the rotation identifies what ability to use. This must be unique!
  2. Spell ID (Required) - The addon will perform a function to validate that this spell is available for use. If you do not want to cast a spell (IE, you want to just execute an action, set this to 0). The program will use CastSpellByID.
  3. Recast Delay - Default 0 (no delay). After casting this ability how long should we wait in milliseconds before resuming. This is to allow abilities like Immolate which take longer than GCD to cast and only cast if the DoT isn't on the target to apply the debuff so the bot doesn't instantly recast due to no Immolate being immediately on the target. This only works on casted abilities since non-cast are already lower than the GCD and should not be effected.
  4. Self Cast - Should the ability be cast on the player?
  5. Actions (Optional) - A list of macro actions that will be performed if the spell is valid (Example: /use 14 (trinket), /startattack, etc.)
  6. Lua (Required) - The code here is executed in the form of an Lua function. For an ability to be confirmed as the next ability in the rotation this must "return true", if you want the ability to simply be cast if you have the resources (mana, energy, etc.) and it is off cooldown, just leave this as return true. If you want to do something more complex, such as cast an ability if the target has <20% HP, look at the example below.
5) Press "Save"

EXAMPLE Lua: Cast Hammer of Wrath if the player has "Avenging Wrath" buff (allowing our Execute ability to be cast at any time), or if the target is less than 20% HP.


Code:
        local sAW = UnitBuffID("player", 31884) 
        local unithealth = 100 * UnitHealth("target") / UnitHealthMax("target")

        if sAW ~= nil then
            return true
        else
            if unithealth <= 20 then -- only usable if target health < 20%
                return true
            end
        end








Change Log:
Code:
1.0.10
-Updated for patch 4.2.2.14545
-PQR_IsMoving(seconds) should now return false if you have molten feathers. (Untested)

1.0.9
-NEW: Smart Hotkey Mode- click the 'Help' button on the Show Settings page for more information.
-Smart Hotkey Mode note: Recast Delays are currently applied to all 4 rotations, so if you have a delay in Rotation 1 it will also be applied to Rotation 2 if the ability is in both rotations.
-Smart Hotkey Mode note: It is HIGHLY recommended that you do not use the default provided function name for this functionality. You can change this on the Show Settings page.
-NEW: You can now run multiple PQRs. Rotation/Interrupt Hotkeys are based on which WoW has focus.
-NEW: 'Mouseover' Target Mode
-NEW: 'Click' Target Mode (Targetted AOE Spells, clicks at mouse location)
-NEW: Interrupt Delay Option
-NEW: Enable/Disable Combat Requirement Option
-BUGFIX: Will no longer try to interrupt your target if is not attackable.

1.0.8
-Added a 'Pet' cast option.
-Delay is now functional for instant cast abilities (Example: Serpent Sting, to prevent casting more than 1.)
-Code optimization.

1.0.6
-Configurable Hotkeys for 4 rotations and interrupt mode.
-Customizable Sounds (this will be updated, I am looking for better WoW sounds to add... but for now it will do!)
-Ability Editor: "Self Cast" option has been changed to "Target." Allows you to specify the target for the spell, current options are: Target, Player, Focus. Old profiles will be automatically updated when an ability is saved.
-Vanish will now trigger a .5 second delay when the cast request is sent.
-Added Warlock Rotations (thank you crystal_tech)
-Added Shadow Priest Rotation (thank you mentally)


1.0.3-1.0.5
-Testing versions, not released.

1.0.2
- Should fix WoW freezing issue.

1.0.1
-You can now change the casting rate via Settings (main form). This is the rate at which the bot checks if a spell is available to cast and attempts to cast it. Interrupts are not effected by this.
-Sending a Vanish cast (either manual or otherwise) will now result in the bot delaying for 0.5 seconds before continuing.
-Shortened version numbers to: Major.Minor.Revision... too many numbers before!

1.0.0.9
-WoW Lua: PQR_IsMoving(seconds) - returns true if the player has been moving for X seconds(down to 4 decimal place, 1.245 = 1 second 245 ms). Player is considered stationary if they have been standing in one spot for > 1 second.
-WoW Lua: PQR_NotBehindTarget() - returns true if the player is not behind the target. This only returns true if you try to cast a spell that requires you to be behind the target first, and is good for 3 seconds. So, you can now add "Shred" or "Backstab", as follows:
if PQR_NotBehindTarget() then
    return false
end
return true
-Fixed channeling issue. Typo on my part checked if you had been channeling and had LESS than 150ms left on the channel, it should have checked if you had GREATER THAN 150ms left on the channel.


1.0.0.8
-Warriors preset priorities now check spell ID rather than name of buff.
-Added Destro Lock default.
-Internal improvements. 
-Added an internal "Drop Threat" check. If player attempts to cast Feign Death or Divine Shield (threat drops/emergency buttons on GCD) but fails because they are on GCD the bot will delay .5 seconds. This allows the player to hit the key a few times and have it cast. Please post a list of any other relevant abilities you would like added (threat drops and emergency spells only, please.)

1.0.0.7
-Added a "Recast Delay" option for individual spells... this will force the bot to not recast a spell for X milliseconds (example: Immolate, gives the server time to put the Immolate Debuff on the mob so you don't recast it again immediately)... this will only work for spells with a cast time, but any spell without a cast time should be convered by the GCD so it shouldn't matter anyways.
-Added a "Force Selfcast" option for individual spells. Spells will be specifically casted with you as the target if selected.-If you close your WoW PQR will now close as well.
-Added scrollbars to the Lua editor (yay).

1.0.0.6:
-[B]No more crashes on zoning.[/B]
-No longer auto-disables when zoning.

1.0.0.5:
[B]-[/B]Significantly reduced the number of Lua calls being made per cycle.
-Minor code cleanup. 
-Settings (Interrupt List, Interrupt All, and the Primary and Secondary Rotation selections) have been finalized and will no longer reset each build.
-NOTE: There is a very very minor chance to crash when you zone if Bot Mode or Interrupt Mode is enabled while zoning, you should disable Bot Mode or Interrupt Mode if enabled before zoning. If all goes well with this build this bug should be non-existent in future builds, please let me know of any issues.

1.0.0.4:
-SpellAvailable check will now check if a spell is being channeled (with more than 150ms left on the cast) and if IsSpellUsable().
-Fixed typo in default warrior abilities.

1.0.0.3: Fixed localization issues:-UnitBuffID(unit, spellID, filter) and UnitDebuffID(unit, spellID, filter) can now be used just like all other WoW Lua. The returns for these 2 functions are identical to UnitBuff() and UnitDebuff().
-Interrupt Mode will now CastSpellByID instead of CastSpellByName("EnglishSpell")... so will now work with all localizations.
-Fixed random bot stopping issue*. (*: Should be fixed, was unable to reproduce while testing.)

1.0.0.2:
-Internal Debug Version, no changes.

1.0.0.1:
-Switched to new memory detour, no longer requires DX9.
-Cleaned up some code and crashing bug should no longer occur when you zone.

1.0.0.0:Initial Release.
Noptron is offline  
Thanks
1 User
Old 09/01/2011, 17:15   #2
 
Frosttall's Avatar
 
elite*gold: 55
Join Date: Oct 2009
Posts: 5,471
Received Thanks: 1,479
#reported

Gave no credits to the guy from *wnedcore (mm*wned)
Frosttall is offline  
Old 02/08/2012, 10:59   #3
 
Mongostyles's Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 61
Received Thanks: 369
Someon knows how i configure it to use it with cybot?
Mongostyles is offline  
Old 03/06/2012, 22:11   #4
 
elite*gold: 0
Join Date: Feb 2012
Posts: 1
Received Thanks: 0
Is this usable with lazy evo? or would it crash either or?
killswitch131 is offline  
Old 04/10/2012, 17:04   #5
 
elite*gold: 0
Join Date: Apr 2012
Posts: 1
Received Thanks: 0
Trojan dont download
xarmon is offline  
Reply




All times are GMT +1. The time now is 08:56.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.