Full source recovered from SBoT.jar (July 2004) plus the three bundled example scripts (BoneBury, GuildFish, GuildFisher). Class names are the original RSC-era single-letter obfuscation (a.java-z.java); mudclient.java and Script.java kept their real names since those weren't obfuscated.
114 lines
2.8 KiB
Java
114 lines
2.8 KiB
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*
|
|
* Could not load the following classes:
|
|
* ahd
|
|
* java.applet.Applet
|
|
*/
|
|
import java.applet.Applet;
|
|
import java.net.Socket;
|
|
|
|
public class r {
|
|
public static Applet a;
|
|
public static int b;
|
|
static int c;
|
|
static Socket d;
|
|
static Runnable e;
|
|
static String f;
|
|
static String g;
|
|
static int h;
|
|
private static String[] i;
|
|
private static byte[][] j;
|
|
|
|
public static final void a(String string, byte[] byArray) {
|
|
r.i[r.h] = string;
|
|
r.j[r.h] = byArray;
|
|
++h;
|
|
}
|
|
|
|
public static final byte[] a(String string) {
|
|
boolean bl = false;
|
|
return null;
|
|
}
|
|
|
|
/*
|
|
* Handled impossible loop by adding 'first' condition
|
|
* Enabled aggressive block sorting
|
|
* Enabled unnecessary exception pruning
|
|
* Enabled aggressive exception aggregation
|
|
*/
|
|
public static final Socket a(int n2) {
|
|
c = n2;
|
|
boolean bl = true;
|
|
do {
|
|
if (bl && !(bl = false) && !q.d) continue;
|
|
try {
|
|
Thread.sleep(100L);
|
|
}
|
|
catch (Exception exception) {}
|
|
} while (c != 0);
|
|
return d;
|
|
}
|
|
|
|
/*
|
|
* Handled impossible loop by adding 'first' condition
|
|
* Enabled aggressive block sorting
|
|
* Enabled unnecessary exception pruning
|
|
* Enabled aggressive exception aggregation
|
|
*/
|
|
public static final void a(Runnable runnable) {
|
|
Runnable runnable2 = runnable;
|
|
boolean bl = true;
|
|
do {
|
|
block5: {
|
|
block4: {
|
|
if (!bl || (bl = false)) break block4;
|
|
if (q.d) continue;
|
|
e = runnable2;
|
|
if (ahd.anl == 0) break block5;
|
|
}
|
|
try {
|
|
Thread.sleep(100L);
|
|
}
|
|
catch (Exception exception) {}
|
|
}
|
|
runnable2 = e;
|
|
} while (runnable2 != null);
|
|
}
|
|
|
|
/*
|
|
* Handled impossible loop by adding 'first' condition
|
|
* Enabled aggressive block sorting
|
|
* Enabled unnecessary exception pruning
|
|
* Enabled aggressive exception aggregation
|
|
*/
|
|
public static final String b(String string) {
|
|
String string2 = string;
|
|
boolean bl = true;
|
|
do {
|
|
block5: {
|
|
block4: {
|
|
if (!bl || (bl = false)) break block4;
|
|
if (q.d) continue;
|
|
f = string2;
|
|
if (ahd.anl == 0) break block5;
|
|
}
|
|
try {
|
|
Thread.sleep(100L);
|
|
}
|
|
catch (Exception exception) {}
|
|
}
|
|
string2 = f;
|
|
} while (string2 != null);
|
|
return g;
|
|
}
|
|
|
|
static {
|
|
e = null;
|
|
f = null;
|
|
i = new String[50];
|
|
j = new byte[50][];
|
|
}
|
|
}
|
|
|