Thread: Need help logging into Server

Results 1 to 8 of 8
  1. #1 Need help logging into Server 
    Registered Member the323909's Avatar
    Join Date
    Jul 2008
    Posts
    945
    Thanks given
    80
    Thanks received
    111
    Rep Power
    40
    Hi, I recently downloaded a Source but I cannot log into it.

    It says "Your Computer has been blocked from connecting to this server."

    And in the Run.bat it says this

    Client connected from 127.0.0.1
    java.lang.NullPointerException
    at Server.run(Server.java:139)
    at java.lang.Thread.run(Thread.java:619)
    I get that everytime I try and connect any help guys?
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Oct 2008
    Age
    32
    Posts
    175
    Thanks given
    3
    Thanks received
    21
    Rep Power
    61
    Do you have a router? If you do, bypass the router and try again.
    Reply With Quote  
     

  3. #3  
    Registered Member the323909's Avatar
    Join Date
    Jul 2008
    Posts
    945
    Thanks given
    80
    Thanks received
    111
    Rep Power
    40
    Ahh, good idea ill try it hoot:
    Reply With Quote  
     

  4. #4  
    Renown Programmer

    Nikki's Avatar
    Join Date
    Aug 2008
    Posts
    3,992
    Thanks given
    553
    Thanks received
    1,078
    Rep Power
    5000
    Does the server you have got an antileech maybe? It could be its blocking your ip, Or a Antileech part in Server.java meaning that it wont let it connect at all.
    Please don't add/pm me asking for RSPS help!

    Links:
    - Pastebin
    - Sleeksnap

    Reply With Quote  
     

  5. #5  
    ⚓Manic-Owner⚓


    Join Date
    Nov 2007
    Posts
    2,711
    Thanks given
    47
    Thanks received
    9
    Rep Power
    650
    ya go into server.java, search for 127.0.0.1, delete the method, (if their is one)
    MY DISCORD:
    bluejay#1504
    Reply With Quote  
     

  6. #6  
    Registered Member the323909's Avatar
    Join Date
    Jul 2008
    Posts
    945
    Thanks given
    80
    Thanks received
    111
    Rep Power
    40
    I get this when I search 127.0.0.1

    public static void main(String args[])
    {
    s = new Server();
    //SQL.createConnection();
    s.worldO = new WorldObjects();
    try
    {
    //Class.forName("org.gjt.mm.mysql.Driver");
    //s.myConnection = DriverManager.getConnection("jdbc:mysql://127.0.0.1/theserverthecanneverbehacked", "root", "");
    //s.myStmt = s.myConnection.createStatement();
    }
    catch(Exception exception)
    {
    System.out.println(exception.getMessage());
    exception.printStackTrace();
    }
    s.npcHandler = new NPCHandler();
    s.itemHandler = new ItemHandler();
    s.pc = new PestControl();
    s.shopHandler = new ShopHandler();
    s.magicHandler = new MagicHandler();
    (new Thread(s)).start();
    boolean flag = false;
    long l = System.currentTimeMillis();
    long l1 = 0L;
    while(s.keepServerOn)
    {
    s.restartTime++;
    if(s.playerHandler != null)
    s.playerHandler.process(windowClosingException);
    if(s.npcHandler != null)
    s.npcHandler.process(CYCLE_TIME);
    if(s.itemHandler != null)
    s.itemHandler.process();
    if(s.shopHandler != null)
    s.shopHandler.process();
    if(s.pc != null)
    s.pc.process();
    if(s.worldO != null)
    s.worldO.process();
    s.garbageCollectDelay--;
    if(s.garbageCollectDelay == 0)
    {
    s.garbageCollectDelay = 240;
    System.gc();
    }
    long l2 = System.currentTimeMillis() - l;
    s.msLag = (int)l2;
    s.getClass();
    if(l2 >= 500L)
    {
    s.getClass();
    l2 = 500L;
    }
    try
    {
    s.getClass();
    Thread.sleep(500L - l2);
    }
    catch(Exception exception1)
    {
    System.err.println("Thread Sleep Error");
    }
    l = System.currentTimeMillis();
    }
    s.resetServer();
    }
    Ive also tryied taking out the // on the three lines but it still doesny enable me to login
    Reply With Quote  
     

  7. #7  
    ⚓Manic-Owner⚓


    Join Date
    Nov 2007
    Posts
    2,711
    Thanks given
    47
    Thanks received
    9
    Rep Power
    650
    send me sourc elet me have a try at it.
    MY DISCORD:
    bluejay#1504
    Reply With Quote  
     

  8. #8  
    Registered Member the323909's Avatar
    Join Date
    Jul 2008
    Posts
    945
    Thanks given
    80
    Thanks received
    111
    Rep Power
    40
    Ok I send you it through PM
    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
  •