Close
Page 1 of 2 1 2 LastLast
Showing results 1 to 10 of 15

Thread: Managing procs

  1. #1

    Default Managing procs

    Hi there

    Been wanting to setup some kind of proc handling system for my elemental shamans.

    What I would like to do is handle procs like Maat does.

    Simply have a button which spams Earth Shock, this button wont be clickable until I have 7-9 stacks of Lightning Orbs.

    Been toying with Maats script, but with no succsess at all. Any1 got any ideas how to go forward with this?


    -------------------------------------------------------------------------
    -- FRAMES
    -------------------------------------------------------------------------
    local addon = CreateFrame("Frame", UIParent)
    local numFrames = 4
    -- Global table for debugging purpsoe
    mh = {}
    local mhKey = "mh%d"
    for i=1, numFrames do
    mh[mhKey:format(i)] = true
    mh[mhKey:format(i).."bg"] = true
    end
    -- Action bar slot size
    local posXoffset = 26
    local posX = 0
    -- generate frames and background
    for i=1, numFrames do
    mh[mhKey:format(i)] = CreateFrame("Frame", UIParent)
    mh[mhKey:format(i).."bg"] = mh[mhKey:format(i)]:CreateTexture("Background", "BACKGROUND")
    mh[mhKey:format(i).."bg"]:SetTexture(1, 1, 1, 0.05)
    mh[mhKey:format(i).."bg"]:SetAllPoints()
    mh[mhKey:format(i)]:SetSize(24,24)
    mh[mhKey:format(i)]:SetScript("OnMouseDown", function() end)
    posX = posX + posXoffset
    mh[mhKey:format(i)]:SetPoint("CENTER", WorldFrame, "CENTER", posX, 375)
    end
    -------------------------------------------------------------------------
    -- Utility
    -------------------------------------------------------------------------
    local function OnUpdate()
    -- Shaman section
    if select(2,UnitClass("player")) == "SHAMAN" then
    if select(8,GetTalentInfo(3,10)) == 0 then mh.mh1:Hide() mh.mh2:Hide() mh.mh3:Hide() mh.mh4:Hide() return end
    -- Ele shaman section
    if not UnitBuff("player", "Lightning Shield") then
    if UnitPower("player", 9) == 3 then
    mh.mh2:Hide()
    else
    mh.mh2:Show()
    end
    ----------------------------------------------------------------
    -- EVENT HANDLING
    -------------------------------------------------------------------------
    do
    local f = CreateFrame("Frame")
    local total = 0
    f:SetScript("OnUpdate", function(self, elapsed)
    total = total + elapsed
    if total > 0.2 then
    OnUpdate()
    total = 0
    end
    end)
    end
    addon:RegisterEvent("COMBAT_LOG_EVENT_UNFILTERED")
    addon:RegisterEvent("UNIT_POWER")
    addon:SetScript("OnEvent", function(self, event, ...)
    self[event](self, ...)
    end)



    Would the lua script be similar to this?


    Regards Nikita
    Last edited by Nikita : 09-19-2011 at 12:15 PM

  2. #2

    Default

    Quote Originally Posted by Nikita View Post

    Simply have a button which spams Earth Shock, this button wont be clickable until I have 7-9 stacks of Lightning Orbs.
    I think this will fall under Blizzard's definition of botting. I'm pretty sure the addon system won't let you do this.
    Jafula.
    Jamba - Jafula's Awesome Multi Boxer Assistant. An addon for YOU.

  3. #3

    Default

    Its just like an overlay on my earth shock which fades when I have 7-9 staks. Dont see why this wouldnt be legal

  4. #4

    Default

    yep this is classed as a automated system Nikita. the best way is useing jmaba to slow when i got it a 9 stack on the char on its own key for each char,

    but using overlay that talks to the game would need to read the game memey that is bannble in the tos




  5. #5

    Default

    but in any case the overlay would only prevent an actual mouse click. Do you click to spam your Earth Shock?
    .[I



  6. #6

    Default

    Would it be legal if I used my mouse to click it? Thinking about using Atramedes Shield Clicker addon, and configure it to work with my earth shock. That addon is legal, and will block mouseclicks on your screen until you need to click the shield. This way you can spam click on one spot, and once you need to click that item/shield the overlay fades

  7. #7

    Default

    Only if you manually manage the mouse. As I stated when I closed that thread, you can not use predetermined coordinates {IE, you click or press a button on your master screen and your mouse moves to X, Y on your slave screens and clicks}.
    Blog : Herding Khats
    Team : Kina - Çroaker - Messkit - Lìfetaker - Wìdowmaker
    Newbie Guides : Multiboxing Vol. 1 - Multiboxing Vol. 2 - HotKeyNet - Jamba
    The Almighty Lax made a liar out of me, apparently I DO get prizes for it.
    *Commences Wielding the Banhammer like there's piñatas up in here and I'm Lady Thor*

    _ Forum search letting you down? Use the custom Google search _

  8. #8
    Multiboxologist MiRai's Avatar
    Join Date
    Apr 2009
    Location
    Winter Is Coming
    Posts
    6815

    Default

    Or you can set up Power Auras to make big glowing things on your screen when you and/or your alts have
    the desired amount of stacks.

  9. #9

    Default

    Quote Originally Posted by MiRai View Post
    Or you can set up Power Auras to make big glowing things on your screen when you and/or your alts have
    the desired amount of stacks.
    Love power auras

    ....there is an addon that actually talks to you with this hot weird robot chick voice and will let you know when something is ready or something is used by an enemy player.

    Edit: Its called GladiatorlosSA
    Last edited by Fat Tire : 09-20-2011 at 08:53 AM

  10. #10

    Default

    Quote Originally Posted by Khatovar View Post
    Only if you manually manage the mouse. As I stated when I closed that thread, you can not use predetermined coordinates {IE, you click or press a button on your master screen and your mouse moves to X, Y on your slave screens and clicks}.
    What if I add a modifier key to press, then click my mouse on my screen, and the alts copy my mouse click? Wouls be the same way I drop healing rain on my shamans

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •