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

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

Post by Jerle69 » Fri May 21, 2004 11:21 am

Thanks, I'll go update that. I didn't even bother looking to see if there was a "Sneaking" bool member to the character type.
--Jerle

screwball
orc pawn
orc pawn
Posts: 16
Joined: Wed Apr 21, 2004 10:24 pm

Post by screwball » Fri May 21, 2004 8:48 pm

This macro is great. Thanks for the work and dedication.

One thing I might add, using the strike discs don't work too well when using the autoassist mode. I was thinking that you could possibly add a timer in there to fix it maybe? It seems that it works okay, but the problem is that it triggers the disc as soon as you get the move to target command. By the time you get to target, the disc usage has expired and you can't get the high damage shot in. If i'm standing directly behind the mob when the asisst and move to mob backside starts, then the Thief's disc works fine.

So just make timer or something to activate the strike disc once you have moved to behind the target instead of as soon as the assist starts maybe?

Just a thought.

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

Post by GD » Fri May 21, 2004 9:43 pm

The next thing i'm working on now is Backstab tracking, using echo, popup, or speech if you have the plugin. It'll even keep track of your highest damage hit.
Opinions are like assholes, everyone has one, but most of them stink.

Scythen60
orc pawn
orc pawn
Posts: 16
Joined: Thu Apr 22, 2004 1:30 am

Post by Scythen60 » Fri May 21, 2004 11:09 pm

Giants (specifically the ones in Kael) are out of range using this macro. Maybe an event "your target is out of range" could be added which would subtract more distance from max melee range until you start successfully hitting again.

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

Post by Jerle69 » Sat May 22, 2004 10:20 am

screwball:

Thanks for the compliments. I enjoy working on it really (to me it's a little like playing chess) and I get satisfaction out of seeing it work well. As far as the strike discs and autoassist: as of version 4.1, it didn't work at all. The problem was with the way the combat logic was originally written. Autosticking wouldn't function unless you were in combat, so I had to force autoassisting to trigger combat, thereby making you stick to the mob. In version 4.2 I moved the sticking code OUTSIDE of the combat check routines and put a boolean expression in it to see if you were fighting, or ready to strike. From version 4.2 on, strike works flawlessly while in autoassist. Oh and FYI, there always was a strike timer :) It was just an implementation limitation prior to 4.2 that prevented it from working with autoassist!

GD:

HAHA.. You got your own spinoff from RH? That's flattering! If you get something working nice, let me know and I'll try to integrate it.

Scythen60:

I can certainly appreciate that. The MaxRangeTo aspect of a target isn't always correct (sometimes you're a little farther away than you really need to be). For that reason, when I originally created the Autostick abilities within RH, I used 50% of the max range to hit (that would accomodate some fudge-factor and put you within combat range). As of version 4.0, I added a /closeness command! With /closeness you can pick anywhere from 0 to 100 as the percentage of the maximum range to target. In other words, if you choose 0, you'll get ON TOP of the mob, if you choose 100, you may hit or you may not, as you'll be at the maximum range to hit, according to MQ2. 50 to 70 is perfect for most zones and critters. For Kael, I'd set /closeness to 30 and see if that fixes it up for you. Now that there's an INI file tracking all your settings, you only have to set it once! I don't advise dropping it below 10%. I played with that and you'll go crazy while autosticking keeping to the rear, and if the mob moves a fraction of an inch, you'll strafe around finding the back for a long time. Generally speaking, low closeness values are good for tiny mobs, and large values (70 to 90) are good for huge mobs.
--Jerle

Shocks
a ghoul
a ghoul
Posts: 101
Joined: Tue Feb 18, 2003 3:26 pm
Contact:

Question

Post by Shocks » Sat May 22, 2004 11:10 am

I first would like to say this rogue script works very well for me. I would like to add master controls. So that I could have all the command able to be run via tells, irc plugging , or chat channel.

I think it would be great if we could add a pause command to stop all assisting for moving from one area to another. O and mabey add a assist range. I run this on my rogue and ADVBOT on my shaman.

Thanks
Shocks

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

Backstab Announcing/Tracking

Post by GD » Sat May 22, 2004 5:29 pm

BSNotifier can use any combination of echo, popup, and speak(If you have the Speech plugin from the Plugins area).

Setting it to echo will just echo when you backstab, using echo+popup will both echo it and use a popup notifier, etc. etc.

For the Max Backstab tracking, it'll let you know when you've attained a new max backstab, using the same notifiers.

In the #Event section add:

Code: Select all

#Event TogBSAnnounce   "[MQ2] BSAnnounce#*#"
#Event SetBSNotifier   "[MQ2] BSNotifier#*#"
#Event TogBSTrack      "[MQ2] BSTrack#*#"
#Event BackStab        "You backstab #1# for #2# points of damage."
In the /declare section add:

Code: Select all

  /declare BSAnnounce bool outer TRUE
  /declare BSNotifier string outer echo
  /declare BSTrack bool outer TRUE
  /declare MaxBS int outer 0
In the /alias section add:

Code: Select all

  /squelch /alias /bstrack /echo BSTrack
  /squelch /alias /bsannounce /echo BSAnnounce
  /squelch /alias /bsnotifier /echo BSNotifier
In the Ini Settings section add:

Code: Select all

  /if (${Ini[RHSettings.ini,General,BSAnnounce].NotEqual[NULL]}) /varset BSAnnounce ${Ini[RHSettings.ini,General,BSAnnounce]}
  /if (${Ini[RHSettings.ini,General,BSNotifier].NotEqual[NULL]}) /varset BSNotifier ${Ini[RHSettings.ini,General,BSNotifier]}
  /if (${Ini[RHSettings.ini,General,BSTrack].NotEqual[NULL]}) /varset BSTrack ${Ini[RHSettings.ini,General,BSTrack]}
  /if (${Ini[RHSettings.ini,General,MaxBS].NotEqual[NULL]}) /varset MaxBS ${Ini[RHSettings.ini,General,MaxBS]}
In Sub Event_StatInfo add:

Code: Select all

  /echo ** Announce Backstabs: ${BSAnnounce}, Notifier: ${BSNotifier}
  /echo ** Track Max Backstabs: ${BSTrack}, Current Max: ${MaxBS}
Anywhere, add:

Code: Select all

Sub Event_Backstab
  /if (${BSAnnounce}) {
    /if (${BSNotifier.Find[echo]}) /echo ${Param0}
    /if (${BSNotifier.Find[popup]}) /popup ${Param0}
    /if (${BSNotifier.Find[speak]}) /speak ${Param0}
    /if (${Param2}>${MaxBS} && ${BSTrack}) {
       /if (${BSNotifier.Find[echo]}) /echo New max Backstab of ${Param2}
       /if (${BSNotifier.Find[popup]}) /popup New max Backstab of ${Param2}
       /if (${BSNotifier.Find[speak]}) /speak New max Backstab of ${Param2}
       /ini "RHSettings.ini" "General" "MaxBS" "${Param2}"
       /varset MaxBS ${Param2}
    }
  }
/return

Sub Event_TogBSAnnounce
  /if (${BSAnnounce}) {
    /varset BSAnnounce FALSE
    /echo ** Backstab Announcing is now OFF!
  } else {
    /varset BSAnnounce TRUE
    /echo ** Backstab Announcing  is now ON!
  }
  /ini "RHSettings.ini" "General" "BSAnnounce" "${BSAnnounce}"
/return

Sub Event_TogBSTrack
  /if (${BSTrack}) {
    /varset BSAnnounce FALSE
    /echo ** Backstab Tracking is now OFF!
  } else {
    /varset BSTrack TRUE
    /echo ** Backstab Tracking  is now ON!
  }
  /ini "RHSettings.ini" "General" "BSTrack" "${BSTrack}"
/return

Sub Event_SetBSNotifier(string Line)
  /if (${Line.Arg[3].Length}) /varset BSNotifier ${Line.Arg[3]}
  /echo ** Backstab Notifier set to: "${BSNotifier}"
  /ini "RHSettings.ini" "General" "BSNotifier" "${BSNotifier}"
/return
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 » Sat May 22, 2004 10:08 pm

Heh, that's wicked...

Just as a heads up, I've been getting some PM's here from various users. A couple of people have suggested some things I'll work on (maybe Monday)...

1) /autoninja <mode> [<range>] ... will have three modes: ALL, DROPABLE, OFF. If it's off (default) it'll behave like it does now and not loot anything :P ... If it's set to DROPABLE, it'll automatically loot all non-NODROP flagged items off the nearest corpse within range (defaults to 50 feet). If it's set to all, it'll clean out the whole corpse... fast.

2) /pause ... Prett self explanatory. It will put the macro in stupid mode and it won't do anything until you issue another /pause command. Off the top of my head I don't know if /pause is reserved or not, if it is I'll make it /rhpause.

There may be another couple of things I'll look into... Can't recall off the top of my head what they were.
--Jerle

Programmer
a hill giant
a hill giant
Posts: 195
Joined: Mon Dec 01, 2003 2:41 am

Post by Programmer » Thu May 27, 2004 12:41 pm

I used to use my own (limited) rogue macro which, among other things, kept me facing my target (if it was in range) but did not try to position me behind it; I could strafe and since I was always facing the target, strafing would let me circle the mob.

Is that possible without modification in this macro (which I'm going to begin using soon), or will I need to modify it? Basically I want a macro to auto-evade, auto-bs, stop fighting on enrage, and keep me facing the target... I want to be responsible for my rotation and distance manually.

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

Post by Jerle69 » Thu May 27, 2004 2:26 pm

Programmer:

Currently the "/autostick" mode of RH, when activated, will control all movement aspects of your character with respect to your target including: facing, distance to target (and closing in on it), as well as positional strafing along the shorest arc to the target's rear.

You could use this macro to do what you want by turning off RH's autostick mode (it defaults to on the first time you run the macro and it builds the configuration INI), and adding a single "/face nolook" statement anywhere after this area:

Code: Select all

/if (${Me.Combat}) { 
     |- ** We are fighting ** 
--Jerle

Programmer
a hill giant
a hill giant
Posts: 195
Joined: Mon Dec 01, 2003 2:41 am

Post by Programmer » Thu May 27, 2004 3:43 pm

Cool, thats what I'll do then. Thanks much for the response!

tranze204
a lesser mummy
a lesser mummy
Posts: 39
Joined: Tue Mar 02, 2004 6:26 pm

Sorry to bother you guys

Post by tranze204 » Thu May 27, 2004 9:43 pm

HEy i was trying to figure out

the /iset thing to keep up my eye pathc of plunder / mask of deception and coldain velium insigna ring how would i go about doing this?

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

Re: Sorry to bother you guys

Post by GD » Thu May 27, 2004 10:09 pm

tranze204 wrote:HEy i was trying to figure out

the /iset thing to keep up my eye pathc of plunder / mask of deception and coldain velium insigna ring how would i go about doing this?
By reading the directions, it's pretty straight forward.
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 May 28, 2004 12:08 am

Version 4.5 posted!

Information about what you get with the new version is in the RH macro readme portion itself, and a brief summary is posted on the first thread.

Enjoy!

Oh and tranze204:

If you look at the RH macro, the first several pages are detailed instructions on the various commands and their syntax. Here's a snip of the /iset instructions:

Code: Select all

[color=violet]
|    . /iset <itemalias> keepup|nokeepup <"Full Item Name"> command added.  With
|       this command you add an entry to the RHItems.ini file.  This file contains
|       information about your clickable spell items (any you wish to track or
|       automatically cast from via shortcut or automaintain.
|         . <itemalias> is a short name that YOU choose to refer to the item.
|         . keepup|nokeepup - literally enter these words to indicate that you
|           want these click items to be automatically re-cast when they drop.
|         . "Full Item Name" - this field is the whole name of the click item.
|         . Examples:  /iset gob keepup "Shrunken Goblin Skull Earring"
|                      /iset ring keepup "Coldain Hero's Insignia Ring"
|                      /iset venom nokeepup "Stanos' Wicked Leggings"
|
|     . /ibounce <itemalias> <"Spell Name"> command added.  With this command you
|       can add spell effects that cause this click item to "bounce off" (or not
|       stack with it).  You *MUST* account for all spell effects that cause the
|       click item to bounce off of it, or you'll get into an infinite loop for
|       any click-effect that you've set to "keepup" but can't due to being bounced
|       by a superior spell!  Obviously you must have already entered the item
|       into the RHItems.ini file with the /iset command before adding bouncers.
|         . <itemalias> is a short name that YOU choose to refer to the item.
|         . <"Spell Name"> is the name of the spell that bounces this item's effect.
|         . Examples:  /ibounce gob "Strength of Tunare"
|                      /ibounce ring "Shield of Spikes"
|                      /ibounce ring "Shield of Thorns"
|
|     . /iclick <itemalias> has been added.  This command allows you execute a 
|       "right click" on any itemalias you've defined through /iset.  If the item
|       is on you or in your inventory, it will silently activate the effect
|       without opening bags or inventory.  If the item is in a pack, it will
|       automatically locate the item, open the back, grab the item, swap it for
|       the first location/item that equips it, cast the effect, swap the item
|       back out, replace it where it came from, and close the pack it came from!
|         . Examples:  /iclick gob
|                      /iclick ring
[/color]
so, from this you'd probably want to:

Code: Select all

/iset haste keepup "Eye Patch of Plunder"
/iset mask keepup "Mask of Deception"
/iset ring keepup "Coldain Hero's Insignia Ring"
Don't forget to set /ibounce entries for that ring (many ranger shields won't stack with it)...

Code: Select all

/ibounce ring "Shield of Thorns"
And then to use them yourself, just....

Code: Select all

/iclick haste
..or..
/iclick mask
..or..
/iclick ring
Of course RH will also keep them up for you since you'd have set them with /iset as "keepup" click effects.

Good luck,
--Jerle

dirx
orc pawn
orc pawn
Posts: 21
Joined: Fri Dec 05, 2003 1:00 am
Location: orlando

Post by dirx » Sat May 29, 2004 10:09 am

Hiya,

First of all this is some great work I love this macro it has great movement. When you release these I yank out the part of the line that checks movement on evade becuase I can move and hide. Thought that might be worthy of adding to the .ini although I dont mind yanking it out each update. Also I have an issue when I use /leash distance "master" I keep coming back and smacking the master after some of the mobs heh. I tried to up the distances to 15 or 20 instead of 10 in that section and it fixes it but I get some weird bouncing effects when I do that. Thought you might have a better fix.

Thanks,

Dirx