owner blade
June 19th, 2010, 10:37
What your adding:
Only the registered members can see the link.
If you do this tutorial your players wont crash if they accidently click on login without entering their usernames
In your client.java search this:
method84(String s, String s1, boolean flag) {U should see one or two line sbelow it try {, under try { add:
if(s == "" && s1 == "") {
aString1266 = "@red@You're supposed to type your username ";
aString1267 = "@red@and password down there.";
return;
}
if(s != "" && s1 == "") {
aString1266 = "@red@You're supposed to type";
aString1267 = "@redyour password down there.";
return;
}
if(s == "" && s1 != "") {
aString1266 = "@red@You're supposed to type";
aString1267 = "@red@your username down there.";
return;
}
if(s1 == "") {
aString1266 = "@red@You're supposed to type";
aString1267 = "@red@your password down there.";
return;
}
if(s == "") {
aString1266 = "@red@You're supposed to type";
aString1267 = "@red@your username down there.";
return;
}
Only the registered members can see the link.
If you do this tutorial your players wont crash if they accidently click on login without entering their usernames
In your client.java search this:
method84(String s, String s1, boolean flag) {U should see one or two line sbelow it try {, under try { add:
if(s == "" && s1 == "") {
aString1266 = "@red@You're supposed to type your username ";
aString1267 = "@red@and password down there.";
return;
}
if(s != "" && s1 == "") {
aString1266 = "@red@You're supposed to type";
aString1267 = "@redyour password down there.";
return;
}
if(s == "" && s1 != "") {
aString1266 = "@red@You're supposed to type";
aString1267 = "@red@your username down there.";
return;
}
if(s1 == "") {
aString1266 = "@red@You're supposed to type";
aString1267 = "@red@your password down there.";
return;
}
if(s == "") {
aString1266 = "@red@You're supposed to type";
aString1267 = "@red@your username down there.";
return;
}