• 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

afk kill, loot, destroy macro

typenamehere

New member
Joined
Apr 27, 2006
RedCents
11¢
this is one of the first macros ive made, it may look a little sloppy, but it seems to run pretty good for me. im sure someone could tweak it up if they need to, but basically this will *warp* around and kill everything you ask it to, and destroy all the corpses. i use it mostly for semi afk exp, if im watching tv or sumtn and dont feel like playn, but some some xp. used only for melee classes, cleric mercs help if you cant solo the mobs. after killing the mob intended, it checks to see if another mob is attacking you, then others in area (attacking your merc)

Rich (BB code):
| Made by Typenamehere
|Thanks VillageIdiot for the corpse looting section
|insert the name of mobs you want killed in line 10-12, can add more/less mobs if needed

Sub Main
/declare LootTotal int outer 
/declare LootSlot  int outer
  :main
	/doevents
	/if (${Spawn[gm].ID}) /q
        /if (${Me.PctHPs}<=80) /goto :heal
	/delay 1s
	/if (!${Target.ID})    /keypress f8
        /if (!${Target.ID})    /target crystalline sen
        /if (!${Target.ID})    /target velium
        /if (!${Target.ID})    /target icepaw
        /if (${Target.Type.Equal[Corpse]}) {
						/warp target
					    /goto :loot
								}
	/if (${Target.ID})  /goto :move
/goto :main



  :move
	/warp target
        /keypress back hold
	/delay .5s
	/keypress up
        /stick 7
	/goto :kill

  :kill 
	/delay 1s
	/attack on
	/stick 7
	/goto :wait

  :wait
	/if (${Me.PctHPs}<12) {
			        /warp succor
                                /delay 1s
 			 	/warp succor
				/fade
				/delay 40s
				/goto :heal
					     }
	/doevents
	/if (!${Target.ID}) /goto :main
	/if (${Target.ID}) /goto :kill


:heal
        /if (${Me.PctHPs}>80) /goto :main
        /if (${Me.PctHPs}<=80) { 
				 /delay 10s
				 /goto :heal
					     }


:loot

/target corpse
/if (${Target.ID}) {
/moveto ID
/delay 2s
/loot 
/delay 1s 
/goto :start

:start
   /if (!${Corpse.Items}) {  
      /notify LootWnd DoneButton leftmouseup
      /return 
   } 
   /varset LootTotal ${Corpse.Items} 
   /for LootSlot 1 to ${LootTotal} 
     /nomodkey /shiftkey /itemnotify loot${LootSlot} leftmouseup 
	 /delay 1s
         /echo Destroying ${Cursor.Name}...
         /destroy
         /delay 1s 
   /next LootSlot 
    
   /notify LootWnd DoneButton leftmouseup 
   /delay 2 
/goto :main

if your more interested in loot, then i made (requires ninjadvloot.inc from mq2 site)
Rich (BB code):
| Made by Typenamehere
|insert the name of mobs you want killed in line 10-12, can add more/less mobs if needed

#include ninjadvloot.inc

Sub Main
/declare LootTotal int outer 
/declare LootSlot  int outer
  :main
	/doevents
	/if (${Spawn[gm].ID}) /q
        /if (${Me.PctHPs}<=80) /goto :heal
	/delay 1s
	/if (!${Target.ID})    /keypress f8
        /if (!${Target.ID})    /target broken
        /if (!${Target.ID})    /target velium
        /if (!${Target.ID})    /target icepaw
        /if (${Target.Type.Equal[Corpse]}) {
						/warp target
					    /call Lootcorpse
								}
	/if (${Target.ID})  /goto :move
/goto :main



  :move
	/warp target
        /keypress back hold
	/delay .5s
	/keypress up
        /stick 7
	/goto :kill

  :kill 
	/delay 1s
	/attack on
	/stick 7
	/goto :wait

  :wait
	/if (${Me.PctHPs}<12) {
			        /warp succor
                                /delay 1s
 			 	/warp succor
				/fade
				/delay 40s
				/goto :heal
					     }
	/doevents
	/if (!${Target.ID}) /goto :main
	/if (${Target.ID}) /goto :kill


:heal
        /if (${Me.PctHPs}>80) /goto :main
        /if (${Me.PctHPs}<=80) { 
				 /delay 10s
				 /goto :heal
					     }
 
Sticks too target at distance of "7"


Stick is pretty much the most usefull command in the world, I wouldnt Box without it..Well then again I wouldnt play EQ without MQ2 LOL

Check out: MQ2Moveutils
 
Allot of warping in this macro but it looks neat. Probably can just change warp to /stick commands I am thinking but then you have to worry what's between you and it... is there a check to see if a mob is already damaged so you don't KS someone by accidnet?
 
Thanks typename, iv been using this a lot lately.

I edited it a little to be used with mq2melee and may be editing it more to do some other things... Thanks a lot for the base of it though!

Question for you though... Have you had a problem while using it, where it will randomly end?
 
Now when people post macros, what do i do with them. some people put the link so i can download it.. but if there isn't a download is there a way I can do this so others dont have to do it for me.

Rizzen
 
take what the person posted and paste it in notepad. then save as blahblah.mac

***Make sure to save as file type ANY***

and save it into your macro folder
 
isnt warping active hack? If you do it in public, sure gonna get caught soon. But if I warp around in some instance, can this be spotted aswell?
 
Warping is an active hack, and yes it could be easily spotted in a public zone. Used in an instance is much safer but not 100% since if you have a GM tailing you or been reported for some reason and you get checked on they can and will enter your instance.
 
active hack means that they can trace your logs back and find that you been warping?
 
They can always trace logs back. So yes, if reported and they decide to really look into it, they could find it. The key is to make sure they never have a reason to look. Checking log files takes man hours they are unlikely to dedicate unless you are brought to their attention.
 
i am kinda mq illiterate and i was wondering if there was a way to make this for a bard?
 
I started using this to PL other people and the macro will stop after looting if there is no loot on the corpse. I also added a pause 27 seconds to the loop sequence but if there was a mob targeted and the corpse despawns from no loot on it, the macro stops.

I am not into programming like I use to be so I am having a problem fixing this. There seems to be a problem when the corpse disappears or has no loot on it. What can I add to the loot loop to have it say :

If the corpse is empty then start the macro from the top, where the top is the beginning?

Hoecus
 
afk kill, loot, destroy macro

Users who are viewing this thread

Back
Top
Cart