Twist.mac - Non Combat/Combat Bard Song Twister

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

Moderator: MacroQuest Developers

Fuzzies
decaying skeleton
decaying skeleton
Posts: 7
Joined: Thu Apr 22, 2004 2:53 pm

Having problems with this one

Post by Fuzzies » Fri Apr 30, 2004 2:43 pm

First off, this macro is one of my favorites. I know there are ones out there that do everything for me, but I like to still play, and just avoid the hand cramps. :wink:

I am aboslutely sure I have the right file. When I use only a small list of songs, say 4 or 5, it works just fine. It is when I try to use 22 songs that I seem to have the problems. I just want to twist in 49 selos every now and then a possible a heal, so I do several sets of 4 with the dots and then put in the selos and heal. A typical command looks about like this: /mac twist.mac 3456345634563456134567. I know it is ugly, but it suits my purpose.

My dots are on 3456, selos on 1 and heal on 7. So I populate the call to the mac and get told instantly that I do not seem to have the spell memorized. Then it kicks off my selos (which is not first on my list) then it rolls to my second gem which is not even in my list. Then I just get ultra spammed that I do not seem to have that spell memorized, and I have to kill the macro.

Basically I have just reduced the macro to my 4 dots and just watch the buff slots for what is about to drop and manually twist it back in. It was working like a champ before the change to the new vars.. Any ideas, aside from just not putting that many songs in? I have looked at the maco to see if I could find it, but to no avail. Since the arrays are set to 30 I figured it should be able to handle 22 without a problem.

Fuzz

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

Post by ml2517 » Fri Apr 30, 2004 3:58 pm

I'm going to ask this question and probably get pissed off at the result. Are you on the latest version of MQ2? The very very latest? Did you do a batch clean then a batch build?

Fuzzies
decaying skeleton
decaying skeleton
Posts: 7
Joined: Thu Apr 22, 2004 2:53 pm

Post by Fuzzies » Fri Apr 30, 2004 4:21 pm

I am using the April 29 2004 16:34:26 version. And I recompiled it just a couple hours ago. As far as a batch clean then build, I download and unzip into an entirely new directory each time with a time stamp to make sure I never have any problems.

That being said, I will download again and run a complete build again.

Fuzz

Fuzzies
decaying skeleton
decaying skeleton
Posts: 7
Joined: Thu Apr 22, 2004 2:53 pm

Post by Fuzzies » Fri Apr 30, 2004 4:36 pm

Okay, recompiled and I am having even less luck than before. It still works fine if I have only the 4 songs in there, but when I try my long list, all I get now is spell not memed spam.

Fuzz

Fuzzies
decaying skeleton
decaying skeleton
Posts: 7
Joined: Thu Apr 22, 2004 2:53 pm

Post by Fuzzies » Fri Apr 30, 2004 4:38 pm

Ran it again. Am getting the exact same problem as I described in my first post. Not sure if the last run was having some sort of lag, but this is what I am getting now.

Fuzz

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

Post by ml2517 » Fri Apr 30, 2004 6:40 pm

Updated:
twist.mac

Ok I managed to pull my head out of my ass when I got home from work. I had 2 variables declared incorrectly. Give it a shot now.

Fuzzies
decaying skeleton
decaying skeleton
Posts: 7
Joined: Thu Apr 22, 2004 2:53 pm

Perfect

Post by Fuzzies » Fri Apr 30, 2004 11:19 pm

Thanks ml, so far so good. Do you ming pointing out what you changed? I have the original code at work but was just wondering what the problem was, as I am still trying to wrap my mind around the new stuff.

Fuzz

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

Post by ml2517 » Fri Apr 30, 2004 11:36 pm

I changed a few things but the main problem was that I'd mistakenly declared the two variables I used to store the combat and noncombat song list as int instead of string. Then when it was trying to parse out each song from those variables it was spitting out some crazy results heh.

Fuzzies
decaying skeleton
decaying skeleton
Posts: 7
Joined: Thu Apr 22, 2004 2:53 pm

Perfect

Post by Fuzzies » Fri Apr 30, 2004 11:52 pm

Thanks ml, so far so good. Do you ming pointing out what you changed? I have the original code at work but was just wondering what the problem was, as I am still trying to wrap my mind around the new stuff.

Fuzz

Zazoot
a hill giant
a hill giant
Posts: 163
Joined: Sat Feb 07, 2004 11:02 am

Post by Zazoot » Sat May 01, 2004 6:56 am

its giving me all sorts of fun variable errors.

if you like i will give them to you to see

ive cleaned compiled etc with latest files, im not running any extra plugins. so

im curious ml, do you compile with vs .net ? and does it matter ? im using vs6 with sp6

Oid
a snow griffon
a snow griffon
Posts: 416
Joined: Thu Oct 17, 2002 3:26 am
Contact:

Post by Oid » Sat May 01, 2004 9:36 am

Works fine for me.
Smokey the Lax says only you can prevent reproduction.

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

Post by ml2517 » Sat May 01, 2004 10:40 am

Zazoot wrote:its giving me all sorts of fun variable errors.

if you like i will give them to you to see

ive cleaned compiled etc with latest files, im not running any extra plugins. so

im curious ml, do you compile with vs .net ? and does it matter ? im using vs6 with sp6
Me thinks you are running an old one that you don't know you have sitting around. Check, double check and triple check your macros directory and make sure you are using the right one. The best way to check is put this as the first line after Sub Main:

/echo YES THIS IS RIGHT

If you see it, and you've double checked that the code below it is the code from the latest release and it is still doing it. Let me know.

Zazoot
a hill giant
a hill giant
Posts: 163
Joined: Sat Feb 07, 2004 11:02 am

Post by Zazoot » Sat May 01, 2004 4:14 pm

tried that, if i add an echo at the start it works, if you peopel saying it works for you then just give me some time and ill figure out whats wrong

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

Post by ml2517 » Sat May 01, 2004 5:33 pm

Show me how you are starting the macro:

IE: /macro twist.mac xxxx

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

clarity song

Post by Craft » Sat May 01, 2004 7:50 pm

I don't know if this is an error or not but I'm unable to twist multiple songs if one of the songs is a mana song. The macro works almost flawlessly otherwise but if I include the mana song in the macro the macro will just stall on that song and keep casting it over and over again without moving onto the next song.

Craft