📄 lx.java
字号:
public final void a(com.hoya.games.common.a parama)
{
h("=============== " + ac.format(new Date()) + " =============== playstate:" + p);
h("in processEvent(" + parama.c() + ")(" + parama.e() + "),msg:" + parama.b());
h("(###11111###receiveTime-sendtime):" + (System.currentTimeMillis() - b));
if ((aQ) && (System.currentTimeMillis() - b < 10000L) && (!(c)))
j.setTitle("time:" + (System.currentTimeMillis() - b));
String str1 = parama.b();
h = parama.e() + "==>" + str1;
if (parama.c() == 1005)
{
g(str1);
if (this.bo != null)
this.bo.a();
}
else if (parama.c() == 1663)
{
h("######################## S_NEWGAME_ACK ################ =========> " + p);
bk = false;
h("############################################################## set waitNextRound = FALSE");
}
else if (parama.c() == 2321)
{
i("got S_NEED_UPDATE, sgcc.shutdown(), 6");
g();
JOptionPane.showMessageDialog(this, a(4));
bt = str1;
a();
}
else
{
Object localObject1;
Object localObject3;
Object localObject6;
if (parama.c() == 1031)
{
(localObject1 = new JTextArea(str1)).setEditable(false);
((JTextArea)localObject1).setEnabled(false);
((JTextArea)localObject1).setDisabledTextColor(Color.red);
((JTextArea)localObject1).setBackground(UIManager.getColor("JDialog.background"));
((JTextArea)localObject1).setForeground(Color.red);
((JTextArea)localObject1).setFont(bv);
localObject3 = new JOptionPane(localObject1, -1, -1);
JOptionPane.setRootFrame(j);
localObject6 = ((JOptionPane)localObject3).createDialog(j, bq);
if (!(c))
((JDialog)localObject6).setTitle("");
((JDialog)localObject6).show();
g();
System.exit(0);
}
else
{
Object localObject7;
if (parama.c() == 1035)
{
g();
setVisible(false);
j.setVisible(false);
localObject1 = "Server closed.";
if (n())
localObject1 = "伺服器已關閉.";
if ((str1 != null) && (str1.length() > 0))
localObject1 = str1;
(localObject3 = new JTextArea((String)localObject1)).setEditable(false);
((JTextArea)localObject3).setEnabled(false);
((JTextArea)localObject3).setDisabledTextColor(Color.red);
((JTextArea)localObject3).setBackground(UIManager.getColor("JDialog.background"));
((JTextArea)localObject3).setForeground(Color.red);
((JTextArea)localObject3).setFont(bv);
localObject6 = new JOptionPane(localObject3, 0, -1);
JOptionPane.setRootFrame(j);
localObject7 = ((JOptionPane)localObject6).createDialog(j, bq);
if (!(c))
((JDialog)localObject7).setTitle("");
((JDialog)localObject7).show();
System.exit(0);
}
else if (parama.c() == 2002)
{
m.add(str1);
}
else if (parama.c() == 2006)
{
m.add(str1);
}
else if (parama.c() == 2013)
{
if (aS == 2)
{
aY = str1;
if (aY == null)
aY = "";
}
else
{
m.add(str1);
}
}
else if (parama.c() == 2023)
{
d(str1);
}
else
{
Object localObject8;
if (parama.c() == 2127)
{
localObject1 = "This table is reserved for you in " + str1 + " hours start count from the last betting !!";
if (n())
localObject1 = "牌桌將為您保留 " + str1 + " 個小時 (依最後下注時間開始計算)";
localObject3 = Color.red;
if (aS == 2);
if (t == 250)
{
localObject3 = Color.blue;
localObject1 = "This table reserved for you in : " + str1 + " HOURS. \n start count from the last betting !!";
}
(localObject6 = new JTextArea((String)localObject1)).setEditable(false);
((JTextArea)localObject6).setEnabled(false);
((JTextArea)localObject6).setDisabledTextColor((Color)localObject3);
((JTextArea)localObject6).setBackground(UIManager.getColor("JDialog.background"));
((JTextArea)localObject6).setForeground((Color)localObject3);
((JTextArea)localObject6).setFont(bv);
localObject7 = new JOptionPane(localObject6, -1, -1);
JOptionPane.setRootFrame(j);
localObject8 = ((JOptionPane)localObject7).createDialog(j, bq);
if (!(c))
((JDialog)localObject8).setTitle("");
j.g();
((JDialog)localObject8).show();
j.setVisible(false);
}
else if (parama.c() == 2063)
{
a(str1);
}
else if (parama.c() == 2043)
{
j(str1);
}
else if (parama.c() == 2113)
{
b(str1);
}
else if (parama.c() == 2117)
{
n(str1);
}
else if (parama.c() == 1025)
{
i("got S_DISCONNECT, sgcc.shutdown(), 4");
g();
}
else if (parama.c() == 2211)
{
i("got S_KICKOUT, sgcc.shutdown(), 5");
g();
int i1 = 3;
if ((str1 != null) && (str1.trim().length() > 0))
try
{
i1 = Integer.parseInt(str1);
}
catch (NumberFormatException localNumberFormatException1)
{
}
localObject3 = "BATAS WAKTU GANTUNG MEJA ADALAH " + i1 + " JAM DARI BETTING TERAKHIR.\n" + "BUKAN HITUNG DARI WAKTU KLICK \"GANTUNG\" ." + "TERIMA KASIH";
if (n())
localObject3 = "自您上次下注已超過 " + i1 + " 個小時, 您將離開此牌桌, 謝謝.";
if (aS == 2)
localObject3 = "BATAS WAKTU UNTUK GANTUNG MEJA ADALAH " + i1 + " JAM, TERIMA KASIH";
(localObject6 = new JTextArea((String)localObject3)).setEditable(false);
((JTextArea)localObject6).setEnabled(false);
((JTextArea)localObject6).setDisabledTextColor(Color.red);
((JTextArea)localObject6).setBackground(UIManager.getColor("JDialog.background"));
((JTextArea)localObject6).setForeground(Color.red);
((JTextArea)localObject6).setFont(bv);
localObject7 = new JOptionPane(localObject6, -1, -1);
JOptionPane.setRootFrame(j);
localObject8 = ((JOptionPane)localObject7).createDialog(j, bq);
if (!(c))
((JDialog)localObject8).setTitle("");
((JDialog)localObject8).show();
}
else if (parama.c() == 1603)
{
f(str1);
}
else if (parama.c() == 1653)
{
e(str1);
}
else
{
com.hoya.util.a locala;
if (parama.c() == 2073)
{
locala = new com.hoya.util.a(str1, ",");
F[0] = W;
F[1] = new x(locala.b(), 1);
F[2] = new x(locala.b(), 2);
F[3] = new x(locala.b(), 3);
F[4] = new x(locala.b(), 4);
F[5] = new x(locala.b(), 5);
F[6] = new x(locala.b(), 6);
}
else if (parama.c() == 2226)
{
int i4 = (locala = new com.hoya.util.a(str1, ",")).b();
int i6 = locala.b();
h("receive double cards:" + i4);
if (i6 == 9)
{
I *= 2;
h("bet double WIN,win:" + I);
}
else
{
I = 0;
}
F[0] = new x(i4, 0);
V = false;
j.f.repaint();
}
else if (parama.c() == 2131)
{
Object localObject4;
int i2 = 0;
try
{
i2 = Integer.parseInt(str1);
q += i2;
localObject4 = "NEW DEPOSIT : " + this.aC.format(i2);
if (n())
localObject4 = "您已開分 : " + this.aC.format(i2);
JOptionPane.showMessageDialog(j, localObject4);
}
catch (NumberFormatException localNumberFormatException2)
{
(localObject4 = localNumberFormatException2).printStackTrace();
}
j.g.repaint();
}
else
{
Object localObject2;
int i5;
String str2;
if (parama.c() == 2163)
{
i5 = (localObject2 = new com.hoya.util.a(str1, ",")).b();
str2 = ((com.hoya.util.a)localObject2).a();
q -= i5;
j.repaint();
localObject7 = "Transfer " + i5 + "c to " + str2 + "! \nYour request will be process soon.";
if (n())
localObject7 = "您要求退分 " + i5 + "c 到 " + str2 + ", 我們將會立即處理, 謝謝!";
JOptionPane.showMessageDialog(this, localObject7);
aA.a(2171, "");
ae = System.currentTimeMillis();
}
else if (parama.c() == 2165)
{
localObject2 = "Transfer to bank fail.";
if (n())
localObject2 = "退分失敗!";
JOptionPane.showMessageDialog(j, localObject2);
}
else if (parama.c() == 2183)
{
i5 = (localObject2 = new com.hoya.util.a(str1, ",")).b();
q -= i5;
str2 = "Credit Transferred!";
if (n())
str2 = "已轉帳成功!";
m.add(str2);
j.repaint();
aA.a(2191, "");
}
else if (parama.c() == 2185)
{
localObject2 = "Transfer to " + str1 + " fail.";
if (n())
localObject2 = "轉帳給 " + str1 + " 失敗!";
JOptionPane.showMessageDialog(j, localObject2);
}
else
{
Object localObject5;
if ((parama.c() == 2186) || (parama.c() == 2166))
{
g();
this.av.setText(" ");
JOptionPane.showMessageDialog(this, "You have fill 3 times wrong password,\nyour ID been locked for security, please cantact your agent for unlock it. thanks.");
}
if (parama.c() == 2187)
{
localObject5 = (localObject2 = new com.hoya.util.a(str1, ",")).a();
int i7 = ((com.hoya.util.a)localObject2).b();
m.add("Credits from " + ((String)localObject5) + " : " + this.aC.format(i7));
q += i7;
j.repaint();
aA.a(2191, "");
}
else
{
int i8;
int i9;
if (parama.c() == 2193)
{
localObject2 = new com.hoya.util.a(str1, ",");
localObject5 = new StringBuffer();
for (i8 = 0; i8 < ((com.hoya.util.a)localObject2).c(); ++i8)
{
String str5;
localObject8 = (((String)localObject8).length() == 8) ? ((String)localObject8).substring(0, 2) + "/" + ((String)localObject8).substring(2, 4) + " " + ((String)localObject8).substring(4, 6) + ":" + ((String)localObject8).substring(6) : ((localObject8 = (localObject7 = new com.hoya.util.a(((com.hoya.util.a)localObject2).a(), ":")).a()).length() == 4) ? ((String)localObject8).substring(0, 2) + ":" + ((String)localObject8).substring(2) : "";
i9 = ((com.hoya.util.a)localObject7).b();
String str4 = ((com.hoya.util.a)localObject7).a();
if (((str5 = ((com.hoya.util.a)localObject7).a()) == null) || (!(str5.equals("I"))))
((StringBuffer)localObject5).append(((String)localObject8) + " You transfer " + i9 + "c to " + str4 + "\n");
else
((StringBuffer)localObject5).append(((String)localObject8) + " " + str4 + " transfer " + i9 + "c to you\n");
}
k.s.setText(((StringBuffer)localObject5).toString());
}
else if (parama.c() == 2173)
{
localObject2 = new com.hoya.util.a(str1, ",");
localObject5 = new StringBuffer();
for (i8 = 0; i8 < ((com.hoya.util.a)localObject2).c(); ++i8)
{
localObject8 = (localObject7 = new com.hoya.util.a(((com.hoya.util.a)localObject2).a(), ":")).a();
localObject8 = ((String)localObject8).substring(0, 2) + ":" + ((String)localObject8).substring(2);
i9 = ((com.hoya.util.a)localObject7).b();
((StringBuffer)localObject5).append(((String)localObject8) + " transfer " + i9 + "\n");
}
a.F.setText(((StringBuffer)localObject5).toString());
ae = System.currentTimeMillis();
}
else if (parama.c() == 2051)
{
if (aS == 1)
if (str1.indexOf("4 OF") != -1)
be.add(new Integer(3));
else if (str1.indexOf("STRAIGHT") != -1)
be.add(new Integer(2));
else if (str1.indexOf("5 OF") != -1)
be.add(new Integer(1));
else if (str1.indexOf("ROYAL") != -1)
be.add(new Integer(0));
if (aS == 2)
{
localObject2 = com.hoya.common.a.a(localObject2 = com.hoya.common.a.a(localObject2 = com.hoya.common.a.a(localObject2 = com.hoya.common.a.a(localObject2 = com.hoya.common.a.a(localObject2 = com.hoya.common.a.a(localObject2 = com.hoya.common.a.a(localObject2 = str1, "4 of a kind", "4k"), "Straight flush MURNI seri", "STR MURNI SERI"), "Straight flush seri", "STR SERI"), "Straight flush", "STR"), "Royal flush MURNI seri", "ROYAL MURNI SERI"), "Royal flush seri", "ROYAL SERI"), "Royal flush", "ROYAL");
bc.add(localObject2);
bd.put(localObject2, new Integer(1));
}
else
{
bc.add(str1);
bd.put(str1, new Integer(1));
}
if ((aS == 2) && (str1.indexOf(" [TOTAL WIN") != -1))
str1 = str1.substring(0, str1.indexOf(" [TOTAL WIN"));
j.b.a(str1);
if ((aS == 1) && (aQ))
o();
}
else
{
if (parama.c() == 2047)
{
if ((str1 != null) && (str1.length() > 0) && (str1.indexOf("@") != -1))
{
bs.z = false;
p();
return;
}
aA.a(2001, "");
aA.a(2021, "");
j.b.a(str1);
int i3 = 0;
if ((c(l)) || (k(l)))
i3 = ((aS == 2) && (((c(l)) || (l(l))))) ? 1 : ((aS == 1) && (((c(l)) || (k(l)) || (m(l))))) ? 1 : 1;
if (i3 != 0)
{
localObject5 = "Please change your password.";
String str3 = "password anda terlalu gampang, mohon di ganti, untuk hindari players nakal yg suka mencuri coin.";
if (aS == 2)
{
localObject5 = "Demi keamanan anda harap gunakan password yang aman(tidak mudah ditebak)";
str3 = "Demi keamanan anda harap gunakan password yang aman (tidak mudah ditebak).";
}
JOptionPane.showMessageDialog(j, str3, (String)localObject5, 2);
j.b(false);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -