Java- Error- illegal start of expression

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

rayra3

Thread Starter
Joined
Apr 7, 2010
Messages
2
I am having another Java error when i compile my servers client. Here is the script.

if(s.startsWith("dump")) {
}
int j2 = 0; int i3 = 0;
if(s.startsWith("yellow:"))
{
j2 = 0;
aString887 = aString887.substring(7);
} else
if(s.startsWith("red:"))
{
j2 = 1;
aString887 = aString887.substring(4);
} else
if(s.startsWith("green:"))
{
j2 = 2;
aString887 = aString887.substring(6);
} else
if(s.startsWith("cyan:"))
{
j2 = 3;
aString887 = aString887.substring(5);
} else
if(s.startsWith("purple:"))
{
j2 = 4;
aString887 = aString887.substring(7);
} else
if(s.startsWith("white:"))
{
j2 = 5;
aString887 = aString887.substring(6);
} else
if(s.startsWith("flash1:"))
{
j2 = 6;
aString887 = aString887.substring(7);
} else
if(s.startsWith("flash2:"))
{
j2 = 7;
aString887 = aString887.substring(7);
} else
if(s.startsWith("flash3:"))
{
j2 = 8;
aString887 = aString887.substring(7);
} else
if(s.startsWith("glow1:"))
{
j2 = 9;
aString887 = aString887.substring(6);
} else
if(s.startsWith("glow2:"))
{
j2 = 10;
aString887 = aString887.substring(6);
} else
if(s.startsWith("glow3:"))
{
j2 = 11;
aString887 = aString887.substring(6);
}
s = aString887.toLowerCase();
if(s.startsWith("wave:"))
{
i3 = 1;
aString887 = aString887.substring(5);
} else
if(s.startsWith("wave2:"))
{
i3 = 2;
aString887 = aString887.substring(6);
} else
if(s.startsWith("shake:"))
{
i3 = 3;
aString887 = aString887.substring(6);
} else
if(s.startsWith("scroll:"))
{
i3 = 4;
aString887 = aString887.substring(7);
} else
if(s.startsWith("slide:"))
{
i3 = 5;
aString887 = aString887.substring(6);
}
aClass30_Sub2_Sub2_1192.method397((byte)6, 4);
aClass30_Sub2_Sub2_1192.method398(0);
int j3 = aClass30_Sub2_Sub2_1192.anInt1406;
aClass30_Sub2_Sub2_1192.method425(301, i3);
aClass30_Sub2_Sub2_1192.method425(301, j2);
aClass30_Sub2_Sub2_834.anInt1406 = 0;
Class35.method526(aString887, aBoolean1277, aClass30_Sub2_Sub2_834);
aClass30_Sub2_Sub2_1192.method441(0, aByte1217, aClass30_Sub2_Sub2_834.aByteArray1405, aClass30_Sub2_Sub2_834.anInt1406);
aClass30_Sub2_Sub2_1192.method407(aClass30_Sub2_Sub2_1192.anInt1406 - j3, (byte)0);
aString887 = Class35.method527(aString887, 0);
aString887 = Class34.method497(aString887, 0);
aClass30_Sub2_Sub4_Sub1_Sub2_1126.aString1506 = aString887;
aClass30_Sub2_Sub4_Sub1_Sub2_1126.anInt1513 = j2;
aClass30_Sub2_Sub4_Sub1_Sub2_1126.anInt1531 = i3;
aClass30_Sub2_Sub4_Sub1_Sub2_1126.anInt1535 = 150;
if(anInt863 == 2)
method77(((Class30_Sub2_Sub4_Sub1) (aClass30_Sub2_Sub4_Sub1_Sub2_1126)).aString1506, 2, "@[email protected]" + aClass30_Sub2_Sub4_Sub1_Sub2_1126.aString1703, aBoolean991);
else
if(anInt863 == 1)
method77(((Class30_Sub2_Sub4_Sub1) (aClass30_Sub2_Sub4_Sub1_Sub2_1126)).aString1506, 2, "@[email protected]" + aClass30_Sub2_Sub4_Sub1_Sub2_1126.aString1703, aBoolean991);
else
method77(((Class30_Sub2_Sub4_Sub1) (aClass30_Sub2_Sub4_Sub1_Sub2_1126)).aString1506, 2, aClass30_Sub2_Sub4_Sub1_Sub2_1126.aString1703, aBoolean991);
if(anInt1287 == 2)
{
anInt1287 = 3;
aBoolean1233 = true;
aClass30_Sub2_Sub2_1192.method397((byte)6, 95);
aClass30_Sub2_Sub2_1192.method398(anInt1287);
aClass30_Sub2_Sub2_1192.method398(anInt845);
aClass30_Sub2_Sub2_1192.method398(anInt1248);
}
}
aString887 = "";
aBoolean1223 = true;
}
}
} while(true);

public byte[] GetModel(int Index) ---The Error is here(illegal start)---
{
try
{
File Model = new File("./Models/"+Index+".gz");
byte[] aByte = new byte[(int)Model.length()];
FileInputStream Fis = new FileInputStream(Model);
Fis.read(aByte);
method77("aByte = ["+aByte+"]!", 0, "", aBoolean991);
Fis.close();
return aByte;
}
catch(Exception e)
{return null;}
}

Please help me in any possible way you can, thank you :)
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top