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 » Mon May 31, 2004 6:35 pm

Mystic:

AHHH, I know what's happening. You have EQ's attacking still tied to /assist (this is wholey outside of MQ2 by the way). You have to turn off autoattacking when you use assist.

At the very top of the macro, it tells you two things you need to do if you want to use manual assisting or use the macro at all:

Code: Select all

| In order to fully take advantage of the Strike discipline opening before 
| attacking, you must accomplish two things: 
| 
|   1)  Make sure you have autoattack on assist OFF (/assist off) 
You must execute /assist off once before using the RH macro

FYI, I just noticed a TYPO in the instructions there. It said /attack off. It should have all along said "/assist off"
Last edited by Jerle69 on Mon May 31, 2004 6:37 pm, edited 2 times in total.
--Jerle

mystic
a lesser mummy
a lesser mummy
Posts: 33
Joined: Mon May 31, 2004 5:33 pm

Post by mystic » Mon May 31, 2004 6:37 pm

woot thanks that was the trick

A_Rogue00
orc pawn
orc pawn
Posts: 15
Joined: Mon May 31, 2004 6:03 am

Post by A_Rogue00 » Mon May 31, 2004 8:07 pm

Jerle69 wrote:As far as putting in a hide and sneak timer if manually disabling hide and sneak to execute a re-click, I've thought about that myself. However, all I have to do is hit my hide button once and it'll recast any spells that have fallen (if not in combat). It does so before the hide re-engages for me (with /autohs on). This doesn't work for you?
I guess you are right, that does work. Although how about you make an option (that can be set in the INI) to disable autohs if you manually unhide, then enable it again when you hide again? Also, can you make it disable while using merchants or bankers? I don't know if it's actually possible to do that, but it would help a lot when dealing with merchants and bankers and getting group invites (silly people don't have see invis...). I freaked out when I used the bank with autohs on and got spammed with "Can't use this command right now." heh. :oops:

One last thing, don't know if you can help it or not, but when using autostick on a moving target, it looks REALLY bot-like and wiggs out a bit, at least on my 56k connection. The character will run in random directions for about 10-20 feet before deciding to return to the mob almost everytime it turns when it is being kited by someone. Not a big deal, as I don't chase after kited mobs that often, but might be something to look at. :wink:

Once again I'd like to thank you for this wonderful macro, makes it so much easier to answer 20 tells or go take a piss during a fight. :lol:
A_Rogue00 says 'Stop Thief! <Sony>'

A_Rogue00
orc pawn
orc pawn
Posts: 15
Joined: Mon May 31, 2004 6:03 am

Post by A_Rogue00 » Mon May 31, 2004 8:21 pm

Forgot to ask about the tank detecting thingy...

How does it work? I was trying to assassinate mobs in PoJ, and then kill them with melee since they didn't get assassinated, but it kept circlstrafing to get behind constantly. Is there something I need to set for it to realize I am tanking?
A_Rogue00 says 'Stop Thief! <Sony>'

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

Post by Shocks » Mon May 31, 2004 10:19 pm

Issue does anyone have a problem when they are leashed to a stake. My char will run to the mob then back to the stake then back out to fight the mob. I was wondering if there is a way to fix it or am i doing something wrong.

mystic
a lesser mummy
a lesser mummy
Posts: 33
Joined: Mon May 31, 2004 5:33 pm

Post by mystic » Mon May 31, 2004 11:11 pm

did you try leangthening the "chain"? with the leash feature if the char runs past a certain point it'll bounce back like that. maybe thats your prob but im not sure.

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

Post by GD » Tue Jun 01, 2004 3:37 am

A_Rogue00 wrote:Forgot to ask about the tank detecting thingy...

How does it work? I was trying to assassinate mobs in PoJ, and then kill them with melee since they didn't get assassinated, but it kept circlstrafing to get behind constantly. Is there something I need to set for it to realize I am tanking?
AFAIK, it uses the Target of Target Group/Raid ability to see if you are it's target, so unless your group/raid has it, it won't work.
Opinions are like assholes, everyone has one, but most of them stink.

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

Post by dirx » Tue Jun 01, 2004 2:00 pm

Thanks for the pvp fix that did the trick. I used the script all weekend and it worked great. The only issue I had was with backstabbing and it may already be fixed as I write this. In earth the macro will backstab things like gators or smaller mobs but it wont backstab bigger things like trees. I can fix this instantly with the closeness option of 30 percent but I dont want to sit that close the whole time because of one big mob we fight from time to time. I was wondering how I might have it work all the time for either mob. Is there a range check I should take out. If we are voting I would love a flag in the ini that would auto duelist and deadeye or deadly precision.

Thanks for this script it rocks I especially like the way that you can adjust things on the fly. I now use this to click my clickys and to drag instead of using many different macros. ( btw i made a hotbutton with /drag %t and it works to drag my target but complains about not being able to find %t I am at work and I cant remember if I tried just /drag by itself in the hotbutton) Anyway great work once again.

Dirx

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

Post by dirx » Tue Jun 01, 2004 2:20 pm

I hate to keep saying this is the best thing ever but.. and I do mean it hehe. But I just remembered two things I was trying to make it do over the weekend. The first thing was to be able to click my stanos' wicked leggings and make poison it freaks out when the item is summoned so I have to load another macro to make poison (some would say just click my legs but I dont wear those and im spoiled now cause of these awsome clicky macros :) which I do each time it wears off which is all the time. The other thing and this is just a request because I use it all the time but would it be hard to add a "no attack" follow. I ask because the only other time I load a different macro is to follow which is also all the time. The situation would be someone says hey I cant find my corpse (i sure can :) so i type /target "corpse name" then I /macro follow and head to the corpse. It would be nice to type just /follow or /rfollow or anything that didnt make me load another macro then reload yours.

Thanks,

Dirx

A_Rogue00
orc pawn
orc pawn
Posts: 15
Joined: Mon May 31, 2004 6:03 am

Enrage problem

Post by A_Rogue00 » Tue Jun 01, 2004 3:59 pm

Well was camping a mob with my friend, but the circumstances required I remained hidden to avoid adds and thus death to myself and my friend. ;) Anyways, the mob enraged and then started fleeing when enrage wore off. When enrage wore off the macro made me beeline for it and then plowed me into a bunch of adds. :(

Anyway to temporarily disable it? Or I could take it out altogether I suppose, since I rarely stand in front of an enraging mob. ;)
A_Rogue00 says 'Stop Thief! <Sony>'

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

Post by Jerle69 » Tue Jun 01, 2004 5:28 pm

Wow, lots of posts. Going to try to address them all.

Mystic:

Glad that did the trick for you!

----------------------------

A_Rogue00:

There's no real good answer here. I simply punch my hide button if I want to force RH to recast my downed clickies. This kinda sucks, but the only other option is for it to force a recast of downed clickies regardless of your situation. I could make it check your state to see if you're dealing with a vendor or banker (or looting a corpse!) before attempting to re-hide and sneak automatically though, which would kill the spam. The only other thing you can do (and it's what I do) is to turn off autohs with the /autohs command if you know you're not going to be fighting for a bit, and remember to turn it back on when you enter hostile territory. I can't really trap a manual use of a skill vs. the script actuating a skill for you due the state-driven way RH works. You can, however, create a hotkey and label it "Toggle HS" and make it's body text simply two lines:

Code: Select all

/autohs
/doability "Hide"  
This effectively does what you want--toggle hide and sneak off or on (as a mode).

I could probably optimize the autosticking so that it gets priority in the next loop ForeverLoop iteration. This means that if you're autosticking a mob and it's far away, you won't do the "herky jerky" dance every second getting near it (it'll seem more fluid). As the macro has grown, so has the complexity and jerky-factor. Generally speaking, I never intended RH to be used as a kite-chaser bot, but I'm pretty flattered that it works at all in these situations :)

As far as tank detection: The only way I could detect if you are tanking and not actually change targets is by using TargetOfTarget (as GD stated). If your raid or group leader doesn't have Target of Target AA skill, the rogue-self-tank sensing won't work. I'm sorry it's written that way; when I wrote it, I assumed MQ2 overrode the AA skill and made the TargetOfTarget spawn member available to anyone, not just those with the skill. I'll see if I can cleverly trap an event based on your target's clean name and the text "hits you" or "misses you" to switch tanking status. It won't be as fast or clean as using TargetOfTarget, but it should work for those without the AA skill. No promises though.

Enraged mob flees then stops enraging--yup, you'd chase it down like a raped ape! I thought about this possibility when I wrote the bit about reactivating attack on a mob who's enrage wore off and then I figured--ehh, if they're careful they'll use a leash so it won't be a problem. /Chuckle... Guess you didn't use a leash! If you want to rip that out, change this:

Code: Select all

Sub Event_NLEnraged 
  /echo Enrage done! Target: ${Target.CleanName} 
  /varset isEnraged FALSE 
  /if (${Target.ID}) /attack on 
/return 
... to this...

Code: Select all

[color=yellow]
Sub Event_NLEnraged 
  /echo Enrage done! Target: ${Target.CleanName} 
  /varset isEnraged FALSE 
/return [/color]
----------------------------

Shocks:

That's normal behavior for a short-leash. You're trying to engage an NPC that's beyond the length of your leash. Envison a dog trying to chase a cat and the dog's at the end of his leash. He'll run and tug at the leash and choke, walk back a bit, remember the cat, and run back toward the cat, and choke again! If this happens, increase your leash length. A good rule of thumb is make your leash length twice as long as the maximum distance from the stake where you'd expect to fight.

----------------------------

Dirx:

I'm going to rip out the only code I ever borrowed for RH, the "back-side" detection code for backstabbing was borrowed from autorouge. Unfortunately, it's not perfect. I wrote another back-side detection code that always works, and it's used for the circle strafe portion. I'm going to make that a boolean subroutine and call it any time I need to find out if the rogue is behind a target. I'll use that for backstabbing as well, so autostriking will always work correctly (instead of sometimes stabbing shit in the side) as well as fixing up this back-stabbing small, medium and large target shit. My back-side detection separates mob size from orientation, but autorogue's rolls it into one and has issues with larger mobs or small mobs with huge hitboxes. Other than that, I'm at the mercy of what MQ2 has listed as a mob's MaxRangeTo (hit). You tweak the closeness settings after I'm done changing the back-side detect code and see if it works better. Be on the lookout for a patch.

As far as autoduelist and deadeye or deadly precision, I'm thinking about how best to implement this on a wide scale. I think I'll make a new autodisc switch that allows you to set skill of your choice via a switch as well as an endurance floor for it to autofire. That way the skill is whatever you choose and it occurs whenever you want it to happen, based on endurance levels.

Thanks for the compliments :)

Stano's Wicked Legs... Yes I have those as well. I still wear mine, however. I imagine it will freak out on clicking an item that summons something, assuming that item isn't worn. Because there will be two items on the cursor (the summoned venom, and the original pair of legs you took off). Hrmm. I never much intended iclick to work on items that summon stuff, but I can probably write a little fix into it to drop any items that it doesn't recognize into your inventory (that is if you suddenly have an item on your cursor that isn't the original item or the swapped in item, you must have summoned something). That shouldn't be too difficult to patch. Thanks for identifying it.

I can write in a dedicated autofollow routine. Not much to these really. How bout I make it stop autofollowing if your target changes to something new or nothing (/target something else or hit ESC or hit F1 would stop it).
--Jerle

A_Rogue00
orc pawn
orc pawn
Posts: 15
Joined: Mon May 31, 2004 6:03 am

Post by A_Rogue00 » Tue Jun 01, 2004 5:48 pm

Thanks for the temp enrage fix! :)

Also, you might want to make a change to the way clickies work (or show me how?). Whenever I unhide to redo my haste clicky, it would constantly try to click jboots despite the indoor zone message. It kept going until i ended and restarted the macro. :( So for now it's off autokeepup since i've been doing indoor zones a lot.

Also, how does that leash stuff really work? I tried it in BoT for a bit, but didn't really like it. I set it to 500 and some lower values,but it wouldn't let me leave the leash even when fighting a mob. Everytime I moved 20 feet away from stake, it walked back. Is there a distance limit?
A_Rogue00 says 'Stop Thief! <Sony>'

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

Post by Jerle69 » Tue Jun 01, 2004 5:57 pm

A_Rogue00:

JBoots will certainly go whacko indoors if you make them as a KeepUp type clicky. I wouldn't do that. I'd have to put in a special check for jboots clickies in indoors zones (and last I read the ZoneID information for Indoor zones wasn't accurate), so it's best if you just didn't make it a keepup type spell. Hell, after you get Run3, you don't really need them anyway.

And for the leashes, if you use a stake-type leash (no master), when you activate the leash it drives a stake into the ground at that point. Your leash length is whatever you set it to. When you are NOT fighting, you will always return to the stake and won't be allowed to move. If you try to move, RH will walk you back to the stake. If you are fighting (as in /attack on) you will engage the NPC you have targeted an never go beyond your leash length. If the NPC is outside of the leash length, you will be forced (yanked) back toward the stake for a second. The leash is really a safety harness and should only be used if you're AFK. If you're using RH proactively, the leash is very restrictive and pretty much keeps you from being able to do anything with your rogue other than rotate in place.
--Jerle

omper
a ghoul
a ghoul
Posts: 110
Joined: Sat Dec 06, 2003 10:46 pm

Post by omper » Thu Jun 03, 2004 2:00 am

might want to add in a check for full inventory.. because if the inven is full he just pauses.. then pops up from corpse after it dissapears, with something in his hand.. that will do all kinds of harm..

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

Post by Jerle69 » Thu Jun 03, 2004 2:06 pm

Omper:

Do you mean check for a full inventory while autoninja is on? Yeah I never considered a full inventory. I'll put that in there just prior to grabbing another object. Thanks.
--Jerle