• Log in or sign up for an account here: https://www.sythe.org/login

What is worng with my loggin thingy?

Status
Not open for further replies.
Joined
Aug 10, 2008
Sythe Gold
0
Messages
58
my complier says:
Code:
.\client.java:3353: ';' expected
  println(playerName+": ID "+playerId+": "+playerName+" failed to logon because they are banned:D");
         ^
.\client.java:3353: not a statement
  println(playerName+": ID "+playerId+": "+playerName+" failed to logon because they are banned:D");
                                                     ^
.\client.java:3353: ';' expected
  println(playerName+": ID "+playerId+": "+playerName+" failed to logon because they are banned:D");

                  ^
3 errors
Done

My Client.jave is like:
Code:
 if(checkbannedusers() == 5) {
  returnCode = 4;l
  println(playerName+": ID "+playerId+": "+playerName+" failed to logon because they are banned:D");
  appendToLR(playerName+": ID "+playerId+": "+playerName+" failed to logon because they are banned:D");
  savefile = false;
  disconnected = true;
}
 if(checkbannedips() == 5) {
  returnCode = 4;
  println(playerName+": ID "+playerId+": "+playerName+" failed to logon because their ip is banned:D");
  appendToLR(playerName+": ID "+playerId+": "+playerName+" failed to logon because their ip is banned:D");
  savefile = false;
  disconnected = true;
}

Whats Wrong? i CANT understand it...
 
try:
Code:
 if(checkbannedusers() == 5) {
  returnCode = 4;l
  println("playerName+": ID "+playerId+": "+playerName+" failed to logon because they are banned:D");
  appendToLR("playerName+": ID "+playerId+": "+playerName+" failed to logon because they are banned:D");
  savefile = false;
  disconnected = true;
}
 if(checkbannedips() == 5) {
  returnCode = 4;
  println("playerName+": ID "+playerId+": "+playerName+" failed to logon because their ip is banned:D");
  appendToLR("playerName+": ID "+playerId+": "+playerName+" failed to logon because their ip is banned:D");
  savefile = false;
  disconnected = true;
}

notice the " b4 playerName.
 
Status
Not open for further replies.
duelarena.gg
Back
Top