Jump to content

Overriding break manager


ThatGamerBlue

Recommended Posts

13 minutes ago, HeyImJamie said:

-allow norandoms should work. You'd need to handle your own logins though.

 

8 minutes ago, Juggles said:

-norandoms is the only way

 

You guys didn't read his post, at all lol.

 

@3qTQlBnsOsyfetvA

No,  @Eagle Scripts mentioned exactly why. I get lots of bug reports about break manager and autologin as it is, I don't need the added confusion of whether or not it was coming from a custom handler. There was a good suggestion about adding an ignore flag, but believe it or not I would anticipate still false reports. It's something I haven't forgot about.

  • Like 2
Link to comment
Share on other sites

35 minutes ago, Alek said:

Read above lol

I read it but I was thinking burying it in the CLI would stop the false reports because the only people who'd use it are people who knows what it does.

 

edit nvm im retarded, it'd still be a nice thing tho

Edited by 3qTQlBnsOsyfetvA
Link to comment
Share on other sites

4 hours ago, Alek said:

 

 

You guys didn't read his post, at all lol.

 

@3qTQlBnsOsyfetvA

No,  @Eagle Scripts mentioned exactly why. I get lots of bug reports about break manager and autologin as it is, I don't need the added confusion of whether or not it was coming from a custom handler. There was a good suggestion about adding an ignore flag, but believe it or not I would anticipate still false reports. It's something I haven't forgot about.

Wut. He said by using any method at all :feels: 

  • Sad 1
Link to comment
Share on other sites

solved

public class PaneRemover extends Thread {

    public void run(){
        boolean pane = false;

        while(!pane) {
            try {
                Window[] windows = Window.getWindows();
                for (Window window : windows) {
                    if (window instanceof JDialog) {
                        JDialog dialog = (JDialog) window;
                        if (dialog != null && dialog.getTitle().equalsIgnoreCase("Override Warning!")) {
                            Main.main.log("found pane");
                            pane = true;
                            dialog.dispose();
                        }
                    }
                }
            } catch (Exception e){

            }
        }
    }

}

messy but it works

Edited by 3qTQlBnsOsyfetvA
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...