• 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 Melee Macro v3.1 (02/15/2011)

Re: AFK Melee Macro

let me know if it worked?

Rich (BB code):
/declare FightTimer        timer outer 0m

/if (${FightTimer}==0) /call AquireTarget

when fight timer = 0 do something (aquire target)

Rich (BB code):
/varset FightTimer 1m

resets timer to 1 minute
or thats how I figured it
 
Re: AFK Melee Macro

Rich (BB code):
/varset FightTimer 1m
Set this variable to 30s or less if you don't like the wait.
i.e.
Rich (BB code):
/varset FightTimer 30s
 
Re: AFK Melee Macro

I play SK/shm/magi

before testing this, where to change range attack to anything else..say I want to cast specific spell instead? or easier to just get random bow with random arrows?
 
Re: AFK Melee Macro

Rich (BB code):
|--------------------------------------------------------------------------------
|SUB: Aquire Target
|--------------------------------------------------------------------------------
Sub AquireTarget
:targetspot
/if (${targetspotted}>${locstospot}) {
	/varset targetspotted 1
	/varset FightTimer 1m
	/keypress esc
	/call MoveToLoc ${RT_MyyLOC} ${RT_MyXLOC}
	/return
	}
/keypress esc
/delay 20
/call MoveToLoc ${SpawnYloc[${targetspotted}]} ${SpawnXloc[${targetspotted}]}
/target ${NearestSpawn[NPC]}
/face fast
/delay 1s

/if (${NearestSpawn[NPC].Distance}>160) {
	/varset targetspotted ${Math.Calc[${targetspotted}+1]} 
	/goto :targetspot
	} else {
	/ranged
	/delay 3s
	/call MoveToLoc ${RT_MyyLOC} ${RT_MyXLOC}
	:waitfortarget
	/if (${Target.Distance}<30) {
	  /attack on
	  /return
	  }
	/goto :waitfortarget
	}
The bold says if any target is GREATER than 160 units to go back to camp... Change that to the units you need

The Second Bold Item says to do a range attack once the macro decides to engage... you can change this to an instant cast spell or ability.
 
Re: AFK Melee Macro

I have a flawless afk macro one similar to this with a few adjustments, i would like to comment that target ID would not be feasable for this since target ID's always changes. however the spawn locs i find are the best way to go on this. I have read up on your macro and i want to try something implementing my macro along with 1 or 2 ideas of yours if thats okay? thanks
 
Sure go ahead Taota, I just revamped and scraped my version 2.x of the macro and did a huge overall of it. Check out the ${Spawn} Logic and couple other goodies that I haven't seen many macros use.

Everyone else enjoy the update. For non-monks you will need to change the /doability "Vigourus Shuriken" Line to /ranged or a spell cast to pull mobs. The rest of the monk code should default to false and not even affect you, but you can comment it out if you like.
 
3.2 Released, Free Time from Sony = I have more accounts than I can load on my systems lol... Time to do some AFK leveling! This macro was already quite good, but with the extra safeguards, it should make it more reliable and safer to use.
 
I've noticed mercs no longer cause my macro to hang when doing the playercheck subroutine. I'm working through my development points and will work on ini support tomorrow.
 
I've noticed mercs no longer cause my macro to hang when doing the playercheck subroutine. I'm working through my development points and will work on ini support tomorrow.

Feel free to lift my ini sub from kissassist if you want. I have been using it for well over a year in shambot so its well tested. It supports regular variables and arrays. PM me if you want to use it or have any questions.
 
Version 4 Released. Thanks for the ini sub Maskoi... makes posting updates much faster. Now I don't have to worry about leaving my boxes name in the macro lol.
 
Think you should just use the new ninjadvloot.inc for looting
all ya gotta add is:
#include ninjadvloot.inc
and then to call the loot process add:
/call LootCorpse
the list of looted items is kept in loot.ini and can be editied to keep or destory the items
 
AFK Melee Macro v3.1 (02/15/2011)

Users who are viewing this thread

Back
Top
Cart