Thread: Java error causes everyone to disconnect

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1 Java error causes everyone to disconnect 
    html33
    Guest
    Okay

    In the red is the error i get. And from there on out all users are disconnected but cannot reconnect because there account is still logged in.

    As you can see from the yellow part, What's wrong?

     

  2. #2  
    Human

    Only's Avatar
    Join Date
    Aug 2008
    Posts
    1,108
    Thanks given
    1
    Thanks received
    18
    Rep Power
    116
    Your process method starts to lag, and then eventually some1 does a special and disconnects the server, it can happen after a while when your server has been running for a while. thats why you should get a auto-restarter for set to 20 minutes. or else declare it somewhere else then in the process. its the best i can explain atm lol xD if not, its about a null not getting checked..
     

  3. #3  
    html33
    Guest
    We do have a restarter. We use

    " Voule Auto restarter "

    Works really well. I set it to 30mins.

    It doesent happen much, Just alittle thing i would like fixed
     

  4. #4  
    legend-scape old
    Guest
    are you, using reapagescape v1 or v2? becuz i got that on my source then i deleted it then got deltascape,..
     

  5. #5  
    Human

    Only's Avatar
    Join Date
    Aug 2008
    Posts
    1,108
    Thanks given
    1
    Thanks received
    18
    Rep Power
    116
    Well, id suggest you to make a new class, process.java to handle it, instead of putting everything into your method, it eventually crashes your server if you have lots of programs in it.
     

  6. #6  
    html33
    Guest
    To be honest Lgend-Scape i coldent tell you.


    Only, Is that a hard thing to do? A long process?
     

  7. #7  
    Human

    Only's Avatar
    Join Date
    Aug 2008
    Posts
    1,108
    Thanks given
    1
    Thanks received
    18
    Rep Power
    116
    Hm, i guess not ? But easier to make a new method for it in the client.java xD
     

  8. #8  
    html33
    Guest
    How would i go around doing that?

    Wanna show me on msn?
     

  9. #9  
    Human

    Only's Avatar
    Join Date
    Aug 2008
    Posts
    1,108
    Thanks given
    1
    Thanks received
    18
    Rep Power
    116
    just search for public boolean process() OR public void process() depens on source...
     

  10. #10  
    Programmer, Contributor, RM and Veteran




    Join Date
    Mar 2007
    Posts
    5,147
    Thanks given
    2,656
    Thanks received
    3,731
    Rep Power
    5000
    In client.java line 553 you aren't checking to see if an object is null.
    Don't listen to the person above . This certainly is not related to lag.
    .
     

Page 1 of 2 12 LastLast

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
  •