Simple twisting.mac MQ2Data compliant

A forum for you to dump all the macros you create, allowing users to use, modify, and comment on your work.

Moderator: MacroQuest Developers

Virtuoso65
a hill giant
a hill giant
Posts: 150
Joined: Wed Oct 15, 2003 2:29 pm

Simple twisting.mac MQ2Data compliant

Post by Virtuoso65 » Tue Apr 20, 2004 8:14 pm

Updated and cleaned up for the new system.
Stress tested on a multi hour time raid with good results.
If you do get alot of cast time recovery messages then up the /varset t0 32 to something higher like 34 or so.

Code: Select all

The code is old, iv posted new stuff in the new Macro Depot 3.0
Last edited by Virtuoso65 on Wed May 05, 2004 9:42 pm, edited 5 times in total.

utrero
orc pawn
orc pawn
Posts: 28
Joined: Tue Apr 20, 2004 11:30 am

goood

Post by utrero » Tue Apr 20, 2004 9:15 pm

works soo pretty no break or bugs in 1 hour :) my new twist macro :) thx for all :)

Huggles
orc pawn
orc pawn
Posts: 11
Joined: Wed Apr 21, 2004 6:13 pm

..

Post by Huggles » Wed Apr 21, 2004 8:13 pm

still not working for me


Ending macro: Failed to parse /if command
twist.mac @ 14 (main(p0,p1,p2,p3)):/if ${Defined[p2]}==False{

Virtuoso65
a hill giant
a hill giant
Posts: 150
Joined: Wed Oct 15, 2003 2:29 pm

Post by Virtuoso65 » Thu Apr 22, 2004 3:34 am

Yea I didnt get the /newif stuff in yet at that time huggles, its all fixed and working now.

cafaleos
decaying skeleton
decaying skeleton
Posts: 1
Joined: Thu Apr 22, 2004 4:37 am

Post by cafaleos » Thu Apr 22, 2004 4:39 am

may i have some usage examples plz?

kasodo
a lesser mummy
a lesser mummy
Posts: 64
Joined: Fri Feb 13, 2004 9:41 am

usage

Post by kasodo » Thu Apr 22, 2004 11:51 am

By looking at the macro its /mac simpletwist 1 2 3 4 numbers being the gems you want twisted.

Bardpowa
decaying skeleton
decaying skeleton
Posts: 3
Joined: Thu Apr 22, 2004 2:22 pm

nice

Post by Bardpowa » Thu Apr 22, 2004 2:23 pm

ran this for a bit ... Works great thanks =)

carpaltunnel
a lesser mummy
a lesser mummy
Posts: 31
Joined: Thu Sep 04, 2003 3:52 pm

Post by carpaltunnel » Thu Apr 22, 2004 2:51 pm

Hmm, I get "you can't twist 0 songs" when I try to use it. Doing /macro twisting.mac 1 2 3 4

*edit*

nm, was using the .a release, just complied the .b and the /if's are returning properly now, and the macro works.

agtriumph
decaying skeleton
decaying skeleton
Posts: 7
Joined: Thu Apr 29, 2004 9:27 am

eerrm what happened

Post by agtriumph » Thu Apr 29, 2004 9:42 am

This was working GREAT for me, and then i downloaded and compiled the new release today and i am getting a TON of errors ... and profanity (thanks devs.)

anyone else having this problem ? errors are as follows:

DoCommand - Couldn't parse /zapvars

/declare array failed. To declare an array use:/declare name|s|<type><scope><default element value>

Example:/declare MyStringArray|25] string local
ARRAY-UNDEFINED-ELEMENT

/declare nsongs failed. Name already in use.
/declare cursong failed. Name already in use.

/varset failed, variable a(1) not found
[MQ2] Song 1:NULL
DoCommand- Couldn't parse /varadd nsongs 1
/varset failed, variable a(2) not found
[MQ2] Song 2:NULL

DoCommand-Couldn't parse /varadd nsongs 1

/varset failed , variable a(3) not found
[MQ2]Song 3:NULL

Ending macro: Calculate encountered unparsable text @10<=0
twisting.mac@39(Main(p0,p1,p2,p3)):/if(@10<=0){
The current macro has ended.
Failed to parse /if condition (@10<=0), non-numeric encountered

Error:{

Maybe im missing something very simple, im just thrown that this worked before and now this.

Only thing i left out is the profanity and insults that filled the blank lines above.

If anyone could tell me what i have done wrong i would greatly appreciate the assistance

Meatball
orc pawn
orc pawn
Posts: 14
Joined: Sun Feb 22, 2004 8:39 am

Post by Meatball » Thu Apr 29, 2004 10:01 am

You didn't read the Changes.txt or the Announcement on the new DataTypes changes for this patch.

To remove the profanity in your errors, set LaxColor=0 in your MacroQuest.ini.

All variables have to be declared, accessed and manipulated with the new MQ2DataTypes now. Check this post for reference...

http://macroquest2.com/phpBB2/viewtopic.php?t=6616

agtriumph
decaying skeleton
decaying skeleton
Posts: 7
Joined: Thu Apr 29, 2004 9:27 am

THX

Post by agtriumph » Thu Apr 29, 2004 11:41 am

chanx much meatballs you rock !

Batman
orc pawn
orc pawn
Posts: 16
Joined: Fri Feb 06, 2004 1:52 am

Post by Batman » Thu Apr 29, 2004 3:17 pm

Anyone get this working yet?

agtriumph
decaying skeleton
decaying skeleton
Posts: 7
Joined: Thu Apr 29, 2004 9:27 am

Post by agtriumph » Thu Apr 29, 2004 7:58 pm

I am tryin and trying... I was pointed to a thread under development:general (I searched for 'prototype' to find it) that goest through a rather lengthy and disjointed explanation of the whole new system.

The one thing that would help me bunches that i just cant seem to find is what the new "release" function will be for globals. I find that after runnin my modified script once to see if it works, I have to completely exit EQ and MQ in order to clear the globals

And apparently something has replaced /zapvars. If someone knows what this is I would be that much close to having this rewrittne BEFORE the new MAN is released.

Thx

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

Post by ml2517 » Thu Apr 29, 2004 8:06 pm

Just use the twist.mac that I posted in the new depot section.