Page 6 of 8

Posted: Sun Jul 18, 2004 9:03 pm
by Bombadil
Ok, here is what I have found. The following:

Code: Select all

/echo ${Me.Song["1"].Duration}
Should return the duration of the song buff in Song Buff Window slot 1. It doesnt return correctly. Nor do

Code: Select all

/echo ${Me.Song["1"].Level}
/echo ${Me.Song["1"].Name}
return the proper info. They return 255 and "Unknown Spell" respectively.

This effectively breaks this portion of the code:

Code: Select all

  /if ((${Me.Song["${Me.Gem[${Song}]}"].Duration}<${Math.Calc[${Duration}-1]})&&(${Me.Buff["${Me.Gem[${Song}]}"].Duration}<${Math.Calc[${Duration}-1]})) /goto :NonCombatSing3 
I'm pretty sure this is relative to the macro not working correctly

Posted: Mon Jul 19, 2004 11:07 am
by awaterbrother
Here's the errors that get thrown up when I try and run this macro
Unparsable in Calculation: 'g'
twist.mac@129 (NonCombatSing(Song)): /if (${SingTime}>0) /goto :NonCombatSing1
twist.mac@62 (Main(NonCombatGems,CombatGems)):/if ((!${Me.Combat})||(!${Defined[CombatGems]})) /call NonCombatSing ${NonCombatSongArray[${NonCombatCurSong}]}
The current macro has ended.
Failed to parse /if condition '(29>0)', non-numeric encountered
** Great! Changing all the > and < worked. Now the macro runs without errors. However, now it is dropping each song (in a 4 song rotation) for about .5 seconds in the rotation. This isn't a lag problem so I'm wondering if since I changed all the > and < to their new > < format are there some numbers I need to switch around as well? If not, I will be happy to keep my songs to just twisting 3 instead of 4. **

Posted: Mon Jul 19, 2004 11:15 am
by aChallenged1
Look at your errors again, and notice the > this is NOT correct. Anytime you copy a macro be sure to go through it, if it was posted before, and not edited since 6/30/04, and change any and all instances of > and < to be > and < respectively.

Posted: Mon Jul 19, 2004 4:07 pm
by brettlpb
Does anyone have this working (twisting more than 1 song) as of July 18th?

Some people say theirs works fine, but mine and others seem to only stick to the first song. I don't see anything I need to do differently according to instruction.

Posted: Mon Jul 19, 2004 4:22 pm
by Bombadil
The CHARINFO struct in the latest zip is slightly off in regards to ShortBuffs (Aka Songs). Check the MQ2::Development::Structs forum for fix.

Note: If you don't know how to edit C++ Source Code then do NOT attempt to fix yourself. Just wait till they roll out an updated zip.

Posted: Mon Jul 19, 2004 4:40 pm
by aChallenged1
Which might not be far off.

Rumor exists that they will be having some kind of a patch soon due to the lag created in last set of patches. Nothing I can confirm. And I don't look forward to it. /sigh

No Worky Here

Posted: Mon Jul 19, 2004 4:50 pm
by Wite
I'm gettin this error, which it looks like someone has before.



Unparsable in Calculation: 'i'

twist.mac@125 (NonCombatSing(Song)): /if ($(SingTime<;=0)
/goto :NonCombatSingBreak
twist.mac@62 (Main(NonCombatGems,CombatGems)): /if
((!${Me.Combat})||(!${Defined[CombatGems]})) /call
NonCombatSing
${NonCombatSongArray[${NonCombatCurSong}]}
The current macro has ended.

Failed to parse /if condition '(28<;0)', non-numeric encountered



Been trying to do everything my limited abilities allow and can't get it to work.


(Edited: Did not see previous post about CHARINFO struct when this was posted, sorry if this is redundent.)

Re: No Worky Here

Posted: Mon Jul 19, 2004 4:55 pm
by Bombadil
Wite wrote:I'm gettin this error, which it looks like someone has before.



Unparsable in Calculation: 'i'

twist.mac@125 (NonCombatSing(Song)): /if ($(SingTime<;=0)
/goto :NonCombatSingBreak
twist.mac@62 (Main(NonCombatGems,CombatGems)): /if
((!${Me.Combat})||(!${Defined[CombatGems]})) /call
NonCombatSing
${NonCombatSongArray[${NonCombatCurSong}]}
The current macro has ended.


Failed to parse /if condition '(28<;0)', non-numeric encountered



Been trying to do everything my limited abilities allow and can't get it to work.

Code: Select all

($(SingTime<;=0)
It should be:

Code: Select all

($(SingTime<=0)
You didnt properly convert the < You left the ;

Posted: Mon Jul 19, 2004 5:04 pm
by Wite
Thank you very much Bombadil.

Posted: Fri Jul 23, 2004 7:09 pm
by demitri
Hi!

Anyone able to convert this to function with the new mq2data? plz! :)

/dem

Posted: Fri Jul 23, 2004 8:58 pm
by dont_know_at_all
I edited the original on page one so that it works.

Posted: Sat Jul 24, 2004 7:48 am
by demitri
as nice of you as it was Dkaa, it wasnt the problem, try running the macro and see if you can twist.

You will have the same problem Im having, will just play one song.

So, what was changed in the last mq2 that broke this and a few other macros? Please help!

Thanks,
Dem

Posted: Sat Jul 24, 2004 8:13 am
by dunce
Sorry, I just tried it.. Works for me. The non-combat part is having an issue but the primary /macro twist.mac 1234 works just fine.

Posted: Sat Jul 24, 2004 8:18 am
by demitri
o man, I must be a retard! I still cant find whats wrong :(

I start the macro for example /mac twist.mac 1357 and still plays the first song over and over...

Thanks for testing it dunce

/Dem

plays first song over and over

Posted: Sat Jul 24, 2004 3:56 pm
by bigt
I know this works fine on my friends computer but when i try it on mine it plays the first song over and over....

/twist.mac 1234