PDA

View Full Version : [562 Loading 602] *Found some client configs. :o



iiNarbz
September 2nd, 2011, 16:31
Well I was working on my 562/602 No-Clipping client and went to cf.java and found these.

public static void a(boolean bool, String string) {
if (Class_gb.i != 0 || (ap.o ^ 0xffffffff) <= -3) {
if (string.equalsIgnoreCase("errortest"))
throw new RuntimeException();
try {
if (string.equals("crash")) {
for (;;) {
for (int i = 0; i > 255; i++)
vq.m.y(255);
}
}
if (string.equalsIgnoreCase("fpson"))
wj.g = true;
if (string.equalsIgnoreCase("fpsoff"))
wj.g = false;
if (string.equalsIgnoreCase("cls")) {
Class_hc.g = 0;
pj.b = 0;
}
if (string.equalsIgnoreCase("cleartext"))
nn.h.e(0);
if (string.equalsIgnoreCase("gc")) {
gk.b((byte) -90);
for (int i = 0; i < 10; i++)
System.gc();
Runtime runtime = Runtime.getRuntime();
int i = (int) ((runtime.totalMemory()
+ -runtime.freeMemory())
/ 1024L);
me.a(-124, new StringBuilder("mem=").append(i).append
("k").toString());
}
if (string.equalsIgnoreCase("compact")) {
gk.b((byte) 52);
for (int i = 0; (i ^ 0xffffffff) > -11; i++)
System.gc();
Runtime runtime = Runtime.getRuntime();
int i = (int) ((runtime.totalMemory()
+ -runtime.freeMemory())
/ 1024L);
me.a(-61,
new StringBuilder("Memory before cleanup=").append
(i).append
("k").toString());
sm.h(125);
gk.b((byte) -74);
for (int i_19_ = 0; i_19_ < 10; i_19_++)
System.gc();
i = (int) ((runtime.totalMemory() - runtime.freeMemory())
/ 1024L);
me.a(-60, new StringBuilder("Memory after cleanup=").append
(i).append
("k").toString());
}
if (string.equalsIgnoreCase("pcachesize"))
me.a(-77, new StringBuilder
("Number of player models in cache:").append
(Class_od.a(-32251)).toString());
if (string.equalsIgnoreCase("clientdrop"))
li.b(true);
if (string.equalsIgnoreCase("clientjs5drop"))
no.k.b((byte) -120);
if (string.equalsIgnoreCase("serverjs5drop"))
no.k.f(-32);
if (string.equalsIgnoreCase("breakcon")) {
sm.m.e(10);
Class_md.q.f(123);
no.k.b((int) -65);
}
if (string.equalsIgnoreCase("rebuild")) {
nq.c(1);
fe.f((byte) 50);
}
if (string.equalsIgnoreCase("wm1"))
xi.a(1, -1, -1, false, true);
if (string.equalsIgnoreCase("wm2"))
xi.a(2, -1, -1, false, true);
if (string.equalsIgnoreCase("::wm3"))
xi.a(3, 1024, 768, false, true);
if (string.equalsIgnoreCase("tk0")) {
lf.e(0, -56);
he.qb = 0;
wj.a(sm.m, (byte) -7);
ng.E = false;
}
if (string.equalsIgnoreCase("tk1")) {
lf.e(1, 116);
he.qb = 1;
wj.a(sm.m, (byte) -7);
ng.E = false;
}
if (string.equalsIgnoreCase("tk2")) {
lf.e(2, -116);
he.qb = 2;
wj.a(sm.m, (byte) -7);
ng.E = false;
}
if (string.equalsIgnoreCase("tk3"))
lf.e(3, -82);
if (string.equalsIgnoreCase("ot")) {
Class_yb.r = !Class_yb.r;
wj.a(sm.m, (byte) -7);
ng.E = false;
nq.c(1);
}
if (string.equalsIgnoreCase("gb")) {
Class_zd.y = !Class_zd.y;
wj.a(sm.m, (byte) -7);
ng.E = false;
nq.c(1);
}
if (string.startsWith("shadows ")) {
ne.T = Class_l.a(string.substring(8), (byte) 20);
wj.a(sm.m, (byte) -7);
ng.E = false;
nq.c(1);
}
if (string.startsWith("setba")) {
qi.a = Class_l.a(string.substring(6), (byte) 20);
wj.a(sm.m, (byte) -7);
ng.E = false;
}
if (string.startsWith("setparticles")) {
hh.b(Class_l.a(string.substring(13), (byte) 20), 0);
wj.a(sm.m, (byte) -7);
ng.E = false;
}
if (string.startsWith("fps ")
&& (Class_gb.i ^ 0xffffffff) != -1)
co.a(Class_l.a(string.substring(4), (byte) 20),
(byte) 125);
if (string.startsWith("rect_debug")) {
je.db = Class_l.a(string.substring(10).trim(), (byte) 20);
me.a(-59, new StringBuilder("rect_debug=").append
(je.db).toString());
}
if (string.equalsIgnoreCase("qa_op_test"))
an.v = true;
if (string.equalsIgnoreCase("clipcomponents")) {
mo.g = !mo.g;
me.a(-41, new StringBuilder("clipcomponents=").append
(mo.g).toString());
}
if (string.startsWith("bloom")) {
boolean bool_20_ = sk.t.m();
if (no.a(!bool_20_, 47)) {
if (bool_20_)
me.a(-58, "Bloom disabled");
else
me.a(-127, "Bloom enabled");
} else
me.a(-49, "Failed to enable bloom");
}
if (string.equalsIgnoreCase("tween")) {
if (!Class_tc.h) {
Class_tc.h = true;
me.a(-100, "Forced tweening ENABLED!");
} else {
Class_tc.h = false;
me.a(-114, "Forced tweening disabled.");
}
}
if (string.equalsIgnoreCase("shiftclick")) {
if (vl.h) {
me.a(-77, "Shift-click disabled.");
vl.h = false;
} else {
me.a(-73, "Shift-click ENABLED!");
vl.h = true;
}
}
if (string.equalsIgnoreCase("getcgcoord"))
me.a(-50, new StringBuilder("x:").append
(xj.m.l >> 763146727).append
(" z:").append
(xj.m.z >> -1313061689).toString());
if (string.equalsIgnoreCase("getheight"))
me.a(-75, new StringBuilder("Height: ").append
(vp.g[bs.k].a(xj.m.l >> -689676921,
xj.m.z >> 384878823))
.toString());
if (string.equalsIgnoreCase("resetminimap")) {
Class_ld.i.d(true);
Class_ld.i.c(false);
vg.f(-60);
fe.f((byte) 50);
}
if (string.startsWith("mc")) {
if (sk.t.e()) {
int i = Integer.parseInt(string.substring(3));
if (i < 1)
i = 1;
else if (i > 4)
i = 4;
gg.A = i;
sk.t.d(gg.A);
sk.t.b(0);
me.a(-75,
new StringBuilder("Render cores now: ").append
(gg.A).toString());
} else
me.a(-98,
"Current toolkit doesn't support multiple cores");
}
if (string.startsWith("cachespace")) {
me.a(-77, new StringBuilder("I(s): ").append
(um.Ic.c((int) -1)).append
("/").append
(um.Ic.f(112)).toString());
me.a(-67, new StringBuilder("I(m): ").append
(kl.c.c((int) -1)).append
("/").append
(kl.c.f(124)).toString());
me.a(-82, new StringBuilder("O(s): ").append
(rm.C.b(14361)).append
("/").append
(rm.C.a(6798)).toString());
}
if (string.equalsIgnoreCase("getcamerapos")) {
me.a(-52,
new StringBuilder("Pos: ").append(bs.k).append
(",").append
((kl.d >> 454691079) - -uq.d >> -1845562010)
.append
(",").append
(jp.k + (bp.h >> 1251246279) >> -43914778).append
(",").append
(0x3f & (kl.d >> 341383111) + uq.d).append
(",").append
((bp.h >> 1259785799) - -jp.k & 0x3f).append
(" Height: ").append
(ts.a(bp.h, -115, kl.d, bs.k) - mq.o).toString());
me.a(-69,
new StringBuilder("Look: ").append(bs.k).append
(",").append
(uq.d + jm.c >> 560585222).append
(",").append
(sg.y + jp.k >> -878168218).append
(",").append
(uq.d + jm.c & 0x3f).append
(",").append
(sg.y + jp.k & 0x3f).append
(" Height: ").append
(ts.a(sg.y, 120, jm.c, bs.k) + -gh.H).toString());
}
if (string.equals("showocc")) {
vq.j = !vq.j;
nq.c(1);
}
if (string.equals("renderprofile") || string.equals("rp")) {
wl.b = !wl.b;
sk.t.c(wl.b);
Class_rd.c(true);
}
if (string.equals("nonpcs"))
Class_b.a = !Class_b.a;
if (string.equals("autoworld"))
zm.j(-23144);
if (string.equals("heap"))
me.a(-98,
new StringBuilder("Heap: ").append(Class_db.q).append
("MB").toString());
if (string.equals("savevarcs"))
ng.b((int) 6);
if (string.equals("scramblevarcs")) {
for (int i = 0;
(i ^ 0xffffffff) > (ff.W.length ^ 0xffffffff); i++) {
if (go.f[i]) {
ff.W[i] = (int) (99999.0 * Math.random());
if (Math.random() > 0.5)
ff.W[i] *= -1;
}
}
ng.b((int) 6);
}
if (string.equals("showcolmap")) {
Class_vc.i = true;
fe.f((byte) 50);
}
if (string.equals("hidecolmap")) {
Class_vc.i = false;
fe.f((byte) 50);
}
if (string.equals("resetcache"))
he.g(8110);
if (string.equals("profilecpu"))
me.a(-121,
new StringBuilder(String.valueOf(ql.b(-65536))).append
("ms").toString());
if ((hi.e ^ 0xffffffff) == -31) {
vq.m.y(171);
lh.O++;
vq.m.q(2 + string.length());
vq.m.q(bool ? 1 : 0);
vq.m.a(string);
}
} catch (Exception exception) {
me.a(-108, "Whoops, something went wrong.");
}
}
}

Some only work If your an Administrator [Working on a Command that gives access even though your normal]
Name/Does :
wm1-2-3 = Window Mode, 1 2 or 3 Fixed, Resize and Fullscreen.
tk1-2-3 = Display Mode, 1 2 or 3 High Definition , Low Detail, and Such.
qa_op_test = Random Test, Stacks all the interfaces together like the Quests, and Skills etc. weird shit

Flamingo
September 2nd, 2011, 22:42
Nice job, here's a "562/659" non-deobfuscated code,
public static void sendCommand(boolean clientCommand, String command) {
do {
if (Class1_Sub7.anInt3581 != 0
|| (Class56.anInt745 ^ 0xffffffff) <= -3) {
if (command.equalsIgnoreCase("errortest"))
throw new RuntimeException();
try {
if (command.equals("crash")) {
while(true) {
for (int packet = 0; packet > 255; packet++)
Class93.aClass131_Sub15_Sub2_1226.createPacket(255 );
}
}
if (command.equalsIgnoreCase("fpson"))
Class165.aBoolean2201 = true;
if (command.equalsIgnoreCase("fpsoff"))
Class165.aBoolean2201 = false;
if (command.equalsIgnoreCase("cls")) {
Class110.anInt1431 = 0;
Class157.anInt2077 = 0;
}
if (command.equalsIgnoreCase("cleartext"))
Class34.aClass50_491.method587(0);
if (command.equalsIgnoreCase("gc")) {
Class175.method2478((byte) -90);
for (int i = 0; i < 10; i++)
System.gc();
Runtime runtime = Runtime.getRuntime();
int i = (int) ((runtime.totalMemory()
+ -runtime.freeMemory())
/ 1024L);
Class131_Sub2_Sub15.sendPainelBoxMessage(-124, "mem=" + i + "k");
}
if (command.equalsIgnoreCase("compact")) {
Class175.method2478((byte) 52);
for (int i = 0; (i ^ 0xffffffff) > -11; i++)
System.gc();
Runtime runtime = Runtime.getRuntime();
int i = (int) ((runtime.totalMemory()
+ -runtime.freeMemory())
/ 1024L);
Class131_Sub2_Sub15.sendPainelBoxMessage
(-61, "Memory before cleanup=" + i + "k");
Class23_Sub4.method326(125);
Class175.method2478((byte) -74);
for (int i_11_ = 0; i_11_ < 10; i_11_++)
System.gc();
i = (int) ((runtime.totalMemory()
- runtime.freeMemory())
/ 1024L);
Class131_Sub2_Sub15.sendPainelBoxMessage(-60,
("Memory after cleanup="
+ i + "k"));
}
if (command.equalsIgnoreCase("pcachesize"))
Class131_Sub2_Sub15.sendPainelBoxMessage
(-77, ("Number of player models in cache:"
+ Class131.method1351(-32251)));
if (command.equalsIgnoreCase("clientdrop"))
Class138.method2121(true);
if (command.equalsIgnoreCase("clientjs5drop"))
Class46.aClass179_640.method2512((byte) -120);
if (command.equalsIgnoreCase("serverjs5drop"))
Class46.aClass179_640.method2511(-32);
if (command.equalsIgnoreCase("breakcon")) {
Class23_Sub4.aSignLink_3734.method2697(10);
Class128_Sub1.aClass33_4013.method455(123);
Class46.aClass179_640.method2503(-65);
}
if (command.equalsIgnoreCase("rebuild")) {
Class88.method827(1);
Class131_Sub2_Sub1.method1475((byte) 50);
}
if (command.equalsIgnoreCase("wm1"))
Class148.method2177(1, -1, -1, false, true);
if (command.equalsIgnoreCase("wm2"))
Class148.method2177(2, -1, -1, false, true);
if (command.equalsIgnoreCase("::wm3"))
Class148.method2177(3, 1024, 768, false, true);
if (command.equalsIgnoreCase("tk0")) {
Class131_Sub2_Sub38.method1644(0, -56);
Class131_Sub2_Sub10_Sub1.anInt6537 = 0;
Class165.method2413(Class23_Sub4.aSignLink_3734,
(byte) -7);
Class131_Sub38.aBoolean4627 = false;
}
if (command.equalsIgnoreCase("tk1")) {
Class131_Sub2_Sub38.method1644(1, 116);
Class131_Sub2_Sub10_Sub1.anInt6537 = 1;
Class165.method2413(Class23_Sub4.aSignLink_3734,
(byte) -7);
Class131_Sub38.aBoolean4627 = false;
}
if (command.equalsIgnoreCase("tk2")) {
Class131_Sub2_Sub38.method1644(2, -116);
Class131_Sub2_Sub10_Sub1.anInt6537 = 2;
Class165.method2413(Class23_Sub4.aSignLink_3734,
(byte) -7);
Class131_Sub38.aBoolean4627 = false;
}
if (command.equalsIgnoreCase("tk3"))
Class131_Sub2_Sub38.method1644(3, -82);
if (command.equalsIgnoreCase("ot")) {
Class103.aBoolean1349 = !Class103.aBoolean1349;
Class165.method2413(Class23_Sub4.aSignLink_3734,
(byte) -7);
Class131_Sub38.aBoolean4627 = false;
Class88.method827(1);
}
if (command.equalsIgnoreCase("gb")) {
Class131_Sub13.aBoolean4268
= !Class131_Sub13.aBoolean4268;
Class165.method2413(Class23_Sub4.aSignLink_3734,
(byte) -7);
Class131_Sub38.aBoolean4627 = false;
Class88.method827(1);
}
if (command.startsWith("shadows ")) {
Class131_Sub2_Sub16.anInt5779
= AnimationDefinitions.method2393(command.substring( 8),
(byte) 20);
Class165.method2413(Class23_Sub4.aSignLink_3734,
(byte) -7);
Class131_Sub38.aBoolean4627 = false;
Class88.method827(1);
}
if (command.startsWith("setba")) {
Class141.anInt1876
= AnimationDefinitions.method2393(command.substring( 6),
(byte) 20);
Class165.method2413(Class23_Sub4.aSignLink_3734,
(byte) -7);
Class131_Sub38.aBoolean4627 = false;
}
if (command.startsWith("setparticles")) {
Class131_Sub41_Sub19.method2060
(AnimationDefinitions.method2393(command.substring (13),
(byte) 20),
0);
Class165.method2413(Class23_Sub4.aSignLink_3734,
(byte) -7);
Class131_Sub38.aBoolean4627 = false;
}
if (command.startsWith("fps ")
&& (Class1_Sub7.anInt3581 ^ 0xffffffff) != -1)
Class40.method509
(AnimationDefinitions.method2393(command.substring (4), (byte) 20),
(byte) 125);
if (command.startsWith("rect_debug")) {
Class131_Sub2_Sub12.anInt5728
= AnimationDefinitions.method2393(command.substring( 10).trim(),
(byte) 20);
Class131_Sub2_Sub15.sendPainelBoxMessage(-59,
("rect_debug="
+ (Class131_Sub2_Sub12
.anInt5728)));
}
if (command.equalsIgnoreCase("qa_op_test"))
Class23_Sub5.aBoolean3761 = true;
if (command.equalsIgnoreCase("clipcomponents")) {
Class45.aBoolean626 = !Class45.aBoolean626;
Class131_Sub2_Sub15.sendPainelBoxMessage(-41,
("clipcomponents="
+ (Class45
.aBoolean626)));
}
if (command.startsWith("bloom")) {
boolean bool
= Class183_Sub1.aClass130_4960.method1175();
if (Class46.method565(!bool, 47)) {
if (bool)
Class131_Sub2_Sub15
.sendPainelBoxMessage(-58, "Bloom disabled");
else
Class131_Sub2_Sub15
.sendPainelBoxMessage(-127, "Bloom enabled");
} else
Class131_Sub2_Sub15
.sendPainelBoxMessage(-49, "Failed to enable bloom");
}
if (command.equalsIgnoreCase("tween")) {
if (!Class119.aBoolean1559) {
Class119.aBoolean1559 = true;
Class131_Sub2_Sub15
.sendPainelBoxMessage(-100, "Forced tweening ENABLED!");
} else {
Class119.aBoolean1559 = false;
Class131_Sub2_Sub15
.sendPainelBoxMessage(-114, "Forced tweening disabled.");
}
}
if (command.equalsIgnoreCase("shiftclick")) {
if (Class209.aBoolean3044) {
Class131_Sub2_Sub15
.sendPainelBoxMessage(-77, "Shift-click disabled.");
Class209.aBoolean3044 = false;
} else {
Class131_Sub2_Sub15
.sendPainelBoxMessage(-73, "Shift-click ENABLED!");
Class209.aBoolean3044 = true;
}
}
if (command.equalsIgnoreCase("getcgcoord"))
Class131_Sub2_Sub15.sendPainelBoxMessage
(-50, ("x:"
+ ((Class166.myPlayer
.anInt3733)
>> 763146727)
+ " z:"
+ ((Class166.myPlayer
.anInt3747)
>> -1313061689)));
if (command.equalsIgnoreCase("getheight"))
Class131_Sub2_Sub15.sendPainelBoxMessage
(-75, ("Height: "
+ (Class75.aClass68Array1023
[ItemDefinitions.anInt300].method712
((Class166.myPlayer
.anInt3733) >> -689676921,
(Class166.myPlayer
.anInt3747) >> 384878823))));
if (command.equalsIgnoreCase("resetminimap")) {
Class128.spritesIndex.method2373(true);
Class128.spritesIndex.method2356(false);
Class131_Sub41_Sub11.method2002(-60);
Class131_Sub2_Sub1.method1475((byte) 50);
}
if (command.startsWith("mc")) {
if (Class183_Sub1.aClass130_4960.method1159()) {
int i = Integer.parseInt(command.substring(3));
if (i < 1)
i = 1;
else if (i > 4)
i = 4;
Class131_Sub31.anInt4537 = i;
Class183_Sub1.aClass130_4960
.method1189(Class131_Sub31.anInt4537);
Class183_Sub1.aClass130_4960.method1183(0);
Class131_Sub2_Sub15.sendPainelBoxMessage
(-75, ("Render cores now: "
+ Class131_Sub31.anInt4537));
} else
Class131_Sub2_Sub15.sendPainelBoxMessage
(-98,
"Current toolkit doesn't support multiple cores");
}
if (command.startsWith("cachespace")) {
Class131_Sub2_Sub15.sendPainelBoxMessage
(-77, ("I(s): "
+ NPC.aClass214_6477
.method2781(-1)
+ "/"
+ NPC.aClass214_6477
.method2785(112)));
Class131_Sub2_Sub15.sendPainelBoxMessage
(-67,
("I(m): " + Class2.aClass214_83.method2781(-1)
+ "/" + Class2.aClass214_83.method2785(124)));
Class131_Sub2_Sub15.sendPainelBoxMessage
(-82, ("O(s): "
+ Class23_Sub3_Sub1.aClass103_5226
.method900(14361)
+ "/"
+ Class23_Sub3_Sub1.aClass103_5226
.method897(6798)));
}
if (command.equalsIgnoreCase("getcamerapos")) {
Class131_Sub2_Sub15.sendPainelBoxMessage
(-52, ("Pos: " + ItemDefinitions.anInt300 + ","
+ (((Class2.anInt84 >> 454691079)
- -Class92.regionAbsX)
>> -1845562010)
+ ","
+ (Class64.regionAbsY + (Class57.anInt753
>> 1251246279)
>> -43914778)
+ ","
+ (0x3f & ((Class2.anInt84 >> 341383111)
+ Class92.regionAbsX))
+ ","
+ (((Class57.anInt753 >> 1259785799)
- -Class64.regionAbsY)
& 0x3f)
+ " Height: "
+ ((RuntimeException_Sub1.method2833
(Class57.anInt753, -115, Class2.anInt84,
ItemDefinitions.anInt300))
- Class87.anInt1140)));
Class131_Sub2_Sub15.sendPainelBoxMessage
(-69,
("Look: " + ItemDefinitions.anInt300 + ","
+ (Class92.regionAbsX + Class23.anInt250
>> 560585222)
+ ","
+ (Class131_Sub41.anInt4675 + Class64.regionAbsY
>> -878168218)
+ ","
+ (Class92.regionAbsX + Class23.anInt250 & 0x3f)
+ ","
+ (Class131_Sub41.anInt4675 + Class64.regionAbsY
& 0x3f)
+ " Height: "
+ ((RuntimeException_Sub1.method2833
(Class131_Sub41.anInt4675, 120,
Class23.anInt250, ItemDefinitions.anInt300))
+ -Class131_Sub41_Sub18.anInt6400)));
}
if (command.equals("showocc")) {
Class93.aBoolean1223 = !Class93.aBoolean1223;
Class88.method827(1);
}
if (command.equals("renderprofile") || command.equals("rp")) {
Class21.aBoolean240 = !Class21.aBoolean240;
Class183_Sub1.aClass130_4960
.method1185(Class21.aBoolean240);
Class131_Sub1_Sub1.method1392(true);
}
if (command.equals("nonpcs"))
Canvas_Sub1.aBoolean42 = !Canvas_Sub1.aBoolean42;
if (command.equals("autoworld"))
Class23_Sub4_Sub5.method391(-23144);
if (command.equals("heap"))
Class131_Sub2_Sub15.sendPainelBoxMessage(-98, ("Heap: "+ Class1_Sub4.anInt3554 + "MB"));
if (command.equals("savevarcs"))
Class131_Sub38.method1891(6);
if (command.equals("scramblevarcs")) {
for (int i = 0;
((i ^ 0xffffffff)
> (Class131_Sub2_Sub33.anIntArray6025.length
^ 0xffffffff));
i++) {
if (Class43.aBooleanArray586[i]) {
Class131_Sub2_Sub33.anIntArray6025[i]
= (int) (99999.0 * Math.random());
if (Math.random() > 0.5)
Class131_Sub2_Sub33.anIntArray6025[i]
*= -1;
}
}
Class131_Sub38.method1891(6);
}
if (command.equals("showcolmap")) {
Class120.aBoolean1579 = true;
Class131_Sub2_Sub1.method1475((byte) 50);
}
if (command.equals("hidecolmap")) {
Class120.aBoolean1579 = false;
Class131_Sub2_Sub1.method1475((byte) 50);
}
if (command.equals("resetcache"))
Class131_Sub2_Sub10_Sub1.method1517(8110);
if (command.equals("profilecpu"))
Class131_Sub2_Sub15.sendPainelBoxMessage
(-121, (String.valueOf(Class204.method2733(-65536))
+ "ms"));
if ((Class133.anInt1803 ^ 0xffffffff) != -31)
break;
Class93.aClass131_Sub15_Sub2_1226.createPacket(171 );
Class131_Sub41_Sub21_Sub1.anInt6577++;
Class93.aClass131_Sub15_Sub2_1226.writeByte(2 + command.length());
Class93.aClass131_Sub15_Sub2_1226.writeByte(client Command ? 1 : 0);
Class93.aClass131_Sub15_Sub2_1226.writeString(comm and, (byte) 46);
} catch (Exception exception) {
Class131_Sub2_Sub15.sendPainelBoxMessage(-108, "Incorrect command prefix; Try again.");
break;
}
break;
}
} while (false);
}

iiNarbz
September 2nd, 2011, 22:45
Nice job, here's a "562/659" non-deobfuscated code,
public static void sendCommand(boolean clientCommand, String command) {
do {
if (Class1_Sub7.anInt3581 != 0
|| (Class56.anInt745 ^ 0xffffffff) <= -3) {
if (command.equalsIgnoreCase("errortest"))
throw new RuntimeException();
try {
if (command.equals("crash")) {
while(true) {
for (int packet = 0; packet > 255; packet++)
Class93.aClass131_Sub15_Sub2_1226.createPacket(255 );
}
}
if (command.equalsIgnoreCase("fpson"))
Class165.aBoolean2201 = true;
if (command.equalsIgnoreCase("fpsoff"))
Class165.aBoolean2201 = false;
if (command.equalsIgnoreCase("cls")) {
Class110.anInt1431 = 0;
Class157.anInt2077 = 0;
}
if (command.equalsIgnoreCase("cleartext"))
Class34.aClass50_491.method587(0);
if (command.equalsIgnoreCase("gc")) {
Class175.method2478((byte) -90);
for (int i = 0; i < 10; i++)
System.gc();
Runtime runtime = Runtime.getRuntime();
int i = (int) ((runtime.totalMemory()
+ -runtime.freeMemory())
/ 1024L);
Class131_Sub2_Sub15.sendPainelBoxMessage(-124, "mem=" + i + "k");
}
if (command.equalsIgnoreCase("compact")) {
Class175.method2478((byte) 52);
for (int i = 0; (i ^ 0xffffffff) > -11; i++)
System.gc();
Runtime runtime = Runtime.getRuntime();
int i = (int) ((runtime.totalMemory()
+ -runtime.freeMemory())
/ 1024L);
Class131_Sub2_Sub15.sendPainelBoxMessage
(-61, "Memory before cleanup=" + i + "k");
Class23_Sub4.method326(125);
Class175.method2478((byte) -74);
for (int i_11_ = 0; i_11_ < 10; i_11_++)
System.gc();
i = (int) ((runtime.totalMemory()
- runtime.freeMemory())
/ 1024L);
Class131_Sub2_Sub15.sendPainelBoxMessage(-60,
("Memory after cleanup="
+ i + "k"));
}
if (command.equalsIgnoreCase("pcachesize"))
Class131_Sub2_Sub15.sendPainelBoxMessage
(-77, ("Number of player models in cache:"
+ Class131.method1351(-32251)));
if (command.equalsIgnoreCase("clientdrop"))
Class138.method2121(true);
if (command.equalsIgnoreCase("clientjs5drop"))
Class46.aClass179_640.method2512((byte) -120);
if (command.equalsIgnoreCase("serverjs5drop"))
Class46.aClass179_640.method2511(-32);
if (command.equalsIgnoreCase("breakcon")) {
Class23_Sub4.aSignLink_3734.method2697(10);
Class128_Sub1.aClass33_4013.method455(123);
Class46.aClass179_640.method2503(-65);
}
if (command.equalsIgnoreCase("rebuild")) {
Class88.method827(1);
Class131_Sub2_Sub1.method1475((byte) 50);
}
if (command.equalsIgnoreCase("wm1"))
Class148.method2177(1, -1, -1, false, true);
if (command.equalsIgnoreCase("wm2"))
Class148.method2177(2, -1, -1, false, true);
if (command.equalsIgnoreCase("::wm3"))
Class148.method2177(3, 1024, 768, false, true);
if (command.equalsIgnoreCase("tk0")) {
Class131_Sub2_Sub38.method1644(0, -56);
Class131_Sub2_Sub10_Sub1.anInt6537 = 0;
Class165.method2413(Class23_Sub4.aSignLink_3734,
(byte) -7);
Class131_Sub38.aBoolean4627 = false;
}
if (command.equalsIgnoreCase("tk1")) {
Class131_Sub2_Sub38.method1644(1, 116);
Class131_Sub2_Sub10_Sub1.anInt6537 = 1;
Class165.method2413(Class23_Sub4.aSignLink_3734,
(byte) -7);
Class131_Sub38.aBoolean4627 = false;
}
if (command.equalsIgnoreCase("tk2")) {
Class131_Sub2_Sub38.method1644(2, -116);
Class131_Sub2_Sub10_Sub1.anInt6537 = 2;
Class165.method2413(Class23_Sub4.aSignLink_3734,
(byte) -7);
Class131_Sub38.aBoolean4627 = false;
}
if (command.equalsIgnoreCase("tk3"))
Class131_Sub2_Sub38.method1644(3, -82);
if (command.equalsIgnoreCase("ot")) {
Class103.aBoolean1349 = !Class103.aBoolean1349;
Class165.method2413(Class23_Sub4.aSignLink_3734,
(byte) -7);
Class131_Sub38.aBoolean4627 = false;
Class88.method827(1);
}
if (command.equalsIgnoreCase("gb")) {
Class131_Sub13.aBoolean4268
= !Class131_Sub13.aBoolean4268;
Class165.method2413(Class23_Sub4.aSignLink_3734,
(byte) -7);
Class131_Sub38.aBoolean4627 = false;
Class88.method827(1);
}
if (command.startsWith("shadows ")) {
Class131_Sub2_Sub16.anInt5779
= AnimationDefinitions.method2393(command.substring( 8),
(byte) 20);
Class165.method2413(Class23_Sub4.aSignLink_3734,
(byte) -7);
Class131_Sub38.aBoolean4627 = false;
Class88.method827(1);
}
if (command.startsWith("setba")) {
Class141.anInt1876
= AnimationDefinitions.method2393(command.substring( 6),
(byte) 20);
Class165.method2413(Class23_Sub4.aSignLink_3734,
(byte) -7);
Class131_Sub38.aBoolean4627 = false;
}
if (command.startsWith("setparticles")) {
Class131_Sub41_Sub19.method2060
(AnimationDefinitions.method2393(command.substring (13),
(byte) 20),
0);
Class165.method2413(Class23_Sub4.aSignLink_3734,
(byte) -7);
Class131_Sub38.aBoolean4627 = false;
}
if (command.startsWith("fps ")
&& (Class1_Sub7.anInt3581 ^ 0xffffffff) != -1)
Class40.method509
(AnimationDefinitions.method2393(command.substring (4), (byte) 20),
(byte) 125);
if (command.startsWith("rect_debug")) {
Class131_Sub2_Sub12.anInt5728
= AnimationDefinitions.method2393(command.substring( 10).trim(),
(byte) 20);
Class131_Sub2_Sub15.sendPainelBoxMessage(-59,
("rect_debug="
+ (Class131_Sub2_Sub12
.anInt5728)));
}
if (command.equalsIgnoreCase("qa_op_test"))
Class23_Sub5.aBoolean3761 = true;
if (command.equalsIgnoreCase("clipcomponents")) {
Class45.aBoolean626 = !Class45.aBoolean626;
Class131_Sub2_Sub15.sendPainelBoxMessage(-41,
("clipcomponents="
+ (Class45
.aBoolean626)));
}
if (command.startsWith("bloom")) {
boolean bool
= Class183_Sub1.aClass130_4960.method1175();
if (Class46.method565(!bool, 47)) {
if (bool)
Class131_Sub2_Sub15
.sendPainelBoxMessage(-58, "Bloom disabled");
else
Class131_Sub2_Sub15
.sendPainelBoxMessage(-127, "Bloom enabled");
} else
Class131_Sub2_Sub15
.sendPainelBoxMessage(-49, "Failed to enable bloom");
}
if (command.equalsIgnoreCase("tween")) {
if (!Class119.aBoolean1559) {
Class119.aBoolean1559 = true;
Class131_Sub2_Sub15
.sendPainelBoxMessage(-100, "Forced tweening ENABLED!");
} else {
Class119.aBoolean1559 = false;
Class131_Sub2_Sub15
.sendPainelBoxMessage(-114, "Forced tweening disabled.");
}
}
if (command.equalsIgnoreCase("shiftclick")) {
if (Class209.aBoolean3044) {
Class131_Sub2_Sub15
.sendPainelBoxMessage(-77, "Shift-click disabled.");
Class209.aBoolean3044 = false;
} else {
Class131_Sub2_Sub15
.sendPainelBoxMessage(-73, "Shift-click ENABLED!");
Class209.aBoolean3044 = true;
}
}
if (command.equalsIgnoreCase("getcgcoord"))
Class131_Sub2_Sub15.sendPainelBoxMessage
(-50, ("x:"
+ ((Class166.myPlayer
.anInt3733)
>> 763146727)
+ " z:"
+ ((Class166.myPlayer
.anInt3747)
>> -1313061689)));
if (command.equalsIgnoreCase("getheight"))
Class131_Sub2_Sub15.sendPainelBoxMessage
(-75, ("Height: "
+ (Class75.aClass68Array1023
[ItemDefinitions.anInt300].method712
((Class166.myPlayer
.anInt3733) >> -689676921,
(Class166.myPlayer
.anInt3747) >> 384878823))));
if (command.equalsIgnoreCase("resetminimap")) {
Class128.spritesIndex.method2373(true);
Class128.spritesIndex.method2356(false);
Class131_Sub41_Sub11.method2002(-60);
Class131_Sub2_Sub1.method1475((byte) 50);
}
if (command.startsWith("mc")) {
if (Class183_Sub1.aClass130_4960.method1159()) {
int i = Integer.parseInt(command.substring(3));
if (i < 1)
i = 1;
else if (i > 4)
i = 4;
Class131_Sub31.anInt4537 = i;
Class183_Sub1.aClass130_4960
.method1189(Class131_Sub31.anInt4537);
Class183_Sub1.aClass130_4960.method1183(0);
Class131_Sub2_Sub15.sendPainelBoxMessage
(-75, ("Render cores now: "
+ Class131_Sub31.anInt4537));
} else
Class131_Sub2_Sub15.sendPainelBoxMessage
(-98,
"Current toolkit doesn't support multiple cores");
}
if (command.startsWith("cachespace")) {
Class131_Sub2_Sub15.sendPainelBoxMessage
(-77, ("I(s): "
+ NPC.aClass214_6477
.method2781(-1)
+ "/"
+ NPC.aClass214_6477
.method2785(112)));
Class131_Sub2_Sub15.sendPainelBoxMessage
(-67,
("I(m): " + Class2.aClass214_83.method2781(-1)
+ "/" + Class2.aClass214_83.method2785(124)));
Class131_Sub2_Sub15.sendPainelBoxMessage
(-82, ("O(s): "
+ Class23_Sub3_Sub1.aClass103_5226
.method900(14361)
+ "/"
+ Class23_Sub3_Sub1.aClass103_5226
.method897(6798)));
}
if (command.equalsIgnoreCase("getcamerapos")) {
Class131_Sub2_Sub15.sendPainelBoxMessage
(-52, ("Pos: " + ItemDefinitions.anInt300 + ","
+ (((Class2.anInt84 >> 454691079)
- -Class92.regionAbsX)
>> -1845562010)
+ ","
+ (Class64.regionAbsY + (Class57.anInt753
>> 1251246279)
>> -43914778)
+ ","
+ (0x3f & ((Class2.anInt84 >> 341383111)
+ Class92.regionAbsX))
+ ","
+ (((Class57.anInt753 >> 1259785799)
- -Class64.regionAbsY)
& 0x3f)
+ " Height: "
+ ((RuntimeException_Sub1.method2833
(Class57.anInt753, -115, Class2.anInt84,
ItemDefinitions.anInt300))
- Class87.anInt1140)));
Class131_Sub2_Sub15.sendPainelBoxMessage
(-69,
("Look: " + ItemDefinitions.anInt300 + ","
+ (Class92.regionAbsX + Class23.anInt250
>> 560585222)
+ ","
+ (Class131_Sub41.anInt4675 + Class64.regionAbsY
>> -878168218)
+ ","
+ (Class92.regionAbsX + Class23.anInt250 & 0x3f)
+ ","
+ (Class131_Sub41.anInt4675 + Class64.regionAbsY
& 0x3f)
+ " Height: "
+ ((RuntimeException_Sub1.method2833
(Class131_Sub41.anInt4675, 120,
Class23.anInt250, ItemDefinitions.anInt300))
+ -Class131_Sub41_Sub18.anInt6400)));
}
if (command.equals("showocc")) {
Class93.aBoolean1223 = !Class93.aBoolean1223;
Class88.method827(1);
}
if (command.equals("renderprofile") || command.equals("rp")) {
Class21.aBoolean240 = !Class21.aBoolean240;
Class183_Sub1.aClass130_4960
.method1185(Class21.aBoolean240);
Class131_Sub1_Sub1.method1392(true);
}
if (command.equals("nonpcs"))
Canvas_Sub1.aBoolean42 = !Canvas_Sub1.aBoolean42;
if (command.equals("autoworld"))
Class23_Sub4_Sub5.method391(-23144);
if (command.equals("heap"))
Class131_Sub2_Sub15.sendPainelBoxMessage(-98, ("Heap: "+ Class1_Sub4.anInt3554 + "MB"));
if (command.equals("savevarcs"))
Class131_Sub38.method1891(6);
if (command.equals("scramblevarcs")) {
for (int i = 0;
((i ^ 0xffffffff)
> (Class131_Sub2_Sub33.anIntArray6025.length
^ 0xffffffff));
i++) {
if (Class43.aBooleanArray586[i]) {
Class131_Sub2_Sub33.anIntArray6025[i]
= (int) (99999.0 * Math.random());
if (Math.random() > 0.5)
Class131_Sub2_Sub33.anIntArray6025[i]
*= -1;
}
}
Class131_Sub38.method1891(6);
}
if (command.equals("showcolmap")) {
Class120.aBoolean1579 = true;
Class131_Sub2_Sub1.method1475((byte) 50);
}
if (command.equals("hidecolmap")) {
Class120.aBoolean1579 = false;
Class131_Sub2_Sub1.method1475((byte) 50);
}
if (command.equals("resetcache"))
Class131_Sub2_Sub10_Sub1.method1517(8110);
if (command.equals("profilecpu"))
Class131_Sub2_Sub15.sendPainelBoxMessage
(-121, (String.valueOf(Class204.method2733(-65536))
+ "ms"));
if ((Class133.anInt1803 ^ 0xffffffff) != -31)
break;
Class93.aClass131_Sub15_Sub2_1226.createPacket(171 );
Class131_Sub41_Sub21_Sub1.anInt6577++;
Class93.aClass131_Sub15_Sub2_1226.writeByte(2 + command.length());
Class93.aClass131_Sub15_Sub2_1226.writeByte(client Command ? 1 : 0);
Class93.aClass131_Sub15_Sub2_1226.writeString(comm and, (byte) 46);
} catch (Exception exception) {
Class131_Sub2_Sub15.sendPainelBoxMessage(-108, "Incorrect command prefix; Try again.");
break;
}
break;
}
} while (false);
}
Yeah, It's kinda the same :3

Flamingo
September 2nd, 2011, 22:52
Yeah, It's kinda the same :3 :P, ye but since most 562/602 clients are deobfuscated, alot of methods are different.

iiNarbz
September 2nd, 2011, 22:54
:P, ye but since most 562/602 clients are deobfuscated, alot of methods are different.
edit: The fuck am i posting bout , (::)? Lolwut <- Mindfucked.