"You aren't in a party" message in chat window
It was reported to me that users of AutoBar would see this message in chat when looting while in a group. I checked and I don't see it when I'm in a guild party, but when I PUG the Direbrew event I do see it. I'm not sure what the difference is.
The real issue is that I have no idea what is triggering this. When you loot stuff, AutoBar looks through your bags when it gets the BAG_UPDATE and BAG_UPDATE_DELAYED events, but otherwise doesn't do anything loot-related. I added some extra debugging and the "You aren't in a party" gets printed before any of the BAG_* events reach my addon. I am baffled. I know this isn't a lot to go on, but I'm hoping someone has seen something like this before and can point me in the right direction. Knowing why it happens in the PUG situation, but not in a "normal" party might give a hint as to where to look. |
Quote:
|
Can you point out any API functions where you need to specify this difference?
|
Okay, thank you for that hint. I searched for every single API call in the "Party" section of the API and finally found that one of the libraries that AutoBar uses (*mumble*AceEvent-2*mumble*) has this line:
Code:
if GetNumGroupMembers() > 0 then SendAddonMessage("LOOT_OPENED", "", "RAID") end |
Hi,
I use something like this to send in the correct group. Lua Code:
|
Oof - Autobar still uses some Ace2 stuff? :eek:
|
Quote:
|
Quote:
|
Quote:
About the only part of Ace2 that doesn't have a (more or less) drop-in replacement is AceOO, so you can save that for last, but even that doesn't require a lot of work to replace. If you run into difficulty, feel free to post specific questions. You can also look at the changes I made in Grid while converting from Ace2 to Ace3: https://github.com/Phanx/Grid/commit...6d55ce3d8390e5 |
Quote:
|
Quote:
Quote:
|
All times are GMT -6. The time now is 08:23 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI