AE Loot mac
I am looking around for an AE Loot macro. My butt is getting real broke from muramite armor upgrades. I would like to see a feature in it to filter by selling price of the item and stackable. Is there a way to trigger off these two compares?
Mon Jan 12, 2015 6:54 am
Listen to This Guy
What do you mean by "filter by?"
MQ2 has access to stackablility and sell price so it should be doable.
What's your current loot macro/include?
MQ2 has access to stackablility and sell price so it should be doable.
What's your current loot macro/include?
Mon Jan 12, 2015 11:50 pm
Senior Project Member
I think he means he wants to ignore the 2 sp items and decide what items (of higher value) to include in his auto loot routine. I have an old ninja loot macro that allows for that but it's borked and never really worked well to begin with.
I'll post it here if needed.
I'll post it here if needed.
Tue Jan 13, 2015 12:26 am
I have NinjaLoot 1.2 and Autoloot 1.2 but havnt played with them.
I am also looking at the MQ2 Documentation for item.
I want to keep items that are stackable and have a price higher than 3pp.
It looks like I will have to use bool Stackable and int SellPrice.
This is what I have. It is work in progress.
I am also looking at the MQ2 Documentation for item.
I want to keep items that are stackable and have a price higher than 3pp.
It looks like I will have to use bool Stackable and int SellPrice.
This is what I have. It is work in progress.
Macro
Tue Jan 13, 2015 7:44 am
Listen to This Guy
I'd use NinjaLoot based subroutine(s) and add to it.
For the "filter by" parts, I'd add a snippit that checks corpse' items for those criteria you mentioned. If an item passes, the new snippit will either update Loot.ini automatically or it will tell your macro to loot the item anyway (without writing to an ini). You get the benefit of a pre-written, pre-tested and pre-approved looting macro without having to write item after item after item in an ini.
or...
My loot macro (modloot.inc from ModBot - it's NinjaLoot based) has a line:
/varset CurrIni ${Ini["${LootIni}","${Corpse.Item[${i}].Name.Left[1]}","${CurrentItem}"]}
Just a few lines added before or after that line will create a rules based approach.
The first snippit adds items to Loot.ini with the Sell parameter (since you want to sell them) unless the item is already marked as Keep. Then the macro will look for the appropriate entry, which you conveniently just created. This is the method I'd use since those items will automatically be sold to a vendor when you issue the sell command.
The second snippit won't change Loot.ini but it will tell the macro to proceed as if it's flagged to Sell. It won't automatically sell the item for you later, but it will loot stuff without clogging up Loot.ini.
For the "filter by" parts, I'd add a snippit that checks corpse' items for those criteria you mentioned. If an item passes, the new snippit will either update Loot.ini automatically or it will tell your macro to loot the item anyway (without writing to an ini). You get the benefit of a pre-written, pre-tested and pre-approved looting macro without having to write item after item after item in an ini.
Macro
or...
Macro
My loot macro (modloot.inc from ModBot - it's NinjaLoot based) has a line:
/varset CurrIni ${Ini["${LootIni}","${Corpse.Item[${i}].Name.Left[1]}","${CurrentItem}"]}
Just a few lines added before or after that line will create a rules based approach.
The first snippit adds items to Loot.ini with the Sell parameter (since you want to sell them) unless the item is already marked as Keep. Then the macro will look for the appropriate entry, which you conveniently just created. This is the method I'd use since those items will automatically be sold to a vendor when you issue the sell command.
The second snippit won't change Loot.ini but it will tell the macro to proceed as if it's flagged to Sell. It won't automatically sell the item for you later, but it will loot stuff without clogging up Loot.ini.
Tue Jan 13, 2015 7:32 pm
Senior Project Member
Thanks! I will see what I can do with this. May not have time to work on it until next week.
Wed Jan 14, 2015 2:53 pm
Listen to This Guy