New file uploaded 7/8/16
Ninjadvloot.inc 6.1
Ninjadvloot 6.1 is completely compatible with kissassist 8.5 from the current compile.
NOTE: These 'improvements' only apply to the advloot system. If you are not using advloot - why the Hell not, It's great.
Advloot filters and Ninjadvloot 6.1 play together like most siblings. That is to say they get along perfectly fine most of the time. But when they fight, look out, you will suffer. Some observations to avoid fights:
The Advloot filter
'Never' overrides everything. You simple CAN NOT loot an item if advloot filter is Never. Ninjadvloot is suppose to identify the 'never' filter and deal with it, however, the MQ2 Gremlin is still reporting occasional problems. I recommend not using the advloot filter Never.
The Master Looter / ninjadvloot.inc macro overrides the advloot filters AlwaysGreed and AlwaysNeed. They don't seem to cause any problems, but if the loot.ini is set to ignore or destroy - that is what will happen regardless of other group members advloot filters. Make sure your advloot filters and loot.ini settings match or at least make sense. Don't set one to destroy and the other to AlwaysNeed.
New ini settings:
From 6.0 - QuestKeep=10.....the default number of items to keep if an item is set to Quest using the command /lootquest.
From 6.0 - StackPlatValue=50.....The stack value of new items being automatically added to the ini file that determines =Keep or =Ignore
From 6.0 - GMLSelect=1.....Group Master Looter Select has two functions, 1. it will select a Master Looter if the group does NOT already have one.
............... 2. It will select a new Master Looter if the sharedlist count increase more then 5x without a decrease.
From 6.0 - ExcludeBag1=NULL/ExcludeBag2=NULL.....allows you to exclude two special or limited item containers from your free inventory count.
NEW - LootLagDelay=0.....A hard coded delay in 1/10ths of second to compensate for lag. 5=half second, 10= one second
NEW - SpamLootInfo=1.....0/off, 1/on turns on/off informational loot spam in the MQ2 chat window.
Process changes from 6.0:
Increased the priority for quest items autoroll to avoid possible conflict with advloot filter "AlwaysNeed"
Notes worth repeating:
Ninjadvloot is compatable with kissassist 8.5 - you doNOT have to change anything, with the possible exception of your default loot.ini file
If you have a custom macro using ninjadvloot and want the new features you need to have everyone in the group check for:
Rich (BB code):
(${AdvLoot.SCount}||${AdvLoot.PCount})
I also included a delay timer so they don't spam the loot check
Here is the command I am using in my custom macro:
Rich (BB code):
/if (${Me.UseAdvancedLooting} && (${AdvLoot.SCount}||${AdvLoot.PCount}) && !${LootTimer} && ${Me.CombatState.NotEqual[combat]}) /call UseAdvLoot
The
GMLSelect setting will check your KissAssist_CharactorName.ini for the LootOn=0 setting. Group Members with LootOn=0 will be excluded from being selected Master Looter, they will still receive LORE and Quest items.
Finally, for those who want valueless items set to =Destroy instead of =Ignore. Send me a Private Message, prove you intelligent enough to understand what you are asking and beg. I will tell you which command to change to make that happen. I DO NOT recommend letting the macro set anything to =Destroy automatically, I tried it and was very upset when it destroyed stuff I wanted Keep.
From the 6.0 post:
| Updates by Hoosierbilly, advloot system only, May 2016
| 1. Group Leader will automatically assign a Master Looter if there is no Master Looter.
| Group Leader will replace Master Looter if shared list count increases more then three times in a row without a decrease.
| Added new setting GMLSelect=1 to ini file, 0=off, 1=on, default is on
| 2. Lore items marked Keep/Sell will automatically be distributed to everyone in the group, then left on the corpse.
| 3. Added Quest|xx to the ini file, allows all group members to autoroll for items until they have xx number of said item.
| Added new command /lootquest will set item to =Quest|default value
| Added new setting to ini file: QuestKeep=default value is 10
| Requires the following command in your macro's main loop or MQ2melee downflag
Code:
/if (${Me.UseAdvancedLooting} && (${AdvLoot.SCount}||${AdvLoot.PCount}) && !${LootTimer} && ${Me.CombatState.NotEqual[combat]}) /call UseAdvLoot
| Note: Items set to "Never" in the Master Looters advloot filters will be treated simular to Quest items without a quantity limit.
| Advloot filters AlwaysNeed/AlwaysGreed/Never will autoselect else the loot.ini settings will determine if individual group member will roll or not.
| 4. Added check for item stack platinum value when adding new items to ini file.
| Item will Keep if above selected ini value, else item will be Ignored.
| Added new setting to ini file: StackPlatValue=default value is 50
| StackSize is limited to 20.
| 5. Added free container slot check. Will automatically stop looting if container space is < 3.
| Added new setting to ini file to exclude up to two special/limited containers from free container slot check.
| example: ExcludeBag1=Extraplanar Trade Satchel
|
Here is a list of the new loot.ini file heading with the new settings colored red:
Code:
[Settings]
|======================================================================|
Version=6.0
AddNewSales=1
LootForage=1
LootMobs=TRUE
CorpseRadius=100
MobsTooClose=40
ReportLoot=FALSE
LootChannel=g
LootForageSpam=1
GlobalLootOn=1
CombatLooting=0
QuestKeep=10
StackPlatValue=50
GMLSelect=1
ExcludeBag1=Extraplanar Trade Satchel
ExcludeBag2=NULL
QuestKeep=10 this is the default amount the command /lootquest will update in the loot.ini file.
if you want to keep more or less you have to manually adjust the amount in the loot.ini file
StackPlatValue=50 the amount of platinum a stack must equal in value to be set to Keep instead of Ignore
StackSize is limited to a maximum of 20 items for this check
StackPlatValue=0 will turn this feature off, adding all new items as Keep, except NoDrop they are always Ignore
This only applies when new items are added to the loot.ini file
GMLSelect=1 0/off, 1/on, default is on, group leader will automatically select a Master Looter if you don't already have one and change Master Looter if shared loot list count increases more then 3x in a row without a decrease.
EDIT: Added individual group members can be exclude from being selected for Master Looter Role by using LootOn=0 in the KissAssist_charactorname.ini settings. They will however, still receive LORE items.
ExcludeBag1=Extraplanar Trade Satchel Always you to pick two containers to exclude from your Free.Inventory count.
Processing loot:
Master Looter looks at each item in the shared loot list and checks it against the loot.ini file
items set to Ignore he leaves on the corpse
items set to Keep/Sell/Destroy he moves it to his personal loot list except
LORE items set to Keep/Sell will be giveto each member of the group in turn, first to the Master Looter, then backwards down the Group.Member list
if everyone has the item it will be left on the corpse
LORE items set to Destroy will be looted and destroy or left on the corpse if Master Looter is unable to loot
items set to Quest will be flagged for autoroll and stay in the shared loot list until rolled for
Everyone checks the shared list for items set to Quest
if they need the item (have fewer than listed in the loot.ini file) they will select Greed
if they have enough of the item they will select No
An autoroll will determine who actually gets the item
if no one wants the item (everyone selects No) the Master Looter will leave the item on the corpse
Note: Items set to "Never" in the Master Looters advloot filters will be treated simular to Quest items without a quantity limit, ei set to AutoRoll
advloot filters AlwaysNeed/AlwaysGreed/Never will autoselect else the loot.ini file settings will determine if individual group member will roll or not.
Everyone processes their own personal loot list
if an item not already in the loot.ini is found:
NoDrop items are left on the corpse and added =Ignore to the loot.ini file
New items will be looted to determine the Stack Value and added to the Loot.ini file either =Keep or =Ignore
NOTE: make sure any low value tradeskill item are included in your loot.ini file as =Keep or they may well become =Ignore
then
LORE items will be left on the corpse if you can't loot it, ie. already have one
items set to Ignore will be left on corpse
items set to Quest will be checked to see how many you already have and either looted or left on the corpse
items set to Keep/Sell/Destroy will be looted, and items set to Destroy will be destroyed
Damn, that's a long post.
File updated to included Maskio's fixes for global looting sub.
Maskoi said:
NinjAdvLoot
I may have added a wildcard global section to the loot.ini. DON"T USE IT!]
[Global]
|======================================================================|
Global1=hero's forge|Destroy
Global2=diamond|Sell
Global3=Defiant|Destroy
Global4=Item Name|Ignore/Destroy/Keep/Sell
Global5=Item Name|Ignore/Destroy/Keep/Sell[/CODE]
Just spent a while trying to understand the Global Looting sub... Maskoi is right don't use this, especially for =Destroy, it is simple too unpredictable. If you insist on wanting to this, you will have to figure out how on your own. I will NOT help or support anyone lacking the basic skill to puzzle out how to make global work.
6/11/16 - Corrected an issue with lore item distribution to group members.
Corrected an issue with lore items in your bank causing hang-ups.
6/14/16 - Corrected an error in last update.
Updated file: 6/23/16
corrected/improved several minor issues.
added selectable action for new nodrop items
added new loot.ini setting
NoDropDefault=Quest|Keep|Ignore
pick how you want ninjadvloot to add nodrop items =quest, =keep, =ignore
quest is the default, if no setting is found item will be ignored and left on corpse
updated file: 6/29/16
Locked loot items should now be properly processed, no longer causing the macro to hang-up.
Locked items will be left on corpse, this will likely cause you to miss a desired item occasional.
update: 7/5/16
corrected an issue with switching master looter. I totally flubbed this one by releasing the wrong file on 6/29
update: 7/8/16
corrected an issue with adding nodrop items to the ini file.
corrected another issue with switching master looter
New file uploaded 7/8/16