i have a problem with the html...
here's my error
Code:
Java Plug-in 1.6.0_18
Using JRE version 1.6.0_18-b07 Java HotSpot(TM) Client VM
User home directory = C:\Users\Lewis
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------
RuntimeException_Sub1
at Class33.method263(Class33.java:66)
at client.init(client.java:411)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception: RuntimeException_Sub1
and here's my html
Code:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv='Expires' content='0'>
<meta http-equiv='Pragma' content='no-cache'>
<meta http-equiv='Cache-Control' content='no-cache'>
<title>459 Webclient</title>
<link href="css/default.css" type="text/css" rel="stylesheet" />
<script type="text/javascript">
function oul() {
return 'Please make sure you have logged out of the game before navigating away.';
}
window.onbeforeunload=oul;
</script>
</head>
<body>
<div id="menu">
<div id="navbarbox">
<div id="navbar">
<div><a id="home" href="http://www.google.com/" target="_blank">Home</a></div>
</div>
</div>
<applet name="Client" width="765" height="503" archive="client.jar" code="client.class">
<param name="java_arguments" value="-Xmx1024m">
<param name="worldid" value="1">
<param name="modewhat" value="live">
<param name="modewhere" value="live">
<param name="memory" value="highmem">
<param name="members" value="members">
<param name="lang" value="english">
</applet>
</div>
</body>
</html>
oh and here's my run.bat for reference
Code:
@echo off
java -cp bin client 1 live live highmem members english
pause
and here's where the error points to:
Client.java
Code:
public void init() {
try {
anInt1938++;
if (!method13((byte) -91))
return;
Class27.anInt560 = Integer.parseInt(getParameter("worldid"));
Class33_Sub6_Sub3.anInt2711 = Integer
.parseInt(getParameter("modewhat"));
Class33_Sub15.anInt2445 = Integer
.parseInt(getParameter("modewhere"));
String s = getParameter("lowmem");
if (s == null || !s.equals("1"))
Class33_Sub6_Sub4_Sub4.method357(116);
else
Class24.method191(-123);
String s1 = getParameter("members");
if (s1 != null && s1.equals("1"))
Class77.aBoolean1647 = true;
else
Class77.aBoolean1647 = false;
String s2 = getParameter("lang");
if (s2 != null && s2.equals("1")) {
Class33_Sub6_Sub11.method540(-114);
Class33_Sub13_Sub4.aClass58_3321 = Class33_Sub13_Sub4.aClass58_3319;
Class75.anInt1617 = 1;
}
try {
Class33_Sub6_Sub3.anInt2707 = Integer
.parseInt(getParameter("js"));
Class33_Sub2.anInt2023 = Integer.parseInt(getParameter("plug"));
} catch (Exception _ex) {
}
CacheDownloader.downloadCache();
Class60.aString1289 = Applet_Sub1.serverIP;
method26(28818, 459, 32 - -Class33_Sub6_Sub3.anInt2711, 503, 765);
return;
} catch (RuntimeException runtimeexception) {
throw Class33.method263(runtimeexception, "client.init(" + ')');
}
}
thank you