Halls of Honor SE Kiter v1.0 for Necromancers

A forum for you to dump all the macros you create, allowing users to use, modify, and comment on your work.

Moderator: MacroQuest Developers

elretardo
a lesser mummy
a lesser mummy
Posts: 36
Joined: Thu Oct 16, 2003 3:24 am

Halls of Honor SE Kiter v1.0 for Necromancers

Post by elretardo » Sun Nov 16, 2003 5:34 am

This is the first script I've done from scratch so it may be a bit odd in places.

It's an aggro kiting script for the SE basement camp in Halls of Honor. It's meant to be bound to a hotkey and run AFTER you've pulled the mob you wish to kill. This will NOT automatically pull the mobs for you although it could probably be modified to root split the spawns. However, I'm far too lazy and ethical to do that sort of thing >:)

As it says in the comments on the script, first be sure to target yourself and run the script to get a feel for the pathing. It uses loc anchors and that can get sticky if you badly time the start of the script. Be sure to pull the snared mob to the OPPOSITE side of the first loc you run to from the camp anchor.

Currently, there's no INI support but I do plan on adding it to make this script universal. As for now, it only supports the SE Basement camp in Halls of Honor.

I tested this with both Run3 and Jboots and the script worked as intended. The most intensive testing was done using EQSpeedII at the speed setting of 1, however. If it starts to give you problems, just adjust the delays as needed.

Also note: I'm using a movement method that I'm not sure has been tried before but it's using the built in auto-run key of EverQuest which defaults to Num Lock. The only reason I did this was because I noticed on my other scripts, since the last patch I haven't been able to type anything while my character is trying to move with traditional /sendkey or /press driven movement code. Hope it's not too odd :)

Enjoy :)

Code: Select all

sekite.mac
|**

  Halls of Honor SE Kiter v1.0 for Necromancers
  by elretardo

  This script isn't intended for AFK experience but can 
  probably be modified to do it.  I just have a general
  hatred for kiting.  So, I use a hotkey to activate this
  script after I've pulled the mob and watch a movie or 
  something while it does its thing.

  Change the anchor locs for different zones or different
  camps in HoH.

  Note: Be sure to target yourself and run this script first.
        That way you can get a feel of its movement.  When you
        pull a real mob, be sure to distance yourself from the
        camp location and preferably on the opposite side of the
        first kite/turn anchors.

**|

#turbo 90

sub Main
  /declare CampAnc global
  /declare KiteAnchorA global
  /declare KiteAnchorB global 
  /declare KiteAnchorC global
  /declare KiteAnchorD global
  /declare JBootKey global
  /declare PetAttackKey global
   
  |||||||||BEGIN USER SET VARIABLES|||||||||
  /varset JBootKey 0
  /varset PetAttackKey 1
  ||||||||||END USER SET VARIABLES||||||||||

  ||||||||||BEGIN ANCHOR LOCATIONS||||||||||
  /varset CampAnc -1713.51,-3379.32
  /varset KiteAnchorA -1514.25,-3296.06
  /varset KiteAnchorB -1513.36,-3378.76 
  /varset KiteAnchorC -1944.50,-3303.95
  /varset KiteAnchorD -1945.58,-3385.84
  |||||||||||END ANCHOR LOCATIONS|||||||||||

  /call KiteTheMob
/endmacro

Sub KiteTheMob
| /tell MeleeBot_01 Go Ninja Go! <- Hehe, ignore this.
  /press @PetAttackKey
  /press @JBootKey
  /echo Kiting $target(name).
  /press Num_Lock
  /goto :CampAnchor
  :CampAnchor
  /if $target(name)==NULL /call MobDead
  /if n $distance(@CampAnc)<=10 {
	/press Num_Lock
	/goto :CastSnare
  }
  /face fast loc @CampAnc
  /goto :CampAnchor

  :CastSnare
  /if $target(name)==NULL /call MobDead
  /delay 1s
  /cast "Embracing Darkness"
  /delay 1s
  /cast "Embracing Darkness"
  /delay 1s
  /cast "Embracing Darkness"
  /delay 1s
  /cast "Embracing Darkness"
  /doevents
  /delay 4s
  /press Num_Lock
  /goto :AnchorA

  :AnchorA
  /if $target(name)==NULL /call MobDead
  /if n $distance(@KiteAnchorA)<=10 {
	/press Num_Lock
	/goto :CastDot1
  }
  /face fast loc @KiteAnchorA
  /goto :AnchorA

  :CastDot1
  /if $target(name)==NULL /call MobDead
  /delay 1s
  /cast "Blood of Thule"
  /delay 1s
  /cast "Blood of Thule"
  /delay 1s
  /cast "Blood of Thule"
  /delay 1s
  /cast "Blood of Thule"
  /doevents
  /delay 7s
  /press Num_Lock
  /goto :TurnAnchorA

  :TurnAnchorA
  /if $target(name)==NULL /call MobDead
  /if n $distance(@KiteAnchorB)<=10 {
	/goto :CampAnchorKite
  }
  /face fast loc @KiteAnchorB
  /goto :TurnAnchorA

  :CampAnchorKite
  /if n $distance(@CampAnc)<=10 {
	/press Num_Lock
	/goto :CastSnare2
  }
  /face fast loc @CampAnc
  /goto :CampAnchorKite

  :CastSnare2
  /if $target(name)==NULL /call MobDead
  /delay 1s
  /cast "Embracing Darkness"
  /delay 1s
  /cast "Embracing Darkness"
  /delay 1s
  /cast "Embracing Darkness"
  /delay 1s
  /cast "Embracing Darkness"
  /doevents
  /delay 2s
  /press Num_Lock
  /goto :AnchorC

  :AnchorC
  /if $target(name)==NULL /call MobDead
  /if n $distance(@KiteAnchorC)<=10 {
	/press Num_Lock
	/goto :CastDot2
  }
  /face fast loc @KiteAnchorC
  /goto :AnchorC

  :CastDot2
  /if $target(name)==NULL /call MobDead
  /delay 1s
  /cast "Saryrn's Kiss"
  /delay 1s
  /cast "Saryrn's Kiss"
  /delay 1s
  /cast "Saryrn's Kiss"
  /delay 1s
  /cast "Saryrn's Kiss"
  /doevents
  /delay 7s
  /press Num_Lock
  /goto :TurnAnchorB

  :TurnAnchorB
  /if $target(name)==NULL /call MobDead
  /if n $distance(@KiteAnchorD)<=10 {
	/goto :CampAnchor
  }
  /face fast loc @KiteAnchorD
  /goto :TurnAnchorB
/return

Sub MobDead
  /press up down
  /goto :RestartAnchor
  :RestartAnchor
  /if n $distance(@CampAnc)<=10 {
	/press up down
        /sit
	/endmacro
  }
  /face fast loc @CampAnc
  /press up up
  /goto :RestartAnchor
/return
I must go, for there they go and I am their leader.

Pheph
a hill giant
a hill giant
Posts: 196
Joined: Thu Oct 09, 2003 8:15 pm

Re: Halls of Honor SE Kiter v1.0 for Necromancers

Post by Pheph » Mon Nov 17, 2003 6:42 pm

Granted, I haven't coded much for MQ yet, but using common logic and what I know from other languages, isn't the line in red completely unnesessary?
The :RestartAnchor-sequence (if you could call it that, english is not my first language, sorry) would be exectuted next anyways, right?

Code: Select all

Sub MobDead 
  /press up down 
[color=red]  /goto :RestartAnchor [/color]
  :RestartAnchor 
  /if n $distance(@CampAnc)<=10 { 
   /press up down 
        /sit 
   /endmacro 
  } 
  /face fast loc @CampAnc 
  /press up up 
  /goto :RestartAnchor 
/return

Mixy
a lesser mummy
a lesser mummy
Posts: 46
Joined: Tue Jul 09, 2002 5:00 pm

Post by Mixy » Mon Nov 17, 2003 8:16 pm

I believe you are correct Pheph.

-Mixy!

notadruid
a ghoul
a ghoul
Posts: 143
Joined: Mon Dec 08, 2003 6:02 pm

Post by notadruid » Sat Dec 13, 2003 3:55 pm

It appears to me that you're using /press for situations where /setkey is more appropriate.

Glytch
a lesser mummy
a lesser mummy
Posts: 36
Joined: Sat Dec 27, 2003 9:22 am

Post by Glytch » Thu Feb 19, 2004 3:12 pm

any idea how i might be able to change this for afk xp ?

MrDoh
Hypocrite fag
Posts: 10
Joined: Tue Oct 28, 2003 4:01 pm

Post by MrDoh » Thu Feb 19, 2004 3:14 pm

Glytch wrote:any idea how i might be able to change this for afk xp ?
hahahahahahahahahaha

RDPidb
a lesser mummy
a lesser mummy
Posts: 69
Joined: Mon Dec 15, 2003 1:14 am

Post by RDPidb » Fri Feb 20, 2004 11:34 am

Yes, basicly what you would wana do is go RTFM ( read the f&^%ing manual if you didnt know what RTFM means) and then basicly write your own script. for two reasons.
a) most peopel while they are willing to post generic afk scripts (liek the bard ones) are not going to want to post very location specific scripts, cause frankly they prolly dont want other people macroing in thier spot all the time.
and
b) The macro on this page does not work well in an AFK script because it relys on /delays for timing, which means if u get a resist or something your timing is messed up. You will wana write somethign that uses checks on mob distance and speed, as well as timers for each spell to determin when to move and when to cast.

just a side note, I think it may not exactly be wise to make Location specific macros like this and post them here anyway. u might wana edit the locs out if you do, woudl make it VERY easy for a GM to know where to look for macroers.

Lane
a hill giant
a hill giant
Posts: 201
Joined: Fri Dec 06, 2002 11:57 am

Post by Lane » Fri Feb 20, 2004 6:56 pm

I was trying to calculate the exact time between when I left for work with the afk version running, and when my rez timer would be up. So I was thinking about adding some code that would auto ask for a rez in HoH GY and send me back down there.

-Lane

AFK breakin would be even sweeter than naked breakins!

TheWarden
a hill giant
a hill giant
Posts: 253
Joined: Sat Dec 27, 2003 3:51 pm
Location: In your bushes...

Post by TheWarden » Fri Feb 20, 2004 7:06 pm

Glytch wrote:any idea how i might be able to change this for afk xp ?
Image
[img]http://img.photobucket.com/albums/v629/Deevious/SigPics/KristinKreukSig01.jpg[/img]

User avatar
Elric
Cheese Whore
Cheese Whore
Posts: 466
Joined: Sun Nov 23, 2003 12:31 am
Location: Tampa, Fl
Contact:

Post by Elric » Sun Feb 22, 2004 3:01 pm

Hey TheWarden.

Playing around with Photoshop lately?

;-)


:twisted:
-Elric

TheWarden
a hill giant
a hill giant
Posts: 253
Joined: Sat Dec 27, 2003 3:51 pm
Location: In your bushes...

Post by TheWarden » Sun Feb 22, 2004 3:12 pm

NO! I mean, yes :P Poor poor kitty... Sorry, just thought the dog one was so darn cute :D
[img]http://img.photobucket.com/albums/v629/Deevious/SigPics/KristinKreukSig01.jpg[/img]