Post your completed (working) macros here. Only for macros using MQ2Data syntax!
Moderator: MacroQuest Developers
-
A_Druid_00
- Macro Maker Extraordinaire
- Posts: 2378
- Joined: Tue Jul 13, 2004 12:45 pm
- Location: Rolling on the Lawn Farting
Post
by A_Druid_00 » Thu Nov 04, 2004 5:03 pm
..........................................................................................................
[quote]<DigitalMocking> man, A_Druid_00 really does love those long ass if statements
<dont_know_at_all> i don't use his macro because i'm frightened of it[/quote]
[quote][12:45] <dont_know_at_all> never use a macro when you can really fuck up things with a plugin[/quote]
-
Cr4zyb4rd
- Plugins Czar
- Posts: 1449
- Joined: Tue Jul 20, 2004 11:46 am
Post
by Cr4zyb4rd » Thu Nov 04, 2004 6:34 pm
I don't know why this thread even has more than one post. It says in the subject line it's perfect.
-
Neolesh
- a hill giant

- Posts: 231
- Joined: Mon Aug 23, 2004 11:15 am
Post
by Neolesh » Tue Dec 28, 2004 1:56 pm
Healer wrote:After compling i had the following error's, and could not load..
im not sure if my problem is coming from compling or loading the plugin
any thoughts?
Output Window
Compiling...
MQ2XPtrack.cpp
C:\MQ2\MQ2XPtrack\MQ2XPtrack.cpp(1) : error C2143: syntax error : missing ';' before '|'
C:\MQ2\MQ2XPtrack\MQ2XPtrack.cpp(4) : error C2059: syntax error : 'bad suffix on number'
C:\MQ2\MQ2XPtrack\MQ2XPtrack.cpp(8) : error C2001: newline in constant
C:\MQ2\MQ2XPtrack\MQ2XPtrack.cpp(8) : error C2015: too many characters in constant
C:\MQ2\MQ2XPtrack\MQ2XPtrack.cpp(9) : error C2015: too many characters in constant
C:\MQ2\MQ2XPtrack\MQ2XPtrack.cpp(11) : fatal error C1021: invalid preprocessor command 'event'
Error executing cl.exe.
Results
MQ2XPtrack.dll - 6 error(s), 0 warning(s)
lol
-
jhussey
- decaying skeleton

- Posts: 2
- Joined: Sun Jan 23, 2005 3:40 pm
Post
by jhussey » Sun Jan 23, 2005 3:42 pm
Ok, I saved this as a .mac in the release/macros folder now how do i actually execute it in game.
I'm not real familiar with MQ2 but have a strong background in C++, just need a bit of help with syntax using this stuff.
If this isnt how I'm supposed to load up a macro then please correct me!
-
n00bCoder
- a lesser mummy

- Posts: 30
- Joined: Tue Jun 29, 2004 5:07 pm
Post
by n00bCoder » Sun Jan 23, 2005 4:01 pm
ok... it's pretty simple... for one, this is NOT a plugin and therefore does NOT need compiling.. Just save it to your MQ2\Release\Macros folder wherever you compiled MacroQuest to. Save it to a text document and be sure to change the extension to .mac, and not .txt, you'll prolly have to change the file extention thingie to all file types to do it tho.. And to run it, just type /macro and the macro's name (ex. /macro twist.mac) in the MQ2 field thing. some macros have extra things (i think there syntax commands, not sure tho) and there added on at the end, read the directions that come with the file, either in the file itself or written where it was posted in the forums. (they're like /macro twist.mac 1 2 3, and that would twist the first second and third songs/spells for example, if thats what the macro called for.) hope i could help, we've all got to start somewhere...
Live forever, or die trying!
(and if it all does go to hell, ya just respawn!)
-
jhussey
- decaying skeleton

- Posts: 2
- Joined: Sun Jan 23, 2005 3:40 pm
Post
by jhussey » Sun Jan 23, 2005 6:39 pm
thanks yo, got it working, appreciate it!
-
MareDK
- a snow griffon

- Posts: 329
- Joined: Mon Jan 31, 2005 12:01 pm
Post
by MareDK » Mon Sep 05, 2005 10:42 am
Modified it quite a bit, removed the irc stuff
new stuff:
* show # of levels gained
* show # of AAs gained
* show # of minutes the macro has been running
Shows the exp info in popup and as echo, but only show the amount of AAs and Levels as echo.
enjoy it.
Code: Select all
|-- exptrack.mac
|-- by Raebis, with tweaks from Phoenix
|-- Version 0.6
|-- August 30th, 2004
|----------------------------------------------------
|-- Macro will track the immediate experience gained after each gain, as well as keep a running total over time.
|-- Blatantly stolen from AdvChant.mac specifically for the character being powerlevelled, since when you AE, you
|-- don't really want XP flashes at 20 per second when ALL the mobs die. Does not differentiate between Group,
|-- Raid or Single XP, but really... it's far better this way... remove the (/popup)/(/i say) if you don't want them in there.
|-- Highly modified by Trigger
#event Exp "You gain#*#Experience#*#"
#event Level "You have gained a level!#*#"
#event Ping "You have gained an ability point#*#"
#turbo
Sub Main
/declare Exper float outer
/declare AAExp float outer
/declare Expstart float outer
/declare AAstart float outer
/declare Level int outer
/declare Ping int outer
/varset Exper ${Me.PctExp}
/varset AAExp ${Me.PctAAExp}
/varset Expstart ${Me.PctExp}
/varset AAstart ${Me.PctAAExp}
/varset Level 0
/varset Ping 0
/echo Trigger's Experience Tracker Starting...
:loop
/doevents
/goto :loop
/return
Sub Event_Exp
/varset AAExp ${Math.Calc[${Me.PctAAExp}-${AAExp}]}
/varset Exper ${Math.Calc[${Me.PctExp}-${Exper}]}
/echo [EXP]: ${Exper} [AAXP]: ${AAExp} [${Math.Calc[${Me.PctExp}-${Expstart}]}% EXP] [${Math.Calc[${Me.PctAAExp}-${AAstart}]}% AA] in ${Math.Calc[${Macro.RunTime}/60]} minutes
/echo [${Level} Levels] [${Ping} AAs]
|/i say EXP: ${Exper}:${Me.PctExp}% - AAXP: ${AAExp}:${Me.PctAAExp}% - ${Math.Calc[${Macro.RunTime}/60]} minutes
/popup [EXP]: ${Exper} [AAXP]: ${AAExp} [${Math.Calc[${Me.PctExp}-${Expstart}]}% EXP] [${Math.Calc[${Me.PctAAExp}-${AAstart}]}% AA] in ${Math.Calc[${Macro.RunTime}/60]} minutes
/varset Exper ${Me.PctExp}
/varset AAExp ${Me.PctAAExp}
/return
Sub Event_Level
/varset Level ${Math.Calc[${Level}+1]}
/varset Expstart 0.00
/return
Sub Event_Ping
/varset Ping ${Math.Calc[${Ping}+1]}
/varset AAstart 0.00
/return
-
Night Hawk
- a grimling bloodguard

- Posts: 590
- Joined: Fri Aug 13, 2004 4:56 pm
Post
by Night Hawk » Mon Sep 05, 2005 12:33 pm
/varcalc
Usage: /varcalc <varname> <formula>
Sets a variable directly to the numeric result of a calculation.
Example usage:
/varcalc MyInt 1+2*2+1
/varcalc MyInt 1+(2*2)+1
Woot for /varcalc!
-
fearless
- Not a Psychic
- Posts: 2684
- Joined: Wed Mar 10, 2004 3:52 pm
Post
by fearless » Mon Sep 05, 2005 2:06 pm
Code: Select all
/varcalc AAExp ${Me.PctAAExp}-${AAExp}
/varcalc Exper ${Me.PctExp}-${Exper}
/varcalc Level ${Level}+1
/varcalc Ping ${Ping}+1
Reading . . . it's not just for me.
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
[quote="Ccomp5950"]Fearless showed me the light, you too shall learn.[/quote]
-
MareDK
- a snow griffon

- Posts: 329
- Joined: Mon Jan 31, 2005 12:01 pm
Post
by MareDK » Mon Sep 05, 2005 3:25 pm
ooh well just used what was already in the original macro hehe :)
will change it laters, have some other optimizations to do too on it.
-
fearless
- Not a Psychic
- Posts: 2684
- Joined: Wed Mar 10, 2004 3:52 pm
Post
by fearless » Mon Sep 05, 2005 5:07 pm
MareDK wrote:ooh well just used what was already in the original macro hehe :)
will change it laters, have some other optimizations to do too on it.
That is what I figured, but wasn't sure if you knew about varcalc or not so I threw you an example.
Reading . . . it's not just for me.
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
[quote="Ccomp5950"]Fearless showed me the light, you too shall learn.[/quote]
-
MareDK
- a snow griffon

- Posts: 329
- Joined: Mon Jan 31, 2005 12:01 pm
Post
by MareDK » Tue Sep 06, 2005 8:43 am
aye and much appreciated too, will add it in, also changed something so it does AAs and Levels before it does EXP, else the first one shows negative exp
will post updated version later on today when I have tested some of the new functions, and I will most likely change it to just be a sub for other macros to include.
also adding it so it only popup with messages every 10 kills (nice on AE parties) and this can of course be modified to whatever ppl want it to be.
still learning hehe but I doing quite okay on some other macros I am fiddling with but that is for the VIP section.
-
ataal
- decaying skeleton

- Posts: 1
- Joined: Sun Feb 26, 2006 6:32 pm
Post
by ataal » Mon Feb 27, 2006 7:39 pm
Is this still working for you all? EQ locks up as soon as I kill something. Just wondering if the patch might've broken it or I'm being a total n00b lol
::waits for hysterical, yet deserving flames::

-
goldinu
- decaying skeleton

- Posts: 9
- Joined: Sat May 21, 2005 5:07 am
-
Contact:
Post
by goldinu » Thu Mar 23, 2006 10:06 pm
Works fine for me as of 9:10pm 23 Mar 2006
-
Kambic
- a lesser mummy

- Posts: 74
- Joined: Fri May 28, 2004 11:48 am
Post
by Kambic » Sat May 06, 2006 1:45 am
Definitely time to rewrite this one.