• 0

    posted a message on Quartz: Modular Casting Bar
    Quote from Phanx
    You don't need bar identification. Look at the code in Quartz's GCD module and look how it watches for the cooldown event firing on a specific spell (such as Find Herbs). There is no way to detect the GCD directly; you just have to find a spell that cannot have any cooldown other than the GCD. I no longer use Quartz, so I don't have the code available to look at myself, and don't have time to do the research and write the code for you, so pointing out in the direction of code that works is really all the help I can provide. Use the API reference on wowwiki.com to help you work out what does what.


    /script local s=GetSpellCooldown("Dampen Magic Rank7") > 0; if s then print("I'm on global cooldown.") end

    this script will not put out any output at all this is for a simple reason there is no cooldown for the specific spell u could essentially create a 'cast' loop essentially of it until mana fail

    To get proper response for what i am looking for is something which does work

    /script local s=GetSpellCooldown("Evocation") > 0; if s then print("I'm on spell not global cooldown.") end

    so essentially to get the above code to work is it reports if evocation timer is active and will not report if its not.

    so that is where an else if statment might come in. but the problem that is here is there is no report of the global cooldown because its not global cooldown which is not spell analogous its global. so it will throw an error, of nil returned because there is no spell cooldown associated with Dampen Magic Rank*
    Posted in: General AddOns
  • 0

    posted a message on Quartz: Modular Casting Bar
    well how would i go about doing something like that

    i know some simple macros for bar identification etc. and i am not the best of programmers. but like u said this would be a much better learning expierence for me this way.

    so any tools advice etc would help such as websites documentation etc really anything.

    thanks for your time

    X
    Posted in: General AddOns
  • 0

    posted a message on Quartz: Modular Casting Bar
    clearly if i am asking for simple help making a bot is clearly out of my programming grasp.

    and the reason i added that is because i got yelled at by a number of players on different relms stating that i was making a bot and i should die etc etc etc

    i was not expecting to get that negativity here

    i guess i was wrong.... i had to add that in.
    Posted in: General AddOns
  • 0

    posted a message on Quartz: Modular Casting Bar
    let me make this clear i am not looking to make a bot or anything like that.

    i have been requested by my guild to write a few macros which will assist in raiding. and for a few of them i need to identify global cooldowns and i know that the addon quartz can report it in some manner.

    i was attempting to do this through frame identification.

    my macro is very wrong and i know it. so could i ask for some assistance with it

    here it is

    thanks in advance for your time with this matter

    /run if (Quartz.gcdbar.Private.UIParent.Frame.QuartzGCDBar :OnHide)) then SendChatMessage("hello", "SAY", nil) end

    or is there another way to go about doing this.

    thanks for your time

    X
    Posted in: General AddOns
  • To post a comment, please or register a new account.