Simple killing mac

Tapout

Before You Blackout
Joined
Oct 22, 2006
Messages
385
Reaction score
14
Points
18
I'm looking for a simple killing macro for faction killing. Something where you can specify the mob in the /tar npc Mobnamehere. Right now I just keep hitting a hotkey to do it but would like something a little more lazy. hehe. Just kill kill kill till the mob type is gone and wait till they respawn. I hate faction killing but wanna get this quest done finally. I've checked out hunterwarp but would like something much more simple. I don't do it afk. I watch to make sure nobody is in zone so I'm not worried about checks.

Tapout
 
Anyone? Anyone? The frogs need to die. I'm sick of frogs. frogs frogs frogs. Anyone?
 
WOOHOO!!! I'm not kos anymore. Finally getting somewhere. Might not need the mac after all. I still hate these frogs though.
 
I've tried the hunter mac. For some reason it hates me. I can get it to work in other zones but not for killing all the damn frogs. I'm having nightmares of frogs now.
 
I've got one that was written for me when I was farming inside of AC, lemme find it.
 
All credit and Kudos got to Mattr33, he was awesome in writing this. Note, I have not used this in the last few months, but when I did, it worked flawlessly.

If I'm not allowed to post this here admins, feel free to delete it, thanks.

Code:
|--------------------------------------------------------------------------|
|   Killandloot.mac v1.0 by Mattr33                                        |
|                                                                          |
|   This is a simple kill and loot macro.  Requirements for this to run:   |
|   Plugins:  MQ2Melee and MQ2Moveutils (and setup properly for class      |
|   Inc files: ninjadvloot.inc and spell_routines.inc                      |
|                                                                          |
|   Start macro with /mac killandloot                                      |
|   Then when you either have a mob targeted and start attacking it        |
|   (it detects when you go into "Combat State" (crossed swords), or       |
|   a mob hits you (sitting AFK in a corner somewhere), it will fight      |
|   the mob, and then once dead, wait a specified number of seconds        |
|   to see if any other mobs are around you and already attacking you,     |
|   then it will loot the corpses around you.                              |
|                                                                          |
|   To modify the loot parameters, edit the loot.ini file under            |
|   settings to change if you loot mobs, radius to check for corpses,      |
|   radius to check for other mobs and corpse rot time.                    |
|                                                                          |
|   To change adjust snare settings see the declare settings below to      |
|   set that.  Ranger AA Entrap is untested since I don't have a ranger.   |
|                                                                          |
|   GM checking will have PC go afk and then check zone to see if GM       |
|   is in it every 3 minutes.  After GM leaves it will resume macro.       |
|   I didn't get a chance to test this part.                               |
|--------------------------------------------------------------------------|

#include ninjadvloot.inc
#include spell_routines.inc
#Event Killthis "#*#YOU#*#points of damage" 
#Event Snareresist "#*#Your target resisted the Ensnare spell#*#"

Sub Main
|---------Put the name of your snare spell here-----------------------------|
/declare snarespell string outer Ensnare                                    
|---------------------------------------------------------------------------|

|---------Put gem number for snare spell here-------------------------------|
/declare snarespellgem int outer 3                                          
|---------------------------------------------------------------------------|

|---------Change value to 1 if Ranger has AA Entrap-------------------------|
/declare AAEntrap int outer 0                                             
|---------------------------------------------------------------------------|

|---Change value to 0 if you don't want macro to snare----------------------|
/declare snaring int outer 1
|---------------------------------------------------------------------------|

|---Change to what the mobs hp will be at when snare is cast (default 25)---|
/declare snarehp int outer 75
|---------------------------------------------------------------------------|

|---Change to how much time to wait after targets are all killed to loot----|
/declare timetowait int outer 5
|---------------------------------------------------------------------------|

|-----DONT CHANGE THIS------|
/declare mobsnared int outer 0
|---------------------------|

/call SetupAdvLootVars

:Main
/if (${Spawn[gm].ID}) /call GM
/varset mobsnared 0
/if (${Target.ID} && ${Me.CombatState.Equal[COMBAT]}) {
    /echo Have target that I'm fighting
    /call Event_Killthis
    }
/doevents
/goto :Main
/return

Sub Event_Killthis
/attack
:Killoop
/if (!${Target.ID} || ${Target.Type.Equal[Corpse]}) {
    /echo Target is dead
    /keypress esc
    /attack off
    /delay ${timetowait}s
    /if (${Target.ID}) {
        /attack
        /goto :Killoop
        }
    /echo Going to loot corpses now
    /call Lootmobs
    /echo Done Looting
    /cleanup
    /return
    }
/if (${Target.PctHPs} < ${snarehp} && ${snaring}==1) /call Snare
/goto :Killoop
/return

Sub Snare
/if (${mobsnared}==1) /return
/if (${AAEntrap}==1 && ${Me.AltAbilityReady[entrap]}) /call cast "Entrap" alt
/call cast ${snarespell} gem${snarespellgem} 7s
/delay 5
/doevents
/varset mobsnared 1
/popup ${Target.CleanName} is snared
/return

Sub Event_Snareresist
/popup Snare was resisted, retrying!
/call Snare
/return

Sub GM
:GMCheck
/echo GM is in zone! Going AFK and pausing macro for 3 minutes and then will check again for GM
/beep
/beep
/afk
/delay 3m
/if (!${Spawn[gm].ID}) {
    /echo GM is gone, resuming macro
    /afk
    /return
    }
/goto GMCheck
/return

Copy of my loot.ini file

Code:
|** What will happen when you start to loot stuff it will begin to ammend the loot.ini file, in alphabetical order, after the settings, like this:
|  [A]
|  A Drop of Pure Rain=Keep
|  [b]
|  Blue Diamond=Keep
|  Black Sapphire=Keep
|  
|  ...and so on thru the alphabet.

[Settings]
LootMobs=TRUE
CorpseRadius=75
MobsTooClose=5
CorpseRotTime=440s
ReportLoot=FALSE
LootChannel=/say
[S]
Stone of Marking=Keep
Sapphire=Keep
Saltpeter=Keep
Small Clockwork Screws=Keep
Small Clockwork Shaft=Keep
Sanguinary Mechanotablet=Keep
Sparkling Mushroom=Keep
Sporali Skin Legs=Keep
Salutary Accelerative Mechanotablet=Keep
Sand Snake Egg=Keep
Shiliskin Good Luck Charm=Ignore
Sand Snake Scales=Keep
Sand Snake Meat=Keep
Small Sparkling Stalagmite=Keep
Spell: Talisman of the Brute=Keep
Spell: Aegis of Ro=Keep
Spell: Bonds of Tunare=Keep
Spell: Wind of Tashanian=Keep
Spell: Vocarate: Water=Ignore
Spell: Exile Undead=Ignore
[P]
Polished Noc Tusk=Keep
Peridot=Keep
[R]
Rolled Discordant Parchment=Keep
Radically Refurbished Arm Casing=Keep
[D]
Damaged Muramite Battle Blade=Keep
Dragorn Skull=Keep
Destroyed Mechanotablet=Keep
Digested Coral=Keep
Drachnid Carapace=Keep
Diamond=Keep
[A]
Amber=Keep
Aged Witheran Glands=Keep
[C]
Clockwork Pinion Gear=Keep
Corathus Entrails=Keep
Clockwork Gnome Bolts=Keep
Corathus Skin=Keep
Corathus Spores=Keep
Clockwork Gear=Keep
Clockwork Gnome Gear=Keep
Clockwork Gnome Shaft=Keep
Clockwork Gnome Spring=Keep
Coadjutor Mechanotablet=Keep
Chitin Blade=Keep
Chronal Steel=Keep
[M]
Mechanoinstruction Scraps=Keep
Mushroom Cap Armguards=Keep
Malachite=Keep
[I]
Imprecise Accelerative Mechanotablet=Keep
Imprecise Fluctuator Mechanotablet=Keep
Imprecise Incantific Mechanotablet=Keep
[T]
Tiny Clockwork Shaft=Keep
[N]
Nogglegrop Fendlebar the Unwilling=Keep
[E]
Emerald=Keep
Exquisite Deep Mushroom=Keep
[G]
Gnomework Augmented Gloves=Keep
Green Snake Meat=Keep
Green Snake Scales=Keep
Glowstone=Keep
Glowing Nargilor Core=Keep
Grubby Fine Parchment=Keep
[B]
Burrownizer Fan Belt=Keep
Brittle Nargilor Core=Keep
[L]
Lamellae Gloves=Keep
Lamellae wrists=Keep
[H]
Hyoscyamine Mechanotablet=Keep
[W]
Witheran Pearl=Keep
Witheran Slime=Keep
Witheran Bile=Keep
Witheran Skin=Keep
[F]
Fire Emerald=Keep
 
Awesome, thank you very much. As soon as I get home I will try this out and let ya know how it goes.

Tapout.

The frogs must DIE!!!
 
Leashing

How can I add leashing to this, I want to park my monk in 1 spot and have him stay there while mobs agro him