Loot Window hook help

Need help running MacroQuest2? Ask your questions about how to get things to work on your computer.

Moderator: MacroQuest Developers

Ziggy
a lesser mummy
a lesser mummy
Posts: 73
Joined: Sat Jun 26, 2004 5:30 pm

Loot Window hook help

Post by Ziggy » Sat Jan 22, 2005 4:17 am

Writing a new plugin. Almost as useful as my LinkDB one, but allows you to attach notes to items.

Currently it monitors chat and if a link that is in your db is found it'll display your note on this item. And if you/anyone loots and item it'll do the same.

What I would like extra is when you open a corpse to loot it, it would scan the list of items that gets sent and provide the same echo of your notes for any applicable.

I know how to do it, and went thru the effort to write a detour for CLootWnd__AddEquipmentToLootArray. But, this offset isn't in the standard MQ distribution.

Hence my dilema.

I'm fiddling with IDA somewhat atm looking for it myself, but still pretty new to the internals of eqgame, so if anyone has a indication of where this is currently I would be able to maintain this offset personally. I found most of the CLootWnd code, but can't put my finger on the piece I need. With current offset I could identify it easily in the future. In theory at least.

I'm not asking MQ devs to maintain this in the offsets file. God knows they have enough work to do. More than happy to keep this updated myself in the plugin.

Thanks :)










xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Loot Window hook help

Post by xyilla » Sun Jan 04, 2026 12:10 am