MQ2AdvLoot - MMOBugs Wiki

Plugin Info
Name MQ2AdvLoot
Author Unity0110
Link Wiki Link
Commands /mqadvloot
Source Available No
Uses INI File Yes

Description

Loot corpse(s) with keep/destroy lists.

Features

  • This plugin has the ability to loot all the npc corpses in the zone with one command using either stealth/warp or just warp.
  • Lore items (Items marked as lore that you already posses) are simply ignored.
  • Easy to use, with the ${AdvLoot.Active} TLO you can pause your macro's until looting has finished

Additional Plugin Requirements

MQ2Stealth For looting all corpses in the zone without being attacked.

MQ2MMOWarp For use in conjunction with MQ2Stealth, allows warping to corpses.

Commands

  • /mqadvloot LootAll Loots all the npc corpses in the zone.
  • /mqadvloot Abort Stops the LootAll process and returns you to your original location.
  • /mqadvloot AllowStealth Toggle On/Off -allows the use of the stealth/warp plugin during looting.
  • /mqadvloot AllowWarp Toggle On/Off - allows the use of the warp plugin during looting.
  • /mqadvloot AllowAutoDestroy Toggle On/Off - allows the automatic deletion of items which aren't set to be kept.
  • /mqadvloot ItemsDelay Numeric Value - Sets the delay that the plugin will wait before looting, once the corpse is open.
  • /mqadvloot CorpseOpenDelay Numeric Value - Sets the delay that the plugin will wait for the corpse to open.
  • /mqadvloot EchoDestroy Toggle On/Off - if disabled, no message will be shown when destroying items.
  • /mqadvloot EchoKeep Toggle On/Off - if disabled, no message will be shown when keeping items.
  • /mqadvloot EchoLootMSG Toggle On/Off - if disabled, no 'looting' messages will be shown when looting corpses.
  • /mqadvloot EchoLoreMSG Toggle On/Off - if disabled, no 'lore' messages will be shown when looting corpses.
  • /mqadvloot MinValue Numeric Value - Sets the minimum value an item must be worth to loot.
  • /mqadvloot MustStack Toggle On/Off - if enabled, non-stackable items are handled by the DefaultAction. (Minvalue must also be enabled)
  • /mqadvloot DefaultAction Sets the default action if an item does not meet the minimum value. (Ignore or Destroy)
  • /mqadvloot NoDrop Toggle On/Off - if disabled, items that are NoDrop will be ignored.
  • /mqadvloot IgnoreDuplicateLoreCorpse Toggle On/Off - if enabled, corpses with duplicate lore items will be ignored.

Example Usage

This command will loot your current corpse target.

  • /mqadvloot


This command will attempt to loot all the npc corpses in the zone.

  • /mqadvloot lootall


This command will attempt to loot all the npc corpses within a 500 radius.

  • /mqadvloot lootall 500


This command will stop the lootall process and return you to your original location.

  • /mqadvloot abort


Sets the current item on the cursor or by exact name to be automatically destroyed when looting.

  • /mqadvloot destroy "Scale Ore"


This command will display all the commands available and a short description of them.

  • /mqadvloot help


This command will show the status of AllowStealth, AllowWarp, EchoDestroy, EchoKeep, and EchoLootMSG.

  • /mqadvloot status


This command will enable stealth to be used during the lootall command. (Default: Off)

  • /mqadvloot AllowStealth on


This command will enable warp to be used during the lootall command. (Default: Off)

  • /mqadvloot AllowWarp on


This command will disable the destroy messages. (Default: On)

  • /mqadvloot EchoDestroy off


This command will disable the keep messages. (Default: On)

  • /mqadvloot EchoKeep off


This command will disable the 'looting' messages. (Default: On)

  • /mqadvloot EchoLootMSG off

Example Macro Data and Usage

  • ${MQAdvLoot.Active} : bool Return TRUE if looting is active.
  • ${MQAdvLoot.CorpseCount} : int Return number of NPC corpses.
sub main
:loop
/if (${MQAdvLoot.CorpseCount} >= 5) /call lootAll
/goto :loop
/return

sub lootAll
/mqadvloot lootall
/delay 3
:loot
/delay 1
/if (${MQAdvLoot.Active}) /goto :loot
/return

Sample Configuration

MQ2AdvLoot.ini

[Settings]
AllowStealth=False
AllowWarp=False
EchoDestroy=True
EchoKeep=True
EchoLootMSG=True
[Items]
Scale ore=Destroy
Superb Silk=Destroy
Diamond=Keep
Blue Diamond=Keep
Raw Diamond=Keep

Availability

This plugin is available in the MMOBugs compile.