Adding /hidecorpse all to a macro...

eqman22

Lifetime Member
Joined
Oct 31, 2007
Messages
463
Reaction score
5
Points
18
Is there a way to add the /hidecorpse all command to update every few seconds in a macro? When I run afk macros the tank often gets stuck on corpses even though in the macro i have it set to only target non-corpse npcs. This snippet should cure that problem.

Any help would be greatly appreciated. Thanks!
 
Last edited by a moderator:
Add an event for the emote from the mob when it dies and have it /hidecorpse all
 
This may sound quite needy here, but I don't have a clue how to do that. Have an example that I can maybe tinker with to try to get it to work? I do appreciate the help though! =)
 
post the macro, its such a quick fix that someone will do it for you.
 
/if (${SpawnCount[corpse radius 200]}) /hidecorpse all
 
Thanks tons guys. I will try it out when I get home.
 
you can get as fancy with it as you want. can add whatever options you want. you can also declare an on/off toggle for it. like:

/declare DoHideCorpse bool outer TRUE

/if (${SpawnCount[corpse radius 200]} && ${DoHideCorpse}) /hidecorpse all

then if you want it to turn off while you are in game, just type:
/varset DoHideCorpse FALSE

and youll stop hiding corpses.
 
alot more simple than that

at the end combat section of your macro, hell even at the get target part of your macro

insert line
/hidecorpse all

thats what i did on a basic assist macro works fine
 
hiding corpses can be a laggy process. it's true you can use that option to spam it, but i'd prefer to have a throttle in place so it doesnt chain use in game /commands.
 
Code:
|killer.mac
| Made by Typenamehere
|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
 
Last edited by a moderator:
that is basically the one i'm using (i screwed it up trying to add in the hidecorpse command so linked the default one from site).

I put in the one pete suggested but it only clears corpses if i am NOT targetting the corpse. If I am targetting the corpse it appears that it will not restart the kill part and therefore will not do /hidecorpse all.

I am sure there is something simple I am failing to do properly.
 
now that i see the mac, why would you not just type: /hidecorpse looted

it would auto hide each corpse once you looted it. and if you are warping around like that with other people in the zone (the only reason /hidecorpse looted wouldnt answer this).. well.. thats just dumb.
 
I want to take out the entire loot section (I don't want to loot), but when I do it seems to bug out the whole macro. The ideal setup would be simply to kill mobs and instantly /hidecorpse all upon death so that it doesn't get locked up on a corpse.
 
i have used that macro myself, got rid of the warps and used /goto commands

would be great to use if you have mq2nav Id imagine

think it earned me over 3k aa on a toon in about a month

used it in a nice spot that was about 1 aa a min back then