Post your completed (working) macros here. Only for macros using MQ2Data syntax!
Moderator: MacroQuest Developers
-
oompaloompa
- orc pawn

- Posts: 10
- Joined: Fri Jul 15, 2005 10:23 pm
Post
by oompaloompa » Tue Aug 09, 2005 1:05 am
well its not completed as i would like it, but maybe you can add the Start parse based on "attacking dumbass target master" and end Parse "has been slain by Your pet" and if your pet dies "endmacro" but its here to be like an infinite loop untill you want it to stop. lol so here it is... I made it because faghomo parsers dont see the "staggers" lifeproc wich hits for the pets level based on allakhazam's spell database. so yea it IS important to know exact or close to exact dps ( 66 damage off of those frequent lifetaps is a lot of dps <6 or so dps>
Maybe ill Add too it if i have time.
Code: Select all
|Pet DPS Parser for a Necromancer
#event Hit "#1# hits #*#for #2# points of damage."
#event Slice "#1# slices #*#for #2# points of damage."
#event Bash "#1# bashes #*#for #2# points of damage."
#event Kick "#1# kicks #*#for #2# points of damage."
#event Staggers "#1# Staggers."
Sub Main
/declare petname string outer
/declare timeofdelay int outer
/declare petlevel int outer
/declare petdps float outer
/declare totalpetdamage outer 0
/declare maxpetdps float outer
/varset petlevel ${Me.Pet.Level}
/varset petname ${Me.Pet.CleanName}
/echo pet's name is ${petname} and he is level ${petlevel}.
:Loop
/varcalc timeofdelay ${timeofdelay}+1
/varcalc petdps ${totalpetdamage} / ${timeofdelay}
/echo ${timeofdelay} seconds elapsed!
/echo ${totalpetdamage} damage done!
/echo ${petname}'s current dps is ${petdps}
/doevents Slice
/doevents Bash
/doevents Kick
/doevents Staggers
/doevents Hit
/doevents Parsestop
/delay 1s
/goto :Loop
/endmacro
Sub Event_Slice(string slicetext,petcheck,petppslice)
/if (${petcheck.Equal[${petname}]}) {
/goto :adddamage1
} else {
/return }
:adddamage1
/varcalc totalpetdamage ${totalpetdamage}+${petppslice}
/return
Sub Event_Bash(string bashtext,petcheck,petppbash)
/if (${petcheck.Equal[${petname}]}) {
/goto :adddamage2
} else {
/return }
:adddamage2
/return
Sub Event_Kick(string kicktext,petcheck,petppskick)
/if (${petcheck.Equal[${petname}]}) {
/goto :adddamage3
} else {
/return }
:adddamage3
/varcalc totalpetdamage ${totalpetdamage}+${petppkick}
/return
Sub Event_Staggers(string staggerstext,petcheck)
/if (${petcheck.Equal[${petname}]}) {
/goto :adddamage4
} else {
/return }
:adddamage4
/echo ${petname} lifetapped for ${petlevel}
/varcalc totalpetdamage ${totalpetdamage}+${petlevel}
/return
Sub Event_Hit(string hittext,petcheck,petpphit)
/if (${petcheck.Equal[${petname}]}) {
/goto :adddamage5
} else {
/return }
:adddamage5
/varcalc totalpetdamage ${totalpetdamage}+${petpphit}
/return
I kind of want to make it parse all classes pets for self only pet =) so help out if you can other than that ill just keep working on it
Eq tards = retards
how many times do i have to tell you this, tard?
-
JJ
- a hill giant

- Posts: 227
- Joined: Thu Nov 11, 2004 5:50 am
Post
by JJ » Tue Aug 09, 2005 2:36 am
You'll probably save yourself some macro process time if you just do /doevents as a stand alone.
-
skyler
- a snow griffon

- Posts: 311
- Joined: Wed May 11, 2005 9:22 am
Post
by skyler » Tue Aug 09, 2005 7:49 am
Could save yourself some code and use the dps plugin for this.
-
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 » Tue Aug 09, 2005 9:12 am
The DPS plugin comes with its own issues though, IIRC. Me, I just use EQCompanion.
[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]
-
skyler
- a snow griffon

- Posts: 311
- Joined: Wed May 11, 2005 9:22 am
Post
by skyler » Tue Aug 09, 2005 9:49 am
A_Druid_00 wrote:The DPS plugin comes with its own issues though, IIRC. Me, I just use EQCompanion.
do you recall what kind of issues? I've been using it for a couple weeks now and I love it. only thing I didn't like were the colors.
-
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 » Tue Aug 09, 2005 9:56 am
It's been a while since I used it, but when I did it didn't seem to parse accurately. In fact, I don't think it even parsed pet DPS when I last tried it.
[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]
-
skyler
- a snow griffon

- Posts: 311
- Joined: Wed May 11, 2005 9:22 am
Post
by skyler » Tue Aug 09, 2005 10:30 am
might have been a few changes since then. I have a BL and mine parses pets great. I use it to keep track of dps so my rogue doesn't KS my PL'd groups.
-
oompaloompa
- orc pawn

- Posts: 10
- Joined: Fri Jul 15, 2005 10:23 pm
Post
by oompaloompa » Tue Aug 09, 2005 3:29 pm
I would like for one of you guys to link me a parser that does pet procs??? ive tried eqcompanion and i cant get it to do pet procs because it simply does not show damage. but this macro i wrote automaticaly assumes the proc's damage based on the pet's level.
Edit: and btw the computer is going to look at the Sub events one by one reguardless of the do events. the computer cant do everything at once, it only takes about .001 of a second to do all of the events, and since i allow 1 second per parse round... That .001 of a second wont matter, it allows itself to catch up where the delay is...
And i wanted a parser specificaly to tell me what my pet's dps was to a degree of most acuracy and this does exactly that... In my experience no parser does pet procs...
Eq tards = retards
how many times do i have to tell you this, tard?
-
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 » Tue Aug 09, 2005 4:17 pm
I'm pretty sure EQCompanion can be set up to assume an amount of damage based on a proc event. It's been a while since I went into that much detail with it, since I'm only worried about my own proc damage, maybe it was YALP or some other parser.
[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]
-
Night Hawk
- a grimling bloodguard

- Posts: 590
- Joined: Fri Aug 13, 2004 4:56 pm
Post
by Night Hawk » Wed Aug 10, 2005 10:32 pm
Honestly, MQ2Dps always work pretty poorly for me. The times it did work it would be accurate, but half the time it was just more annoying to have it on at all. /shrug