Finished up just about everything.

This commit is contained in:
Travis Burtrum 2010-02-24 23:54:37 -05:00 committed by moparisthebest
parent 52ddb4e61c
commit afb966445b
57 changed files with 1932 additions and 2082 deletions

View File

@ -10329,8 +10329,10 @@ public class client extends RSApplet {
aBoolean1159 = false;
aBoolean1160 = false;
anInt1171 = 1;
myUsername = "mopar";
myPassword = "bob";
// myUsername = "mopar";
// myPassword = "bob";
myUsername = "";
myPassword = "";
genericLoadingError = false;
reportAbuseInterfaceID = -1;
aClass19_1179 = new NodeList();

View File

@ -15,7 +15,6 @@ import java.awt.event.WindowEvent;
import java.awt.event.WindowListener;
import java.lang.reflect.Method;
import java.net.URL;
import java.io.*;
public abstract class Applet_Sub1 extends Applet
implements Runnable, FocusListener, WindowListener {
@ -99,23 +98,23 @@ public abstract class Applet_Sub1 extends Applet
String string = SignLink.javaVendor.toLowerCase();
if (string.indexOf("sun") == -1 && (string.indexOf("apple") ^ 0xffffffff) == 0) {
if (string.indexOf("ibm") != -1 && (SignLink.javaVersion == null || SignLink.javaVersion.equals("1.4.2"))) {
error(690, "wrongjava");
error_fatal(690, "wrongjava");
return;
}
} else {
String string_0_ = SignLink.javaVersion;
if (string_0_.equals("1.1") || string_0_.startsWith("1.1.") || string_0_.equals("1.2") || string_0_.startsWith("1.2.")) {
error(690, "wrongjava");
error_fatal(690, "wrongjava");
return;
}
Class109.anInt1839 = 5;
}
}
if (Class75_Sub1_Sub1.aSignLink_4589.anApplet1042 != null) {
if (Class75_Sub1_Sub1.signlink.anApplet1042 != null) {
Method method = SignLink.setFocusCycleRoot;
if (method != null)
try {
method.invoke((Class75_Sub1_Sub1.aSignLink_4589.anApplet1042),
method.invoke((Class75_Sub1_Sub1.signlink.anApplet1042),
new Object[]{Boolean.TRUE});
} catch (Throwable throwable) {
/* empty */
@ -134,17 +133,17 @@ public abstract class Applet_Sub1 extends Applet
i++)
method30((byte) -71);
method25(-16633);
Canvas_Sub1.method46(Class75_Sub1_Sub1.aSignLink_4589,
Canvas_Sub1.method46(Class75_Sub1_Sub1.signlink,
Class86.aCanvas1585, (byte) -108);
}
} catch (Exception exception) {
Class71.method1339(null, exception, 38);
error(690, "crash");
error_fatal(690, "crash");
}
method20(true, 1000);
}
public void error(int i, String string) {
public void error_fatal(int i, String string) {
anInt20++;
if (!aBoolean6) {
aBoolean6 = true;
@ -233,7 +232,7 @@ public abstract class Applet_Sub1 extends Applet
if (Class69.anApplet_Sub1_1241 != null) {
Class68_Sub20_Sub7.anInt4255++;
if ((Class68_Sub20_Sub7.anInt4255 ^ 0xffffffff) <= -4)
error(690, "alreadyloaded");
error_fatal(690, "alreadyloaded");
else
getAppletContext().showDocument(getDocumentBase(),
"_self");
@ -250,15 +249,15 @@ public abstract class Applet_Sub1 extends Applet
/* empty */
}
if (i < -1) {
if (Class75_Sub1_Sub1.aSignLink_4589 == null)
Class85.aSignLink_1553 = Class75_Sub1_Sub1.aSignLink_4589 = new SignLink(false, this, i_4_, null, 0);
Class75_Sub1_Sub1.aSignLink_4589.method558((byte) -95, 1,
if (Class75_Sub1_Sub1.signlink == null)
Class85.aSignLink_1553 = Class75_Sub1_Sub1.signlink = new SignLink(false, this, i_4_, null, 0);
Class75_Sub1_Sub1.signlink.method558((byte) -95, 1,
this);
}
}
} catch (Exception exception) {
Class71.method1339(null, exception, 38);
error(690, "crash");
error_fatal(690, "crash");
}
}
@ -275,8 +274,8 @@ public abstract class Applet_Sub1 extends Applet
return;
PlayerDefinition.aBoolean2185 = true;
}
if (Class75_Sub1_Sub1.aSignLink_4589.anApplet1042 != null)
Class75_Sub1_Sub1.aSignLink_4589.anApplet1042.destroy();
if (Class75_Sub1_Sub1.signlink.anApplet1042 != null)
Class75_Sub1_Sub1.signlink.anApplet1042.destroy();
try {
method29(-121);
} catch (Exception exception) {
@ -289,9 +288,9 @@ public abstract class Applet_Sub1 extends Applet
} catch (Exception exception) {
/* empty */
}
if (Class75_Sub1_Sub1.aSignLink_4589 != null)
if (Class75_Sub1_Sub1.signlink != null)
try {
Class75_Sub1_Sub1.aSignLink_4589.method566(0);
Class75_Sub1_Sub1.signlink.method566(0);
} catch (Exception exception) {
/* empty */
}
@ -327,8 +326,8 @@ public abstract class Applet_Sub1 extends Applet
Insets insets = Class108.aFrame1832.getInsets();
Class108.aFrame1832.setSize((insets.left + (Class68_Sub20_Sub17.anInt4437 + insets.right)),
(Class21renamed.anInt479 - -insets.top + insets.bottom));
Class85.aSignLink_1553 = Class75_Sub1_Sub1.aSignLink_4589 = new SignLink(true, null, i_12_, string, i_10_);
Class75_Sub1_Sub1.aSignLink_4589.method558((byte) -36, 1, this);
Class85.aSignLink_1553 = Class75_Sub1_Sub1.signlink = new SignLink(true, null, i_12_, string, i_10_);
Class75_Sub1_Sub1.signlink.method558((byte) -36, 1, this);
if (i_9_ >= 86)
break;
getDocumentBase();
@ -348,8 +347,8 @@ public abstract class Applet_Sub1 extends Applet
anInt14++;
if (Class108.aFrame1832 != null)
return null;
if (Class75_Sub1_Sub1.aSignLink_4589 != null && this != Class75_Sub1_Sub1.aSignLink_4589.anApplet1042)
return Class75_Sub1_Sub1.aSignLink_4589.anApplet1042.getDocumentBase();
if (Class75_Sub1_Sub1.signlink != null && this != Class75_Sub1_Sub1.signlink.anApplet1042)
return Class75_Sub1_Sub1.signlink.anApplet1042.getDocumentBase();
return super.getDocumentBase();
}
@ -367,7 +366,7 @@ public abstract class Applet_Sub1 extends Applet
public static void method24(SignLink class55) {
anInt8++;
Class85.aSignLink_1553 = Class75_Sub1_Sub1.aSignLink_4589 = class55;
Class85.aSignLink_1553 = Class75_Sub1_Sub1.signlink = class55;
}
public void method25(int i) {
@ -424,7 +423,7 @@ public abstract class Applet_Sub1 extends Applet
}
if (string.endsWith("192.168.1."))
return true;
error(690, "invalidhost");
error_fatal(690, "invalidhost");
return false;
}
@ -447,8 +446,8 @@ public abstract class Applet_Sub1 extends Applet
anInt19++;
if (Class108.aFrame1832 != null)
return null;
if (Class75_Sub1_Sub1.aSignLink_4589 != null && Class75_Sub1_Sub1.aSignLink_4589.anApplet1042 != this)
return Class75_Sub1_Sub1.aSignLink_4589.anApplet1042.getCodeBase();
if (Class75_Sub1_Sub1.signlink != null && Class75_Sub1_Sub1.signlink.anApplet1042 != this)
return Class75_Sub1_Sub1.signlink.anApplet1042.getCodeBase();
return super.getCodeBase();
}
@ -490,8 +489,8 @@ public abstract class Applet_Sub1 extends Applet
anInt24++;
if (Class108.aFrame1832 != null)
return null;
if (Class75_Sub1_Sub1.aSignLink_4589 != null && this != Class75_Sub1_Sub1.aSignLink_4589.anApplet1042)
return Class75_Sub1_Sub1.aSignLink_4589.anApplet1042.getParameter(string);
if (Class75_Sub1_Sub1.signlink != null && this != Class75_Sub1_Sub1.signlink.anApplet1042)
return Class75_Sub1_Sub1.signlink.anApplet1042.getParameter(string);
return super.getParameter(string);
}
@ -506,7 +505,7 @@ public abstract class Applet_Sub1 extends Applet
if (Class108.aFrame1832 != null)
container = Class108.aFrame1832;
else
container = Class75_Sub1_Sub1.aSignLink_4589.anApplet1042;
container = Class75_Sub1_Sub1.signlink.anApplet1042;
else
container = Class1_Sub2.aFrame2429;
anInt23++;
@ -563,8 +562,8 @@ public abstract class Applet_Sub1 extends Applet
anInt21++;
if (Class108.aFrame1832 != null)
return null;
if (Class75_Sub1_Sub1.aSignLink_4589 != null && this != Class75_Sub1_Sub1.aSignLink_4589.anApplet1042)
return Class75_Sub1_Sub1.aSignLink_4589.anApplet1042.getAppletContext();
if (Class75_Sub1_Sub1.signlink != null && this != Class75_Sub1_Sub1.signlink.anApplet1042)
return Class75_Sub1_Sub1.signlink.anApplet1042.getAppletContext();
return super.getAppletContext();
}

View File

@ -79,16 +79,16 @@ public class Class107
}
}
public static RuntimeException_Sub1 method1652(Throwable throwable,
public static GameException method1652(Throwable throwable,
String string) {
anInt1812++;
RuntimeException_Sub1 runtimeexception_sub1;
if (throwable instanceof RuntimeException_Sub1) {
runtimeexception_sub1 = (RuntimeException_Sub1) throwable;
GameException runtimeexception_sub1;
if (throwable instanceof GameException) {
runtimeexception_sub1 = (GameException) throwable;
runtimeexception_sub1.aString2239 += ' ' + (String) string;
} else
runtimeexception_sub1
= new RuntimeException_Sub1(throwable, string);
= new GameException(throwable, string);
return runtimeexception_sub1;
}

View File

@ -57,7 +57,7 @@ public class Class11
else if (Class108.aFrame1832 != null)
container = Class108.aFrame1832;
else
container = Class75_Sub1_Sub1.aSignLink_4589.anApplet1042;
container = Class75_Sub1_Sub1.signlink.anApplet1042;
anInt188++;
Class68_Sub20_Sub17.anInt4437 = container.getSize().width;
Class21renamed.anInt479 = container.getSize().height;
@ -90,8 +90,8 @@ public class Class11
Class36.aLong644 = Class36.method438(17161) + (long) i;
ISAACRandomGen.aLong1480 = Class36.method438(17161) - -(long) i;
if (i == 0 && PlayerDefinition.connection != null
&& ((RuntimeException_Sub1.anInt2231 ^ 0xffffffff) == -31
|| RuntimeException_Sub1.anInt2231 == 25))
&& ((GameException.anInt2231 ^ 0xffffffff) == -31
|| GameException.anInt2231 == 25))
Class68_Sub20_Sub6.method1071((byte) -118);
}

View File

@ -113,7 +113,7 @@ public class Class127
if (i != Class68_Sub13_Sub10.anInt3597) {
try {
Class103.aRSString_1771.method1604((Class75_Sub1_Sub1
.aSignLink_4589
.signlink
.anApplet1042),
(byte) -123);
return true;

View File

@ -35,7 +35,7 @@ public class Class13_Sub1 extends Class13
sprite
= (Sprite) GameSocket.aClass68_Sub20_Sub10_1144;
anInt2625++;
int[] is = sprite.anIntArray4615;
int[] is = sprite.pixels;
int i_1_ = is.length;
for (int i_2_ = 0; (i_2_ ^ 0xffffffff) > (i_1_ ^ 0xffffffff); i_2_++)
is[i_2_] = 1;
@ -327,8 +327,8 @@ public class Class13_Sub1 extends Class13
method252(47);
anInt2620++;
Class49.method524(16322);
if ((RuntimeException_Sub1.anInt2231 ^ 0xffffffff) == -31
|| RuntimeException_Sub1.anInt2231 == 25) {
if ((GameException.anInt2231 ^ 0xffffffff) == -31
|| GameException.anInt2231 == 25) {
Class75_Sub2.anInt3313++;
if (Class75_Sub2.anInt3313 >= 50 || bool) {
Class75_Sub2.anInt3313 = 0;

View File

@ -24,8 +24,8 @@ public class Class17 {
aBoolean284 = true;
}
anInt282++;
if (i != RuntimeException_Sub1.anInt2231) {
if (RuntimeException_Sub1.anInt2231 == 0) {
if (i != GameException.anInt2231) {
if (GameException.anInt2231 == 0) {
Class68_Sub20_Sub2.method1044((byte) -79);
}
if ((i ^ 0xffffffff) == -41) {
@ -51,7 +51,7 @@ public class Class17 {
} else {
Class13_Sub1.method253(20);
}
boolean bool_1_ = (RuntimeException_Sub1.anInt2231 == 5 || (RuntimeException_Sub1.anInt2231 ^ 0xffffffff) == -11 || (RuntimeException_Sub1.anInt2231 ^ 0xffffffff) == -29);
boolean bool_1_ = (GameException.anInt2231 == 5 || (GameException.anInt2231 ^ 0xffffffff) == -11 || (GameException.anInt2231 ^ 0xffffffff) == -29);
if (!bool_1_ != !bool) {
if (bool) {
Class101.anInt1745 = Class68_Sub13_Sub15.anInt3681;
@ -69,7 +69,7 @@ public class Class17 {
Class50.method530(true, false);
}
}
RuntimeException_Sub1.anInt2231 = i;
GameException.anInt2231 = i;
}
}

View File

@ -213,7 +213,7 @@ public class Class1_Sub5 extends Animable
Login.aClass113_1512
.method1678((long) class45.anInt792, -63));
if (class68_sub3 != null)
RuntimeException_Sub1
GameException
.method1796(113, class68_sub3.anInt2803, i);
}
if ((i ^ 0xffffffff) == -1

View File

@ -37,7 +37,7 @@ public class Class1_Sub6_Sub1 extends Class1_Sub6
if (Class68_Sub20_Sub13_Sub2.aBoolean4629
&& class80.aBoolean1448) {
Class1_Sub3 class1_sub3_8_
= (RuntimeException_Sub1.method1793
= (GameException.method1793
(anInt2537, i, anInt2582, class1_sub3,
class117_7_ == null ? anInt2522 : anInt2555,
class117_7_ != null ? class117_7_ : class117,

View File

@ -249,7 +249,7 @@ public class Class1_Sub6_Sub2 extends Class1_Sub6
|| (Class68_Sub13_Sub11.method753
(aClass126_3410.anInt2201, -103).aBoolean1448))) {
Class1_Sub3 class1_sub3_40_
= (RuntimeException_Sub1.method1793
= (GameException.method1793
(anInt2537, i, anInt2582, class1_sub3,
class117_39_ != null ? anInt2555 : anInt2522,
class117_39_ != null ? class117_39_ : class117,

View File

@ -60,7 +60,7 @@ public class Class20
anInt410++;
Class68_Sub6.aClass68_Sub20_Sub1_2847
= Class90.method1509(class21, 0, (byte) 58, class21_0_,
RuntimeException_Sub1.anInt2241);
GameException.anInt2241);
Class68_Sub13_Sub4.aClass68_Sub20_Sub1_3511
= Class90.method1509(class21, 0, (byte) 67, class21_0_,
Class50.anInt986);

View File

@ -51,7 +51,7 @@ public class Class21_Sub1 extends Class21renamed
if (is == null || is.length <= 2) {
aBooleanArray2717[i_1_] = false;
if (aBoolean2704 || bool)
RuntimeException_Sub1.method1798(bool,
GameException.method1798(bool,
anIntArray468[i_1_],
anInt2697, (byte) 2,
i_1_, this,
@ -67,7 +67,7 @@ public class Class21_Sub1 extends Class21renamed
|| i_3_ != anIntArray474[i_1_]) {
aBooleanArray2717[i_1_] = false;
if (aBoolean2704 || bool)
RuntimeException_Sub1.method1798(bool,
GameException.method1798(bool,
anIntArray468[i_1_],
anInt2697, (byte) 2,
i_1_, this,
@ -82,7 +82,7 @@ public class Class21_Sub1 extends Class21renamed
if (aBoolean2696)
throw new RuntimeException();
if (is == null) {
RuntimeException_Sub1.method1798(true, anInt2701, 255,
GameException.method1798(true, anInt2701, 255,
(byte) 0, anInt2697, this,
(byte) 22);
return;
@ -91,7 +91,7 @@ public class Class21_Sub1 extends Class21renamed
PacketParser.aCRC32_1872.update(is, 0, is.length);
int i_4_ = (int) PacketParser.aCRC32_1872.getValue();
if ((anInt2701 ^ 0xffffffff) != (i_4_ ^ 0xffffffff)) {
RuntimeException_Sub1.method1798(true, anInt2701, 255,
GameException.method1798(true, anInt2701, 255,
(byte) 0, anInt2697, this,
(byte) 22);
return;
@ -101,14 +101,14 @@ public class Class21_Sub1 extends Class21renamed
class68_sub14
= new Stream(RSString.method1612(is, true));
} catch (RuntimeException runtimeexception) {
RuntimeException_Sub1.method1798(true, anInt2701, 255,
GameException.method1798(true, anInt2701, 255,
(byte) 0, anInt2697, this,
(byte) 22);
return;
}
int i_5_ = class68_sub14.readUnsignedByte(-6677);
if ((i_5_ ^ 0xffffffff) != -6 && i_5_ != 6) {
RuntimeException_Sub1.method1798(true, anInt2701, 255,
GameException.method1798(true, anInt2701, 255,
(byte) 0, anInt2697, this,
(byte) 22);
return;
@ -117,7 +117,7 @@ public class Class21_Sub1 extends Class21renamed
if (i_5_ >= 6)
i_6_ = class68_sub14.readDWord();
if ((i_6_ ^ 0xffffffff) != (anInt2708 ^ 0xffffffff)) {
RuntimeException_Sub1.method1798(true, anInt2701, 255,
GameException.method1798(true, anInt2701, 255,
(byte) 0, anInt2697, this,
(byte) 22);
return;
@ -205,7 +205,7 @@ public class Class21_Sub1 extends Class21renamed
if (aUnknown_2713 != null)
Class60.method586(aUnknown_2713, this, 1, anInt2697);
else
RuntimeException_Sub1.method1798(true, anInt2701, 255, (byte) 0,
GameException.method1798(true, anInt2701, 255, (byte) 0,
anInt2697, this, (byte) 22);
if (i_15_ <= 76)
aLongArray2703 = null;
@ -340,7 +340,7 @@ public class Class21_Sub1 extends Class21renamed
if (this.method346(i_61_, 0)) {
if (aUnknown_2699 == null || aBooleanArray2717 == null
|| !aBooleanArray2717[i_61_])
RuntimeException_Sub1.method1798(true, anIntArray468[i_61_],
GameException.method1798(true, anIntArray468[i_61_],
anInt2697, (byte) 2, i_61_,
this, (byte) 22);
else

View File

@ -690,7 +690,7 @@ public abstract class Class21renamed
Class103.anInt1774 = 0;
Class68_Sub13_Sub21.anInt3798 = 0;
Animable.anInt55 = 0;
RuntimeException_Sub1.anInt2245 = 0;
GameException.anInt2245 = 0;
Class1_Sub7.anInt2615 = 0;
Class68_Sub13_Sub37.anInt4074 = 0;
Class68_Sub17.anInt3032 = 0;
@ -880,7 +880,7 @@ public abstract class Class21renamed
Class11.anInt189 = 0;
Class112.anInt1882 = 0;
Stream.anInt2986 = 0;
RuntimeException_Sub1.anInt2234 = 0;
GameException.anInt2234 = 0;
Class72_Sub1.anInt3270 = 0;
Class75_Sub1_Sub1.anInt4576 = 0;
Stream.anInt2997 = 0;
@ -1153,7 +1153,7 @@ public abstract class Class21renamed
anInt460 = 0;
PacketParser.anInt1873 = 0;
Class68_Sub9.anInt2899 = 0;
RuntimeException_Sub1.anInt2235 = 0;
GameException.anInt2235 = 0;
Class36.anInt645 = 0;
Class9.anInt171 = 0;
Class68_Sub13_Sub11.anInt3607 = 0;
@ -1222,7 +1222,7 @@ public abstract class Class21renamed
Class68_Sub13_Sub19.anInt3751 = 0;
Class44.anInt751 = 0;
Class53.anInt1021 = 0;
RuntimeException_Sub1.anInt2237 = 0;
GameException.anInt2237 = 0;
Class68_Sub13_Sub8.anInt3562 = 0;
Class1_Sub7.anInt2610 = 0;
Class68_Sub13_Sub9.anInt3573 = 0;
@ -1278,7 +1278,7 @@ public abstract class Class21renamed
Class45.anInt809 = 0;
Class68_Sub20_Sub6.anInt4238 = 0;
Class68_Sub13_Sub15.anInt3693 = 0;
RuntimeException_Sub1.anInt2233 = 0;
GameException.anInt2233 = 0;
Class30.anInt547 = 0;
Class71.anInt1295 = 0;
Class116.anInt2001 = 0;
@ -1698,7 +1698,7 @@ public abstract class Class21renamed
Class68_Sub28_Sub1.anInt4486 = 0;
Class13_Sub4.anInt2684 = 0;
Class32.anInt561 = 0;
RuntimeException_Sub1.anInt2242 = 0;
GameException.anInt2242 = 0;
Class68_Sub29.anInt3245 = 0;
Class68_Sub13_Sub36.anInt4045 = 0;
Class11.anInt190 = 0;
@ -1740,7 +1740,7 @@ public abstract class Class21renamed
Class72_Sub1.anInt3280 = 0;
Class86.anInt1581 = 0;
Class68_Sub20_Sub13.anInt4356 = 0;
RuntimeException_Sub1.anInt2238 = 0;
GameException.anInt2238 = 0;
Class68_Sub6.anInt2837 = 0;
Class105.anInt1796 = 0;
Class68_Sub13_Sub20.anInt3762 = 0;

View File

@ -72,7 +72,7 @@ public class Class32
Class71.method1340(-1, i_2_);
int i_5_ = -12 / ((i_3_ - 65) / 56);
if (Class68_Sub13_Sub10.anInt3595 != -1)
RuntimeException_Sub1.method1796(99, Class68_Sub13_Sub10.anInt3595,
GameException.method1796(99, Class68_Sub13_Sub10.anInt3595,
1);
return class68_sub3;
}

View File

@ -187,7 +187,7 @@ public class Class35
!= (i_15_ ^ 0xffffffff))) {
Sprite sprite
= new Sprite(i_16_, i_15_);
Class79.method1432(sprite.anIntArray4615,
Class79.method1432(sprite.pixels,
i_16_, i_15_);
Class68_Sub29.method1323(0, 0, Class103.anInt1768, 0, 0, i_16_,
1391070128, i_15_,
@ -404,7 +404,7 @@ public class Class35
anInt607++;
Class113.anInt1912
= class21.method335(Class90.aRSString_2355, (byte) -103);
RuntimeException_Sub1.anInt2241
GameException.anInt2241
= class21.method335(Class7.aRSString_123, (byte) -117);
Class50.anInt986
= class21.method335(Class37.aRSString_650, (byte) -112);

View File

@ -67,7 +67,7 @@ public class Class43
Class84.method1476(i + 96, null);
Class90.anIntArray2345 = new int[32768];
Class68_Sub20.anIntArray3090 = new int[32768];
RuntimeException_Sub1.aSprite_2246
GameException.aSprite_2246
= new Sprite(128, 254);
}

View File

@ -80,7 +80,7 @@ public class Class49 {
Class88.anInt1602++;
}
if (Class68_Sub13_Sub27.anInt3914 == 1) {
Class13_Sub2.aClass31_2657 = (Class75_Sub1_Sub1.aSignLink_4589.newJagSocket(Class68_Sub9.serverAddress, (byte) 113, Class103.port));
Class13_Sub2.aClass31_2657 = (Class75_Sub1_Sub1.signlink.newJagSocket(Class68_Sub9.serverAddress, (byte) 113, Class103.port));
Class68_Sub13_Sub27.anInt3914 = 2;
}
if ((Class68_Sub13_Sub27.anInt3914 ^ 0xffffffff) == -3) {
@ -89,7 +89,7 @@ public class Class49 {
if (Class13_Sub2.aClass31_2657.anInt555 != 1)
return;
PlayerDefinition.connection = new GameSocket(((Socket) Class13_Sub2.aClass31_2657.playerDefSocket),
Class75_Sub1_Sub1.aSignLink_4589);
Class75_Sub1_Sub1.signlink);
Class13_Sub2.aClass31_2657 = null;
PlayerDefinition.connection.queueBytes(
Class21renamed.stream.currentOffset,

View File

@ -365,7 +365,7 @@ public class Class58
if (Class76.aClass52_1354 != null)
break;
Class76.aClass52_1354
= new Class52(Class75_Sub1_Sub1.aSignLink_4589,
= new Class52(Class75_Sub1_Sub1.signlink,
Class68_Sub20_Sub13_Sub2.method1166
(2, (new RSString[]
{ Class88.method1492(-1),

View File

@ -46,7 +46,7 @@ public class Class59
aRSString_1112 = Class112.method1668(43, "mapdots");
anInt1109 = 0;
aRSString_1108 = aRSString_1110;
aRSString_1111 = Class112.method1668(43, "Clientscript error in: ");
aRSString_1111 = Class112.method1668(43, "Clientscript error_fatal in: ");
aShortArray1107 = new short[] { -4160, -4163, -8256, -8259, 22461 };
}
}

View File

@ -66,7 +66,7 @@ public abstract class Class68_Sub13 extends Class68
if (i_0_ < 118)
aClass92_Sub1Array2921 = null;
Class68_Sub13_Sub11.anInt3620 = i;
RuntimeException_Sub1.aClass21_2236 = null;
GameException.aClass21_2236 = null;
}
public int method693(byte i) {

View File

@ -154,7 +154,7 @@ public class Class68_Sub13_Sub10 extends Class68_Sub13
Class68_Sub13_Sub15.anInt3687, Class33.anInt588,
(byte) -107);
if (anInt3595 != -1)
RuntimeException_Sub1.method1796(116, anInt3595, 1);
GameException.method1796(116, anInt3595, 1);
}
static {

View File

@ -128,15 +128,15 @@ public class Class68_Sub13_Sub11 extends Class68_Sub13
public static void method747(RSString class100, byte i) {
anInt3624++;
Class26.aRSString_521 = class100;
if (Class75_Sub1_Sub1.aSignLink_4589.anApplet1042 != null) {
if (Class75_Sub1_Sub1.signlink.anApplet1042 != null) {
try {
RSString class100_19_
= (Class68_Sub13_Sub7.aRSString_3551.method1610
(Class75_Sub1_Sub1.aSignLink_4589.anApplet1042,
(Class75_Sub1_Sub1.signlink.anApplet1042,
(byte) -31));
RSString class100_20_
= (Class68_Sub13_Sub16.aRSString_3694.method1610
(Class75_Sub1_Sub1.aSignLink_4589.anApplet1042,
(Class75_Sub1_Sub1.signlink.anApplet1042,
(byte) -31));
RSString class100_21_
= (Class68_Sub20_Sub13_Sub2.method1166
@ -168,7 +168,7 @@ public class Class68_Sub13_Sub11 extends Class68_Sub13
Class68_Sub20.aRSString_3091 })
.method1599
((byte) -45,
Class75_Sub1_Sub1.aSignLink_4589.anApplet1042);
Class75_Sub1_Sub1.signlink.anApplet1042);
} catch (Throwable throwable) {
/* empty */
}
@ -391,7 +391,7 @@ public class Class68_Sub13_Sub11 extends Class68_Sub13
if (class48 != null)
return class48;
byte[] is = (Class66.aClass21_1203.method338
(RuntimeException_Sub1.method1795(i_51_, 72), i ^ 0x51,
(GameException.method1795(i_51_, 72), i ^ 0x51,
Class68_Sub20_Sub8.method1094(i_51_, 654593194)));
class48 = new Class48();
if (is != null)

View File

@ -67,7 +67,7 @@ public class Class68_Sub13_Sub13 extends Class68_Sub13
= new Sprite(36, 32);
if (i_0_ > -123)
method759(-88, 64);
Class79.method1432(sprite_11_.anIntArray4615, 36,
Class79.method1432(sprite_11_.pixels, 36,
32);
Class62.method612();
Class62.method603(16, 16);
@ -91,14 +91,14 @@ public class Class68_Sub13_Sub13 extends Class68_Sub13
sprite_11_.method1118(1);
if ((i_3_ ^ 0xffffffff) <= -3)
sprite_11_.method1118(16777215);
Class79.method1432(sprite_11_.anIntArray4615, 36,
Class79.method1432(sprite_11_.pixels, 36,
32);
}
if ((i ^ 0xffffffff) != -1)
sprite_11_.method1123(i);
if ((class19.anInt385 ^ 0xffffffff) == 0) {
if ((class19.anInt339 ^ 0xffffffff) != 0) {
Class79.method1432(sprite.anIntArray4615, 36,
Class79.method1432(sprite.pixels, 36,
32);
sprite_11_.method1103(0, 0);
sprite_11_ = sprite;
@ -198,7 +198,7 @@ public class Class68_Sub13_Sub13 extends Class68_Sub13
Class70.anInt1287 = 1;
anInt3653++;
if (i == 16777215)
RuntimeException_Sub1.aClass21_2236 = null;
GameException.aClass21_2236 = null;
}
public boolean method761(int i) {

View File

@ -301,7 +301,7 @@ public class Class68_Sub13_Sub19 extends Class68_Sub13
= (Class68_Sub20_Sub13_Sub2.method1166
(2,
(new RSString[]
{ RuntimeException_Sub1.aRSString_2232,
{ GameException.aRSString_2232,
class93.aRSString_1670,
Class68_Sub20_Sub11.aRSString_4333,
class100, Class13_Sub1.aRSString_2624,

View File

@ -87,7 +87,7 @@ public class Class68_Sub13_Sub26 extends Class68_Sub13
64);
sprite.method1129();
anInt3882 = sprite.anInt4309;
anIntArray3872 = sprite.anIntArray4615;
anIntArray3872 = sprite.pixels;
anInt3881 = sprite.anInt4311;
return true;
}

View File

@ -72,7 +72,7 @@ public class Class68_Sub13_Sub33 extends Class68_Sub13
i_21_++) {
if (i_20_ == Class119.anIntArray2089[i_21_]
&& is[i_21_] != null) {
RuntimeException_Sub1.method1797
GameException.method1797
(i_12_, bool, 8 * (0x7 & i_19_),
8 * i_13_, i_17_, (i_18_ & 0x7) * 8,
is[i_21_], i_16_,

View File

@ -144,7 +144,7 @@ public class Class68_Sub13_Sub34 extends Class68_Sub13
if ((Class70.anInt1287 ^ 0xffffffff) == -3) {
if (client.aClass68_Sub12_2379 == null) {
client.aClass68_Sub12_2379
= Class68_Sub12.method686((RuntimeException_Sub1
= Class68_Sub12.method686((GameException
.aClass21_2236),
(Class68_Sub20_Sub15
.anInt4403),
@ -165,7 +165,7 @@ public class Class68_Sub13_Sub34 extends Class68_Sub13
Class1_Sub2.aClass68_Sub28_Sub1_2433.method1259
(Class52.aBoolean998, true,
client.aClass68_Sub12_2379);
RuntimeException_Sub1.aClass21_2236 = null;
GameException.aClass21_2236 = null;
client.aClass68_Sub12_2379 = null;
Class70.anInt1287 = 0;
Class93.aClass14_1667 = null;
@ -175,7 +175,7 @@ public class Class68_Sub13_Sub34 extends Class68_Sub13
} catch (Exception exception) {
exception.printStackTrace();
Class1_Sub2.aClass68_Sub28_Sub1_2433.method1249(73);
RuntimeException_Sub1.aClass21_2236 = null;
GameException.aClass21_2236 = null;
client.aClass68_Sub12_2379 = null;
Class70.anInt1287 = 0;
Class93.aClass14_1667 = null;

View File

@ -261,7 +261,7 @@ public class Class68_Sub13_Sub37 extends Class68_Sub13
if ((class100.method1590((byte) -97) ^ 0xffffffff) < -7)
return (Class68_Sub20_Sub13_Sub2.method1166
(2, (new RSString[]
{ RuntimeException_Sub1.aRSString_2240,
{ GameException.aRSString_2240,
class100.method1607(0, (byte) -74,
(class100.method1590((byte) -99)
+ -4)),

View File

@ -117,7 +117,7 @@ public class Class68_Sub13_Sub38 extends Class68_Sub13
public static void method899(int i, Class21renamed class21, boolean bool,
int i_10_, int i_11_, boolean bool_12_) {
RuntimeException_Sub1.aClass21_2236 = class21;
GameException.aClass21_2236 = class21;
Class70.anInt1287 = 1;
Class68_Sub13_Sub11.anInt3620 = 10000;
Class68_Sub20_Sub15.anInt4403 = i;

View File

@ -132,7 +132,7 @@ public class Class68_Sub13_Sub7 extends Class68_Sub13
int i_5_ = 0;
if (class21.method360(Class113.anInt1912, 0))
i_5_++;
if (class21.method360(RuntimeException_Sub1.anInt2241, 0))
if (class21.method360(GameException.anInt2241, 0))
i_5_++;
if (class21.method360(Class50.anInt986, 0))
i_5_++;
@ -140,7 +140,7 @@ public class Class68_Sub13_Sub7 extends Class68_Sub13
i_5_++;
if (i < 43)
method726((byte) -13, null);
if (class21_4_.method360(RuntimeException_Sub1.anInt2241, 0))
if (class21_4_.method360(GameException.anInt2241, 0))
i_5_++;
if (class21_4_.method360(Class50.anInt986, 0))
i_5_++;

View File

@ -160,7 +160,7 @@ public class Class68_Sub13_Sub9 extends Class68_Sub13
Class1_Sub2.aClass68_Sub28_Sub1_2433.method1249(98);
Class1_Sub2.aClass68_Sub28_Sub1_2433.method1246(true);
client.aClass68_Sub12_2379 = null;
if (RuntimeException_Sub1.aClass21_2236 != null)
if (GameException.aClass21_2236 != null)
Class70.anInt1287 = 2;
else
Class70.anInt1287 = 0;
@ -175,7 +175,7 @@ public class Class68_Sub13_Sub9 extends Class68_Sub13
client.aClass68_Sub12_2379 = null;
Class93.aClass14_1667 = null;
Class70.anInt1287 = 0;
RuntimeException_Sub1.aClass21_2236 = null;
GameException.aClass21_2236 = null;
break;
}
break;

View File

@ -26,12 +26,12 @@ public class Class68_Sub17 extends Class68
method991(-70, false, 8, -46, 86);
Class68_Sub13_Sub36.method887(22050, 2, Class74.aBoolean1324, 81);
Class68_Sub13_Sub36.aClass35_4035
= Class55.method1717(Class75_Sub1_Sub1.aSignLink_4589, (byte) 104,
= Class55.method1717(Class75_Sub1_Sub1.signlink, (byte) 104,
Class86.aCanvas1585, 22050, 0);
Class68_Sub13_Sub36.aClass35_4035
.method425(false, Class54.aClass68_Sub28_Sub1_1028);
Animable.aClass35_66
= Class55.method1717(Class75_Sub1_Sub1.aSignLink_4589, (byte) 104,
= Class55.method1717(Class75_Sub1_Sub1.signlink, (byte) 104,
Class86.aCanvas1585, 2048, 1);
Animable.aClass35_66.method425(false, Class80.aClass68_Sub28_Sub4_1418);
}

View File

@ -46,7 +46,7 @@ public class Class68_Sub20_Sub11 extends Class68_Sub20
anInt4329++;
synchronized (Class63.anObject1169) {
if (Class9.anInt169 == 0)
Class75_Sub1_Sub1.aSignLink_4589.method558((byte) -58, 5,
Class75_Sub1_Sub1.signlink.method558((byte) -58, 5,
new Class87());
Class9.anInt169 = i;
}

View File

@ -68,6 +68,6 @@ public class Class68_Sub20_Sub5 extends Class68_Sub20
anInt4225 = 0;
anInt4229 = 0;
aRSString_4228 = (Class112.method1668
(43, "Clientscript error )2 check log for details"));
(43, "Clientscript error_fatal )2 check log for details"));
}
}

View File

@ -148,7 +148,7 @@ public class Class68_Sub20_Sub8 extends Class68_Sub20
}
if ((i_7_ ^ 0xffffffff) == -8) {
Class21renamed.stream.createFrame(152);
RuntimeException_Sub1.anInt2242++;
GameException.anInt2242++;
Class21renamed.stream.writeWordBigEndianA((byte) 19, i_9_);
Class21renamed.stream.writeWordA(i_8_, -49);
Class21renamed.stream.writeDWord_v1((byte) -102, i_6_);
@ -689,7 +689,7 @@ public class Class68_Sub20_Sub8 extends Class68_Sub20
Class21renamed.stream.createFrame(113);
Class21renamed.stream.writeDWord(
i_6_);
RuntimeException_Sub1.anInt2235++;
GameException.anInt2235++;
Class45 class45
= Class68_Sub20_Sub15.method1170(i_6_, (byte) -80);
if (class45.anIntArrayArray908 != null
@ -811,7 +811,7 @@ public class Class68_Sub20_Sub8 extends Class68_Sub20
}
int i_11_ = -68 % ((i - -6) / 56);
if ((i_7_ ^ 0xffffffff) == -29) {
RuntimeException_Sub1.anInt2235++;
GameException.anInt2235++;
Class21renamed.stream.createFrame(113);
Class21renamed.stream.writeDWord(
i_6_);
@ -1083,7 +1083,7 @@ public class Class68_Sub20_Sub8 extends Class68_Sub20
if ((class45.anInt808 ^ 0xffffffff) < -1)
bool = Class54.method554(class45, 29905);
if (bool) {
RuntimeException_Sub1.anInt2235++;
GameException.anInt2235++;
Class21renamed.stream.createFrame(113);
Class21renamed.stream
.writeDWord( i_6_);

View File

@ -2222,7 +2222,7 @@ public class Class68_Sub28_Sub1 extends Class68_Sub28 {
int i_225_ = Class68_Sub13.anIntArray2924[--i_85_];
RSString password = Class68_Sub15.stringArray[1 + i_89_];
RSString username = Class68_Sub15.stringArray[i_89_];
if (RuntimeException_Sub1.anInt2231 == 10) {
if (GameException.anInt2231 == 10) {
if (Class32.anInt574 == 0 && Class68_Sub13_Sub27.anInt3914 == 0) {
Class16.method283(password, i ^ 0x4a, username, i_225_);
}
@ -2241,7 +2241,7 @@ public class Class68_Sub28_Sub1 extends Class68_Sub28 {
}
if ((i_87_ ^ 0xffffffff) == -5604) {
i_85_ -= 4;
if ((RuntimeException_Sub1.anInt2231 ^ 0xffffffff) == -11) {
if ((GameException.anInt2231 ^ 0xffffffff) == -11) {
if ((Class32.anInt574 ^ 0xffffffff) == -1 && (Class68_Sub13_Sub27.anInt3914 ^ 0xffffffff) == -1) {
Class97.method1560(Class68_Sub13.anIntArray2924[i_85_], Class68_Sub13.anIntArray2924[1 + i_85_], true, Class68_Sub13.anIntArray2924[2 + i_85_], Class68_Sub13.anIntArray2924[3 + i_85_]);
}
@ -2250,7 +2250,7 @@ public class Class68_Sub28_Sub1 extends Class68_Sub28 {
}
if (i_87_ == 5604) {
i_89_--;
if (RuntimeException_Sub1.anInt2231 == 10) {
if (GameException.anInt2231 == 10) {
if ((Class32.anInt574 ^ 0xffffffff) == -1 && (Class68_Sub13_Sub27.anInt3914 ^ 0xffffffff) == -1) {
ISAACRandomGen.method1456(-3, Class68_Sub15.stringArray[i_89_].toLong(10908));
}
@ -2260,7 +2260,7 @@ public class Class68_Sub28_Sub1 extends Class68_Sub28 {
if (i_87_ == 5605) {
i_89_ -= 2;
i_85_ -= 4;
if (RuntimeException_Sub1.anInt2231 == 10) {
if (GameException.anInt2231 == 10) {
if ((Class32.anInt574 ^ 0xffffffff) == -1 && (Class68_Sub13_Sub27.anInt3914 ^ 0xffffffff) == -1) {
Class74.method1384(Class68_Sub15.stringArray[i_89_].toLong(i ^ 0x2ae0), Class68_Sub13.anIntArray2924[i_85_], i ^ 0x28, Class68_Sub13.anIntArray2924[1 + i_85_], Class68_Sub15.stringArray[i_89_ + 1], Class68_Sub13.anIntArray2924[3 + i_85_], Class68_Sub13.anIntArray2924[i_85_ + 2]);
}
@ -2557,7 +2557,7 @@ public class Class68_Sub28_Sub1 extends Class68_Sub28 {
Class62.method614(0.6F);
}
Class68_Sub19.method1001((byte) -67);
Class68_Sub20_Sub10.method1115(true, Class75_Sub1_Sub1.aSignLink_4589);
Class68_Sub20_Sub10.method1115(true, Class75_Sub1_Sub1.signlink);
Class108.aBoolean1830 = false;
break;
}
@ -2566,52 +2566,52 @@ public class Class68_Sub28_Sub1 extends Class68_Sub28 {
Class59.method585((byte) 51);
client.method34((byte) -68);
Class107.method1654(-13401);
Class68_Sub20_Sub10.method1115(true, Class75_Sub1_Sub1.aSignLink_4589);
Class68_Sub20_Sub10.method1115(true, Class75_Sub1_Sub1.signlink);
Class108.aBoolean1830 = false;
break;
}
if (i_87_ == 6003) {
Class68_Sub20_Sub2.aBoolean4188 = Class68_Sub13.anIntArray2924[--i_85_] == 1;
Class107.method1654(i + -13525);
Class68_Sub20_Sub10.method1115(true, Class75_Sub1_Sub1.aSignLink_4589);
Class68_Sub20_Sub10.method1115(true, Class75_Sub1_Sub1.signlink);
Class108.aBoolean1830 = false;
break;
}
if (i_87_ == 6005) {
ISAACRandomGen.aBoolean1487 = Class68_Sub13.anIntArray2924[--i_85_] == 1;
client.method34((byte) -120);
Class68_Sub20_Sub10.method1115(true, Class75_Sub1_Sub1.aSignLink_4589);
Class68_Sub20_Sub10.method1115(true, Class75_Sub1_Sub1.signlink);
Class108.aBoolean1830 = false;
break;
}
if (i_87_ == 6006) {
Class1_Sub2.aBoolean2432 = Class68_Sub13.anIntArray2924[--i_85_] == 1;
((Class90) Class62.anInterface4_1159).method1518((byte) -97, !Class1_Sub2.aBoolean2432);
Class68_Sub20_Sub10.method1115(true, Class75_Sub1_Sub1.aSignLink_4589);
Class68_Sub20_Sub10.method1115(true, Class75_Sub1_Sub1.signlink);
Class108.aBoolean1830 = false;
break;
}
if (i_87_ == 6007) {
RSString.aBoolean2262 = Class68_Sub13.anIntArray2924[--i_85_] == 1;
Class68_Sub20_Sub10.method1115(true, Class75_Sub1_Sub1.aSignLink_4589);
Class68_Sub20_Sub10.method1115(true, Class75_Sub1_Sub1.signlink);
Class108.aBoolean1830 = false;
break;
}
if (i_87_ == 6008) {
Class68_Sub13_Sub2.aBoolean3460 = Class68_Sub13.anIntArray2924[--i_85_] == 1;
Class68_Sub20_Sub10.method1115(true, Class75_Sub1_Sub1.aSignLink_4589);
Class68_Sub20_Sub10.method1115(true, Class75_Sub1_Sub1.signlink);
Class108.aBoolean1830 = false;
break;
}
if (i_87_ == 6009) {
Class68_Sub22.aBoolean3149 = (Class68_Sub13.anIntArray2924[--i_85_] ^ 0xffffffff) == -2;
Class68_Sub20_Sub10.method1115(true, Class75_Sub1_Sub1.aSignLink_4589);
Class68_Sub20_Sub10.method1115(true, Class75_Sub1_Sub1.signlink);
Class108.aBoolean1830 = false;
break;
}
if ((i_87_ ^ 0xffffffff) == -6011) {
Class68_Sub20_Sub13_Sub2.aBoolean4629 = (Class68_Sub13.anIntArray2924[--i_85_] ^ 0xffffffff) == -2;
Class68_Sub20_Sub10.method1115(true, Class75_Sub1_Sub1.aSignLink_4589);
Class68_Sub20_Sub10.method1115(true, Class75_Sub1_Sub1.signlink);
Class108.aBoolean1830 = false;
break;
}
@ -2621,7 +2621,7 @@ public class Class68_Sub28_Sub1 extends Class68_Sub28 {
i_235_ = 0;
}
Class68_Sub13_Sub26.anInt3876 = i_235_;
Class68_Sub20_Sub10.method1115(true, Class75_Sub1_Sub1.aSignLink_4589);
Class68_Sub20_Sub10.method1115(true, Class75_Sub1_Sub1.signlink);
Class108.aBoolean1830 = false;
break;
}
@ -2640,19 +2640,19 @@ public class Class68_Sub28_Sub1 extends Class68_Sub28 {
Class62.method614(0.6F);
}
client.method34((byte) -103);
Class68_Sub20_Sub10.method1115(true, Class75_Sub1_Sub1.aSignLink_4589);
Class68_Sub20_Sub10.method1115(true, Class75_Sub1_Sub1.signlink);
Class108.aBoolean1830 = false;
break;
}
if (i_87_ == 6014) {
Class68_Sub6.aBoolean2838 = (Class68_Sub13.anIntArray2924[--i_85_] ^ 0xffffffff) == -2;
Class68_Sub20_Sub10.method1115(true, Class75_Sub1_Sub1.aSignLink_4589);
Class68_Sub20_Sub10.method1115(true, Class75_Sub1_Sub1.signlink);
Class108.aBoolean1830 = false;
break;
}
if ((i_87_ ^ 0xffffffff) == -6016) {
Class43.aBoolean741 = (Class68_Sub13.anIntArray2924[--i_85_] ^ 0xffffffff) == -2;
Class68_Sub20_Sub10.method1115(true, Class75_Sub1_Sub1.aSignLink_4589);
Class68_Sub20_Sub10.method1115(true, Class75_Sub1_Sub1.signlink);
Class108.aBoolean1830 = false;
break;
}
@ -2662,14 +2662,14 @@ public class Class68_Sub28_Sub1 extends Class68_Sub28 {
i_236_ = 0;
}
Class69.anInt1245 = i_236_;
Class68_Sub20_Sub10.method1115(true, Class75_Sub1_Sub1.aSignLink_4589);
Class68_Sub20_Sub10.method1115(true, Class75_Sub1_Sub1.signlink);
Class108.aBoolean1830 = false;
break;
}
if (i_87_ == 6017) {
Class74.aBoolean1324 = (Class68_Sub13.anIntArray2924[--i_85_] ^ 0xffffffff) == -2;
Class68_Sub17.method990((byte) 124);
Class68_Sub20_Sub10.method1115(true, Class75_Sub1_Sub1.aSignLink_4589);
Class68_Sub20_Sub10.method1115(true, Class75_Sub1_Sub1.signlink);
Class108.aBoolean1830 = false;
break;
}
@ -2682,7 +2682,7 @@ public class Class68_Sub28_Sub1 extends Class68_Sub28 {
i_237_ = 127;
}
Class106.anInt1801 = i_237_;
Class68_Sub20_Sub10.method1115(true, Class75_Sub1_Sub1.aSignLink_4589);
Class68_Sub20_Sub10.method1115(true, Class75_Sub1_Sub1.signlink);
Class108.aBoolean1830 = false;
break;
}
@ -2706,7 +2706,7 @@ public class Class68_Sub28_Sub1 extends Class68_Sub28 {
}
Class68_Sub13_Sub25.anInt3855 = i_238_;
}
Class68_Sub20_Sub10.method1115(true, Class75_Sub1_Sub1.aSignLink_4589);
Class68_Sub20_Sub10.method1115(true, Class75_Sub1_Sub1.signlink);
Class108.aBoolean1830 = false;
break;
}
@ -2719,7 +2719,7 @@ public class Class68_Sub28_Sub1 extends Class68_Sub28 {
i_239_ = 127;
}
Class68_Sub20_Sub15.anInt4399 = i_239_;
Class68_Sub20_Sub10.method1115(true, Class75_Sub1_Sub1.aSignLink_4589);
Class68_Sub20_Sub10.method1115(true, Class75_Sub1_Sub1.signlink);
Class108.aBoolean1830 = false;
break;
}
@ -2730,7 +2730,7 @@ public class Class68_Sub28_Sub1 extends Class68_Sub28 {
}
if (i_87_ == 6022) {
Class68_Sub13_Sub21.aBoolean3793 = (Class68_Sub13.anIntArray2924[--i_85_] ^ 0xffffffff) == -2;
Class68_Sub20_Sub10.method1115(true, Class75_Sub1_Sub1.aSignLink_4589);
Class68_Sub20_Sub10.method1115(true, Class75_Sub1_Sub1.signlink);
Class11.method233(0, -97);
break;
}
@ -2825,9 +2825,9 @@ public class Class68_Sub28_Sub1 extends Class68_Sub28 {
} else if (class100_245_.method1589(Class97.aRSString_1719, i + -96)) {
class100 = class100.method1615(Class97.aRSString_1719.method1590((byte) -108), true);
i_246_ = 8;
} else if (class100_245_.method1589(RuntimeException_Sub1.aRSString_2230, 109)) {
} else if (class100_245_.method1589(GameException.aRSString_2230, 109)) {
i_246_ = 9;
class100 = class100.method1615(RuntimeException_Sub1.aRSString_2230.method1590((byte) -103), true);
class100 = class100.method1615(GameException.aRSString_2230.method1590((byte) -103), true);
} else if (class100_245_.method1589(Class124.aRSString_2143, 42)) {
i_246_ = 10;
class100 = class100.method1615(Class124.aRSString_2143.method1590((byte) -96), true);
@ -2856,9 +2856,9 @@ public class Class68_Sub28_Sub1 extends Class68_Sub28 {
} else if (class100_245_.method1589(Class97.aRSString_1716, 66)) {
class100 = class100.method1615(Class97.aRSString_1716.method1590((byte) -98), true);
i_246_ = 8;
} else if (class100_245_.method1589(RuntimeException_Sub1.aRSString_2243, i + -73)) {
} else if (class100_245_.method1589(GameException.aRSString_2243, i + -73)) {
i_246_ = 9;
class100 = class100.method1615(RuntimeException_Sub1.aRSString_2243.method1590((byte) -103), true);
class100 = class100.method1615(GameException.aRSString_2243.method1590((byte) -103), true);
} else if (class100_245_.method1589(Class124.aRSString_2163, i ^ 0x5)) {
class100 = class100.method1615(Class124.aRSString_2163.method1590((byte) -120), true);
i_246_ = 10;

View File

@ -127,8 +127,11 @@ public class Class68_Sub4 extends Class68
int i_22_ = (int) (Math.random() * 100.0);
if (i_22_ >= 50 || i_21_ <= 10 || i_21_ >= 118)
Class68_Sub20.anIntArray3090[i_21_ - -i_20_] = 0;
else
Class68_Sub20.anIntArray3090[i_20_ + i_21_] = 255;
else{
// this stops the fire from being rendered:
// orig: Class68_Sub20.anIntArray3090[i_20_ + i_21_] = 255;
Class68_Sub20.anIntArray3090[i_20_ + i_21_] = 0;
}
}
}
if (i_11_ != 60)

View File

@ -42,8 +42,8 @@ public class Class71
int i_9_ = Class68_Sub20.anIntArray3090[i_2_++];
int i_10_ = Class79.anIntArray1402[i_0_ + i_4_++];
if ((i_9_ ^ 0xffffffff) == -1)
RuntimeException_Sub1
.aSprite_2246.anIntArray4615
GameException
.aSprite_2246.pixels
[i_5_++]
= i_10_;
else {
@ -54,8 +54,8 @@ public class Class71
if ((i_12_ ^ 0xffffffff) < -256)
i_12_ = 255;
i_9_ = Class68_Sub25.anIntArray3172[i_9_];
RuntimeException_Sub1
.aSprite_2246.anIntArray4615
GameException
.aSprite_2246.pixels
[i_5_++]
= (((Class120.method1740
((Class120.method1740(65280, i_9_) * i_11_
@ -73,12 +73,12 @@ public class Class71
}
}
for (int i_13_ = 0; i_7_ > i_13_; i_13_++)
RuntimeException_Sub1.aSprite_2246
.anIntArray4615[i_5_++]
GameException.aSprite_2246
.pixels[i_5_++]
= Class79.anIntArray1402[i_4_++ + i_0_];
i_4_ += Class79.anInt1401 - 128;
}
RuntimeException_Sub1.aSprite_2246
GameException.aSprite_2246
.method1108(i_0_, i);
}
}

View File

@ -92,7 +92,7 @@ public abstract class Class72
container = Class108.aFrame1832;
else
container
= Class75_Sub1_Sub1.aSignLink_4589.anApplet1042;
= Class75_Sub1_Sub1.signlink.anApplet1042;
} else
container = Class1_Sub2.aFrame2429;
int i_6_ = 0;
@ -276,7 +276,7 @@ public abstract class Class72
} else {
if (i != -5720)
aClass65_1305 = null;
RuntimeException_Sub1.method1798(true, 0, 255, (byte) 0, 255, null,
GameException.method1798(true, 0, 255, (byte) 0, 255, null,
(byte) 22);
Class68_Sub20.aClass21_Sub1Array3081[i_39_] = class21_sub1;
}

View File

@ -210,7 +210,7 @@ public class Class72_Sub1 extends Class72
Class52.aRSString_1005 = Class106.aRSString_1808;
Class84.aRSString_1536 = Class68_Sub28_Sub2.aRSString_4550;
Class72.aRSString_1306 = Class68_Sub13_Sub7.aRSString_3552;
RuntimeException_Sub1.aRSString_2243
GameException.aRSString_2243
= Class68_Sub13_Sub2.aRSString_3458;
Class76.aRSString_1347 = Class14.aRSString_243;
Class68_Sub13_Sub5.aRSString_3517 = Class128.aRSString_2225;

View File

@ -2,47 +2,44 @@
* Visit http://jode.sourceforge.net/
*/
public class Class75
{
public class Class75 {
public static int anInt1339;
public static RSString aRSString_1340
= Class112.method1668(43, "Mitglieder)2Welt");
= Class112.method1668(43, "Mitglieder)2Welt");
public static RSString aRSString_1341;
public static RSString aRSString_1342
= Class112.method1668(43, " from your ignore list first)3");
= Class112.method1668(43, " from your ignore list first)3");
public static Class16 aClass16_1343;
public static Class65 aClass65_1344;
public static void method1385(byte i) {
aClass65_1344 = null;
if (i <= 43)
method1385((byte) 71);
aRSString_1342 = null;
aClass16_1343 = null;
aRSString_1341 = null;
aRSString_1340 = null;
aClass65_1344 = null;
if (i <= 43)
method1385((byte) 71);
aRSString_1342 = null;
aClass16_1343 = null;
aRSString_1341 = null;
aRSString_1340 = null;
}
public static void method1386(int i, Class21renamed class21) {
if (i != -10509)
method1386(111, null);
anInt1339++;
if (!Class33.aBoolean587) {
Class79.method1418();
Class96.aClass68_Sub20_Sub10_1700
= Class128.method1789(class21, i + 33972, Class17.anInt279);
Class96.aClass68_Sub20_Sub10_1700.method1108(-95, 0);
Class15.aClass92_251
= Class67.method642(class21, Class68_Sub13_Sub14.anInt3670,
-30509);
Class15.aClass92_251
.method1527(382 - Class15.aClass92_251.anInt1659 / 2, 18);
Class33.aBoolean587 = true;
}
if (i != -10509)
method1386(111, null);
anInt1339++;
if (!Class33.aBoolean587) {
Class79.method1418();
Class96.aClass68_Sub20_Sub10_1700
= Class128.method1789(class21, i + 33972, Class17.anInt279);
Class96.aClass68_Sub20_Sub10_1700.method1108(-95, 0);
//xxx render logo (while cache is loading):
// Class15.aClass92_251 = Class67.method642(class21, Class68_Sub13_Sub14.anInt3670, -30509);
// Class15.aClass92_251.method1527(382 - Class15.aClass92_251.anInt1659 / 2, 18);
Class33.aBoolean587 = true;
}
}
static {
aRSString_1341 = aRSString_1342;
aClass16_1343 = new Class16();
aRSString_1341 = aRSString_1342;
aClass16_1343 = new Class16();
}
}

View File

@ -17,10 +17,10 @@ public class Class75_Sub1_Sub1 extends Class75_Sub1
public static Class21renamed aClass21_4586;
public static RSString aRSString_4587;
public static Login aLogin_4588;
public static SignLink aSignLink_4589;
public static SignLink signlink;
public static int anInt4590;
public static Class21renamed aClass21_4591;
public static boolean method1391(boolean bool,
Class68_Sub1[][][] class68_sub1s, int i,
int i_0_, int i_1_, byte i_2_) {
@ -529,7 +529,7 @@ public class Class75_Sub1_Sub1 extends Class75_Sub1
aRSString_4581 = null;
aClass21_4591 = null;
aClass21_4586 = null;
aSignLink_4589 = null;
signlink = null;
aRSString_4587 = null;
aLogin_4588 = null;
}

View File

@ -143,7 +143,7 @@ public class Class90 implements Interface4
if (!Class14.method265(-110))
break;
}
if ((RuntimeException_Sub1.anInt2231 ^ 0xffffffff) == -31) {
if ((GameException.anInt2231 ^ 0xffffffff) == -31) {
Class50.method531(false, 141, Class21renamed.stream);
synchronized (Class14.aClass84_241.anObject1543) {
if (!Class68_Sub13_Sub33.aBoolean4000)
@ -333,7 +333,7 @@ public class Class90 implements Interface4
Class108.aBoolean1830 = true;
}
Class114.method1692(0);
if (RuntimeException_Sub1.anInt2231 == 30) {
if (GameException.anInt2231 == 30) {
Class68_Sub13_Sub32.method864(0);
Class68_Sub29.method1321((byte) -110);
Class68_Sub20_Sub13.anInt4368++;

View File

@ -439,7 +439,7 @@ public class GameSocket implements Runnable {
Class49.method524(16322);
Class34.method414(-28968);
PacketStream.method971(137);
if (Class108.aFrame1832 != null && PlayerDefinition.connection != null && RuntimeException_Sub1.anInt2231 == 25) {
if (Class108.aFrame1832 != null && PlayerDefinition.connection != null && GameException.anInt2231 == 25) {
Class21renamed.stream.createFrame(22);
Class21renamed.stream.writeDWord(1057001181);
Class68_Sub13_Sub39.anInt4107++;
@ -471,7 +471,7 @@ public class GameSocket implements Runnable {
}
}
}
if (RuntimeException_Sub1.anInt2231 != 28) {
if (GameException.anInt2231 != 28) {
Class17.method296(30, (byte) -77);
if (PlayerDefinition.connection != null) {
Class21renamed.stream.createFrame(60);

View File

@ -418,7 +418,7 @@ public class ISAACRandomGen
if (Class68_Sub13_Sub10.anInt3597 != 0) {
try {
if (((Boolean) (Class68_Sub20_Sub15.aRSString_4390.method1604
(Class75_Sub1_Sub1.aSignLink_4589.anApplet1042,
(Class75_Sub1_Sub1.signlink.anApplet1042,
(byte) -123)))
.booleanValue())
return false;

View File

@ -85,7 +85,7 @@ public class Login {
aRSString_1522 = null;
}
if (Class32.anInt574 == 1) {
Class13_Sub2.aClass31_2657 = (Class75_Sub1_Sub1.aSignLink_4589.newJagSocket(Class68_Sub9.serverAddress, (byte) 116, Class103.port));
Class13_Sub2.aClass31_2657 = (Class75_Sub1_Sub1.signlink.newJagSocket(Class68_Sub9.serverAddress, (byte) 116, Class103.port));
Class32.anInt574 = 2;
}
if (Class32.anInt574 == 2) {
@ -95,7 +95,7 @@ public class Login {
if (Class13_Sub2.aClass31_2657.anInt555 != 1) {
return;
}
PlayerDefinition.connection = new GameSocket(((Socket) Class13_Sub2.aClass31_2657.playerDefSocket), Class75_Sub1_Sub1.aSignLink_4589);
PlayerDefinition.connection = new GameSocket(((Socket) Class13_Sub2.aClass31_2657.playerDefSocket), Class75_Sub1_Sub1.signlink);
Class13_Sub2.aClass31_2657 = null;
long l = (Class72_Sub1.aLong3285 = Class68_Sub28_Sub2.username.toLong(10908));
@ -163,11 +163,11 @@ public class Login {
Class21renamed.stream.writeString((byte) -9, Class68_Sub28_Sub2.password);
Class21renamed.stream.doKeys(false, Class68_Sub4.aBigInteger2814, Class68_Sub22.aBigInteger3136);
Class112.extraStream.currentOffset = 0;
if (RuntimeException_Sub1.anInt2231 == 40) {
System.out.println("RuntimeException_Sub1.anInt2231 == 40");
if (GameException.anInt2231 == 40) {
System.out.println("GameException.anInt2231 == 40");
Class112.extraStream.writeByte(18);
} else {
System.out.println("RuntimeException_Sub1.anInt2231 != 40");
System.out.println("GameException.anInt2231 != 40");
Class112.extraStream.writeByte(16);
}
int thisword = (151 + Class21renamed.stream.currentOffset + Class13_Sub1.method250(Class26.aRSString_521, -106));
@ -328,13 +328,13 @@ public class Login {
Class25.anInt517 = Class68_Sub13_Sub8.inStream.readUnsignedByte(-6677);
if (Class25.anInt517 != 1) {
try {
Class68_Sub20_Sub8.aRSString_4282.method1604((Class75_Sub1_Sub1.aSignLink_4589.anApplet1042), (byte) -123);
Class68_Sub20_Sub8.aRSString_4282.method1604((Class75_Sub1_Sub1.signlink.anApplet1042), (byte) -123);
} catch (Throwable throwable) {
/* empty */
}
} else {
try {
Class68_Sub4.aRSString_2829.method1604((Class75_Sub1_Sub1.aSignLink_4589.anApplet1042), (byte) -123);
Class68_Sub4.aRSString_2829.method1604((Class75_Sub1_Sub1.signlink.anApplet1042), (byte) -123);
} catch (Throwable throwable) {
/* empty */
}

View File

@ -84,7 +84,7 @@ public class PacketParser
Class105.anInt1794 = i;
Class52.aBoolean998 = bool;
Class67.anInt1217 = i_16_;
RuntimeException_Sub1.aClass21_2236 = class21;
GameException.aClass21_2236 = class21;
anInt1871++;
Class70.anInt1287 = 1;
}
@ -261,7 +261,7 @@ public class PacketParser
}
if ((Class49.anInt962 ^ 0xffffffff) == -211) {
if (Class68_Sub13_Sub10.anInt3595 != -1)
RuntimeException_Sub1
GameException
.method1796(89, Class68_Sub13_Sub10.anInt3595, 0);
Class49.anInt962 = -1;
return true;
@ -953,7 +953,7 @@ public class PacketParser
return true;
}
if ((Class49.anInt962 ^ 0xffffffff) == -140) {
Class12.method238(Class75_Sub1_Sub1.aSignLink_4589, Class68_Sub13_Sub8.inStream, Class106.anInt1804, (byte) 101);
Class12.method238(Class75_Sub1_Sub1.signlink, Class68_Sub13_Sub8.inStream, Class106.anInt1804, (byte) 101);
Class49.anInt962 = -1;
return true;
}
@ -1290,7 +1290,7 @@ public class PacketParser
if (Class49.anInt962 == 172) {
int i_156_ = Class68_Sub13_Sub8.inStream.readDWord();
Class68_Sub10.aClass31_2914
= Class75_Sub1_Sub1.aSignLink_4589.method563(i_156_, i + 26354);
= Class75_Sub1_Sub1.signlink.method563(i_156_, i + 26354);
Class49.anInt962 = -1;
return true;
}
@ -1558,7 +1558,7 @@ public class PacketParser
Class68_Sub13_Sub27.method838(-1, true, class45);
}
if ((Class68_Sub13_Sub10.anInt3595 ^ 0xffffffff) != 0)
RuntimeException_Sub1
GameException
.method1796(i + 26449, Class68_Sub13_Sub10.anInt3595, 1);
Class49.anInt962 = -1;
return true;

View File

@ -461,11 +461,11 @@ public class PlayerDefinition
throws IOException {
anInt2193++;
String string;
if (!(throwable instanceof RuntimeException_Sub1))
if (!(throwable instanceof GameException))
string = "";
else {
RuntimeException_Sub1 runtimeexception_sub1
= (RuntimeException_Sub1) throwable;
GameException runtimeexception_sub1
= (GameException) throwable;
throwable = runtimeexception_sub1.aThrowable2247;
string = runtimeexception_sub1.aString2239 + " | ";
}

View File

@ -1,374 +0,0 @@
/* RuntimeException_Sub1 - Decompiled by JODE
* Visit http://jode.sourceforge.net/
*/
public class RuntimeException_Sub1 extends RuntimeException
{
public static RSString aRSString_2230;
public static int anInt2231;
public static RSString aRSString_2232;
public static int anInt2233;
public static int anInt2234;
public static int anInt2235;
public static Class21renamed aClass21_2236;
public static int anInt2237;
public static int anInt2238;
public String aString2239;
public static RSString aRSString_2240
= Class112.method1668(43, " <col=ffffff>");
public static int anInt2241;
public static int anInt2242;
public static RSString aRSString_2243;
public static RSString aRSString_2244;
public static int anInt2245;
public static Sprite aSprite_2246;
public Throwable aThrowable2247;
public static Class1_Sub3 method1793
(int i, int i_0_, int i_1_, Class1_Sub3 class1_sub3, int i_2_,
Class55 class117, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_,
int i_8_, int i_9_, boolean bool) {
try {
long l = (((long) i_8_ << -1663761184)
+ (long) ((i_3_ << -1502276232) + (i_7_ << -743990992)
+ i_6_)
+ ((long) i_4_ << 1875380208));
anInt2238++;
Class1_Sub3 class1_sub3_10_
= (Class1_Sub3) Class121.aClass98_2100.method1570(14366, l);
if (class1_sub3_10_ == null) {
int i_11_;
if ((i_6_ ^ 0xffffffff) == -2)
i_11_ = 9;
else if ((i_6_ ^ 0xffffffff) != -3) {
if (i_6_ == 3)
i_11_ = 15;
else if ((i_6_ ^ 0xffffffff) == -5)
i_11_ = 18;
else
i_11_ = 21;
} else
i_11_ = 12;
int i_12_ = 3;
int[] is = { 64, 96, 128 };
int[][] is_13_ = new int[i_12_][i_11_];
Class1_Sub4 class1_sub4
= new Class1_Sub4(1 - -(i_11_ * i_12_),
-i_11_ + 2 * i_11_ * i_12_, 0);
int i_14_ = class1_sub4.method131(0, 0, 0);
for (int i_15_ = 0; i_12_ > i_15_; i_15_++) {
int i_16_ = is[i_15_];
int i_17_ = is[i_15_];
for (int i_18_ = 0; i_18_ < i_11_; i_18_++) {
int i_19_ = (i_18_ << -939650869) / i_11_;
int i_20_
= (i_5_ - -(i_17_ * Class62.anIntArray1155[i_19_])
>> -780014224);
int i_21_
= (i - -(i_16_ * Class62.anIntArray1167[i_19_])
>> 100362896);
is_13_[i_15_][i_18_]
= class1_sub4.method131(i_20_, 0, i_21_);
}
}
for (int i_22_ = 0;
(i_12_ ^ 0xffffffff) < (i_22_ ^ 0xffffffff); i_22_++) {
int i_23_ = (128 + 256 * i_22_) / i_12_;
int i_24_ = -i_23_ + 256;
short i_25_ = (short) ((((i_24_ * (i_8_ & 0x380)
+ (0x380 & i_4_) * i_23_)
& 0x38000)
+ (((i_4_ & 0xfc00) * i_23_
+ (0xfc00 & i_8_) * i_24_)
& 0xfc0000)
+ (((0x7f & i_4_) * i_23_
+ (0x7f & i_8_) * i_24_)
& 0x7f00))
>> -1732730136);
byte i_26_
= (byte) (i_23_ * i_3_ + i_7_ * i_24_ >> -480210520);
for (int i_27_ = 0; i_11_ > i_27_; i_27_++) {
if ((i_22_ ^ 0xffffffff) != -1) {
class1_sub4.method136(is_13_[-1 + i_22_][i_27_],
(is_13_[-1 + i_22_]
[(1 + i_27_) % i_11_]),
(is_13_[i_22_]
[(1 + i_27_) % i_11_]),
(byte) 1, i_25_, i_26_);
class1_sub4.method136(is_13_[-1 + i_22_][i_27_],
(is_13_[i_22_]
[(i_27_ - -1) % i_11_]),
is_13_[i_22_][i_27_],
(byte) 1, i_25_, i_26_);
} else
class1_sub4.method136(i_14_,
(is_13_[0]
[(i_27_ + 1) % i_11_]),
is_13_[0][i_27_], (byte) 1,
i_25_, i_26_);
}
}
class1_sub3_10_
= class1_sub4.method127(64, 768, -50, -10, -50);
Class121.aClass98_2100.method1568(class1_sub3_10_, 127, l);
}
int i_28_ = 64 * i_6_ + -1;
int i_29_ = -i_28_;
int i_30_ = -i_28_;
int i_31_ = i_28_;
int i_32_ = i_28_;
int i_33_ = class1_sub3.method89();
if (bool) {
if (i_0_ > 640 && (i_0_ ^ 0xffffffff) > -1409)
i_32_ += 128;
if ((i_0_ ^ 0xffffffff) < -129 && (i_0_ ^ 0xffffffff) > -897)
i_29_ -= 128;
if ((i_0_ ^ 0xffffffff) < -1665 || i_0_ < 384)
i_30_ -= 128;
if ((i_0_ ^ 0xffffffff) < -1153 && (i_0_ ^ 0xffffffff) > -1921)
i_31_ += 128;
}
if (i_33_ < i_29_)
i_33_ = i_29_;
int i_34_ = class1_sub3.method84();
if ((i_34_ ^ 0xffffffff) < (i_31_ ^ 0xffffffff))
i_34_ = i_31_;
int i_35_ = class1_sub3.method75();
if ((i_35_ ^ 0xffffffff) > (i_30_ ^ 0xffffffff))
i_35_ = i_30_;
Class68_Sub20_Sub17 class68_sub20_sub17 = null;
int i_36_ = class1_sub3.method87();
if (class117 != null) {
i_2_ = class117.anIntArray2035[i_2_];
class68_sub20_sub17
= Class35.method432(i_2_ >> 1541839728, (byte) -96);
i_2_ &= 0xffff;
}
int i_37_ = 125 % ((-7 - i_9_) / 52);
if ((i_32_ ^ 0xffffffff) > (i_36_ ^ 0xffffffff))
i_36_ = i_32_;
if (class68_sub20_sub17 == null) {
class1_sub3_10_ = class1_sub3_10_.method81(true, true);
class1_sub3_10_.method72((-i_33_ + i_34_) / 2, 128,
(i_36_ - i_35_) / 2);
class1_sub3_10_.method92((i_33_ + i_34_) / 2, 0,
(i_35_ - -i_36_) / 2);
} else {
class1_sub3_10_
= class1_sub3_10_.method81(!class68_sub20_sub17
.method1180(true, i_2_),
true);
class1_sub3_10_.method72((-i_33_ + i_34_) / 2, 128,
(i_36_ - i_35_) / 2);
class1_sub3_10_.method92((i_33_ + i_34_) / 2, 0,
(i_36_ + i_35_) / 2);
class1_sub3_10_.method76(class68_sub20_sub17, i_2_);
}
if ((i_0_ ^ 0xffffffff) != -1)
class1_sub3_10_.method90(i_0_);
Class1_Sub3_Sub1 class1_sub3_sub1
= (Class1_Sub3_Sub1) class1_sub3_10_;
if (i_1_ != Class1_Sub6_Sub2.method163(i_5_ - -i_33_,
GameSocket.anInt1149,
i_35_ + i, false)
|| Class1_Sub6_Sub2.method163(i_34_ + i_5_, GameSocket.anInt1149,
i_36_ + i, false) != i_1_) {
for (int i_38_ = 0; class1_sub3_sub1.anInt3355 > i_38_;
i_38_++)
class1_sub3_sub1.anIntArray3334[i_38_]
+= (Class1_Sub6_Sub2.method163
(class1_sub3_sub1.anIntArray3354[i_38_] + i_5_,
GameSocket.anInt1149,
i + class1_sub3_sub1.anIntArray3343[i_38_],
false)) + -i_1_;
class1_sub3_sub1.aBoolean3345 = false;
}
return class1_sub3_10_;
} catch (RuntimeException runtimeexception) {
throw Class107.method1652(runtimeexception,
("ua.A(" + i + ',' + i_0_ + ',' + i_1_
+ ','
+ (class1_sub3 != null ? "{...}"
: "null")
+ ',' + i_2_ + ','
+ (class117 != null ? "{...}" : "null")
+ ',' + i_3_ + ',' + i_4_ + ',' + i_5_
+ ',' + i_6_ + ',' + i_7_ + ',' + i_8_
+ ',' + i_9_ + ',' + bool + ')'));
}
}
public static void method1794(int i) {
aRSString_2230 = null;
aRSString_2244 = null;
aRSString_2232 = null;
aRSString_2243 = null;
aSprite_2246 = null;
aClass21_2236 = null;
if (i != 64)
method1798(false, 79, 66, (byte) 113, 45, null, (byte) 12);
aRSString_2240 = null;
}
public static int method1795(int i, int i_39_) {
anInt2237++;
if (i_39_ <= 44)
anInt2241 = 118;
return 0x3ff & i;
}
public static void method1796(int i, int i_40_, int i_41_) {
if (i >= 65) {
anInt2233++;
if (Class68_Sub13_Sub25.method824(i_40_, (byte) -2))
Class1_Sub5.method142(i_41_,
(Class68_Sub13_Sub36
.aClass45ArrayArray4040[i_40_]),
16);
}
}
public static void method1797(int i, boolean bool, int i_42_, int i_43_,
int i_44_, int i_45_, byte[] is, int i_46_,
GroundData[] class38s, int i_47_, int i_48_) {
try {
anInt2245++;
int i_49_ = -1;
if (i_47_ < 67)
aSprite_2246 = null;
Stream class68_sub14 = new Stream(is);
for (;;) {
int i_50_ = class68_sub14.method937(true);
if ((i_50_ ^ 0xffffffff) == -1)
break;
int i_51_ = 0;
i_49_ += i_50_;
for (;;) {
int i_52_ = class68_sub14.method912(255);
if ((i_52_ ^ 0xffffffff) == -1)
break;
i_51_ += -1 + i_52_;
int i_53_ = (i_51_ & 0xfc8) >> -740717850;
int i_54_ = i_51_ >> 210097612;
int i_55_ = class68_sub14.readUnsignedByte(-6677);
int i_56_ = i_51_ & 0x3f;
int i_57_ = i_55_ >> -964823422;
int i_58_ = i_55_ & 0x3;
if (i_54_ == i_46_ && i_45_ <= i_53_
&& (8 + i_45_ ^ 0xffffffff) < (i_53_ ^ 0xffffffff)
&& i_56_ >= i_42_
&& (i_42_ - -8 ^ 0xffffffff) < (i_56_ ^ 0xffffffff)) {
Class116 class116 = Class1_Sub5.method140(110, i_49_);
int i_59_
= i_43_ + Class3.method183(i_58_, i_56_ & 0x7,
class116.anInt1988,
i_53_ & 0x7,
class116.anInt1987,
-120, i_44_);
int i_60_
= (i_48_
- -Class68_Sub27.method1219(i_58_,
class116.anInt1988,
i_44_, i_56_ & 0x7,
class116.anInt1987,
0x7 & i_53_,
(byte) -128));
if (i_59_ > 0 && i_60_ > 0
&& (i_59_ ^ 0xffffffff) > -104 && i_60_ < 103) {
GroundData class38 = null;
if (!bool) {
int i_61_ = i;
if (((Class64.aByteArrayArrayArray1178[1]
[i_59_][i_60_]) & 0x2
^ 0xffffffff)
== -3)
i_61_--;
if ((i_61_ ^ 0xffffffff) <= -1)
class38 = class38s[i_61_];
}
Class68_Sub20_Sub17.method1181(class38, 1, bool,
i_60_,
(0x3
& i_58_ - -i_44_),
i_59_, i_57_, i, i,
!bool, i_49_);
}
}
}
}
} catch (RuntimeException runtimeexception) {
throw Class107.method1652(runtimeexception,
("ua.D(" + i + ',' + bool + ',' + i_42_
+ ',' + i_43_ + ',' + i_44_ + ','
+ i_45_ + ','
+ (is != null ? "{...}" : "null") + ','
+ i_46_ + ','
+ (class38s != null ? "{...}" : "null")
+ ',' + i_47_ + ',' + i_48_ + ')'));
}
}
public static void method1798(boolean bool, int i, int i_62_, byte i_63_,
int i_64_, Class21_Sub1 class21_sub1,
byte i_65_) {
long l = (long) (i_64_ + (i_62_ << 598658928));
anInt2234++;
Class68_Sub20_Sub15 class68_sub20_sub15
= (Class68_Sub20_Sub15) Class123.aClass113_2123.method1678(l, -58);
if (i_65_ == 22 && class68_sub20_sub15 == null) {
class68_sub20_sub15
= ((Class68_Sub20_Sub15)
Class68_Sub20_Sub13.aClass113_4366.method1678(l, -47));
if (class68_sub20_sub15 == null) {
class68_sub20_sub15
= ((Class68_Sub20_Sub15)
Stream.aClass113_3008.method1678(l, 73));
if (class68_sub20_sub15 != null) {
if (bool) {
class68_sub20_sub15.method1005((byte) 73);
Class123.aClass113_2123
.method1677((byte) 123, class68_sub20_sub15, l);
Class56.anInt1067++;
Class128.anInt2227--;
}
} else {
if (!bool) {
class68_sub20_sub15
= ((Class68_Sub20_Sub15)
PacketParser.aClass113_1874.method1678(l, -100));
if (class68_sub20_sub15 != null)
return;
}
class68_sub20_sub15 = new Class68_Sub20_Sub15();
class68_sub20_sub15.aClass21_Sub1_4394 = class21_sub1;
class68_sub20_sub15.anInt4392 = i;
class68_sub20_sub15.aByte4391 = i_63_;
if (bool) {
Class123.aClass113_2123
.method1677((byte) 119, class68_sub20_sub15, l);
Class56.anInt1067++;
} else {
Class68_Sub7.aClass128_2854
.method1787(125, class68_sub20_sub15);
Stream.aClass113_3008
.method1677((byte) 127, class68_sub20_sub15, l);
Class128.anInt2227++;
}
}
}
}
}
public RuntimeException_Sub1(Throwable throwable, String string) {
aThrowable2247 = throwable;
aString2239 = string;
}
static {
aRSString_2232 = Class112.method1668(43, "http:)4)4");
aRSString_2244 = Class112.method1668(43, "glow1:");
aRSString_2230 = aRSString_2244;
anInt2231 = 0;
aRSString_2243 = aRSString_2244;
}
}

View File

@ -1,9 +1,9 @@
/* SignLink - Decompiled by JODE
* Visit http://jode.sourceforge.net/
*/
import java.applet.Applet;
import java.awt.EventQueue;
import java.awt.Toolkit;
import java.awt.*;
import java.io.DataInputStream;
import java.io.File;
import java.lang.reflect.Method;
@ -11,8 +11,7 @@ import java.net.InetAddress;
import java.net.Socket;
import java.net.URL;
public class SignLink implements Runnable
{
public class SignLink implements Runnable {
public static String javaVendor;
public Thread aThread1037;
public JagSocket aClass31_1038 = null;
@ -36,145 +35,145 @@ public class SignLink implements Runnable
public EventQueue anEventQueue1056;
public Class2 aClass2_1057;
public static String javaVersion;
public JagSocket newJagSocket(int i, Object object, int i_0_, int i_1_,
int i_2_) {
JagSocket jagSocket = new JagSocket();
jagSocket.port = i_0_;
jagSocket.hostname = object;
jagSocket.priority = i;
int i_2_) {
JagSocket jagSocket = new JagSocket();
jagSocket.port = i_0_;
jagSocket.hostname = object;
jagSocket.priority = i;
//System.out.println("newJagSocket: jagSocket.port:"+jagSocket.port+" jagSocket.hostname:"+jagSocket.hostname+" jagSocket.priority:"+jagSocket.priority);
synchronized (this) {
if (aClass31_1038 == null)
aClass31_1038 = aClass31_1048 = jagSocket;
else {
aClass31_1038.aClass31_557 = jagSocket;
aClass31_1038 = jagSocket;
}
this.notify();
int i_3_ = 20 / ((i_1_ - -48) / 48);
}
return jagSocket;
synchronized (this) {
if (aClass31_1038 == null)
aClass31_1038 = aClass31_1048 = jagSocket;
else {
aClass31_1038.aClass31_557 = jagSocket;
aClass31_1038 = jagSocket;
}
this.notify();
int i_3_ = 20 / ((i_1_ - -48) / 48);
}
return jagSocket;
}
public JagSocket method557(Class var_class, byte i) {
if (i > -81)
anInterface1_1050 = null;
return newJagSocket(13, var_class, 0, -101, 0);
if (i > -81)
anInterface1_1050 = null;
return newJagSocket(13, var_class, 0, -101, 0);
}
public JagSocket method558(byte i, int i_4_, Runnable runnable) {
if (i >= -28)
method557(null, (byte) -110);
return newJagSocket(2, runnable, i_4_, -123, 0);
if (i >= -28)
method557(null, (byte) -110);
return newJagSocket(2, runnable, i_4_, -123, 0);
}
public JagSocket newJagSocket(String hostname, byte i, int port) {
if (i < 107)
method563(-9, 4);
return newJagSocket(1, hostname, port, -107, 0);
if (i < 107)
method563(-9, 4);
return newJagSocket(1, hostname, port, -107, 0);
}
public JagSocket method560(Class var_class, int i) {
if (i < 12)
return null;
return newJagSocket(11, var_class, 0, 88, 0);
if (i < 12)
return null;
return newJagSocket(11, var_class, 0, 88, 0);
}
public void run() {
for (;;) {
JagSocket class31;
synchronized (this) {
for (;;) {
if (aBoolean1055)
return;
if (aClass31_1048 != null) {
class31 = aClass31_1048;
aClass31_1048 = aClass31_1048.aClass31_557;
if (aClass31_1048 == null)
aClass31_1038 = null;
break;
}
try {
this.wait();
} catch (InterruptedException interruptedexception) {
/* empty */
}
}
}
try {
int i = class31.priority;
if ((i ^ 0xffffffff) == -2)
class31.playerDefSocket
= new Socket(InetAddress.getByName((String)
(class31
.hostname)),
class31.port);
else if (i == 2) {
Thread thread = new Thread((Runnable) class31.hostname);
thread.setDaemon(true);
thread.start();
thread.setPriority(class31.port);
class31.playerDefSocket = thread;
} else if (i != 4) {
if (i != 8) {
if (i != 9)
throw new Exception();
Object[] objects = (Object[]) class31.hostname;
class31.playerDefSocket
= ((Class) objects[0])
.getDeclaredField((String) objects[1]);
} else {
Object[] objects = (Object[]) class31.hostname;
class31.playerDefSocket
= (((Class) objects[0]).getDeclaredMethod
((String) objects[1], (Class[]) objects[2]));
}
} else
class31.playerDefSocket
= new DataInputStream(((URL) class31.hostname)
.openStream());
class31.anInt555 = 1;
} catch (Throwable throwable) {
class31.anInt555 = 2;
}
}
for (; ;) {
JagSocket class31;
synchronized (this) {
for (; ;) {
if (aBoolean1055)
return;
if (aClass31_1048 != null) {
class31 = aClass31_1048;
aClass31_1048 = aClass31_1048.aClass31_557;
if (aClass31_1048 == null)
aClass31_1038 = null;
break;
}
try {
this.wait();
} catch (InterruptedException interruptedexception) {
/* empty */
}
}
}
try {
int i = class31.priority;
if ((i ^ 0xffffffff) == -2)
class31.playerDefSocket
= new Socket(InetAddress.getByName((String)
(class31
.hostname)),
class31.port);
else if (i == 2) {
Thread thread = new Thread((Runnable) class31.hostname);
thread.setDaemon(true);
thread.start();
thread.setPriority(class31.port);
class31.playerDefSocket = thread;
} else if (i != 4) {
if (i != 8) {
if (i != 9)
throw new Exception();
Object[] objects = (Object[]) class31.hostname;
class31.playerDefSocket
= ((Class) objects[0])
.getDeclaredField((String) objects[1]);
} else {
Object[] objects = (Object[]) class31.hostname;
class31.playerDefSocket
= (((Class) objects[0]).getDeclaredMethod
((String) objects[1], (Class[]) objects[2]));
}
} else
class31.playerDefSocket
= new DataInputStream(((URL) class31.hostname)
.openStream());
class31.anInt555 = 1;
} catch (Throwable throwable) {
class31.anInt555 = 2;
}
}
}
public JagSocket method561(int i, String string, Class var_class) {
if (i != 30810)
return null;
return newJagSocket(9, new Object[] { var_class, string }, 0, -104, 0);
if (i != 30810)
return null;
return newJagSocket(9, new Object[]{var_class, string}, 0, -104, 0);
}
public JagSocket method562(URL url, int i) {
if (i != 0)
run();
return newJagSocket(4, url, 0, 12, 0);
if (i != 0)
run();
return newJagSocket(4, url, 0, 12, 0);
}
public JagSocket method563(int i, int i_6_) {
if (i_6_ != 0)
aFile1043 = null;
return newJagSocket(3, null, i, i_6_ + 28, 0);
if (i_6_ != 0)
aFile1043 = null;
return newJagSocket(3, null, i, i_6_ + 28, 0);
}
public JagSocket method564(Class[] var_classes, int i, String string,
Class var_class) {
if (i != 0)
findcachedir(-119, null, 20, -51);
return newJagSocket(8, new Object[] { var_class, string, var_classes }, 0,
-98, 0);
Class var_class) {
if (i != 0)
findcachedir(-119, null, 20, -51);
return newJagSocket(8, new Object[]{var_class, string, var_classes}, 0,
-98, 0);
}
public void findcachedir(int i, String string, int i_7_, int i_8_) {
System.out.println("findcachedir called");
i = 32;
String[] cacheDirs = { client.cacheDir };
for (int dirId = 0; dirId < cacheDirs.length; dirId++) {
public void findcachedir(int storeID, String sub_file, int i_7_, int i_8_) {
//System.out.println("findcachedir called");
storeID = 32;
String[] cacheDirs = {client.cacheDir};
for (int dirId = 0; dirId < cacheDirs.length; dirId++) {
try {
File file = new File(cacheDirs[dirId]);
System.out.println("findcachedir"+file.getAbsolutePath());
//System.out.println("findcachedir" + file.getAbsolutePath());
if (!file.exists()) {
boolean bool = file.mkdir();
if (!bool) {
@ -209,9 +208,9 @@ public class SignLink implements Runnable
aClass2_1045 = new Class2(mainCache, "rw", 104857600L);
aClass2Array1039 = new Class2[i_8_];
for (int id = 0; id < i_8_; id++) {
aClass2Array1039[id] = (new Class2 (new File(file, ("main_file_cache.idx" + id)), "rw", 1048576L));
aClass2Array1039[id] = (new Class2(new File(file, ("main_file_cache.idx" + id)), "rw", 1048576L));
}
aClass2_1057 = (new Class2 (new File(file, "main_file_cache.idx255"), "rw", 1048576L));
aClass2_1057 = (new Class2(new File(file, "main_file_cache.idx255"), "rw", 1048576L));
aFile1043 = aFile1052 = file;
} catch (Exception exception) {
System.out.println("Unable to find cache files.");
@ -220,7 +219,7 @@ public class SignLink implements Runnable
for (int id = 0; id < i_8_; id++)
aClass2Array1039[id].method175(-8143);
aClass2_1057.method175(-8143);
} catch (Exception exception_18_) {
} catch (Exception exception_18_) {
}
aFile1043 = aFile1052 = null;
aClass2Array1039 = null;
@ -232,73 +231,73 @@ public class SignLink implements Runnable
if (aClass2_1041 != null && aFile1052 != null)
return;
}
if (aFile1052 == null)
throw new RuntimeException();
if (aFile1052 == null)
throw new RuntimeException();
}
public void method566(int i) {
synchronized (this) {
if (i != 0)
method560(null, -14);
aBoolean1055 = true;
this.notifyAll();
}
try {
aThread1037.join();
} catch (InterruptedException interruptedexception) {
/* empty */
}
if (aClass2_1045 != null) {
try {
aClass2_1045.method175(i + -8143);
} catch (java.io.IOException ioexception) {
/* empty */
}
}
if (aClass2_1057 != null) {
try {
aClass2_1057.method175(-8143);
} catch (java.io.IOException ioexception) {
/* empty */
}
}
if (aClass2Array1039 != null) {
for (int i_19_ = 0; i_19_ < aClass2Array1039.length; i_19_++) {
if (aClass2Array1039[i_19_] != null) {
try {
aClass2Array1039[i_19_].method175(-8143);
} catch (java.io.IOException ioexception) {
/* empty */
}
}
}
}
do {
if (aClass2_1041 != null) {
try {
aClass2_1041.method175(-8143);
} catch (java.io.IOException ioexception) {
break;
}
break;
}
} while (false);
synchronized (this) {
if (i != 0)
method560(null, -14);
aBoolean1055 = true;
this.notifyAll();
}
try {
aThread1037.join();
} catch (InterruptedException interruptedexception) {
/* empty */
}
if (aClass2_1045 != null) {
try {
aClass2_1045.method175(i + -8143);
} catch (java.io.IOException ioexception) {
/* empty */
}
}
if (aClass2_1057 != null) {
try {
aClass2_1057.method175(-8143);
} catch (java.io.IOException ioexception) {
/* empty */
}
}
if (aClass2Array1039 != null) {
for (int i_19_ = 0; i_19_ < aClass2Array1039.length; i_19_++) {
if (aClass2Array1039[i_19_] != null) {
try {
aClass2Array1039[i_19_].method175(-8143);
} catch (java.io.IOException ioexception) {
/* empty */
}
}
}
}
do {
if (aClass2_1041 != null) {
try {
aClass2_1041.method175(-8143);
} catch (java.io.IOException ioexception) {
break;
}
break;
}
} while (false);
}
public Interface1 method567(int i) {
if (i != 0)
return null;
return anInterface1_1050;
if (i != 0)
return null;
return anInterface1_1050;
}
public JagSocket method568(boolean bool, String string) {
if (bool != true)
return null;
return newJagSocket(12, string, 0, -124, 0);
if (bool != true)
return null;
return newJagSocket(12, string, 0, -124, 0);
}
public SignLink(boolean signed, Applet applet, int i, String string,
int i_20_) {
int i_20_) {
// app: SignLink(boolean true, Applet null, int 32, String runescape, int 27)
// applet: SignLink(boolean false, Applet client[panel0,0,0,0x0,invalid,layout=java.awt.FlowLayout], int 33, String null, int 0)
// System.out.println("SignLink(boolean "+signed+", Applet "+applet+", int "+i+", String "+string+", int "+i_20_+")");
@ -308,84 +307,84 @@ public class SignLink implements Runnable
i = 32;
i_20_ = 27;
// xxx to here
aClass2_1041 = null;
aFile1052 = null;
aClass31_1048 = null;
anApplet1042 = null;
aClass2_1045 = null;
aBoolean1055 = false;
aClass2_1057 = null;
javaVersion = "1.1";
anApplet1042 = applet;
javaVendor = "Unknown";
try {
javaVendor = System.getProperty("java.vendor");
javaVersion = System.getProperty("java.version");
} catch (Exception exception) {
/* empty */
}
try {
osName = System.getProperty("os.name");
} catch (Exception exception) {
osName = "Unknown";
}
osNameLowercase = osName.toLowerCase();
try {
osArch = System.getProperty("os.arch").toLowerCase();
} catch (Exception exception) {
osArch = "";
}
try {
osVersion = System.getProperty("os.version").toLowerCase();
} catch (Exception exception) {
osVersion = "";
}
try {
userHome = System.getProperty("user.home");
if (userHome != null)
userHome += "/";
} catch (Exception exception) {
/* empty */
}
if (userHome == null)
userHome = "~/";
try {
anEventQueue1056
= Toolkit.getDefaultToolkit().getSystemEventQueue();
} catch (Throwable throwable) {
/* empty */
}
try {
if (applet == null)
setFocusTraversalKeysEnabled
= (Class.forName("java.awt.Component").getDeclaredMethod
("setFocusTraversalKeysEnabled",
new Class[] { Boolean.TYPE }));
else
setFocusTraversalKeysEnabled = (applet.getClass().getMethod
("setFocusTraversalKeysEnabled",
new Class[] { Boolean.TYPE }));
} catch (Exception exception) {
/* empty */
}
try {
if (applet == null)
setFocusCycleRoot
= (Class.forName("java.awt.Container").getDeclaredMethod
("setFocusCycleRoot", new Class[] { Boolean.TYPE }));
else
setFocusCycleRoot = applet.getClass().getMethod("setFocusCycleRoot",
(new Class[]
{ Boolean.TYPE }));
} catch (Exception exception) {
/* empty */
}
if (signed)
findcachedir(i, string, 34, i_20_);
aBoolean1055 = false;
aThread1037 = new Thread(this);
aThread1037.setPriority(10);
aThread1037.setDaemon(true);
aThread1037.start();
aClass2_1041 = null;
aFile1052 = null;
aClass31_1048 = null;
anApplet1042 = null;
aClass2_1045 = null;
aBoolean1055 = false;
aClass2_1057 = null;
javaVersion = "1.1";
anApplet1042 = applet;
javaVendor = "Unknown";
try {
javaVendor = System.getProperty("java.vendor");
javaVersion = System.getProperty("java.version");
} catch (Exception exception) {
/* empty */
}
try {
osName = System.getProperty("os.name");
} catch (Exception exception) {
osName = "Unknown";
}
osNameLowercase = osName.toLowerCase();
try {
osArch = System.getProperty("os.arch").toLowerCase();
} catch (Exception exception) {
osArch = "";
}
try {
osVersion = System.getProperty("os.version").toLowerCase();
} catch (Exception exception) {
osVersion = "";
}
try {
userHome = System.getProperty("user.home");
if (userHome != null)
userHome += "/";
} catch (Exception exception) {
/* empty */
}
if (userHome == null)
userHome = "~/";
try {
anEventQueue1056
= Toolkit.getDefaultToolkit().getSystemEventQueue();
} catch (Throwable throwable) {
/* empty */
}
try {
if (applet == null)
setFocusTraversalKeysEnabled
= (Class.forName("java.awt.Component").getDeclaredMethod
("setFocusTraversalKeysEnabled",
new Class[]{Boolean.TYPE}));
else
setFocusTraversalKeysEnabled = (applet.getClass().getMethod
("setFocusTraversalKeysEnabled",
new Class[]{Boolean.TYPE}));
} catch (Exception exception) {
/* empty */
}
try {
if (applet == null)
setFocusCycleRoot
= (Class.forName("java.awt.Container").getDeclaredMethod
("setFocusCycleRoot", new Class[]{Boolean.TYPE}));
else
setFocusCycleRoot = applet.getClass().getMethod("setFocusCycleRoot",
(new Class[]
{Boolean.TYPE}));
} catch (Exception exception) {
/* empty */
}
if (signed)
findcachedir(i, string, 34, i_20_);
aBoolean1055 = false;
aThread1037 = new Thread(this);
aThread1037.setPriority(10);
aThread1037.setDaemon(true);
aThread1037.start();
}
}

File diff suppressed because it is too large Load Diff

View File

@ -101,7 +101,7 @@ public class Sprite_Sub1 extends Sprite
&& i_30_ - (anInt4311 << 12) < 0) {
for (/**/; i_31_ < 0; i_31_++) {
int i_32_
= (anIntArray4615
= (pixels
[((i_30_ >> 12) * anInt4309
+ (i_29_ >> 12))]);
int i_33_
@ -142,7 +142,7 @@ public class Sprite_Sub1 extends Sprite
i_40_ = i_41_;
for (/**/; i_40_ < 0; i_40_++) {
int i_42_
= (anIntArray4615
= (pixels
[((i_39_ >> 12) * anInt4309
+ (i_38_ >> 12))]);
int i_43_
@ -186,7 +186,7 @@ public class Sprite_Sub1 extends Sprite
i_50_ = i_52_;
for (/**/; i_50_ < 0; i_50_++) {
int i_53_
= (anIntArray4615
= (pixels
[((i_49_ >> 12) * anInt4309
+ (i_48_ >> 12))]);
int i_54_
@ -231,7 +231,7 @@ public class Sprite_Sub1 extends Sprite
i_61_ = i_62_;
for (/**/; i_61_ < 0; i_61_++) {
int i_63_
= (anIntArray4615
= (pixels
[((i_60_ >> 12) * anInt4309
+ (i_59_ >> 12))]);
int i_64_
@ -279,7 +279,7 @@ public class Sprite_Sub1 extends Sprite
if ((i_72_ = (i_70_ - i_21_) / i_21_) > i_71_)
i_71_ = i_72_;
for (/**/; i_71_ < 0; i_71_++) {
int i_73_ = (anIntArray4615
int i_73_ = (pixels
[((i_70_ >> 12) * anInt4309
+ (i_69_ >> 12))]);
int i_74_ = Class79.anIntArray1402[i_68_];
@ -329,7 +329,7 @@ public class Sprite_Sub1 extends Sprite
> i_81_)
i_81_ = i_82_;
for (/**/; i_81_ < 0; i_81_++) {
int i_83_ = (anIntArray4615
int i_83_ = (pixels
[((i_80_ >> 12) * anInt4309
+ (i_79_ >> 12))]);
int i_84_ = Class79.anIntArray1402[i_78_];
@ -371,7 +371,7 @@ public class Sprite_Sub1 extends Sprite
> i_91_)
i_91_ = i_93_;
for (/**/; i_91_ < 0; i_91_++) {
int i_94_ = (anIntArray4615
int i_94_ = (pixels
[((i_90_ >> 12) * anInt4309
+ (i_89_ >> 12))]);
int i_95_ = Class79.anIntArray1402[i_88_];
@ -421,7 +421,7 @@ public class Sprite_Sub1 extends Sprite
i_102_ = i_104_;
for (/**/; i_102_ < 0; i_102_++) {
int i_105_
= (anIntArray4615
= (pixels
[(i_101_ >> 12) * anInt4309 + (i_100_
>> 12)]);
int i_106_ = Class79.anIntArray1402[i_99_];
@ -474,7 +474,7 @@ public class Sprite_Sub1 extends Sprite
i_113_ = i_115_;
for (/**/; i_113_ < 0; i_113_++) {
int i_116_
= (anIntArray4615
= (pixels
[(i_112_ >> 12) * anInt4309 + (i_111_
>> 12)]);
int i_117_ = Class79.anIntArray1402[i_110_];
@ -579,7 +579,7 @@ public class Sprite_Sub1 extends Sprite
i_151_ += i_155_;
}
if (i_150_ > 0 && i_149_ > 0)
method1136(Class79.anIntArray1402, anIntArray4615, i_148_, i_147_,
method1136(Class79.anIntArray1402, pixels, i_148_, i_147_,
i_150_, i_149_, i_151_, i_152_);
}
@ -603,7 +603,7 @@ public class Sprite_Sub1 extends Sprite
int i_174_ = i_169_ - i_166_ * i_171_;
for (i = -is_163_[i_156_]; i < 0; i++) {
int i_175_
= (anIntArray4615
= (pixels
[(i_173_ >> 16) + (i_174_ >> 16) * anInt4309]);
int i_176_ = Class79.anIntArray1402[i_172_];
int i_177_ = i_175_ >>> 24;
@ -725,7 +725,7 @@ public class Sprite_Sub1 extends Sprite
i_218_ += i_222_ * i_230_;
i_227_ += i_230_;
}
method1137(Class79.anIntArray1402, anIntArray4615, 0, i_218_,
method1137(Class79.anIntArray1402, pixels, 0, i_218_,
i_219_, i_226_, i_227_, i_213_, i_214_, i_222_, i_223_,
i_216_, i_215_);
}
@ -751,7 +751,7 @@ public class Sprite_Sub1 extends Sprite
int i_249_ = i_244_ - i_241_ * i_246_;
for (i = -is_238_[i_231_]; i < 0; i++) {
int i_250_
= (anIntArray4615
= (pixels
[(i_248_ >> 16) + (i_249_ >> 16) * anInt4309]);
int i_251_ = Class79.anIntArray1402[i_247_];
int i_252_ = i_250_ >>> 24;
@ -809,7 +809,7 @@ public class Sprite_Sub1 extends Sprite
i_259_ += i_263_;
}
if (i_258_ > 0 && i_257_ > 0)
method1135(Class79.anIntArray1402, anIntArray4615, 0, i_256_,
method1135(Class79.anIntArray1402, pixels, 0, i_256_,
i_255_, i_258_, i_257_, i_259_, i_260_);
}
@ -853,7 +853,7 @@ public class Sprite_Sub1 extends Sprite
i_275_ += i_279_;
}
if (i_274_ > 0 && i_273_ > 0)
method1138(Class79.anIntArray1402, anIntArray4615, 0, i_272_,
method1138(Class79.anIntArray1402, pixels, 0, i_272_,
i_271_, i_274_, i_273_, i_275_, i_276_, i_270_);
}
@ -875,7 +875,7 @@ public class Sprite_Sub1 extends Sprite
int i_295_ = i_291_;
for (i = -i_281_; i < 0; i++) {
int i_296_
= (anIntArray4615
= (pixels
[(i_294_ >> 16) + (i_295_ >> 16) * anInt4309]);
int i_297_ = Class79.anIntArray1402[i_293_];
int i_298_ = i_296_ >>> 24;

View File

@ -107,11 +107,17 @@ public class client extends Applet_Sub1 implements org.moparscape.ClientInterfac
int w = image.getWidth(null);
int h = image.getHeight(null);
BufferedImage bi = new BufferedImage(956, 503, BufferedImage.TYPE_INT_ARGB);
int onEachSide = (956-766)/2;
bi.getGraphics().drawImage(image,
onEachSide, 0, 956-onEachSide, 503,
0, 0, 766, 503,
null);
/* // this kind of stretches the image, but might be needed with HD
bi.getGraphics().drawImage(image,
0, 0, 956, 503,
0, 0, 766, 503,
null);
bgImage = new int[956 * 503];
*/ bgImage = new int[956 * 503];
PixelGrabber pixelgrabber = new PixelGrabber(bi, 0, 0, 956, 503, bgImage, 0, 956);
try {
pixelgrabber.grabPixels();
@ -143,8 +149,8 @@ public class client extends Applet_Sub1 implements org.moparscape.ClientInterfac
public void method29(int i) {
anInt2373++;
if (Class75_Sub1_Sub1.aSignLink_4589 != null)
Class75_Sub1_Sub1.aSignLink_4589.method560(this.getClass(), 50);
if (Class75_Sub1_Sub1.signlink != null)
Class75_Sub1_Sub1.signlink.method560(this.getClass(), 50);
if (Class14.aClass84_241 != null)
Class14.aClass84_241.aBoolean1533 = false;
Class14.aClass84_241 = null;
@ -190,7 +196,7 @@ public class client extends Applet_Sub1 implements org.moparscape.ClientInterfac
public static void method34(byte i) {
anInt2371++;
int i_2_ = -36 % ((i - -7) / 60);
if (RuntimeException_Sub1.anInt2231 == 30)
if (GameException.anInt2231 == 30)
Class17.method296(25, (byte) -81);
}
@ -301,7 +307,7 @@ public class client extends Applet_Sub1 implements org.moparscape.ClientInterfac
-126);
Class54.aClass68_Sub28_Sub1_1028 = new Class68_Sub28_Sub1();
Class54.aClass68_Sub28_Sub1_1028.method1238(9, 128, i ^ 0x5e);
Class68_Sub13_Sub36.aClass35_4035 = Class55.method1717(Class75_Sub1_Sub1.aSignLink_4589,
Class68_Sub13_Sub36.aClass35_4035 = Class55.method1717(Class75_Sub1_Sub1.signlink,
(byte) 104, Class86.aCanvas1585, 22050,
0);
Class68_Sub13_Sub36.aClass35_4035.method425(false, Class54.aClass68_Sub28_Sub1_1028);
@ -309,7 +315,7 @@ public class client extends Applet_Sub1 implements org.moparscape.ClientInterfac
Class78.aClass21_Sub1_1388, false,
Class28.aClass21_Sub1_529,
Class68_Sub20_Sub4.aClass21_Sub1_4217);
Animable.aClass35_66 = Class55.method1717(Class75_Sub1_Sub1.aSignLink_4589,
Animable.aClass35_66 = Class55.method1717(Class75_Sub1_Sub1.signlink,
(byte) 104, Class86.aCanvas1585, 2048,
1);
Class80.aClass68_Sub28_Sub4_1418 = new Class68_Sub28_Sub4();
@ -481,7 +487,7 @@ public class client extends Applet_Sub1 implements org.moparscape.ClientInterfac
method29(-56);
if ((Class107.anInt1815 ^ 0xffffffff) == -111) {
Class14.aClass84_241 = new Class84();
Class75_Sub1_Sub1.aSignLink_4589.method558((byte) -61, 10, Class14.aClass84_241);
Class75_Sub1_Sub1.signlink.method558((byte) -61, 10, Class14.aClass84_241);
Class107.anInt1815 = 120;
Class68_Sub29.aRSString_3235 = Class67.aRSString_1207;
Class68_Sub13_Sub28.anInt3917 = 75;
@ -695,7 +701,7 @@ public class client extends Applet_Sub1 implements org.moparscape.ClientInterfac
anInt2366++;
boolean bool = Class44.method488(-127);
if (!bool)
method42(0);
doUpdateServer(0);
}
}
@ -708,7 +714,7 @@ public class client extends Applet_Sub1 implements org.moparscape.ClientInterfac
public void method33(int i) {
anInt2381++;
if (i == 2 && RuntimeException_Sub1.anInt2231 != 1000) {
if (i == 2 && GameException.anInt2231 != 1000) {
Class68_Sub3.anInt2812++;
if ((Class68_Sub3.anInt2812 % 1000 ^ 0xffffffff) == -2) {
GregorianCalendar gregoriancalendar = new GregorianCalendar();
@ -725,19 +731,19 @@ public class client extends Applet_Sub1 implements org.moparscape.ClientInterfac
int i_21_ = RSString.aClass97_2261.method1557(false);
Class68_Sub13_Sub30.anInt3948 = i_21_;
}
if ((RuntimeException_Sub1.anInt2231 ^ 0xffffffff) != -1) {
if (RuntimeException_Sub1.anInt2231 == 5) {
if ((GameException.anInt2231 ^ 0xffffffff) != -1) {
if (GameException.anInt2231 == 5) {
method35((byte) 68);
Class20.method327((byte) 50);
} else if (((RuntimeException_Sub1.anInt2231 ^ 0xffffffff) == -26) || ((RuntimeException_Sub1.anInt2231 ^ 0xffffffff) == -29))
} else if (((GameException.anInt2231 ^ 0xffffffff) == -26) || ((GameException.anInt2231 ^ 0xffffffff) == -29))
GameSocket.method598(94);
} else {
method35((byte) 68);
Class20.method327((byte) 104);
}
if ((RuntimeException_Sub1.anInt2231 ^ 0xffffffff) != -11)
if (RuntimeException_Sub1.anInt2231 != 30) {
if (RuntimeException_Sub1.anInt2231 == 40) {
if ((GameException.anInt2231 ^ 0xffffffff) != -11)
if (GameException.anInt2231 != 30) {
if (GameException.anInt2231 == 40) {
Login.login(false);
if ((Class68_Sub20_Sub7.anInt4257 ^ 0xffffffff) != 2)
if ((Class68_Sub20_Sub7.anInt4257 ^ 0xffffffff) != -16) {
@ -764,17 +770,112 @@ public class client extends Applet_Sub1 implements org.moparscape.ClientInterfac
return class45.anInt763;
}
public void method42(int i) {
private void doUpdateServernew(int i)
{
anInt2385++;
if (i == 0)
{
if (Class75_Sub1_Sub1.anInt4585 >= 4)
{
this.error_fatal(i + 690, "js5crc");
GameException.anInt2233 = 1000;
} else
{
if (Class68_Sub10.anInt2911 >= 4)
{
if (GameException.anInt2233 == 0 || GameException.anInt2233 == 5)
{
this.error_fatal(690, "js5io");
GameException.anInt2233 = 1000;
return;
}
Class13_Sub2.anInt2654 = 3000;
Class68_Sub10.anInt2911 = 3;
}
if (Class13_Sub2.anInt2654-- <= 0)
{
do
{
try
{
if (Class84.anInt1542 == 0)
{
//System.out.println(Class103.port);
Class103.port = client.ondemandPort;
Class68_Sub9.serverAddress = "localhost";
Class68_Sub13_Sub9.unknownSocket = (Class75_Sub1_Sub1.signlink.newJagSocket(Class68_Sub9.serverAddress, (byte) 115, Class103.port));
Class84.anInt1542++;
}
if (Class84.anInt1542 == 1)
{
if (Class68_Sub13_Sub9.unknownSocket.anInt555 == 2)
{
resetUpdateServer(-5, -1);
break;
}
if (Class68_Sub13_Sub9.unknownSocket.anInt555 == 1)
Class84.anInt1542++;
}
if (Class84.anInt1542 == 2)
{
Class109.updateServer = new GameSocket((Socket) (Class68_Sub13_Sub9.unknownSocket.playerDefSocket), (Class75_Sub1_Sub1.signlink));
Stream class68_sub14 = new Stream(5);
class68_sub14.writeByte(15);
class68_sub14.writeDWord(508);
Class109.updateServer.queueBytes(5, (((Stream) class68_sub14).buffer));
Class84.anInt1542++;
Class1_Sub6.aLong2585 = Class36.method438(17161);
}
if (Class84.anInt1542 == 3)
{
if (GameException.anInt2233 != 0 && GameException.anInt2233 != 5 && Class109.updateServer.available() <= 0)
{
if ((Class36.method438(i + 17161) - Class1_Sub6.aLong2585) > 30000L)
{
resetUpdateServer(i - 5, -2);
break;
}
} else
{
int i_22_ = Class109.updateServer.read();
if (i_22_ != 0)
{
resetUpdateServer(-5, i_22_);
break;
}
Class84.anInt1542++;
}
}
if (Class84.anInt1542 != 4)
break;
boolean bool = (GameException.anInt2233 == 5 || GameException.anInt2233 == 10 || GameException.anInt2233 == 28);
Class113.doUpdateServer(Class109.updateServer, false, !bool);
Class127.anInt2209 = 0;
Class68_Sub13_Sub9.unknownSocket = null;
Class84.anInt1542 = 0;
Class109.updateServer = null;
} catch (java.io.IOException ioexception)
{
resetUpdateServer(-5, -3);
}
break;
} while (false);
}
}
}
}
public void doUpdateServer(int i) {
anInt2383++;
if (i == 0)
if (Class75_Sub1_Sub1.anInt4585 >= 4) {
this.error(i + 690, "js5crc");
RuntimeException_Sub1.anInt2231 = 1000;
this.error_fatal(i + 690, "js5crc");
GameException.anInt2231 = 1000;
} else {
if ((Class68_Sub10.anInt2909 ^ 0xffffffff) <= -5) {
if (RuntimeException_Sub1.anInt2231 == 0 || RuntimeException_Sub1.anInt2231 == 5) {
this.error(690, "js5io");
RuntimeException_Sub1.anInt2231 = 1000;
if (GameException.anInt2231 == 0 || GameException.anInt2231 == 5) {
this.error_fatal(690, "js5io");
GameException.anInt2231 = 1000;
return;
}
Class13_Sub2.anInt2652 = 3000;
@ -785,13 +886,16 @@ public class client extends Applet_Sub1 implements org.moparscape.ClientInterfac
try {
if ((Class84.anInt1540 ^ 0xffffffff) == -1) {
// xxx believe this to be update server
// Class68_Sub13_Sub9.unknownSocket = (Class75_Sub1_Sub1.aSignLink_4589.newJagSocket(Class68_Sub9.serverAddress, (byte) 115, Class103.port));
Class103.port = client.ondemandPort;
Class68_Sub9.serverAddress = "localhost";
Class68_Sub13_Sub9.unknownSocket = (Class75_Sub1_Sub1.signlink.newJagSocket(Class68_Sub9.serverAddress, (byte) 115, Class103.port));
//System.out.println("update server? port:"+Class103.port);
Class68_Sub13_Sub9.unknownSocket = (Class75_Sub1_Sub1.aSignLink_4589.newJagSocket("localhost", (byte) 115, client.jaggrabPort));
//Class68_Sub13_Sub9.unknownSocket = (Class75_Sub1_Sub1.signlink.newJagSocket("localhost", (byte) 115, client.jaggrabPort));
Class84.anInt1540++;
}
if (Class84.anInt1540 == 1) {
if (Class68_Sub13_Sub9.unknownSocket.anInt555 == 2) {
// System.out.println("WARNING: this should not execute");
resetUpdateServer(-5, -1);
break;
}
@ -800,7 +904,8 @@ public class client extends Applet_Sub1 implements org.moparscape.ClientInterfac
}
if ((Class84.anInt1540 ^ 0xffffffff) == -3) {
// xxx this is update server
Class109.updateServer = new GameSocket(new Socket("localhost", client.ondemandPort), (Class75_Sub1_Sub1.aSignLink_4589));
//Class109.updateServer = new GameSocket(new Socket("localhost", client.ondemandPort), (Class75_Sub1_Sub1.signlink));
Class109.updateServer = new GameSocket((Socket) (Class68_Sub13_Sub9.unknownSocket.playerDefSocket), (Class75_Sub1_Sub1.signlink));
Stream class68_sub14 = new Stream(5);
class68_sub14.writeByte(15);
class68_sub14.writeDWord(508);
@ -809,32 +914,33 @@ public class client extends Applet_Sub1 implements org.moparscape.ClientInterfac
Class1_Sub6.aLong2585 = Class36.method438(17161);
}
if (Class84.anInt1540 == 3)
if ((RuntimeException_Sub1.anInt2231 ^ 0xffffffff) != -1 && RuntimeException_Sub1.anInt2231 != 5 && (Class109.updateServer.available() ^ 0xffffffff) >= -1) {
if ((GameException.anInt2231 ^ 0xffffffff) != -1 && GameException.anInt2231 != 5 && (Class109.updateServer.available() ^ 0xffffffff) >= -1) {
if (((Class36.method438(i + 17161) + -Class1_Sub6.aLong2585) ^ 0xffffffffffffffffL) < -30001L) {
System.out.println("WARNING: this should not execute");
// System.out.println("WARNING: this should not execute");
resetUpdateServer(i + -5, -2);
break;
}
} else {
int i_22_ = Class109.updateServer.read();
if ((i_22_ ^ 0xffffffff) != -1) {
//System.out.println("WARNING: this should not execute");
// System.out.println("WARNING: this should not execute");
resetUpdateServer(-5, i_22_);
break;
}
Class84.anInt1540++;
}
// the following is needed to connect:
if (Class84.anInt1540 != 4)
break;
boolean bool = (RuntimeException_Sub1.anInt2231 == 5 || (RuntimeException_Sub1.anInt2231 ^ 0xffffffff) == -11 || (RuntimeException_Sub1.anInt2231 ^ 0xffffffff) == -29);
Class113.doUpdateServer(Class109.updateServer, false,
!bool);
boolean bool = (GameException.anInt2231 == 5 || (GameException.anInt2231 ^ 0xffffffff) == -11 || (GameException.anInt2231 ^ 0xffffffff) == -29);
Class113.doUpdateServer(Class109.updateServer, false, !bool);
Class127.anInt2209 = 0;
Class68_Sub13_Sub9.unknownSocket = null;
Class84.anInt1540 = 0;
Class109.updateServer = null;
} catch (java.io.IOException ioexception) {
ioexception.printStackTrace();
// System.out.println("WARNING: this should not execute");
// ioexception.printStackTrace();
resetUpdateServer(-5, -3);
break;
}
@ -1350,7 +1456,7 @@ public class client extends Applet_Sub1 implements org.moparscape.ClientInterfac
Class37.method440(-121);
Class108.method1656(29889);
Class94.method1544((byte) -52);
RuntimeException_Sub1.method1794(64);
GameException.method1794(64);
Class63.method621((byte) 126);
Class11.method230((byte) 102);
Class12.method237(-5);
@ -1543,7 +1649,7 @@ public class client extends Applet_Sub1 implements org.moparscape.ClientInterfac
}
public void method27(int i) {
Class68_Sub13_Sub26.method831(Class75_Sub1_Sub1.aSignLink_4589,
Class68_Sub13_Sub26.method831(Class75_Sub1_Sub1.signlink,
(byte) -104, Class75_Sub2.safeMode);
Class68_Sub15.anInt3013 = (i != (Class75_Sub3.anInt3328 ^ 0xffffffff)
? Class106.anInt1799 + 50000 : 443);
@ -1571,22 +1677,22 @@ public class client extends Applet_Sub1 implements org.moparscape.ClientInterfac
RSString.aClass97_2261.method1562(Class86.aCanvas1585, true);
Class112.anInt1900 = SignLink.anInt1054;
try {
if (Class75_Sub1_Sub1.aSignLink_4589.aClass2_1045 != null) {
Class68_Sub20_Sub10.aClass124_4318 = new Class124((Class75_Sub1_Sub1.aSignLink_4589.aClass2_1045),
if (Class75_Sub1_Sub1.signlink.aClass2_1045 != null) {
Class68_Sub20_Sub10.aClass124_4318 = new Class124((Class75_Sub1_Sub1.signlink.aClass2_1045),
5200, 0);
for (int i_66_ = 0; (i_66_ ^ 0xffffffff) > -28; i_66_++)
Class26.aClass124Array520[i_66_] = new Class124((Class75_Sub1_Sub1.aSignLink_4589.aClass2Array1039[i_66_]),
Class26.aClass124Array520[i_66_] = new Class124((Class75_Sub1_Sub1.signlink.aClass2Array1039[i_66_]),
6000, 0);
Class75_Sub2.aClass124_3311 = new Class124((Class75_Sub1_Sub1.aSignLink_4589.aClass2_1057),
Class75_Sub2.aClass124_3311 = new Class124((Class75_Sub1_Sub1.signlink.aClass2_1057),
6000, 0);
Class43.aUnknown_734 = new Unknown(255, Class68_Sub20_Sub10.aClass124_4318,
Class75_Sub2.aClass124_3311, 500000);
Class68_Sub13_Sub4.aClass124_3486 = new Class124((Class75_Sub1_Sub1.aSignLink_4589.aClass2_1041),
Class68_Sub13_Sub4.aClass124_3486 = new Class124((Class75_Sub1_Sub1.signlink.aClass2_1041),
24, 0);
Class75_Sub1_Sub1.aSignLink_4589.aClass2_1041 = null;
Class75_Sub1_Sub1.aSignLink_4589.aClass2_1057 = null;
Class75_Sub1_Sub1.aSignLink_4589.aClass2_1045 = null;
Class75_Sub1_Sub1.aSignLink_4589.aClass2Array1039 = null;
Class75_Sub1_Sub1.signlink.aClass2_1041 = null;
Class75_Sub1_Sub1.signlink.aClass2_1057 = null;
Class75_Sub1_Sub1.signlink.aClass2_1045 = null;
Class75_Sub1_Sub1.signlink.aClass2Array1039 = null;
}
} catch (java.io.IOException ioexception) {
Class68_Sub20_Sub10.aClass124_4318 = null;
@ -1614,19 +1720,19 @@ public class client extends Applet_Sub1 implements org.moparscape.ClientInterfac
if ((Class127.anInt2209 ^ 0xffffffff) > -3 || (i_67_ ^ 0xffffffff) != -8 && i_67_ != 9)
if ((Class127.anInt2209 ^ 0xffffffff) > -3 || i_67_ != 6) {
if ((Class127.anInt2209 ^ 0xffffffff) <= -5)
if (RuntimeException_Sub1.anInt2231 != 0 && ((RuntimeException_Sub1.anInt2231 ^ 0xffffffff) != -6))
if (GameException.anInt2231 != 0 && ((GameException.anInt2231 ^ 0xffffffff) != -6))
Class13_Sub2.anInt2652 = 3000;
else {
this.error(690, "js5connect");
RuntimeException_Sub1.anInt2231 = 1000;
this.error_fatal(690, "js5connect");
GameException.anInt2231 = 1000;
}
} else {
this.error(690, "js5connect_outofdate");
RuntimeException_Sub1.anInt2231 = 1000;
this.error_fatal(690, "js5connect_outofdate");
GameException.anInt2231 = 1000;
}
else if ((RuntimeException_Sub1.anInt2231 ^ 0xffffffff) == -1 || (RuntimeException_Sub1.anInt2231 ^ 0xffffffff) == -6) {
this.error(i ^ ~0x2b6, "js5connect_full");
RuntimeException_Sub1.anInt2231 = 1000;
else if ((GameException.anInt2231 ^ 0xffffffff) == -1 || (GameException.anInt2231 ^ 0xffffffff) == -6) {
this.error_fatal(i ^ ~0x2b6, "js5connect_full");
GameException.anInt2231 = 1000;
} else
Class13_Sub2.anInt2652 = 3000;
}
@ -1643,20 +1749,20 @@ public class client extends Applet_Sub1 implements org.moparscape.ClientInterfac
public void method15(byte i) {
anInt2374++;
if (RuntimeException_Sub1.anInt2231 != 1000) {
if (GameException.anInt2231 != 1000) {
boolean bool = Class68_Sub13_Sub34.method872(0);
if (bool && Class123.aBoolean2127 && Class68_Sub13_Sub36.aClass35_4035 != null)
Class68_Sub13_Sub36.aClass35_4035.method428((byte) -100);
if (i >= -56)
init();
boolean bool_68_ = false;
if ((RuntimeException_Sub1.anInt2231 ^ 0xffffffff) == -31 || RuntimeException_Sub1.anInt2231 == 10)
if ((GameException.anInt2231 ^ 0xffffffff) == -31 || GameException.anInt2231 == 10)
if (!Class68_Sub13_Sub21.aBoolean3796) {
if (Class36.aLong644 != 0L && ((Class36.method438(17161) ^ 0xffffffffffffffffL) < (Class36.aLong644 ^ 0xffffffffffffffffL)))
Class44.method485(-1);
} else
Class44.method485(-1);
if ((ISAACRandomGen.aLong1480 ^ 0xffffffffffffffffL) != -1L && ((Class36.method438(17161) ^ 0xffffffffffffffffL) < (ISAACRandomGen.aLong1480 ^ 0xffffffffffffffffL)) && PlayerDefinition.connection != null && (RuntimeException_Sub1.anInt2231 == 30 || RuntimeException_Sub1.anInt2231 == 25))
if ((ISAACRandomGen.aLong1480 ^ 0xffffffffffffffffL) != -1L && ((Class36.method438(17161) ^ 0xffffffffffffffffL) < (ISAACRandomGen.aLong1480 ^ 0xffffffffffffffffL)) && PlayerDefinition.connection != null && (GameException.anInt2231 == 30 || GameException.anInt2231 == 25))
Class68_Sub20_Sub6.method1071((byte) -118);
if (Class103.aBoolean1762) {
bool_68_ = true;
@ -1664,16 +1770,16 @@ public class client extends Applet_Sub1 implements org.moparscape.ClientInterfac
}
if (bool_68_)
Class72.method1348(0);
if (RuntimeException_Sub1.anInt2231 == 0)
if (GameException.anInt2231 == 0)
Class68_Sub13_Sub16.method779(Class68_Sub13_Sub28.anInt3917,
null,
Class68_Sub29.aRSString_3235,
bool_68_, 23189);
else if (RuntimeException_Sub1.anInt2231 != 5)
if ((RuntimeException_Sub1.anInt2231 ^ 0xffffffff) != -11)
if ((RuntimeException_Sub1.anInt2231 ^ 0xffffffff) != -26 && ((RuntimeException_Sub1.anInt2231 ^ 0xffffffff) != -29))
if (RuntimeException_Sub1.anInt2231 != 30) {
if ((RuntimeException_Sub1.anInt2231 ^ 0xffffffff) == -41)
else if (GameException.anInt2231 != 5)
if ((GameException.anInt2231 ^ 0xffffffff) != -11)
if ((GameException.anInt2231 ^ 0xffffffff) != -26 && ((GameException.anInt2231 ^ 0xffffffff) != -29))
if (GameException.anInt2231 != 30) {
if ((GameException.anInt2231 ^ 0xffffffff) == -41)
Class74.method1381(false,
(Class68_Sub20_Sub13_Sub2.method1166(2, (new RSString[]{Class72.aRSString_1306,
Class118.aRSString_2081,
@ -1714,7 +1820,7 @@ public class client extends Applet_Sub1 implements org.moparscape.ClientInterfac
else
Class68_Sub7.method665((Class68_Sub13_Sub4.aClass68_Sub20_Sub1_3511),
-27931);
if ((RuntimeException_Sub1.anInt2231 == 30 || (RuntimeException_Sub1.anInt2231 ^ 0xffffffff) == -11) && (Class68_Sub20_Sub5.anInt4229 ^ 0xffffffff) == -1 && !bool_68_)
if ((GameException.anInt2231 == 30 || (GameException.anInt2231 ^ 0xffffffff) == -11) && (Class68_Sub20_Sub5.anInt4229 ^ 0xffffffff) == -1 && !bool_68_)
try {
Graphics graphics = Class86.aCanvas1585.getGraphics();
for (int i_71_ = 0; ((Class56.anInt1061 ^ 0xffffffff) < (i_71_ ^ 0xffffffff)); i_71_++)
@ -1728,7 +1834,7 @@ public class client extends Applet_Sub1 implements org.moparscape.ClientInterfac
} catch (Exception exception) {
Class86.aCanvas1585.repaint();
}
else if (RuntimeException_Sub1.anInt2231 != 0)
else if (GameException.anInt2231 != 0)
try {
Graphics graphics = Class86.aCanvas1585.getGraphics();
Class1_Sub5.aClass72_2496.method1350(73, 0, 0, graphics);

View File

@ -114,7 +114,7 @@ public abstract class Server extends Thread {
public void handleException(Exception e) {
if (MainPanel.debug()) {
String myName = this.getClass().getName();
if(!myName.equals("org.moparscape.userver.v508.OndemandServer443"))
if(myName.equals("org.moparscape.userver.v508.OndemandServer443"))
return;
System.err.print("Server error: ");
e.printStackTrace();

View File

@ -33,7 +33,6 @@ public class JaggrabServer extends Server {
super(defaultLocation, port, customLocation);
}
// TODO: if no internet connection, use a default CRC so it may continue
public void handleConnection(Socket s) {
try {
InputStream is = s.getInputStream();
@ -98,12 +97,38 @@ public class JaggrabServer extends Server {
URLConnection url = getHttpURLConnection(jagPath + file);
// if url is null, custom and default cannot be reached, return
if (url == null) {
// unless we want the CRC and may not be connected to the internet
// so we server it up if it is that which we are requesting
if (file.equals("crc-317")) {
System.out.println("UpdateServer: CRC does not exist on server, serving generic one.");
byte[] crc = new byte[]{0, 0, 0, 0, -107, 9, -20, -27, 45, -32, 105, 81, -7, 104, -39,
107, -28, -60, -76, -52, -73, -79, 92, -7, 105, 102, 28,
-102, -20, -93, 86, 90, 61, 51, 96, 30, -16, 30, 75, -30};
out.write(crc);
out.flush();
}
out.close();
return;
}
InputStream in = url.getInputStream();
/* // this is a crude way to output the crc byte array, leaving it here in case its needed it later
if (file.startsWith("crc")) {
ByteArrayOutputStream baos = new ByteArrayOutputStream();
byte[] buffer = new byte[1024];
int len;
while ((len = in.read(buffer)) >= 0)
baos.write(buffer, 0, len);
baos.flush();
in.close();
out.close();
for(byte b : baos.toByteArray())
System.out.print(b+", ");
System.exit(0);
}
*/
byte[] buffer = new byte[1024];
int len;
while ((len = in.read(buffer)) >= 0)

View File

@ -69,8 +69,8 @@ public class OndemandServer extends Server {
} else {
int type = in.read();
//System.out.println("type:" + type);
if (type != 0 && type != 1 && type != 3)
System.exit(-433);
// if (type != 0 && type != 1 && type != 3)
// System.exit(-433);
//int hash = ((in.get()& 0xff) << 16) + ((in.get()& 0xff) << 8) + (in.get()& 0xff);
if (type == 0 || type == 1) {
int index = in.read() & 0xff;
@ -114,8 +114,47 @@ public class OndemandServer extends Server {
URLConnection url = getHttpURLConnection(String.format(odsPath, index, id));
// if url is null, custom and default cannot be reached, continue
if (url == null)
if (url == null) {
// unless we want the update keys and may not be connected to the internet
// so we server them up if it is that which we are requesting
if (index == 255 && id == 255) {
System.out.println("UpdateServer: Update Keys do not exist on server, serving generic ones.");
int[] UPDATE_KEYS = {
0xff, 0x00, 0xff, 0x00, 0x00, 0x00, 0x00, 0xd8,
0x84, 0xa1, 0xa1, 0x2b, 0x00, 0x00, 0x00, 0xba,
0x58, 0x64, 0xe8, 0x14, 0x00, 0x00, 0x00, 0x7b,
0xcc, 0xa0, 0x7e, 0x23, 0x00, 0x00, 0x00, 0x48,
0x20, 0x0e, 0xe3, 0x6e, 0x00, 0x00, 0x01, 0x88,
0xec, 0x0d, 0x58, 0xed, 0x00, 0x00, 0x00, 0x71,
0xb9, 0x4c, 0xc0, 0x50, 0x00, 0x00, 0x01, 0x8b,
0x5b, 0x61, 0x79, 0x20, 0x00, 0x00, 0x00, 0x0c,
0x0c, 0x69, 0xb1, 0xc8, 0x00, 0x00, 0x02, 0x31,
0xc8, 0x56, 0x67, 0x52, 0x00, 0x00, 0x00, 0x69,
0x78, 0x17, 0x7b, 0xe2, 0x00, 0x00, 0x00, 0xc3,
0x29, 0x76, 0x27, 0x6a, 0x00, 0x00, 0x00, 0x05,
0x44, 0xe7, 0x75, 0xcb, 0x00, 0x00, 0x00, 0x08,
0x7d, 0x21, 0x80, 0xd5, 0x00, 0x00, 0x01, 0x58,
0xeb, 0x7d, 0x49, 0x8e, 0x00, 0x00, 0x00, 0x0c,
0xf4, 0xdf, 0xd6, 0x4d, 0x00, 0x00, 0x00, 0x18,
0xec, 0x33, 0x31, 0x7e, 0x00, 0x00, 0x00, 0x01,
0xf7, 0x7a, 0x09, 0xe3, 0x00, 0x00, 0x00, 0xd7,
0xe6, 0xa7, 0xa5, 0x18, 0x00, 0x00, 0x00, 0x45,
0xb5, 0x0a, 0xe0, 0x64, 0x00, 0x00, 0x00, 0x75,
0xba, 0xf2, 0xa2, 0xb9, 0x00, 0x00, 0x00, 0x5f,
0x31, 0xff, 0xfd, 0x16, 0x00, 0x00, 0x01, 0x48,
0x03, 0xf5, 0x55, 0xab, 0x00, 0x00, 0x00, 0x1e,
0x85, 0x03, 0x5e, 0xa7, 0x00, 0x00, 0x00, 0x23,
0x4e, 0x81, 0xae, 0x7d, 0x00, 0x00, 0x00, 0x18,
0x67, 0x07, 0x33, 0xe3, 0x00, 0x00, 0x00, 0x14,
0xab, 0x81, 0x05, 0xac, 0x00, 0x00, 0x00, 0x03,
0x24, 0x75, 0x85, 0x14, 0x00, 0x00, 0x00, 0x36
};
for (int i : UPDATE_KEYS)
out.writeByte(i);
out.flush();
}
continue;
}
//int size = url.getContentLength();
// if size == -1 it doesn't exist

View File

@ -40,7 +40,7 @@ public class OndemandServer443 extends Server {
}
public void handleConnection(Socket s) throws IOException {
//System.out.println("ods: new connection to update server");
System.out.println("ods: new connection to 443 server");
// this is messed up, so we will read a byte, it will throw an exception, andf we will start over.
s.getInputStream().skip(4);