Go Back   RPG Forums > RPG Forums > Warcraft > WoW Interface

Reply
 
LinkBack Thread Tools Display Modes

need some advanced help
  #1 (permalink)  
Old 04-21-2009, 05:34 AM
huile huile is offline
Fallen
 

Join Date: Apr 2009
Posts: 1
Rep Power: 0
huile is on a distinguished road
Thumbs down need some advanced help

Entire project history


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 would this work better


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

but this again reports when the bar is active not when its not on screen.

Would there be use of an elseif statment to remedy this problem?


from another author not from me
or is there another way to go about doing this.

thanks for your time


/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*
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #2 (permalink)  
Old 04-21-2009, 10:17 AM
Templar's Avatar
Templar Templar is offline
Blood Lord
 
Join Date: Jan 2005
Posts: 3,094
Rep Power: 28
Templar has a reputation beyond reputeTemplar has a reputation beyond reputeTemplar has a reputation beyond reputeTemplar has a reputation beyond reputeTemplar has a reputation beyond reputeTemplar has a reputation beyond reputeTemplar has a reputation beyond reputeTemplar has a reputation beyond reputeTemplar has a reputation beyond reputeTemplar has a reputation beyond reputeTemplar has a reputation beyond repute
Default

Just reading through it briefly, you are trying to make a macro to display a message to you if you are on global cooldown? Or are you trying to make the message appear to the whole party/raid?

Not really sure what your overall goal is here... I mean, if it's just to you, there really isn't any point, considering that trying to cast a spell while on any cooldown will automatically give a message "Spell is not ready yet" to the user.

Are you trying to make a type of "auto" macro so that spells will cast constantly and almost automatically? For example, one button will cause a continuous rotation of Arcane Blast x3, Arcane Missiles/Arcane Barrage? If so, this is very risky. Blizz has been known to ban people for having macros that do this sort of thing. Some of the gaming keyboards (Logitech G11 and G15) have macro buttons on the keyboard themselves, and these macro buttons were getting people banned because they could essentially set one button to do everything in the game for them, almost like a bot.

Like I said, not really sure what you are trying to make a macro for... You just say you need to identify global cooldowns.
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 04-21-2009, 03:05 PM
Zerrin's Avatar
Zerrin Zerrin is offline
Oblivion Knight
 

Join Date: Feb 2006
Location: Earth
Posts: 2,640
Rep Power: 11
Zerrin is a splendid one to beholdZerrin is a splendid one to beholdZerrin is a splendid one to beholdZerrin is a splendid one to beholdZerrin is a splendid one to beholdZerrin is a splendid one to beholdZerrin is a splendid one to beholdZerrin is a splendid one to beholdZerrin is a splendid one to behold
Send a message via AIM to Zerrin
Default

Macros are tough bro, I don't think you are gonna get any advanced help here there is literally a book written on wow macros.

Hacking WoW: Creating Advanced Macros - 3D Graphics, Audio & HDTV by ExtremeTech
__________________


Fuck Yeah I Am!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 02:45 PM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright ©2000-2010 RPGForums.com