⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 j.java

📁 microtik tool to vie another router in a network
💻 JAVA
📖 第 1 页 / 共 2 页
字号:

  public final void keyReleased(KeyEvent paramKeyEvent)
  {
  }

  public final void keyPressed(KeyEvent paramKeyEvent)
  {
    a("keyPressed");
    if ((paramKeyEvent.getKeyCode() == 115) && (paramKeyEvent.isAltDown()))
    {
      a("force stop");
      lx.Q = true;
      if ((lx.aS == 1) && (lx.D))
      {
        String str = "";
        if (lx.G != 0)
        {
          str = str + lx.G;
          lx.G = 0;
        }
        lx.ad.a("si", "" + n.e);
        lx.ad.a();
        a("CONFIG STORE() 4");
        lx.aA.a(2126, str);
      }
      else
      {
        g();
      }
      dispose();
    }
    if (lx.N)
      return;
    if (lx.aM)
      return;
    if (!(lx.aA.e()))
      return;
    if (lx.j.c.isShowing())
      return;
    if ((!(paramKeyEvent.isAltDown())) && (((paramKeyEvent.getKeyCode() == 48) || (paramKeyEvent.getKeyCode() == 96) || (paramKeyEvent.getKeyCode() == 155) || (paramKeyEvent.getKeyCode() == 78))))
    {
      a("<0> or <ins> or <n> ==> bet50, betMin:" + lx.t + ", tableRatio:" + lx.aV);
      b(50 * lx.aV);
      if ((!(lx.e)) || (!(lx.D)))
        return;
      a("<Enter> or <z> ==> Transfer");
      ((u)this.e).a(true);
      return;
    }
    if ((!(paramKeyEvent.isAltDown())) && (((paramKeyEvent.getKeyCode() == 49) || (paramKeyEvent.getKeyCode() == 97) || (paramKeyEvent.getKeyCode() == 66))))
    {
      a("<1> or <b> ==> bet10");
      b(10 * lx.aV);
      return;
    }
    if ((paramKeyEvent.getKeyCode() == 46) || (paramKeyEvent.getKeyCode() == 127) || (paramKeyEvent.getKeyCode() == 32) || (paramKeyEvent.getKeyCode() == 110))
    {
      a("<.> or <del> or <space> ==> Deal");
      c();
      if ((!(lx.D)) || (lx.p != 4))
        return;
      ((u)this.e).a(true);
      return;
    }
    if ((!(paramKeyEvent.isAltDown())) && (((paramKeyEvent.getKeyCode() == 10) || (paramKeyEvent.getKeyCode() == 90))))
    {
      if (!(lx.D))
        return;
      a("<Enter> or <z> ==> Transfer");
      ((u)this.e).a(true);
      return;
    }
    if ((paramKeyEvent.getKeyCode() == 107) || (paramKeyEvent.getKeyCode() == 61))
    {
      if ((!(lx.D)) || (lx.p == 4))
        return;
      a("<+> or <=> ==> Coin");
      ((u)this.e).a();
      return;
    }
    if ((paramKeyEvent.getKeyCode() == 45) || (paramKeyEvent.getKeyCode() == 109))
    {
      if ((!(lx.D)) || (lx.p == 4))
        return;
      a("<-> ==> Cancel");
      ((u)this.e).b();
      return;
    }
    if ((paramKeyEvent.getKeyCode() == 67) || (paramKeyEvent.getKeyCode() == 40))
    {
      a("<C> or <Down Key> ==> Double Bet");
      if ((lx.p != 4) || (lx.I <= 0) || (lx.S) || (lx.O) || (lx.Z))
        return;
      if (lx.aT)
      {
        JOptionPane.showMessageDialog(this, "MAAF, SEMENTARA TIDAK BISA UNTUK DOUBLE BET.", "", -1);
        return;
      }
      a();
      return;
    }
    if ((!(paramKeyEvent.isAltDown())) && (((paramKeyEvent.getKeyCode() == 106) || (paramKeyEvent.getKeyCode() == 86) || (paramKeyEvent.getKeyCode() == 37))))
    {
      a("<*> or <V> or <Left Key>==> Big");
      if ((!(lx.aT)) && (lx.S))
        a(true);
      if ((lx.D) && (((lx.p == -1) || (lx.p == 0))))
      {
        lx.b();
        repaint();
      }
      if ((lx.p != 4) || (lx.I <= 0) || (lx.S) || (lx.O) || (lx.Z))
        return;
      if (lx.aT)
      {
        JOptionPane.showMessageDialog(this, "MAAF, SEMENTARA TIDAK BISA UNTUK DOUBLE BET.", "", -1);
        return;
      }
      a();
      return;
    }
    if ((!(paramKeyEvent.isAltDown())) && (((paramKeyEvent.getKeyCode() == 47) || (paramKeyEvent.getKeyCode() == 111) || (paramKeyEvent.getKeyCode() == 88) || (paramKeyEvent.getKeyCode() == 39))))
    {
      a("</> or <x> or <Right Key> ==> Small");
      if ((!(lx.aT)) && (lx.S))
        a(false);
      if ((lx.D) && (((lx.p == -1) || (lx.p == 0))))
      {
        lx.c();
        repaint();
      }
      if ((lx.p != 4) || (lx.I <= 0) || (lx.S) || (lx.O) || (lx.Z))
        return;
      if (lx.aT)
      {
        JOptionPane.showMessageDialog(this, "MAAF, SEMENTARA TIDAK BISA UNTUK DOUBLE BET.", "", -1);
        return;
      }
      a();
      return;
    }
    if ((paramKeyEvent.getKeyCode() == 70) && (lx.aQ) && (lx.aS == 1))
    {
      lx.aR = !(lx.aR);
      return;
    }
    if ((paramKeyEvent.getKeyCode() == 84) && (lx.aQ) && (((lx.aS == 1) || (lx.aS == 4))))
    {
      lx.c = !(lx.c);
      return;
    }
    if ((paramKeyEvent.getKeyCode() == 81) && (lx.aQ))
    {
      lx.f = !(lx.f);
      return;
    }
    if ((paramKeyEvent.getKeyCode() == 68) && (lx.e))
    {
      lx.aK = !(lx.aK);
      lx.aL = !(lx.aL);
      repaint();
      return;
    }
    if ((paramKeyEvent.getKeyCode() == 87) && (lx.e))
    {
      lx.aP = !(lx.aP);
      repaint();
      return;
    }
    if ((paramKeyEvent.getKeyCode() == 8) && (lx.e))
      lx.g = !(lx.g);
  }

  public final void a()
  {
    lx.S = true;
    u.n = false;
    u.a = 0L;
    repaint();
  }

  private void a(boolean paramBoolean)
  {
    if (lx.V)
      return;
    if (lx.I <= 0)
      return;
    if (lx.Z)
    {
      a("clickDouble, isBig:" + paramBoolean);
      return;
    }
    lx.U += 1;
    lx.V = true;
    if (lx.U > 1)
    {
      x[] arrayOfx;
      (arrayOfx = lx.F)[6] = arrayOfx[5];
      arrayOfx[5] = arrayOfx[4];
      arrayOfx[4] = arrayOfx[3];
      arrayOfx[3] = arrayOfx[2];
      arrayOfx[2] = arrayOfx[1];
      arrayOfx[1] = arrayOfx[0];
      for (int i1 = 1; i1 < 7; ++i1)
        arrayOfx[i1].e = i1;
      lx.F[0] = lx.W;
    }
    if (paramBoolean)
      lx.T = true;
    lx.T = false;
    lx.aA.a(2224, "");
    a("sending,bet double small");
  }

  public final void a(int paramInt)
  {
    a("??????????????????????????????\n????????????????????\nsetFrameSize(" + paramInt + ")\n????????????????????\n????????????????????");
    switch (paramInt)
    {
    case 0:
      break;
    case 1:
      break;
    case 2:
      break;
    case 3:
      Dimension localDimension = Toolkit.getDefaultToolkit().getScreenSize();
      setSize((int)localDimension.getWidth(), (int)localDimension.getHeight() - 20);
      setSize(h.d_);
    }
    this.e.a(paramInt);
  }

  private static boolean f()
  {
    if (!(lx.D))
      return false;
    if ((lx.aQ) && (((lx.aS == 1) || (lx.aS == 4))))
      return true;
    if ((lx.aS == 1) && (lx.t == 250))
      return (lx.s < 50000 * lx.aV);
    return (lx.s < 20000 * lx.aV);
  }

  public final void c()
  {
    if (!(f()))
      return;
    if ((lx.p < 0) || (lx.p > 3))
      return;
    if ((lx.p == 0) && (lx.u[lx.p] < lx.t) && (((lx.u[lx.p] == 0) || (lx.s != 0))))
      return;
    lx.N = true;
    if (lx.u[lx.p] == 0)
    {
      str = "";
      if (lx.G != 0)
      {
        str = str + lx.G;
        lx.G = 0;
      }
      lx.aA.a(1651, str);
      lx.bk = true;
      a("############################################################## set waitNextRound = true ");
      lx.b = System.currentTimeMillis();
      lx.aB = System.currentTimeMillis();
      lx.M = true;
      lx.L = lx.p;
      return;
    }
    String str = lx.u[lx.p] + "";
    if (lx.G != 0)
    {
      str = str + "," + lx.G;
      lx.G = 0;
    }
    if ((lx.p == 0) || (lx.p == -1))
    {
      a("傳送 FHNumber:" + lx.ab + ",playstate:" + lx.p);
      if (lx.G == 0)
        str = str + ",";
      str = str + "@" + lx.ab;
    }
    lx.aA.a(1601, str);
    lx.bk = true;
    a("############################################################## set waitNextRound = true ");
    lx.b = System.currentTimeMillis();
    lx.aB = System.currentTimeMillis();
    if (lx.aQ)
    {
      lx.as = System.currentTimeMillis();
      a("set lastActionTime");
    }
  }

  public final void b(int paramInt)
  {
    if (!(f()))
      return;
    int i1 = 0;
    int i2 = 50;
    if (lx.t > 50)
      i2 = lx.t;
    if ((((lx.aS == 2) || (lx.aS == 4))) && (((lx.t == 10) || (lx.t == 25))))
      i2 = lx.t;
    if ((lx.p < 0) || (lx.p > 3))
      return;
    a("BET:in clickBet(" + paramInt + ") 押:" + paramInt);
    a("playState:" + lx.p);
    if (paramInt + lx.u[lx.p] >= i2)
      i1 = 1;
    if (lx.s < paramInt)
    {
      paramInt = lx.s;
      i1 = 0;
      a("not enough, bet:" + paramInt);
    }
    if (paramInt + lx.u[lx.p] >= i2)
      if ((paramInt = i2 - lx.u[lx.p]) != 0)
      {
        i1 = 1;
        a("reach bet max");
      }
    if ((lx.p != 0) && (paramInt + lx.u[lx.p] >= lx.u[(lx.p - 1)]))
      if ((paramInt = lx.u[(lx.p - 1)] - lx.u[lx.p]) != 0)
      {
        i1 = 1;
        a("reach last bet value");
      }
    if (paramInt > 0)
    {
      lx.s -= paramInt;
      lx.u[lx.p] += paramInt;
      lx.l();
      c(paramInt);
      a("bonus[" + lx.p + "] = " + lx.w[lx.p]);
      if (i1 != 0)
      {
        lx.N = true;
        String str = lx.u[lx.p] + "";
        if (lx.G != 0)
        {
          str = str + "," + lx.G;
          lx.G = 0;
        }
        if ((lx.p == 0) || (lx.p == -1))
        {
          a("傳送 FHNumber:" + lx.ab + ",playstate:" + lx.p);
          if (lx.G == 0)
            str = str + ",";
          str = str + "@" + lx.ab;
        }
        lx.aA.a(1601, str);
        lx.bk = true;
        a("############################################################## set waitNextRound = true ");
        lx.b = System.currentTimeMillis();
        lx.aB = System.currentTimeMillis();
        if (lx.aQ)
        {
          lx.as = System.currentTimeMillis();
          a("set lastActionTime");
        }
      }
      lx.v = lx.u[0] + lx.u[1] + lx.u[2] + lx.u[3];
      lx.w[4] = (lx.v * 10);
      repaint();
      if (lx.f)
      {
        f.E.stop();
        f.E.start();
        lx.g = true;
      }
    }
  }

  private static void c(int paramInt)
  {
    for (int i1 = 0; i1 < 4; ++i1)
    {
      lx.w[i1] += paramInt;
      if (lx.w[i1] > lx.aO[i1])
        lx.w[i1] = lx.aO[i1];
    }
  }

  public final void a(q paramq)
  {
    a("in set setPanel");
    getContentPane().remove(this.e);
    this.e = paramq;
    getContentPane().add(this.e);
    repaint();
    this.e.repaint();
  }

  public final void windowOpened(WindowEvent paramWindowEvent)
  {
    a("in windowOpened()");
  }

  private void i()
  {
    if (lx.D)
    {
      String str = "";
      if (lx.G != 0)
      {
        str = str + lx.G;
        lx.G = 0;
      }
      lx.ad.a("si", "" + n.e);
      lx.ad.a();
      a("CONFIG STORE() 5");
      lx.aA.a(2126, str);
    }
  }

  public final void g()
  {
    if (lx.P)
      return;
    lx.P = true;
    String str = "";
    if (lx.G != 0)
    {
      str = str + lx.G;
      lx.G = 0;
    }
    lx.aA.a(1021, str);
    lx.R = System.currentTimeMillis();
    lx.ad.a("si", "" + n.e);
    lx.ad.a();
    a("CONFIG STORE() 2");
  }

  public final void windowClosing(WindowEvent paramWindowEvent)
  {
    int i2;
    a("in windowClosing()");
    if (lx.D)
    {
      if (lx.s != 0)
      {
        if (lx.Q)
          return;
        JOptionPane.showMessageDialog(this, "PLEASE CANCEL YOUR CREDIT!", lx.bq, 2);
        System.out.println("=================================2");
        return;
      }
      i1 = 3;
      if (lx.aS == 3)
        i1 = 2;
      if ((i2 = JOptionPane.showConfirmDialog(this, "Exit program ?", lx.bq, 0, i1)) == 0)
      {
        g();
        dispose();
      }
      return;
    }
    int i1 = 3;
    if (lx.aS == 3)
      i1 = 2;
    if ((i2 = JOptionPane.showConfirmDialog(this, "Exit program ?", lx.bq, 0, i1)) == 0)
    {
      g();
      dispose();
    }
  }

  public final void windowClosed(WindowEvent paramWindowEvent)
  {
    a("in windowClosed()");
    lx.ad.a("si", "" + n.e);
    lx.ad.a();
    a("CONFIG STORE() 3");
  }

  public final void windowIconified(WindowEvent paramWindowEvent)
  {
  }

  public final void windowDeiconified(WindowEvent paramWindowEvent)
  {
  }

  public final void windowActivated(WindowEvent paramWindowEvent)
  {
  }

  public final void windowDeactivated(WindowEvent paramWindowEvent)
  {
  }

  private static void a(String paramString)
  {
    if (lx.aJ)
      System.out.println(paramString);
  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -