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

Disconnect Button Clicker

Stove

New Member
Joined
Apr 10, 2012
Messages
182
Reaction score
9
Is it possible to click "OK" to the "You have been disconnected" popup ingame? I believe it occurs when DB tries to create/leave the game too fast. The Notification box does nothing though, once you click ok you return to character/AH screen.
Code:
if (Zeta.CommonBot.ErrorDialog.IsVisible)
                    {
                        Log("Error Diaglog found!!! Click button");
                        Zeta.CommonBot.ErrorDialog.Click();                        
                    }
this doesn't seem to do the job.
 
Is it possible to click "OK" to the "You have been disconnected" popup ingame? I believe it occurs when DB tries to create/leave the game too fast. The Notification box does nothing though, once you click ok you return to character/AH screen.
Code:
if (Zeta.CommonBot.ErrorDialog.IsVisible)
                    {
                        Log("Error Diaglog found!!! Click button");
                        Zeta.CommonBot.ErrorDialog.Click();                        
                    }
this doesn't seem to do the job.
Did you try this inside the onpulse event .. if so try to create a new thread for it to close the errors like notification ok clicker does.. if that is not working wait for that error to pop or simulate a dc with tcpview to close the d3 connection or simply unplug your internet connection .. and click on the error msg and get the hash using db last clicked function than click the ok buttton to get its hash and verify if the hashes are valid and visible with uielement API you can find an example on this in my plugin antidle +
attle.net authenticator
 
Cant give you just a example right now cause I am checking the forums from holiday on my phone :)
 
I believe it should be something like this?
Code:
Zeta.Internals.UIElement Button = null;
                    if (Zeta.Internals.UIElement.IsValidElement(0x9977B3635B5C6153) && 
                        (Button = Zeta.Internals.UIElement.FromHash(0x9977B3635B5C6153) != null)
                    {
                            if (Button.IsVisible && Button.IsEnabled)
                            {
                                Log("Click ze Button");
                                Button.Click();
                            }
                    }

I found at least 2 different hash codes for the button. But it seems that Pulse is not running when this message occurs. How to I get my plugin to click it then?
 
Last edited:
You need to start a different thread yourself google for more info on threading in c# .. use the onenable to start it and ondisable + onshutdown to stop the thread .. can't give you an easy and quick db related example cause of holiday ... Mayb someone else could help you on this now
 
Back
Top