Twist.mac - Non Combat/Combat Bard Song Twister

Post your completed (working) macros here. Only for macros using MQ2Data syntax!

Moderator: MacroQuest Developers

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Sat May 01, 2004 7:52 pm

Which mana song? Level?

Omiime
a ghoul
a ghoul
Posts: 92
Joined: Tue Mar 30, 2004 9:53 pm

Post by Omiime » Sat May 01, 2004 7:57 pm

works fine for me. No problems.

/me sends ml2517 some money, to merge scripts with cunnings rogue script tho :)

I can it play songs, one block of songs, but not out of combat and then in. For some reason I can't it stop sings after combat.

Craft
orc pawn
orc pawn
Posts: 11
Joined: Fri Feb 13, 2004 3:39 am

Mana Song

Post by Craft » Sat May 01, 2004 8:02 pm

Cassindra's Chant of Clarity Level 20


Craft

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Sat May 01, 2004 8:07 pm

Ok I'll test it and get it fixed.

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Sat May 01, 2004 8:21 pm

Updated:
twist.mac

The spell formula for duration for that is hosed. It returns 50 ticks when you get to this line:

/return ${Me.Gem[${GemNumber}].Duration}

I added in a work around for that particular song. Please let me know if there are any others.

Craft
orc pawn
orc pawn
Posts: 11
Joined: Fri Feb 13, 2004 3:39 am

Mana

Post by Craft » Sat May 01, 2004 8:26 pm

Ok I'll keep testing once I get home tonight..

Craft

kkk
decaying skeleton
decaying skeleton
Posts: 2
Joined: Mon May 03, 2004 7:23 am

mana song

Post by kkk » Mon May 03, 2004 7:29 am

/if (${Me.Gem[${GemNumber}].Name.Equal[Cassindra`s Chant of Clarity]}) /return 3
to
/if (${Me.Gem[${GemNumber}].Name.Equal[Cassindra's Chorus of Clarity]}) /return 3
Chant = Chorus
` = '


The second one took me a while to find =p

Love the macro, thanks for the work!

homburg
orc pawn
orc pawn
Posts: 20
Joined: Wed Apr 07, 2004 9:52 am

Post by homburg » Mon May 03, 2004 9:24 am

Heck, I use twist.mac to auto-caanidance with my shaman (my canni macro is currently broken), and it works just fine with only one song/gem. Used it last night, worked fine. Excellent little macro!

Preocts
a snow griffon
a snow griffon
Posts: 312
Joined: Thu Jan 29, 2004 1:02 pm

Post by Preocts » Mon May 03, 2004 2:26 pm

Just because I'm the perfection type and hate wasted space I changed your array declares so the array size matches the number of songs passed.

Code: Select all

    /declare NonCombatSongArray[${NonCombatGems.Length}] int outer 
    /if (${Defined[CombatGems]}) /declare CombatSongArray[${CombatGems.Length}] int outer
Heck, if for some strange, sick reason you want to twist more than a 30 song pattern... now ya can. :twisted:

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Re: mana song

Post by ml2517 » Mon May 03, 2004 4:08 pm

kkk wrote:
/if (${Me.Gem[${GemNumber}].Name.Equal[Cassindra`s Chant of Clarity]}) /return 3
to
/if (${Me.Gem[${GemNumber}].Name.Equal[Cassindra's Chorus of Clarity]}) /return 3
Chant = Chorus
` = '


The second one took me a while to find =p

Love the macro, thanks for the work!

Umm I tested this and it worked fine with the way I have it. Do you just mean this is for the 32 mana song or something? Is it returning a funky duration as well?

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Mon May 03, 2004 4:09 pm

Preocts wrote:Just because I'm the perfection type and hate wasted space I changed your array declares so the array size matches the number of songs passed.

Code: Select all

    /declare NonCombatSongArray[${NonCombatGems.Length}] int outer 
    /if (${Defined[CombatGems]}) /declare CombatSongArray[${CombatGems.Length}] int outer
Heck, if for some strange, sick reason you want to twist more than a 30 song pattern... now ya can. :twisted:
Hello Captain Anal! :D

Preocts
a snow griffon
a snow griffon
Posts: 312
Joined: Thu Jan 29, 2004 1:02 pm

Post by Preocts » Mon May 03, 2004 5:34 pm

::takes a bow:: Thank you, thank you... no really, stop. :P

I love this macro. Does everything I was trying, quote "trying", to get my twist mac to do with such smooth running and simple design that I've completly ripped it and am making an include out of it for my personal macro. :twisted:

Two, er, thumbs up for the mac ml2517.

Fire
decaying skeleton
decaying skeleton
Posts: 9
Joined: Mon Nov 10, 2003 7:12 pm

Post by Fire » Mon May 03, 2004 5:37 pm

There are 2 bard songs Cassindra's chorus of Clarity lvl 32 and Cassindra's Chant of Clarity lvl 20, so im guessing a workaround need to be put in for both songs as they have the same type of properties.

Fire

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Mon May 03, 2004 6:24 pm

Just double checking if that was the poster meant. I'll try it out here in a few.

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Mon May 03, 2004 6:39 pm

Updated:
twist.mac

Added the special case for the 32 mana song as well.