Rogue Helper v6.0 [Complete Rogue Macro] (Updated: 10-26-04)

Post your completed (working) macros here. Only for macros using MQ2Data syntax!

Moderator: MacroQuest Developers

NuttsThatKlank
decaying skeleton
decaying skeleton
Posts: 8
Joined: Tue Oct 19, 2004 7:02 pm

Post by NuttsThatKlank » Wed Oct 20, 2004 11:51 pm

Jerle69 wrote: GD:

Thanks for the neato module. Still not sure I want to integrate DPS tracking, but if anyone else on here really really digs this stuff, I can mold it into the next release. I just have a feeling very few people use it? I mean, I know my max backstab potential, if I get it, I get it, if I don't I don't... /shrug. Help me understand =) Is this for rogues that are still leveling?
I just wanted to clarify that GD's module is Backstab Tracking, which I think would be an awesome addition to RH. I have an unpublished DPS and Melee Avoidance module (shown in the HUD screenshot that I posted). Now I think DPS is a great addon for RH. As for Melee Avoidance, not really a rogue thing. A rogues job is put out the DPS and never get agro. I just developed that because I two box my main(a rogue) with a shammy and was currious how effective the new shaman avoidance buff was. I also got the new shoulders from WoS that has Dodge I, and my cloak has +8% dodge. Anyways...

I will post post my DPS and Avoidance module soon, if anyone is interested.

User avatar
Cr4zyb4rd
Plugins Czar
Posts: 1449
Joined: Tue Jul 20, 2004 11:46 am

Post by Cr4zyb4rd » Thu Oct 21, 2004 3:18 am

Thanks for the neato module. Still not sure I want to integrate DPS tracking, but if anyone else on here really really digs this stuff, I can mold it into the next release. I just have a feeling very few people use it?
I'm in the middle of a pretty major retool of the DPS plugin. While I'm mucking around in there I just might add something like highest crit, highest backstab, etc.

It's good code, but I really can't see adding it to the RH base (which is already getting a bit monolithic) when there are include/plugin options available.

Jerle69
a hill giant
a hill giant
Posts: 263
Joined: Wed Apr 28, 2004 3:26 pm

Post by Jerle69 » Thu Oct 21, 2004 10:01 am

That's kinda what I was thinking too Cr4zyb4rd. If you stick backstab tracking in your DPS plugin, we're so there. :)
--Jerle

User avatar
Cr4zyb4rd
Plugins Czar
Posts: 1449
Joined: Tue Jul 20, 2004 11:46 am

Post by Cr4zyb4rd » Thu Oct 21, 2004 11:00 am

MQ2DPS isn't mine, I just somehow became janitor for the world now that everything's stagnant. :/

NuttsThatKlank
decaying skeleton
decaying skeleton
Posts: 8
Joined: Tue Oct 19, 2004 7:02 pm

Post by NuttsThatKlank » Thu Oct 21, 2004 1:39 pm

Jerle,

I have a suggestion for RH to make it easier to load addon modules

add the following line in red
/echo =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
/echo Jerle's Rogue Helper Macro (v${rhversion}) Starting...
/echo =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
/echo Loading Includes...
/echo Use "/rhhelp" to display help information
/echo -------=======(Current Status)=======--------
then when RH is loading, an include could trigger an event to load default settings.
For example GD's Backstab tracker would only require
#include RHBackstab.inc
then GD could mod RHBackstab.inc as follows
#Event InitRHBackStab "[MQ2] Loading Includes..."
#Event TogBSAnnounce "[MQ2] BSAnnounce#*#"
#Event SetBSNotifier "[MQ2] BSNotifier#*#"
#Event TogBSTrack "[MQ2] BSTrack#*#"
#Event BackStab "You backstab #1# for #2# points of damage."

Sub Event_InitRHBackStab
...
/echo ---===Backstab Tracker module loaded===---
/return

I run three addons in this manner and it works great. Just trying to think outside the box a bit and spark some new ideas :idea:

_________________
--NuttsThatKlank

User avatar
Cr4zyb4rd
Plugins Czar
Posts: 1449
Joined: Tue Jul 20, 2004 11:46 am

Post by Cr4zyb4rd » Thu Oct 21, 2004 2:08 pm

Good idea

User avatar
aj2k8
a lesser mummy
a lesser mummy
Posts: 56
Joined: Fri Sep 10, 2004 6:58 am

Post by aj2k8 » Thu Oct 21, 2004 6:17 pm

this mac is making eq crash when i press "Q"... Any suggestions?

GD
a snow griffon
a snow griffon
Posts: 353
Joined: Sat Jun 29, 2002 11:57 pm

Post by GD » Thu Oct 21, 2004 7:35 pm

aj2k8 wrote:this mac is making eq crash when i press "Q"... Any suggestions?
Rebuild the MQ2MoveUtils plugin.
Opinions are like assholes, everyone has one, but most of them stink.

Jerle69
a hill giant
a hill giant
Posts: 263
Joined: Wed Apr 28, 2004 3:26 pm

Post by Jerle69 » Fri Oct 22, 2004 11:14 am

I'll do that after the BuildDate TLO goes in. Right now, with the new channelization and verbosity settings, the macro for versoin v6.0 is ... different. I also discovered a circle dance last night while tanking... Gotta figure out why that happened.
--Jerle

NuttsThatKlank
decaying skeleton
decaying skeleton
Posts: 8
Joined: Tue Oct 19, 2004 7:02 pm

Post by NuttsThatKlank » Fri Oct 22, 2004 7:42 pm

Here is my DPS module. I have compared it to the MQ2DPS calculations. In all my tests it was 100% the same as the plugins output except:
1) it is self only DPS
2) mine starts tracking DPS when you hit a mob, and the plugin will start tracking as soon as you start attack. For example in my testing when I pulled a mob with an arrow and missed, my DPS started calculating from the time I actually hit when it get it back to the group and hit for the first time.


Usage with Rogue Helper
add the lines in RED to rh.mac
/echo =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
/echo Jerle's Rogue Helper Macro (v${rhversion}) Starting...
/echo =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
/echo Loading Includes...
/echo Use "/rhhelp" to display help information
/echo -------=======(Current Status)=======--------
#Event StatInfo "[MQ2] -------=======(Current Status)=======--------"

#include DPS.inc

Sub Main
add to your HUD(just change the X and Y location if you need to)
DPSHeader=3,5,326,255,255,255,${If[${DPS_bDPSLoaded},~~~~~~ DPS Stats~~~~~~,]}
DPS=3,5,338,255,255,255,${If[${DPS_bDPSLoaded},${DPS_iTotalDMG} (DMG) / ${DPS_iNumSec} (seconds) = ${DPS_iDPS} DPS,]}

Code: Select all

|**---------------------------------------------------------- 
    DPS.inc
    Usage:
    add the following to your main script
    
    (just before sub main)
    #include RHBackstab.inc
    
    (inside of sub Main)
    /echo Loading Includes...
    
    add to your HUD(just change the X and Y location)
    DPSHeader=3,5,326,255,255,255,${If[${DPS_bDPSLoaded},~~~~~~ DPS Stats~~~~~~,]} 
    DPS=3,5,338,255,255,255,${If[${DPS_bDPSLoaded},${DPS_iTotalDMG} (DMG) / ${DPS_iNumSec} (seconds) = ${DPS_iDPS} DPS,]} 
    
NuttsThatKlank
----------------------------------------------------------**|

#Event InitDPS             "[MQ2] Loading Includes..."
#Event DPS                 "You #1# #2# for #3# points of damage."
#Event DPSnm             "#1# hit #2# for #3# points of non-melee damage."

Sub Event_InitDPS
	/declare DPS_bDPSLoaded bool outer TRUE
	/declare DPS_iStart int outer ${Math.Calc[${MacroQuest.Running}/1000]}]}
	/declare DPS_iNumSec int outer 0
	/declare DPS_iTotalDMG int outer 0
	/declare DPS_iDPS int outer 0
	/declare DPS_CombatTargetID int outer 0
	/echo ---===DPS module loaded===---
/return
	
sub EVENT_DPS
	/call addDMG ${Param1} ${Param3}
/RETURN

sub EVENT_DPSnm
	/IF (${Param1.Equal[${Me.Name}]}) {
		/call addDMG "non melee" ${Param3}
	}
/RETURN

sub addDMG(string dmgType,string Damage)
  /IF (${DPS_CombatTargetID}!=${Target.ID} && (${Target.ID}!=NULL)) {
    /varset DPS_iStart ${MacroQuest.Running}
		/varset DPS_iNumSec 0
		/varset DPS_iTotalDMG 0
		/varset DPS_CombatTargetID ${Target.ID}
	}
	/declare tNow float ${MacroQuest.Running}
	/varset DPS_iNumSec ${Math.Calc[(${tNow}-${DPS_iStart})/1000]}
	/varcalc DPS_iTotalDMG ${DPS_iTotalDMG}+${Damage}
	/IF (!${DPS_iNumSec}==0) {
		/varset DPS_iDPS ${Math.Calc[${DPS_iTotalDMG}/${DPS_iNumSec}]}]}
	}

/RETURN
Enjoy :D

_________________
--NuttsThatKlank

Jerle69
a hill giant
a hill giant
Posts: 263
Joined: Wed Apr 28, 2004 3:26 pm

Post by Jerle69 » Sat Oct 23, 2004 10:15 am

I want to see other's DPS though :) Still think a worthy DPS plugin is what's needed. What good is measuring your penis, after all, if you can't compare it someone else!

Oh I think I finally fixed the circle dancing. I totally overhauled the sticking behavior code last night and it works finally (VERY complex logic here, surprisingly). I also revamped the cascading tank stuff so that it makes more sense. Now it assists each of the assists in turn until one of them has locked in on an NPC, and then RH will study that npc until it's at assist threshold, then it will engage. This is far more fluid and accomodates a main assist stuck in cyber or sleeping or what have you on raids. Anyway, I'm still sitting on v6.0 until the patch (which is in 48 hrs). With that, we'll see the new BuildDate TLO and I can fix the /alias bug once and for all.
--Jerle

Zenjisu
decaying skeleton
decaying skeleton
Posts: 3
Joined: Sat May 29, 2004 11:04 am

Post by Zenjisu » Sun Oct 24, 2004 9:30 am

plus it just wouldn't be right to go to a new integer without a lot of major improvements. :) Can't be like AOL and misuse version numbers!

Phony
decaying skeleton
decaying skeleton
Posts: 3
Joined: Fri Oct 15, 2004 6:18 pm

Post by Phony » Sun Oct 24, 2004 3:49 pm

new suggestion or request:

turning auto attack on while walking around the target..

In some situations I am infront of the new target, and my toon will not attack untill its at the backside.. this looks kinda strange to the group especially since its kinda slow..

Awesome macro you got there m8

thanx
Phony

Jerle69
a hill giant
a hill giant
Posts: 263
Joined: Wed Apr 28, 2004 3:26 pm

Post by Jerle69 » Sun Oct 24, 2004 4:23 pm

The point is to try to open up combats with a backstab/strike. I'd do that anyway, even without RH.

If strike isn't ready, it does what you said: get to the mob back eventually, but start attacking immediately. This is not how it behaves for you?

If strike IS ready and you don't want to use it, you can just set the endurance floor to 101 (/endfloor 101) and you'll autoattack and never open combat with a strike (and never circle behind the target).
--Jerle

Phony
decaying skeleton
decaying skeleton
Posts: 3
Joined: Fri Oct 15, 2004 6:18 pm

Post by Phony » Sun Oct 24, 2004 7:18 pm

What is strike? I was on a half year break and didnt read up on all the new stuff.. I want to stick behind mobs.. just would like to attack immediatly