Line 92: | Line 92: | ||
sub main | sub main | ||
:loop | :loop | ||
− | /if (${SpawnCount[ | + | /if (${SpawnCount[npccorpse]} >= 5) /call lootAll |
/goto :loop | /goto :loop | ||
/return | /return |
Revision as of 20:18, 13 November 2010
Plugin Info | |
---|---|
Name | MQ2AdvLoot |
Author | Unity0110 |
Link | Wiki Link |
Commands | /advloot |
Source Available | No |
Uses INI File | Yes |
Contents
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
- /advloot LootAll Loots all the npc corpses in the zone.
- /advloot Abort Stops the LootAll process and returns you to your original location.
- /advloot AllowStealth Toggle On/Off -allows the use of the stealth/warp plugin during looting.
- /advloot AllowWarp Toggle On/Off - allows the use of the warp plugin during looting.
- /advloot AllowAutoDestroy Toggle On/Off - allows the automatic deletion of items which aren't set to be kept.
- /advloot ItemsDelay Numeric Value - Sets the delay that the plugin will wait before looting, once the corpse is open.
- /advloot CorpseOpenDelay Numeric Value - Sets the delay that the plugin will wait for the corpse to open.
- /advloot EchoDestroy Toggle On/Off - if disabled, no message will be shown when destroying items.
- /advloot EchoKeep Toggle On/Off - if disabled, no message will be shown when keeping items.
- /advloot EchoLootMSG Toggle On/Off - if disabled, no 'looting' messages will be shown when looting corpses.
- /advloot EchoLoreMSG Toggle On/Off - if disabled, no 'lore' messages will be shown when looting corpses.
- /advloot MinValue Numeric Value - Sets the minimum value an item must be worth to loot.
- /advloot MustStack Toggle On/Off - if enabled, non-stackable items are handled by the DefaultAction. (Minvalue must also be enabled)
- /advloot DefaultAction Sets the default action if an item does not meet the minimum value. (Ignore or Destroy)
- /advloot NoDrop Toggle On/Off - if disabled, items that are NoDrop will be ignored.
- /advloot IgnoreDuplicateLoreCorpse Toggle On/Off - if enabled, corpses with duplicate lore items will be ignored.
Example Usage
This command will loot your current corpse target.
- /advloot
This command will attempt to loot all the npc corpses in the zone.
- /advloot lootall
This command will attempt to loot all the npc corpses within a 500 radius.
- /advloot lootall 500
This command will stop the lootall process and return you to your original location.
- /advloot abort
Sets the current item on the cursor or by exact name to be automatically destroyed when looting.
- /advloot destroy "Scale Ore"
This command will display all the commands available and a short description of them.
- /advloot help
This command will show the status of AllowStealth, AllowWarp, EchoDestroy, EchoKeep, and EchoLootMSG.
- /advloot status
This command will enable stealth to be used during the lootall command. (Default: Off)
- /advloot AllowStealth on
This command will enable warp to be used during the lootall command. (Default: Off)
- /advloot AllowWarp on
This command will disable the destroy messages. (Default: On)
- /advloot EchoDestroy off
This command will disable the keep messages. (Default: On)
- /advloot EchoKeep off
This command will disable the 'looting' messages. (Default: On)
- /advloot EchoLootMSG off
Example Macro Data and Usage
- ${AdvLoot.Active} : bool Return TRUE if looting is active.
sub main :loop /if (${SpawnCount[npccorpse]} >= 5) /call lootAll /goto :loop /return sub lootAll /advloot lootall /delay 3 :loot /delay 1 /if (${AdvLoot.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.