What is worng with my loggin thingy?

Discussion in 'RuneScape Miscellaneous' started by Pk Scape Owner, Aug 30, 2008.

Thread Status:
Not open for further replies.
What is worng with my loggin thingy?
  1. Unread #1 - Aug 30, 2008 at 3:49 PM
  2. Pk Scape Owner
    Joined:
    Aug 10, 2008
    Posts:
    58
    Referrals:
    0
    Sythe Gold:
    0

    Pk Scape Owner Member

    What is worng with my loggin thingy?

    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...
     
  3. Unread #2 - Aug 30, 2008 at 10:54 PM
  4. xxavixx
    Joined:
    Jan 15, 2008
    Posts:
    681
    Referrals:
    1
    Sythe Gold:
    0

    xxavixx Apprentice

    What is worng with my loggin thingy?

    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.
     
< NPC Help! | RuneBar Private Server - RuneBar.Org, RuneBar.Com, RuneBar.Net ~ Loads Of Pictures + >

Users viewing this thread
1 guest
Thread Status:
Not open for further replies.


 
 
Adblock breaks this site