Thread: Please help, small problem

Results 1 to 7 of 7
  1. #1 Please help, small problem 
    Donator
    Jamal's Avatar
    Join Date
    Mar 2007
    Posts
    145
    Thanks given
    0
    Thanks received
    0
    Rep Power
    7




    how do i get rid of this? it jus keeps spamming the run.
    Reply With Quote  
     

  2. #2  
    Community Veteran


    Join Date
    Jan 2008
    Posts
    2,659
    Thanks given
    494
    Thanks received
    627
    Rep Power
    980
    It's looking for a file called "webstatus.txt" but can't find it.
    Reply With Quote  
     

  3. #3  
    Donator
    Jamal's Avatar
    Join Date
    Mar 2007
    Posts
    145
    Thanks given
    0
    Thanks received
    0
    Rep Power
    7
    so how do i make it stop looking for that file?
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Jun 2007
    Posts
    2,237
    Thanks given
    267
    Thanks received
    411
    Rep Power
    1283
    Go to line 14 of server.java and delete that line.
    Don't worry, Be happy.
    Reply With Quote  
     

  5. #5  
    Donator
    Jamal's Avatar
    Join Date
    Mar 2007
    Posts
    145
    Thanks given
    0
    Thanks received
    0
    Rep Power
    7
    ("C:\\Inetpub\\runefusion.net\\webstatus.txt")) ;
    status.println(System.currentTimeMillis());
    status.println(PlayerHandler.playerCount);
    status.close();
    //System.out.println("WebStatus File Updated!");
    status = new PrintWriter(new FileOutputStream("C:\\Inetpub\\runefusion.net\\web list.txt"));
    for(Player p : PlayerHandler.players) {
    if(p == null) continue;
    if(!p.isActive) continue;
    if(!p.initialized) continue;
    if(p.disconnected) continue;
    if(p.playerName == null) continue;
    if(p.playerName.equals("") || p.playerName.equals("_")) continue;
    status.println(p.playerRights+"\t"+p.playerName);
    }
    status.close();
    //System.out.println("WebList File Updated!");
    } catch(Exception e) {
    e.printStackTrace();
    }
    }
    //}
    }
    This is line 14 and under. wat should i get rid of?
    Reply With Quote  
     

  6. #6  
    gwasbuck3t
    Guest
    Just make a blank text file with the specified name, should fix all the problems.
    Reply With Quote  
     

  7. #7  
    Valar Morghulis

    Laxika's Avatar
    Join Date
    Sep 2006
    Age
    32
    Posts
    2,813
    Thanks given
    1,804
    Thanks received
    274
    Rep Power
    2128
    Can you post the above 20 and the under 20 lines?
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •