Leafkiller wrote:I think "SpellInfo (SWIPEBEAR cd=6)" is correct. Then you would be able to type things such as "if 2s before Spell(SWIPEBEAR)"

However, "unless 2s before Spell(SWIPEBEAR)" does not work - so you have to structure your code around that (see my post when I mentioned being frustrated on page 8 of this thread).

On the subject of MANGLEBEAR, are you trying to have a second box that shows it coming off of coodown?

Thanks for replying so quickly. I feel like that solution for swipe should work... But it doesn't. Swipe gets pressed and then it is forever swipe afterwards in the box.

For the mangle bit. Mangle has a 6 second cd, If i press 3 buttons in quick succession after mangle, mangle will be off its cd at the same time as the next global.I want it to show up with the global CD in the main box at that time. Currently it waits untill the last milisecond before its off cd and then shows up.

I now have a version of the Ovale script that has been optimized based on Mew modeling (see the Mew thread for more details on the modeling that Alaron did along with my subsequent testing). rather than update the post on page 8, I am going to post it here - and make updates to this one in case people are attached to that other script. This one should produce close to 300 dps more in a raid environment.

One thing that is missing is RAVAGE code - I put some in based on the latest version of Ovale (275) but I was getting errors - so I commented it out for now as my day is at an end.

======================

New version 1.0.1 with support for Ravage/Stampede and Berserk

New version 1.0.2 folded in tbot's Bear code. I did move the option for Demo Roar higher in the script - otherwise it is never cast (it is on a toggle).

New version 1.0.3 - fixed a bug I introduced when adding in the bear code. Also did some cleanup on the Ripshred code. Everyone using the script should also make sure to update Ovale - 4.09 was released on 10/17.

New version 1.0.4 - changes text for swipe on cooldown checkbox, change max energy for berserk from 91 to 96, add optional small timer boxes (on checkbox) for rake/rip and mangle/swipe cooldowns.

New version 1.0.5 - adds two additional cooldown checkboxes for cat - Savage roar and mangle. This is controlled on a separate checkbox. Also added clipping to Rip conntrolled by a checkbox.

Per request, I will keep the last two versions of the script posted here.

# Ovale Optimized Script Leafkiller 1.0.5# Bear code from tbot# Started with the Ovale default druid script, this includes significant work from Alaron and goes back to the work of Fatalsaints# Script source: http://fluiddruid.net/forum/viewtopic.php?f=3&t=33# Ovale source: http://wow.curse.com/downloads/wow-addons/details/ovale.aspx# Initial optimized version based on Sim work from Alaron with some modifications from Leafkiller# Revision History (post 1.0)# 1.0.5 - 10/19/2010# Add option to clip Rip# Add two more small boxes - for cat: Mangle/SR, nothing for bear for now.# 1.0.4 - 10/19/2010# Change Berserk max energy to 96 (from 91)# Add to small boxes to the right for cat to show Rake and Rip cooldowns and mangle/swipe for bears# Change name for swipe switch to "Swipe on cooldown"# 1.0.3 - 10/18/2010# Fix bad "{" I put in with the bear code# Fix Ripshred code that is now showing up with the new Ovale (it didn't show up before)# 1.0.2 - 10/17/2010 - Included tbot's bear code# Moved Demo Roar higher in the script so it will actually be called# 1.0.1 - Changes based on Sim results# FF refresh at 1 second (down from 2)# Rake clip set to 2.9 rather than 2 - this could be a dps increase per the simulator# Ravage code included - fires during TF or when 3 seconds left before Stampede falls off (to make sure we don't miss it)# Berserk code included

# Two conditions for FB during Blood of the Water phase if ComboPoints(more 0) and TargetDebuffExpires(RIP 2 mine=1) and TargetLifePercent(less 25) and TargetDebuffPresent(RIP mine=1) { Spell(FEROCIOUSBITE) } # Add in FB code for end of fight - only do this is Rip buff is present if ComboPoints(more 4) and TargetLifePercent(less 25) and TargetDebuffPresent(RIP mine=1) { Spell(FEROCIOUSBITE) }

#Extends Rip with shred if glyph if Glyph(GLYPHOFSHRED) and TargetDebuffPresent(RIP mine=1) and TargetDebuffExpires(RIP 4 mine=1) and Counter(ripshreds less 3) { Spell(SHRED) }

# Burn combo points on FB if the target is about to die - on a boss fight this is redundant with BotW phase if ComboPoints(more 4) and TargetDeadIn(less 7) { Spell(FEROCIOUSBITE) }

# Savage Roar code - both when it is down and the desync code for Rip and Roar if ComboPoints(more 0) and BuffExpires(SAVAGEROAR 1) and TargetDebuffPresent(RIP 6 mine=1) { Spell(SAVAGEROAR) } if ComboPoints(more 2) and BuffExpires(SAVAGEROAR 6) and less than 6s between BuffExpires(SAVAGEROAR) and TargetDebuffExpires(RIP mine=1 forceduration=22) { unless TargetDebuffExpires(RIP 6 mine=1) Spell(SAVAGEROAR) } if BuffPresent(STAMPEDE) and BuffPresent(TIGERSFURY) { unless BuffPresent(CLEARCASTING) Spell(RAVAGE) }

# Conditions for Shreding now that everything else is taken into account if Mana(more 69) Spell(SHRED) if BuffPresent(CLEARCASTING) or TargetDeadIn(less 10) or BuffPresent(BERSERK) Spell(SHRED) if ComboPoints(less 5) and TargetDebuffExpires(RIP 3 mine=1) Spell(SHRED) if ComboPoints(less 1) and BuffExpires(SAVAGEROAR 2) Spell(SHRED) if { 3s before Spell(TIGERSFURY) } Spell(SHRED) }}

# Two conditions for FB during Blood of the Water phase if ComboPoints(more 0) and TargetDebuffExpires(RIP 2 mine=1) and TargetLifePercent(less 25) and TargetDebuffPresent(RIP mine=1) { Spell(FEROCIOUSBITE) } # Add in FB code for end of fight - only do this is Rip buff is present if ComboPoints(more 4) and TargetLifePercent(less 25) and TargetDebuffPresent(RIP mine=1) { Spell(FEROCIOUSBITE) }

#Extends Rip with shred if glyph if Glyph(GLYPHOFSHRED) and TargetDebuffPresent(RIP mine=1) and TargetDebuffExpires(RIP 4 mine=1) and Counter(ripshreds less 3) { Spell(SHRED) }

# Burn combo points on FB if the target is about to die - on a boss fight this is redundant with BotW phase if ComboPoints(more 4) and TargetDeadIn(less 7) { Spell(FEROCIOUSBITE) }

# Savage Roar code - both when it is down and the desync code for Rip and Roar if ComboPoints(more 0) and BuffExpires(SAVAGEROAR 1) and TargetDebuffPresent(RIP 6 mine=1) { Spell(SAVAGEROAR) } if ComboPoints(more 2) and BuffExpires(SAVAGEROAR 6) and less than 6s between BuffExpires(SAVAGEROAR) and TargetDebuffExpires(RIP mine=1 forceduration=22) { unless TargetDebuffExpires(RIP 6 mine=1) Spell(SAVAGEROAR) } if BuffPresent(STAMPEDE) and BuffPresent(TIGERSFURY) { unless BuffPresent(CLEARCASTING) Spell(RAVAGE) } }}

# Ovale Optimized Script Leafkiller 1.0.4# Bear code from tbot# Started with the Ovale default druid script, this includes significant work from Alaron and goes back to the work of Fatalsaints# Script source: http://fluiddruid.net/forum/viewtopic.php?f=3&t=33# Ovale source: http://wow.curse.com/downloads/wow-addons/details/ovale.aspx# Initial optimized version based on Sim work from Alaron with some modifications from Leafkiller# Revision History (post 1.0)# 1.0.4 - 10/19/2010# Change Berserk max energy to 96 (from 91)# Add to small boxes to the right for cat to show Rake and Rip cooldowns and mangle/swipe for bears# Change name for swipe switch to "Swipe on cooldown"# 1.0.3 - 10/18/2010# Fix bad "{" I put in with the bear code# Fix Ripshred code that is now showing up with the new Ovale (it didn't show up before)# 1.0.2 - 10/17/2010 - Included tbot's bear code# Moved Demo Roar higher in the script so it will actually be called# 1.0.1 - Changes based on Sim results# FF refresh at 1 second (down from 2)# Rake clip set to 2.9 rather than 2 - this could be a dps increase per the simulator# Ravage code included - fires during TF or when 3 seconds left before Stampede falls off (to make sure we don't miss it)# Berserk code included

# Two conditions for FB during Blood of the Water phase if ComboPoints(more 0) and TargetDebuffExpires(RIP 2 mine=1) and TargetLifePercent(less 25) and TargetDebuffPresent(RIP mine=1) { Spell(FEROCIOUSBITE) } # Add in FB code for end of fight - only do this is Rip buff is present if ComboPoints(more 4) and TargetLifePercent(less 25) and TargetDebuffPresent(RIP mine=1) { Spell(FEROCIOUSBITE) }

#Extends Rip with shred if glyph if Glyph(GLYPHOFSHRED) and TargetDebuffPresent(RIP mine=1) and TargetDebuffExpires(RIP 4 mine=1) and Counter(ripshreds less 3) { Spell(SHRED) }

# Burn combo points on FB if the target is about to die - on a boss fight this is redundant with BotW phase if ComboPoints(more 4) and TargetDeadIn(less 7) { Spell(FEROCIOUSBITE) }

# Time to recast Rip - not clipping right now if ComboPoints(more 4) and TargetDeadIn(more 6) and TargetDebuffExpires(RIP 0 mine=1) { Spell(RIP) # not checking for OOC is a 7dps loss in my sim - opting for an easier rotation }

# Cast FB is SR and Rip both have 8+ seconds left - with no restrictions on Berserk if ComboPoints(more 4) and TargetDebuffPresent(RIP 8 mine=1) and BuffPresent(SAVAGEROAR 8) { Spell(FEROCIOUSBITE) }

# Savage Roar code - both when it is down and the desync code for Rip and Roar if ComboPoints(more 0) and BuffExpires(SAVAGEROAR 1) and TargetDebuffPresent(RIP 6 mine=1) { Spell(SAVAGEROAR) } if ComboPoints(more 2) and BuffExpires(SAVAGEROAR 6) and less than 6s between BuffExpires(SAVAGEROAR) and TargetDebuffExpires(RIP mine=1 forceduration=22) { unless TargetDebuffExpires(RIP 6 mine=1) Spell(SAVAGEROAR) } if BuffPresent(STAMPEDE) and BuffPresent(TIGERSFURY) { unless BuffPresent(CLEARCASTING) Spell(RAVAGE) }

# Conditions for Shreding now that everything else is taken into account if Mana(more 69) Spell(SHRED) if BuffPresent(CLEARCASTING) or TargetDeadIn(less 10) or BuffPresent(BERSERK) Spell(SHRED) if ComboPoints(less 5) and TargetDebuffExpires(RIP 3 mine=1) Spell(SHRED) if ComboPoints(less 1) and BuffExpires(SAVAGEROAR 2) Spell(SHRED) if { 3s before Spell(TIGERSFURY) } Spell(SHRED) }}

# Two conditions for FB during Blood of the Water phase if ComboPoints(more 4) and TargetDeadIn(more 6) and TargetDebuffExpires(RIP 1.9 mine=1) { Spell(FEROCIOUSBITE) } # Add in FB code for end of fight - only do this is Rip buff is present if ComboPoints(more 4) and TargetLifePercent(less 25) and TargetDebuffPresent(RIP mine=1) { Spell(FEROCIOUSBITE) }

# Burn combo points on FB if the target is about to die - on a boss fight this is redundant with BotW phase if ComboPoints(more 4) and TargetDeadIn(less 7) { Spell(FEROCIOUSBITE) }

# Time to recast Rip - not clipping right now if ComboPoints(more 4) and TargetDeadIn(more 6) and TargetDebuffExpires(RIP 0 mine=1) { Spell(RIP) # not checking for OOC is a 7dps loss in my sim - opting for an easier rotation }

# Cast FB is SR and Rip both have 8+ seconds left - with no restrictions on Berserk if ComboPoints(more 4) and TargetDebuffPresent(RIP 8 mine=1) and BuffPresent(SAVAGEROAR 8) { Spell(FEROCIOUSBITE) }

# Savage Roar code - both when it is down and the desync code for Rip and Roar if ComboPoints(more 0) and BuffExpires(SAVAGEROAR 1) and TargetDebuffPresent(RIP 6 mine=1) { Spell(SAVAGEROAR) } if ComboPoints(more 2) and BuffExpires(SAVAGEROAR 6) and less than 6s between BuffExpires(SAVAGEROAR) and TargetDebuffExpires(RIP mine=1 forceduration=22) { unless TargetDebuffExpires(RIP 6 mine=1) Spell(SAVAGEROAR) } if BuffPresent(STAMPEDE) and BuffPresent(TIGERSFURY) { unless BuffPresent(CLEARCASTING) Spell(RAVAGE) } }}

Leafkiller - another great quality. With the new one I get now 300-400dps more output. I'm sure in some days we have a great running script as usual. Thanks for all your efforts!!!I'll always keep you informed about my script results.

I noticed in the latest Ovale changelog that Sidoine had updated the default script to add Ravage/Stampede support, so you might want to take a look there. I've started working on redoing my version of the script, but Ovale's API is so poorly documented it's frustrating. I'd like to finish my branch, then we can compare notes between the two and determine where to go from there.

I noticed in the latest Ovale changelog that Sidoine had updated the default script to add Ravage/Stampede support, so you might want to take a look there. I've started working on redoing my version of the script, but Ovale's API is so poorly documented it's frustrating. I'd like to finish my branch, then we can compare notes between the two and determine where to go from there.

I pulled code from that branch but still had issues. I will recheck today - it was so late I just commented it out last night.

tbot wrote:Thanks for replying so quickly. I feel like that solution for swipe should work... But it doesn't. Swipe gets pressed and then it is forever swipe afterwards in the box.

For the mangle bit. Mangle has a 6 second cd, If i press 3 buttons in quick succession after mangle, mangle will be off its cd at the same time as the next global.I want it to show up with the global CD in the main box at that time. Currently it waits untill the last milisecond before its off cd and then shows up.

If Mangle is not showing up in the main icon it is because Ovale thinks something else is ready to be cast at that moment. It may be an issue with Ovale itself that it is not recognizing Swipe has a cooldown. I have not looked through the Ovale code so I don't really know. I recommend that as a starting place you grab the latest greatest version from here: http://wow.curseforge.com/addons/ovale/files/

There are a lot of fixes going in right now so your issue may already have been fixed.

Leafkiller wrote:If Mangle is not showing up in the main icon it is because Ovale thinks something else is ready to be cast at that moment. It may be an issue with Ovale itself that it is not recognizing Swipe has a cooldown. I have not looked through the Ovale code so I don't really know. I recommend that as a starting place you grab the latest greatest version from here: http://wow.curseforge.com/addons/ovale/files/

There are a lot of fixes going in right now so your issue may already have been fixed.

Ya, the author over there is pretty quick, I posted on the forums about the issue of cat/bear abilities after 4.0 and the likely cause at like 6am and its already been fixed. Your non-glowing mangle should be fixed now too.

My issue isn't that mangle doesn't show up, its that it doesn't show up as soon as I'd like it too. I'd like to be able to show it while it is still technically on CD. I've switched to using 2 buttons now for it though, with the second warning me that mangle is about to come up. Bear funtionality is pretty much finished at this point.

# FF refresh at 1 second (down from 2)# Rake clip set to 2.9 rather than 2 - this could be a dps increase per the simulator# Ravage code included - fires during TF or when 3 seconds left before Stampede falls off (to make sure we don't miss it)# Berserk code included - I am not sure if the Glyph check code is correct but it is suggesting Berserk right after TF

@tbot - when you feel the bear code is ready, let me know and I will add it to the script.

if ComboPoints(more 0) and BuffExpires(ROAR 0) Spell(ROAR) if ComboPoints(more 4) and TargetDeadIn(more 9) and TargetDebuffExpires(RIP 12 mine=1) and at most 3s from TargetDebuffExpires(RIP mine=1) until BuffExpires(ROAR) Spell(ROAR)

I know you are working on this as fast and hard as you can. Is there any way to get the bear portion of the script into your script? I am honest enough to say that code is way over my head and I cant even attempt to know where I would insert Tbots portion for the bear.

I was looking through that code and was wondering if someone could explain a small portion of it to me.

if TargetLifePercent(less 25) and ComboPoints(more 4) and TargetDebuffPresent(RIP mine=1) and Mana(more 70) Spell(BITE)# if TargetLifePercent(less 25) and ComboPoints(more 4) and TargetDebuffPresent(RIP mine=1) Spell(BITE)

why was the 2nd line pounded? ie why would u put that prereq in there that your energy would need to be over 70 to bite? I do understand that is the 35 for the FB and the 35 for the extra energy. I just dont get why you would not just use the pounded line instead.

Hey leaf, One thing about the checkbox. The intended functionality was whether or not to save it during a boss fight. It is a tps loss to not use swipe on single target currently. The check box on suggests it should be used every cd. Off suggests saving it for a specific time.

Hi there leaf, just to tell you that the script is broken now *the cat part of it* due to the bear code and there is a ghost box showing up where the cat main rotation is supposed to show up as well and the cool downs box is now the rotations box. Can you please fix it? There are other problems as well you will notice if you dps for a bit.

If by any chance, would it be possible to save the old revisions somewhere? Just so, we can go back to it if the new one is bugged. Did not expect this to happen, as I do not keep backups myself.

dangycat wrote:Hi there leaf, just to tell you that the script is broken now *the cat part of it* due to the bear code and there is a ghost box showing up where the cat main rotation is supposed to show up as well and the cool downs box is now the rotations box. Can you please fix it? There are other problems as well you will notice if you dps for a bit.

If by any chance, would it be possible to save the old revisions somewhere? Just so, we can go back to it if the new one is bugged. Did not expect this to happen, as I do not keep backups myself.

Bad "{" - I moved it up and put a comment in front of it. I tested the bear stuff very carefully, even after the reformatting - and obviously did not retest the cat stuff after...

1.0.3 posted btw. I also did some cleanup on the Ripshred code. With the 4.09 version of Ovale I saw some new behavior - I think something was fixed with that Ovale that pointed out my code was wrong (I based that part on the default script which was changed in the last day...).

tbot wrote:Hey leaf, One thing about the checkbox. The intended functionality was whether or not to save it during a boss fight. It is a tps loss to not use swipe on single target currently. The check box on suggests it should be used every cd. Off suggests saving it for a specific time.

When I put in the line "AddCheckBox(adds L(SwipeSingleTargets))" Ovale gave me an error as you did not define "SwipeSingleTargets" anywhere in your script. I defaulted back to the existing checkbox code I had to make it work.

Do you want the checkbox to be labeled differently or is these some missing code from what you posted?