blackpuppet
New Member
- Joined
- Jan 15, 2010
- Messages
- 15
- Reaction score
- 0
Title says all, i keep getting an error message that pops up and stacks it self if i dont click 'OK' on it 

public void OnPulse()
{
Zeta.Internals.UIElement ui = Zeta.Internals.UIElement.FromHash(0x4CC93A73A58BAFFF);
if (ui != null && ui!=default(Zeta.Internals.UIElement))
{
Zeta.Internals.UIElement Button = Zeta.Internals.UIElement.FromHash(0xB4433DA3F648A992);
if (Button != null && Button!=default(Zeta.Internals.UIElement))
{
if (Button.IsVisible)
{
Log("Found dialog "+ui.Name+(ui.HasText?","+ui.Text:""));
Log("Notification clicked");
Button.Click();
}
return;
}
}
}
Way for click OK button on Disconnect Notification.
public void OnPulse()
{
Zeta.Internals.UIElement ui = Zeta.Internals.UIElement.FromHash(0x4CC93A73A58BAF FF);
if (ui != null && ui!=default(Zeta.Internals.UIElement))
{
Zeta.Internals.UIElement Button = Zeta.Internals.UIElement.FromHash(0xB4433DA3F648A9 92);
if (Button != null && Button!=default(Zeta.Internals.UIElement))
{
if (Button.IsVisible)
{
Log("Found dialog "+ui.Name+(ui.HasText?","+ui.Text:""));
Log("Notification clicked");
Button.Click();
}
return;
}
}
}
tried to save as XXX.cs but i got errors, does anyone know how to use this?
ok, i noticed i didnt get the error message in .91, should i use .91 now to get rid of this?Zeta.Internals.UIElement- UIElement item is wrong since .100 verison, so you can not get the UIElement from hash. Have to wait for Devs to fix it.