Actually, this wasn't macro code, it's the code I used in my addon and to patch JambaOriginally Posted by 'Spirithawke',index.php?page=Thread&postID=196074# post196074
What happened is that Blizzard updated the way the Accept/Decline party invite worked. It used to be if you did StaticPopup_Hide("PARTY_INVITE") it JUST hid the dialog whether you accepted, declined, or did nothing. After 3.1 they put in code to explicitly decline the invite if you hid it without having set the inviteAccepted to a true value first.
the workaround here merely updates the inviteAccepted value to a non-false value before the StaticPopup_Hide("PARTY_INVITE") is called, thus keeping the hiding action itself from calling DeclineGroup()
As far as how to do it in a macro? ugh, not sure if you CAN. I guess you could just use AcceptGroup() and leave off the hide. Yes, you'd get an ugly dialog until the time ran out on it, but you'd have already accepted.
I don't know WHY Bliz changed this one.. As far as I can tell, this was a totally undocumented change (not in patch notes or official UI forum) and it really messes up a lot of stuff for what? I can't see there was a HUGE problem with hiding the accept/decline group button without taking action.
/rant
Connect With Us