Difference between revisions of "MQ2AdvLoot" - MMOBugs Wiki

(New page: {{plugin}} {{Pluginbox | name = MQ2Screenshot | author = Unity0110 | link = [http://www.mmobugs.com/wiki/index.php/MQ2AdvLoot Wiki Link] | commands=/advloot | source = N...)
 
 
(31 intermediate revisions by 5 users not shown)
Line 4: Line 4:
 
| author = [[user:Unity0110|Unity0110]]
 
| author = [[user:Unity0110|Unity0110]]
 
| link = [http://www.mmobugs.com/wiki/index.php/MQ2AdvLoot Wiki Link]
 
| link = [http://www.mmobugs.com/wiki/index.php/MQ2AdvLoot Wiki Link]
| commands=/advloot
+
| commands=/mqadvloot
 
| source = No
 
| source = No
 
| usesini = Yes
 
| usesini = Yes
Line 10: Line 10:
 
==Description==
 
==Description==
 
Loot corpse(s) with keep/destroy lists.  
 
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.
 +
* Per character loot configuration using MQ2AdvLoot_charname.ini files.
 +
 +
==Additional Plugin Requirements==
 +
[http://www.mmobugs.com/wiki/index.php/MQ2Stealth MQ2Stealth] For looting all corpses in the zone without being attacked.
 +
 +
[http://www.mmobugs.com/wiki/index.php/MQ2MMOWarp MQ2MMOWarp] For use in conjunction with MQ2Stealth, allows warping to corpses.
  
 
==Commands==
 
==Commands==
* <span class="highlight2">/advloot</span> Loots your current corpse target.
+
* <span class="highlight2">/mqadvloot LootAll</span> Loots all the npc corpses in the zone.
* <span class="highlight2">/advloot LootAll</span> Loot all corpses in the zone, AllowStealth or AllowWarp must be enabled.
+
* <span class="highlight2">/mqadvloot Abort</span> Stops the LootAll process and returns you to your original location.
* <span class="highlight2">/advloot Help</span> Display all the commands available with a description.
+
* <span class="highlight2">/mqadvloot AllowStealth</span> Toggle On/Off -allows the use of the stealth/warp plugin during looting.
* <span class="highlight2">/advloot Status</span> Shows the status of AllowStealth, AllowWarp, EchoDestroy, EchoKeep, and EchoLootMSG.
+
* <span class="highlight2">/mqadvloot AllowWarp</span> Toggle On/Off - allows the use of the warp plugin during looting.
* <span class="highlight2">/advloot AllowStealth</span> Allows stealth to be used during looting.
+
* <span class="highlight2">/mqadvloot AllowAutoDestroy</span> Toggle On/Off - allows the automatic deletion of items which aren't set to be kept.
* <span class="highlight2">/advloot AllowWarp</span> Allows warp to be used during looting.
+
* <span class="highlight2">/mqadvloot ItemsDelay</span> Numeric Value - Sets the delay that the plugin will wait before looting, once the corpse is open.
* <span class="highlight2">/advloot EchoDestroy</span> Toggle the display of destroy messages.
+
* <span class="highlight2">/mqadvloot CorpseOpenDelay</span> Numeric Value - Sets the delay that the plugin will wait for the corpse to open.
* <span class="highlight2">/advloot EchoKeep</span> Toggle the display of keep messages.
+
* <span class="highlight2">/mqadvloot EchoDestroy</span> Toggle On/Off - if disabled, no message will be shown when destroying items.
* <span class="highlight2">/advloot EchoLootMSG</span> Toggle the display of 'looting' messages.
+
* <span class="highlight2">/mqadvloot EchoKeep</span> Toggle On/Off - if disabled, no message will be shown when keeping items.
 +
* <span class="highlight2">/mqadvloot EchoLootMSG</span> Toggle On/Off - if disabled, no 'looting' messages will be shown when looting corpses.
 +
* <span class="highlight2">/mqadvloot EchoLoreMSG</span> Toggle On/Off - if disabled, no 'lore' messages will be shown when looting corpses.
 +
* <span class="highlight2">/mqadvloot MinValue</span> Numeric Value - Sets the minimum value an item must be worth to loot.
 +
* <span class="highlight2">/mqadvloot MustStack</span> Toggle On/Off - if enabled, non-stackable items are handled by the DefaultAction. (Minvalue must also be enabled)
 +
* <span class="highlight2">/mqadvloot DefaultAction</span> Sets the default action if an item does not meet the minimum value. (Ignore or Destroy)
 +
* <span class="highlight2">/mqadvloot NoDrop</span> Toggle On/Off - if disabled, items that are NoDrop will be ignored.
 +
* <span class="highlight2">/mqadvloot IgnoreDuplicateLoreCorpse</span> Toggle On/Off - if enabled, corpses with duplicate lore items will be ignored.
  
 
==Example Usage==
 
==Example Usage==
 
This command will loot your current corpse target.
 
This command will loot your current corpse target.
* <span class="highlight2">/advloot</span>
+
* <span class="highlight2">/mqadvloot</span>
  
  
This command will loot your current corpse target.
+
This command will attempt to loot all the npc corpses in the zone.
* <span class="highlight2">/advloot lootall</span>
+
* <span class="highlight2">/mqadvloot lootall</span>
 +
 
 +
 
 +
This command will attempt to loot all the npc corpses within a 500 radius.
 +
* <span class="highlight2">/mqadvloot lootall 500</span>
 +
 
 +
 
 +
This command will stop the lootall process and return you to your original location.
 +
* <span class="highlight2">/mqadvloot abort</span>
 +
 
 +
 
 +
Sets the current item on the cursor or by exact name to be automatically destroyed when looting.  
 +
* <span class="highlight2">/mqadvloot destroy "Scale Ore"</span>
  
  
 
This command will display all the commands available and a short description of them.
 
This command will display all the commands available and a short description of them.
* <span class="highlight2">/advloot help</span>
+
* <span class="highlight2">/mqadvloot help</span>
  
  
 
This command will show the status of AllowStealth, AllowWarp, EchoDestroy, EchoKeep, and EchoLootMSG.
 
This command will show the status of AllowStealth, AllowWarp, EchoDestroy, EchoKeep, and EchoLootMSG.
* <span class="highlight2">/advloot status</span>
+
* <span class="highlight2">/mqadvloot status</span>
 +
 
  
 +
This command will enable stealth to be used during the lootall command. (Default: Off)
 +
* <span class="highlight2">/mqadvloot AllowStealth on</span>
  
This command will enable stealth to be used during the lootall command. (Default: False)
 
* <span class="highlight2">/advloot AllowStealth true</span>
 
  
 +
This command will enable warp to be used during the lootall command. (Default: Off)
 +
* <span class="highlight2">/mqadvloot AllowWarp on</span>
  
This command will enable warp to be used during the lootall command. (Default: False)
 
* <span class="highlight2">/advloot AllowWarp true </span>
 
  
 +
This command will disable the destroy messages. (Default: On)
 +
* <span class="highlight2">/mqadvloot EchoDestroy off</span>
  
This command will disable the destroy messages. (Default: True)
 
* <span class="highlight2">/advloot EchoDestroy false</span>
 
  
 +
This command will disable the keep messages. (Default: On)
 +
* <span class="highlight2">/mqadvloot EchoKeep off</span>
  
This command will disable the keep messages. (Default: True)
 
* <span class="highlight2">/advloot EchoKeep false</span>
 
  
 +
This command will disable the 'looting' messages. (Default: On)
 +
* <span class="highlight2">/mqadvloot EchoLootMSG off</span>
  
This command will disable the 'looting' messages. (Default: True)
+
==Example Macro Data and Usage==
* <span class="highlight2">/advloot EchoLootMSG false</span>
+
* <span class="highlight2">${MQAdvLoot.Active} : bool</span> Return TRUE if looting is active.
 +
* <span class="highlight2">${MQAdvLoot.CorpseCount} : int</span> Return number of NPC corpses.
 +
<pre>
 +
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
 +
</pre>
  
 
==Sample Configuration==
 
==Sample Configuration==
Line 79: Line 127:
 
==Availability==
 
==Availability==
  
This plugin is in beta stage, but will soon be added to the MMOBugs compile.
+
This plugin is available in the MMOBugs compile.

Latest revision as of 19:51, 1 December 2021

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.
  • Per character loot configuration using MQ2AdvLoot_charname.ini files.

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.