Page 2 of 8

Having problems with this one

Posted: Fri Apr 30, 2004 2:43 pm
by Fuzzies
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

Posted: Fri Apr 30, 2004 3:58 pm
by ml2517
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?

Posted: Fri Apr 30, 2004 4:21 pm
by Fuzzies
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

Posted: Fri Apr 30, 2004 4:36 pm
by Fuzzies
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

Posted: Fri Apr 30, 2004 4:38 pm
by Fuzzies
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

Posted: Fri Apr 30, 2004 6:40 pm
by ml2517
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.

Perfect

Posted: Fri Apr 30, 2004 11:19 pm
by Fuzzies
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

Posted: Fri Apr 30, 2004 11:36 pm
by ml2517
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.

Perfect

Posted: Fri Apr 30, 2004 11:52 pm
by Fuzzies
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

Posted: Sat May 01, 2004 6:56 am
by Zazoot
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

Posted: Sat May 01, 2004 9:36 am
by Oid
Works fine for me.

Posted: Sat May 01, 2004 10:40 am
by ml2517
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.

Posted: Sat May 01, 2004 4:14 pm
by Zazoot
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

Posted: Sat May 01, 2004 5:33 pm
by ml2517
Show me how you are starting the macro:

IE: /macro twist.mac xxxx

clarity song

Posted: Sat May 01, 2004 7:50 pm
by Craft
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