• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Leech.mac

Marbury

Member
Joined
Jan 11, 2006
RedCents
121¢
This is my first attempt at writing a macro and I am sure I will get a few pointers on what I did wrong and everything.

I worked with what I had, and this is to the best of my ability, don't laugh. :p

I give credit to Roguish who gave me a base macro which I modified for my own uses, and I give credit to TeachersPet which I took some of his coding from another macro I have.

Rich (BB code):
#turbo

Sub Main

/echo Leech Macro, exp away!
/echo For No Delay Usage.

/declare curzone string local
/varset curzone ${Zone.ShortName}

/echo Zone Bound To: ${Zone.Name}

:loop
	/if (!${Zone.ShortName.Equal[${curzone}]}) /call End
	/delay 2s
	/warp succor
	/target _
	/delay 1s
	/assist <Main Assist Name>
	/delay 1s
	/warp target
	/delay 5s
	/goto :loop

/return
 
Sub End
	/echo Camping to Character Select Screen, exp over.
	/beep
	/beep
	/beep
	/keypress instant_camp
/endmacro

Rich (BB code):
	/target _

I put that in there to cancel if there were any mis-targets so the macro does not bind up and not continue to work. Reason for the underscore, is with NoDelay, the monk will be stationed at the zone in, where you will be and the /target _ will direct you to his aura (which is untargetable) and causes you to lose your current target. I did not know much of a way to get around it, a few pointers will be nice.

It's a little sloppy, needs some revising and hopefully I can make it better. One thing I want to work on, is to get him to stay at the mob until it's dead and then warp to zone in. With the macro though, it will get hung up on a mob at zone in, reason why I have the clearing of the target. I would like it to clear it every 10-20 seconds.
 
Not much code there so it is hard to comment.

But the formatting is nice and clean.

A nice tool is the #Define command for anything that requires an internal change for a diferent user to run it

Instead of using
/assist <whatever>

try adding a #define at the top of the script for ease of locating.
#Define MAINASSIST <whatever>

Then down in the code use
/assist MAINASSIST
/echo Going to help MAINASSIST

etc....
 
Rich (BB code):
#turbo
#Event XP "#*#gain experience#*#"
/declare MAINASSIST string outer ${Target.ID}

Sub Main
/echo Leech Macro, exp away!
/echo For No Delay Usage.
/echo Main Assist is: ${Target[${MAINASSST}].Name}
/declare curzone string local
/varset curzone ${Zone.ShortName}

/echo Zone Bound To: ${Zone.Name}

:loop
	/if (!${Zone.ShortName.Equal[${curzone}]}) /call End
	/if !${Me.Ability.[Sneak]} /doabi Sneak
             /if !${Me.Ability.[Hide]} /doabi Hide
             /delay 2s
	/doevents
	/delay 1s
	/assist MAINASSIST
             /if !${Me.Ability.[Sneak]} /doabi Sneak
             /if !${Me.Ability.[Hide]} /doabi hide
	/delay 1s
	/warp target
	/delay 5s
	/goto :loop

/return

Sub_Event XP
/warp succor
/return
  
Sub End
	/echo Camping to Character Select Screen, exp over.
	/beep
	/beep
	/beep
	/keypress instant_camp
/endmacro

Untested bro But If you are in rouge form and you attack is set to off on assist this should work. Someone look at code see if i missed something. It should also sneak and hide for ya if you are not. WIll not warp succor till mob is dead.

1. Shroud to rouge form
2. Target your mainassist
3. Run mac


What i would like to add
1. If MA doesnt have a NPC target dont warp. (is this code corect?)
Rich (BB code):
:inerloop
/delay 1s
/if !${Me.Target.NPC} /goto:inerloop

2. Id like to it to sit and regen when health is low (is this correct also)
Rich (BB code):
/if (${Me.Hps} < 40) /call regensub

Sub regensub
/warp succor
/if !${Me.Ability.[Sneak]} /doabi Sneak
/if !${Me.Ability.[Hide]} /doabi hide
/sit
:regenloop
/echo ouch that hurt
/delay 1s
/if (${Me.Hps}<97) /goto :regenloop
/stand
/return
 
Last edited:
your pretty lucky if this works for you, seems like you would want to stay at the npc till you gain experiance rather than just a few seconds, soo
maybe add an "You gain party experiance" event to succor then target and assist the monk also as sos said some kind of invis would be nice.
 
If not a rogue or rogue shroud, did you consider a zwarp using the setgrav strat? This is just a suggestion nothing more. Is good job already.
 
Last edited:
No, I did not consider that at the time being, because I was not thinking about it.

Like I said, I am not too advanced in writing macros and I tried my hardest, and I learned a little more from this, and that's all I ask of it.
 
If you're in a zone that has dropoffs to another zone be sure to /setgrav 0 anyway.
 
Yeah, just a GK leech... You could use with with anything actually... Well, maybe not... but give it a try.
 
Weak Marburyisgod, weak........


Naw, j/k bro. Cheers to first attempts! :drink



(my first sucked.....hard.....ugh)
 
I wrote a plugin for this. If anyone wishes to use.

All you do is set assist and turn it on.


Commands:
/ghostxp setassist <ghoster's name>
/ghostxp on -- turns ghostxp on
/ghostxp off -- turns ghostxp off
/ghostxp -- toggles on and off

--Zippzipp
 
is this pluging working atm with MQ2 v.7.3 ?
want to double check and see if im doing something wrong.


thx
 
Fabulous macro that I used to get hundreds of aa's on my alts previous to last patch. For some reason I can not get this to work now. It still assists my main tank but does not actually ghost leech experience. The commands I am using are /plugin mq2ghostexp, /ghostxp on and /ghostxp setassist tankname. Any ideas why I may be experience problems after patch even with new MQ7.3 being used?

Thank you
 
pmacro not really work for very fast kill ) need to put a delay 1 on macro i use for fight and miss event lot of xp hit ) plugin seem not work )
 
Some one give me a hand here. i tried zipp and his macro, and i assist but his stops and muryburys give me a sneak error , anyone know how to fix this and do i have eto be in shroud for murburys ?
 
Leech.mac

Users who are viewing this thread

Back
Top
Cart