• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver
Ninjadvloot.inc

Release Ninjadvloot.inc 2022-06-23

No permission to download
All of a sudden my looter is leaving random loot on mobs. Most of the time, he loots everything, but randomly I'll see a corpse in camp and manually loot it to find out he left a diamond on the corpse or something. I'll sit there and watch him to see if he'll ever get around to looting the item, but he never does and the corpse just poofs with the loot still on it. From what I've observed so far, these items being left on the corpse are general vendor loot, not Lore/No Drop items.

I've been using NinjAdvLoot for months without problems. I know there were issues awhile back with the macro not always looting No Drop/Lore items and, awhile back, I added hoosierbilly's suggestion to the KA code:

Rich (BB code):
| -------------------------------------------------------------------------------------
| Main Loop
| -------------------------------------------------------------------------------------
        :MainLoop
            /doevents
	    /if ((${AdvLoot.SCount}||${AdvLoot.PCount}) && !${LootTimer}) /call UseAdvLoot

This issue started a week or so ago, before I updated to KA 10.0.4. Out of curiosity, I removed the aforementioned code, but I still get the same problem.

Master Looter role in group is set before I run KA, my loot.ini has diamonds set to =keep, my advloot filer in-game has diamonds set to AN ... I'm at a loss. Any ideas?

This is disappointing to hear. I have been extremely busy the last 3-4 months, I haven't had time to play EQ.

Ninjadvloot only attempts to loot each corpse once. If loot is left behind it will not try again.

The most useful troubleshooting would be to capture the loot spam when the item is wrongfully ignored.


I know it wont loot diamonds if any aug you have equiped or in your inventory or bank has diamond in the name. Its like that with dozens of items if you have planar shards (purity augs) in your gear it wont loot them either.

The problem with diamonds was a coding error that has long been corrected. Currently, MQ2 does not properly identify augs that are equipped in gear. My work around was to treat all augs as LORE so duplicate augs will NOT be looted. I believe Plure worked out a better solution in his plugin MQ2AutoLoot.


Ahhh, try the plugin MQ2autoloot. That won't have any issues with that problem.

Plure's plugin MQ2AutoLoot is awesome. Much faster than a macro, it uses the same loot.ini file making upgrading to the plugin easy and best of all it works with any macro without the need to modify the macro.
I agree try the plugin, as I will not likely have time to resolve ninjadvloot issue within a reasonable timeframe.
 
Bumping a very old thread apparently:

From the OP: "include the file in your macro"

What macro? Am I supposed to have a macro?
 
[General]
KissAssistVer=10.0.6.4
Role=Assist
CampRadius=50
CampRadiusExceed=400
ReturnToCamp=0
ChaseAssist=0
ChaseDistance=50
MedOn=1
MedStart=20
MedCombat=0
LootOn=1
RezAcceptOn=1|96
AcceptInvitesOn=1
GroupWatchOn=0
CastingInterruptOn=0
EQBCOn=1
IRCOn=0
MiscGem=8
MiscGemLW=0
MiscGemRemem=1
HoTTOn=0
CampfireOn=0
CharInfo=Ranger|65|GOLD
DPSMeter=0
ScatterOn=0
ConditionsOn=0
[SpellSet]
LoadSpellSet=0
SpellSetName=KissAssist
[Buffs]
BuffsOn=1
BuffsCOn=0
BuffsSize=20
Buffs1=Eagle Eye|ME
Buffs2=Spirit of the Predator|ME
Buffs3=Call of the Rathe|MA
Buffs4=Strength of Tunare|ME
Buffs5=Cry of Thunder|ME
Buffs6=Mask of the Stalker|Me
Buffs7=NULL
Buffs8=NULL
Buffs9=NULL
Buffs10=NULL
Buffs11=NULL
Buffs12=NULL
Buffs13=NULL
Buffs14=NULL
Buffs15=NULL
Buffs16=NULL
Buffs17=NULL
Buffs18=NULL
Buffs19=NULL
Buffs20=NULL
RebuffOn=1
CheckBuffsTimer=10
PowerSource=NULL
[Melee]
AssistAt=96
MeleeOn=0
FaceMobOn=1
MeleeDistance=50
StickHow=moveback 50
AutoFireOn=1
UseMQ2Melee=1
[GoM]
GoMSHelp=Format - Spell|Target, MA Me or Mob, i.e. Rampaging Servant Rk. II|Mob
GoMCOn=0
GoMSize=3
GoMSpell1=NULL
GoMSpell2=NULL
GoMSpell3=NULL
[GMail]
GMailHelp=Events currently support - Dead,GM,Level,Named,Leftgroup
GMailOn=0
GMailSize=5
GMail1=NULL
GMail2=NULL
GMail3=NULL
GMail4=NULL
GMail5=NULL
[AE]
AEOn=0
AESize=10
AERadius=50
AE1=NULL
AE2=NULL
AE3=NULL
AE4=NULL
AE5=NULL
AE6=NULL
AE7=NULL
AE8=NULL
AE9=NULL
AE10=NULL
[DPS]
DPSOn=1
DPSCOn=0
DPSSize=20
DPSSkip=20
DPSInterval=2
DPS1=Entrap|90|Snare
DPS2=NULL
DPS3=NULL
DPS4=NULL
DPS5=NULL
DPS6=NULL
DPS7=NULL
DPS8=NULL
DPS9=NULL
DPS10=NULL
DPS11=NULL
DPS12=NULL
DPS13=NULL
DPS14=NULL
DPS15=NULL
DPS16=NULL
DPS17=NULL
DPS18=NULL
DPS19=NULL
DPS20=NULL
DebuffAllOn=0
[Aggro]
AggroOn=0
AggroSize=5
Aggro1=NULL
Aggro2=NULL
Aggro3=NULL
Aggro4=NULL
Aggro5=NULL
[Heals]
Help=Format Spell|% to heal at i.e. Devout Light Rk. II|50
HealsOn=1
HealsCOn=0
HealsSize=5
Heals1=Chloroblast|40
Heals2=NULL
Heals3=NULL
Heals4=NULL
Heals5=NULL
XTarHeal=0
XTarHeal2=0
HealGroupPetsOn=0
[Cures]
CuresOn=0
CuresSize=5
Cures1=NULL
Cures2=NULL
Cures3=NULL
Cures4=NULL
Cures5=NULL
[Burn]
BurnCOn=0
BurnSize=15
BurnText=MAIM
BurnAllNamed=0
Burn1=Guardian of the Forest|Me
Burn2=Drones of Doom|Mob
Burn3=NULL
Burn4=NULL
Burn5=NULL
Burn6=NULL
Burn7=NULL
Burn8=NULL
Burn9=NULL
Burn10=NULL
Burn11=NULL
Burn12=NULL
Burn13=NULL
Burn14=NULL
Burn15=NULL
UseTribute=0
[Pull]
PullWith=Melee
PullMeleeStick=0
MaxRadius=350
MaxZRange=50
PullWait=5
PullRoleToggle=0
ChainPull=0
ChainPullHP=90
ChainPullPause=30|2
PullLevel=0|0
UseWayPointZ=0
PullRadiusToUse=90
[AFKTools]
AFKHelp=AFKGMAction=0 Off, 1 Pause Macro, 2 End Macro, 3 Unload MQ2, 4 Quit Game
AFKToolsOn=1
AFKGMAction=1
AFKPCRadius=500
CampOnDeath=0
ClickBacktoCamp=0
[Merc]
Help=To use: Turn off Auto Assist in Manage Mercenary Window
MercOn=0
MercAssistAt=92
[MySpells]
Gem1=Drones of Doom
Gem2=Chloroblast
Gem3=Cry of Thunder
Gem4=Eagle Eye
Gem5=Strength of Tunare
Gem6=Spirit of the Predator
Gem7=Call of the Rathe
Gem8=Spirit of Eagle
Gem9=NULL
Gem10=NULL
Gem11=NULL
Gem12=NULL


After selling all items indicated in file, it will stop macro

[2017/10/01 05:16:25] /next without matching /for
[2017/10/01 05:16:25] ninjadvloot.inc@421 (DoLootStuff(LootAction)): /next i
[2017/10/01 05:16:25] ninjadvloot.inc@519 (Event_SellStuff): /call DoLootStuff sell
[2017/10/01 05:16:25] Kissassist.mac@2871 (CheckBuffs): /doevents
[2017/10/01 05:16:25] Kissassist.mac@1030 (Main): /if (${BuffsOn}) /call CheckBuffs
[2017/10/01 05:16:25] The current macro has ended.
 
Last edited:
open Release > Macros> ninjadvloot.inc file in notepad.
Scroll all the way to the top anp post the version number please
 
in Ninjadvloot.inc file
Line 407 ish
Rich (BB code):
/if (${InvSlot[pack${i}].Item.Container}==0) /next i
change /next i to /continue
Rich (BB code):
/if (${InvSlot[pack${i}].Item.Container}==0) /continue
See if that works
 
is there a quick slash command to turn it on or off? when someone joins your group and you dont want it to run and rather use in game interface?
 
something changed with how ignore items were handled. int he past if an item was ignore it would leave it in my advloot window and i could manually hand it out if i wanted. now it's seems to be leaving the loot on the mob, flushing out the advloot window
 
Yes... but only after a timer has run (giving you plenty of time to hand it out how you want)

And if you missed the timer, the loot is still on the corpse... but you don't have the window up all the bleeding time ovr an item you didn't want in the first place, aint it great =D
 
Yes... but only after a timer has run (giving you plenty of time to hand it out how you want)

And if you missed the timer, the loot is still on the corpse... but you don't have the window up all the bleeding time ovr an item you didn't want in the first place, aint it great =D
Which timer is it I tried to set the distribution timer to 60
 
Used the redguides updater yesterday and noticed that Ninjadvloot is spamming my window with the same item listed in my ini is set to ignore until it is gone from the loot window. I do have another group member as master looter and I had to set loot=0 and /mac kissassist for it to stop. Not sure if this normal. Any insight appreciated. Thanks.

Probably a bug, I noticed I set a group member to masterlooter and I was still marked masterlooter as well. i removed him from masterlooter and i was able to control the loot again and messages stopped spamming.
 
Last edited:
ChatWithThisName updated Ninjadvloot.inc with a new update entry:

fix issue with null slot when looting corpses.

Change
/nomodkey /shift /itemnotify ${Corpse.Item[${i}].InvSlot} ${WhichButton}mouseup

to
/nomodkey /shift /itemnotify loot${i} ${WhichButton}mouseup

so that it works with modern MQ. Adjustment made to Line 314.

Ton of people ask for help with this issue, mostly from EMU, but it would apply to live as well. Exception is that people on live can simply use an alternative. However, there isn't really an alternative for EMU at the moment.

Read the rest of this update entry...
 
Last edited:
Issue with selling items from top level inventory where once the item to sell is identified it will select the next item or bag and try to sell that instead.

Need to change the code at approximately line 479 from

/nomodkey /itemnotify ${FindItem[=${ItemToSell}].InvSlot} leftmouseup

to

/nomodkey /itemnotify ${Math.Calc[${FindItem[=${ItemToSell}].InvSlot}-1]} leftmouseup

This code block is as follows:

Sub SellToVendor(ItemToSell) /if (${Window[MerchantWnd].Open}) { :sell /echo Selling ${ItemToSell} /if (${InvSlot[pack${Select[${FindItem[=${ItemToSell}].ItemSlot},23,24,25,26,27,28,29,30,31,32]}].Item.Container}) { /nomodkey /itemnotify in Pack${Math.Calc[${FindItem[=${ItemToSell}].ItemSlot}-22]} ${Math.Calc[${FindItem[=${ItemToSell}].ItemSlot2}+1]} leftmouseup } else { /nomodkey /itemnotify ${Math.Calc[${FindItem[=${ItemToSell}].InvSlot}-1]} leftmouseup } /delay 5 /nomodkey /shiftkey /notify merchantwnd MW_Sell_Button leftmouseup /doevents /if (${Macro.Return.Equal[TRUE]}) /return /delay 2s /if (${FindItemCount[=${ItemToSell}]}) /goto :sell } /return

I have tested the code change repeatedly and found no unintended behaviors as result, but I have only tested on emulator servers. It still needs tested on Live, as perhaps the issue does not exist there?

If this issue is not present on live servers then I will repost this as a code correction for emulator servers.

Thanks.
 
Issue with selling items from top level inventory where once the item to sell is identified it will select the next item or bag and try to sell that instead.

Need to change the code at approximately line 479 from



to



This code block is as follows:

Sub SellToVendor(ItemToSell) /if (${Window[MerchantWnd].Open}) { :sell /echo Selling ${ItemToSell} /if (${InvSlot[pack${Select[${FindItem[=${ItemToSell}].ItemSlot},23,24,25,26,27,28,29,30,31,32]}].Item.Container}) { /nomodkey /itemnotify in Pack${Math.Calc[${FindItem[=${ItemToSell}].ItemSlot}-22]} ${Math.Calc[${FindItem[=${ItemToSell}].ItemSlot2}+1]} leftmouseup } else { /nomodkey /itemnotify ${Math.Calc[${FindItem[=${ItemToSell}].InvSlot}-1]} leftmouseup } /delay 5 /nomodkey /shiftkey /notify merchantwnd MW_Sell_Button leftmouseup /doevents /if (${Macro.Return.Equal[TRUE]}) /return /delay 2s /if (${FindItemCount[=${ItemToSell}]}) /goto :sell } /return

I have tested the code change repeatedly and found no unintended behaviors as result, but I have only tested on emulator servers. It still needs tested on Live, as perhaps the issue does not exist there?

If this issue is not present on live servers then I will repost this as a code correction for emulator servers.

Thanks.
I play on emu now too and cannot get loot to work. Im trying to use it with KissAssist (12.001). It only spits out that my inventory is full when I have tons and tons of bag space. Any chance you know what is up? Or have seen this before?
 
I play on emu now too and cannot get loot to work. Im trying to use it with KissAssist (12.001). It only spits out that my inventory is full when I have tons and tons of bag space. Any chance you know what is up? Or have seen this before?

It's polling your bags for GIANT spaces and if you are using normal bags with Large slots, it says you are full. Also sometimes it gets stuck on "inventory full" until I put an empty bag inside another bag and leave a top level inventory slot open. Once it resets the inventory full flag, it will work properly.

Just to test I would get some mixing bowls or toolboxes that are cheap with giant capacity and see if it works then.
 
It's polling your bags for GIANT spaces and if you are using normal bags with Large slots, it says you are full. Also sometimes it gets stuck on "inventory full" until I put an empty bag inside another bag and leave a top level inventory slot open. Once it resets the inventory full flag, it will work properly.

Just to test I would get some mixing bowls or toolboxes that are cheap with giant capacity and see if it works then.
I'll give that a shot, thank you dude
 
It's polling your bags for GIANT spaces and if you are using normal bags with Large slots, it says you are full. Also sometimes it gets stuck on "inventory full" until I put an empty bag inside another bag and leave a top level inventory slot open. Once it resets the inventory full flag, it will work properly.

Just to test I would get some mixing bowls or toolboxes that are cheap with giant capacity and see if it works then.
That was, indeed it. Thank you!
 
If this helps you for any reason, it only worked after swapping in 10 Lemur Fur Backpacks. I previously had 10 Deluxe Toolboxes and it was telling me "no more inventory" or whatever even though the toolboxes are giant sized
 
Is there a way to get this .inc file to go ahead and leave unwanted items on corpses instead of waiting for them to time out in the window?

1670661138599.png

EDIT: Also, is there a way to get my master looter to roll items that he has unmarked in case other group members do have them marked, instead of just leaving the item on the corpse? I wasn't confident this was actually happening so I tested it tonight.

I marked this spell need on one of my group members:

1670662259865.png

Didn't mark it for anything on my master looter:

1670662309959.png

And then eventually my master looter just left it on the corpse instead of rolling it:

1670662328892.png
 
Last edited:
Is there a way to get this .inc file to go ahead and leave unwanted items on corpses instead of waiting for them to time out in the window?

View attachment 44125

EDIT: Also, is there a way to get my master looter to roll items that he has unmarked in case other group members do have them marked, instead of just leaving the item on the corpse? I wasn't confident this was actually happening so I tested it tonight.

I marked this spell need on one of my group members:

View attachment 44127

Didn't mark it for anything on my master looter:

View attachment 44128

And then eventually my master looter just left it on the corpse instead of rolling it:

View attachment 44129
Unfortunately over the years there has been so many loot systems in mq that I gave up trying to figure them out. I would look into some of the other loot programs that designate loot like Lootly or MQ2AutoLoot
 
Unfortunately over the years there has been so many loot systems in mq that I gave up trying to figure them out. I would look into some of the other loot programs that designate loot like Lootly or MQ2AutoLoot

I'll look into some other tools. I'm using MuleAssist, which has ninjadvloot.inc baked into it, so gotta figure out how to do this without creating conflicts.
 
On EMU, trying to use /lootignore however the problem is it won't update the loot.inc. Every item I loot is put there with =keep. I want to be able while in game do /lootignore with item on cursor. Any ideas?
 
i always try to use the search function first but could not figure this issue out. i was going to post on the emu section as thats where i am playing but thought it might get moved here. when i open up the loot ini it says version 6.09 and emu doesnt have the advloot window if that info help. Ok so the issue im having is when trying to pick up no drop quest items for collection quests. i have tried |quest and |keep also adding the amount to both to see if that helped. is there any way to do this or can i not figure it out because its something that doesn't work? lol any help is appreciated and thank you in advance
 
Good day
I love your addon, its a great QOL helper :)
I do have a question.
I am playing on an emu server.
There are quest items that are no drop.
when using the plugin, it just skips the loot.
What setting would I have to change to make it loot the items?
here is what I have

[Settings]
|======================================================================|
Version=6.09
AddNewSales=1
LootForage=0
LootMobs=TRUE
CorpseRadius=100
MobsTooClose=0
ReportLoot=False
LootChannel=bc
SpamLootInfo=1
LootForageSpam=1
GlobalLootOn=1
CombatLooting=1
GMLSelect=1
ExcludeBag1=Extraplanar Trade Satchel
ExcludeBag2=NULL
QuestDestroy=10
StackPlatValue=0
NoDropDefault=Quest|Class|Destroy
LootLagDelay=0
SaveBagSlots=0
QuestKeep=10
[Global]
|======================================================================|
Global1=Item Name|Ignore/Destroy/Keep/Sell
Global2=Item Name|Ignore/Destroy/Keep/Sell
Global3=Item Name|Ignore/Destroy/Keep/Sell
Global4=Item Name|Ignore/Destroy/Keep/Sell
Global5=Item Name|Ignore/Destroy/Keep/Sell

Fragment of Xorbb's Throne=Quest

I just listed one item as my loot.ini is massive.
Any and all help much appreciated.
Thanks
 
Can I not just use this by holding items and clicking /lootsell to add to my loot.ini file? It seems not to write. I do get a "LootIniItem Sell <itemname>" in my MQ2 window.

Edit: Reading some discussions, It seems I need to run sellstuff.mac, and have to have it active while doing /lootsell to add to the INI? Will test after work.
 
Last edited:
I made a slight update to allow use with Lootly and Lootier. ( I do like being able to edit and search through a gui)
Split the [Settings] and [Global] sections out of the Loot.ini and into Loot_Settings.ini files.
 

Attachments

Last edited:
If my Master looters bags fill up, is there a way to tell Ninjadvloot to make a different character in the group to become ML?
 
Ive been playing around on Raidaddicts emu server and they have a couple of currencies that drop that the looter isnt picking up.

AA's drop as Tokens there and there's something called Guk points. They come in different values from 50 up to 1 million.

Loot.ini entries look like this:
Guk Purest Ore (100,000)=Keep
500 AA Tokens=Keep


It grabs them fine when the value is under 1,000 (50, 100, 200, 500) but as soon as it climbs to 1,000 or higher it stops looting them and just leaves them on the corpse.

Is the comma in the larger values causing an issue and if so how would i solve this??
 
So while trying to get another loot system to work for me. I am familiarizing myself with Ninjaadvloot if an item is set to ignore is the ML just going to keep trying to loot the mob over and over again randomly? Or am I setting something up incorrectly?
 
So while trying to get another loot system to work for me. I am familiarizing myself with Ninjaadvloot if an item is set to ignore is the ML just going to keep trying to loot the mob over and over again randomly? Or am I setting something up incorrectly?
you can check out the attached version above. I made that lets ninja loot and lootly work with eachother nicely and allows for lootier to manage the loot ini.
there are a few issues where lootier will not parse an item with # in the name. like Gear #2

or

works well with KA just Set LootOn = 0 on all of your characters Kiss INI's
then run /lua run lootnscoot standalone
on the character(s) you want to have loot.

to get the above lootnscoot for emu to work. you need to:
  1. Download the Lua file.
  2. Make a folder in your Lua folder named lootnscoot
  3. Put the downloaded lootnscoot.Lua into the folder you just made.
  4. rename the file from lootnscoot.Lua to init.Lua
  5. Make another folder in the lootnscoot folder named lib
  6. grab a copy of Write.Lua from https://gitlab.com/Knightly1/knightlinc/-/blob/master/Write.lua
  7. download Write.Lua and put it inside the newly created Lua\lootnscoot\lib folder
  8. in game run /lua run lootnscoot standalone
 
You sir are the best! I have been struggling so bad and you made it so clear and easy to understand thank you so much! if I could give you all my redcents I would!
 
You sir are the best! I have been struggling so bad and you made it so clear and easy to understand thank you so much! if I could give you all my redcents I would!
glad you got it working.
and just after i posted this he made an update to fix the filesystem layout into a folder.
 
Release Ninjadvloot.inc

Users who are viewing this thread

Back
Top
Cart