how to run my Rotations by holding a key or pushing a action bar button menu

User Tag List

Results 1 to 1 of 1
  1. #1
    wowmacro's Avatar Member
    Reputation
    7
    Join Date
    Oct 2013
    Posts
    93
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how to run my Rotations by holding a key or pushing a action bar button

    I was using lua unlock for my Rotations addons

    I want to translate all my lua to HB

    I want to know how to do this in HB ?
    if ActionButton3:GetButtonState() == 'PUSHED'
    and not IsLeftShiftKeyDown()
    and not IsLeftAltKeyDown()
    and not IsLeftControlKeyDown()
    then
    XXXXXXXXXXXXXXXX
    end
    I have tried this:
    [DllImport("user32.dll")]
    private static extern short GetAsyncKeyState(Keys vKey);
    public override void Combat()
    {
    ///////// KEY 3 //////////////////////
    if ( GetAsyncKeyState(Keys.D3) != 0 &&
    GetAsyncKeyState(Keys.LShiftKey) == 0 &&
    GetAsyncKeyState(Keys.LControlKey) == 0 &&
    GetAsyncKeyState(Keys.Alt) == 0)
    { XXXXXXXX }
    }
    but things not very good..

    sometimes the bot will do nothing when I PUSHED 3 on my keyboard and right mouse button ... and few seconds later it will continue...

    I want to run my Rotations by holding a key or pushing a action bar button, stop holding stop Rotations .

    tried :
    public override void Combat()
    {
    if ( Keyboard.IsKeyDown(Key.D2) &&
    !Keyboard.IsKeyDown(Key.LeftCtrl) &&
    !Keyboard.IsKeyDown(Key.LeftShift) &&
    !Keyboard.IsKeyDown(Key.LeftAlt))
    { SpellManager.Cast("Black Arrow"); }
    }
    and this will fully do nothing...

    I know there are some botbase or Rotations have a pause function by pressing some key.
    while what I want is start/run by pressing some key and pause by without pressing that key.

    need help :S

    how to run my Rotations by holding a key or pushing a action bar button

Similar Threads

  1. [Guide] How to Run a Safe and Fun Server!
    By Errage in forum WoW EMU Guides & Tutorials
    Replies: 83
    Last Post: 10-07-2009, 03:29 PM
  2. How many people can my server hold?
    By Sylex in forum World of Warcraft Emulator Servers
    Replies: 9
    Last Post: 02-12-2008, 06:14 PM
  3. how many players will my server hold ?
    By staskax in forum World of Warcraft Emulator Servers
    Replies: 8
    Last Post: 02-12-2008, 02:49 PM
  4. How to run the alliance WSG Flag
    By drano in forum World of Warcraft Guides
    Replies: 14
    Last Post: 01-30-2008, 07:02 AM
  5. [POSSIBLY NEW]How to run while casting *ANY SPELL*?
    By Bareno in forum World of Warcraft Exploits
    Replies: 103
    Last Post: 01-29-2008, 07:13 PM
All times are GMT -5. The time now is 08:43 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search