What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

[REQUEST] Party Invite / Accept

mymegabot

Member
Joined
Jan 15, 2010
Messages
88
Reaction score
0
Looking for some code examples on how to properly accept a party invite, in addition to how to extend an invite to another player.

I've been able, via the UIElement class, to identify the party invite accept button ... in the same manner that I am detecting the Boss Encounter ACCEPT button and clicking it (which works). But for the party invite accept button, I can detect it, but if I click it, the Diablo client explodes.

Here is what I was trying ...

Code:
            if (Zeta.Internals.UIElement.IsValidElement(0x9EFA05648195042D))
            {
                var btnAccept = Zeta.Internals.UIElement.FromHash(0x9EFA05648195042D);


                if (btnAccept != null && btnAccept.IsVisible)
                {
                    Logging.Write("Party Invite Detected.  Pressing Accept");


                    btnAccept.Click();
                }
            }

Appreciate any tips/help.

Thanks!
Mega
 
Party invite/join not yet implemented. So sad.
All awaylable API leads to game crashes.
 
Back
Top