Thread: exotic help please

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1 exotic help please 
    Registered Member KushKings's Avatar
    Join Date
    Jul 2018
    Posts
    441
    Thanks given
    49
    Thanks received
    24
    Discord
    View profile
    Rep Power
    37
    Hey guys I got the server running fine but cant get the client to run this is what I get when I run it in eclipse if u need more info let me know please and thank you will rep and thanks for help..


    java.net.UnknownHostException: [Only registered and activated users can see links. ]
    at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
    at sun.security.ssl.BaseSSLSocketImpl.connect(Unknown Source)
    at sun.net.NetworkClient.doConnect(Unknown Source)
    at sun.net.[Only registered and activated users can see links. ] Source)
    at sun.net.[Only registered and activated users can see links. ] Source)
    at sun.net.www.protocol.https.HttpsClient.<init>(Unkn own Source)
    at sun.net.[Only registered and activated users can see links. ] Source)
    at sun.net.[Only registered and activated users can see links. ] Source)
    at sun.net.[Only registered and activated users can see links. ] Source)
    at sun.net.[Only registered and activated users can see links. ] Source)
    at sun.net.[Only registered and activated users can see links. ] Source)
    at sun.net.[Only registered and activated users can see links. ] Source)
    at sun.net.[Only registered and activated users can see links. ] Source)
    at sun.net.[Only registered and activated users can see links. ] Source)
    at java.net.URL.openStream(Unknown Source)
    at com.client.FileDownloader.getNewestVersion(FileDow nloader.java:132)
    at com.client.FileDownloader.start(FileDownloader.jav a:173)
    at com.client.Client.startUp(Client.java:9535)
    at com.client.RSApplet.run(RSApplet.java:153)
    at com.client.Client.run(Client.java:5601)
    at java.lang.Thread.run(Unknown Source)
    java.lang.NullPointerException
    at com.client.TextDrawingArea.<init>(TextDrawingArea. java:19)
    at com.client.Client.startUp(Client.java:9568)
    at com.client.RSApplet.run(RSApplet.java:153)
    at com.client.Client.run(Client.java:5601)
    at java.lang.Thread.run(Unknown Source)
    Error: loaderror Starting up - This can take a few minutes 15
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Apr 2020
    Posts
    32
    Thanks given
    1
    Thanks received
    5
    Rep Power
    42
    its trying to connect to "www.exoticrs.com"

    First line "java.net.UnknownHostException: www.exoticrs.com"

    This doesnt exist. Change it to localhost
    Reply With Quote  
     

  3. #3  
    Registered Member KushKings's Avatar
    Join Date
    Jul 2018
    Posts
    441
    Thanks given
    49
    Thanks received
    24
    Discord
    View profile
    Rep Power
    37
    Quote Originally Posted by ggtip2 View Post
    its trying to connect to "www.exoticrs.com"

    First line "java.net.UnknownHostException: www.exoticrs.com"

    This doesnt exist. Change it to localhost


    I was thinking it mite be some thing like that just don't know where to change it it show that in like 2 or 3 spots

    I am thinking it has some thing to do with this line of code but not 100% sure and if so not sure what I should change it to


    public static String getNewestVersion() {
    String md5 = null;
    try (InputStream input = new URL("https://www.exoticrs.com/public/cache/md5.php").openStream()) {
    md5 = IOUtils.toString(input);
    } catch (IOException e) {
    e.printStackTrace();
    }
    return md5;
    }
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Apr 2020
    Posts
    32
    Thanks given
    1
    Thanks received
    5
    Rep Power
    42
    if you change it to

    public static String getNewestVersion() {
    return "1";
    }

    what happens
    Reply With Quote  
     

  5. #5  
    Registered Member KushKings's Avatar
    Join Date
    Jul 2018
    Posts
    441
    Thanks given
    49
    Thanks received
    24
    Discord
    View profile
    Rep Power
    37
    Quote Originally Posted by ggtip2 View Post
    if you change it to

    public static String getNewestVersion() {
    return "1";
    }

    what happens

    this is what I get now

    java.net.UnknownHostException: exoticrs.com
    at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
    at sun.security.ssl.BaseSSLSocketImpl.connect(Unknown Source)
    at sun.net.NetworkClient.doConnect(Unknown Source)
    at sun.net.[Only registered and activated users can see links. ] Source)
    at sun.net.[Only registered and activated users can see links. ] Source)
    at sun.net.www.protocol.https.HttpsClient.<init>(Unkn own Source)
    at sun.net.[Only registered and activated users can see links. ] Source)
    at sun.net.[Only registered and activated users can see links. ] Source)
    at sun.net.[Only registered and activated users can see links. ] Source)
    at sun.net.[Only registered and activated users can see links. ] Source)
    at sun.net.[Only registered and activated users can see links. ] Source)
    at sun.net.[Only registered and activated users can see links. ] Source)
    at sun.net.[Only registered and activated users can see links. ] Source)
    at sun.net.[Only registered and activated users can see links. ] Source)
    at com.client.FileDownloader.downloadFile(FileDownloa der.java:65)
    at com.client.FileDownloader.start(FileDownloader.jav a:168)
    at com.client.Client.startUp(Client.java:9535)
    at com.client.RSApplet.run(RSApplet.java:153)
    at com.client.Client.run(Client.java:5601)
    at java.lang.Thread.run(Unknown Source)
    java.lang.NullPointerException
    at com.client.TextDrawingArea.<init>(TextDrawingArea. java:19)
    at com.client.Client.startUp(Client.java:9568)
    at com.client.RSApplet.run(RSApplet.java:153)
    at com.client.Client.run(Client.java:5601)
    at java.lang.Thread.run(Unknown Source)
    Error: loaderror Starting up - This can take a few minutes 15
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Apr 2020
    Posts
    32
    Thanks given
    1
    Thanks received
    5
    Rep Power
    42
    Have you got the cache for the client? also whats on each of these lines

    FileDownloader.java line 168
    Client.java line 9535
    RSApplet.java 153
    Client.java 5601
    Reply With Quote  
     

  7. #7  
    Registered Member KushKings's Avatar
    Join Date
    Jul 2018
    Posts
    441
    Thanks given
    49
    Thanks received
    24
    Discord
    View profile
    Rep Power
    37
    yeah I have the cache and here is the code for the lines


    FileDownloa der.java:65

    try (OutputStream out = new BufferedOutputStream(new FileOutputStream(type.getDirectory() + "/" + localFileName)); InputStream in = conn.getInputStream()) {

    FileDownloader.jav a:168

    downloadFile(client, type, getArchivedName(type));


    Client.java:9535

    FileDownloader.start(this, FileType.CACHE);


    RSApplet.java:153

    startUp();


    Client.java:5601

    super.run();


    there is what is on each line or do u need all the code that goes with it

    Quote Originally Posted by ggtip2 View Post
    Have you got the cache for the client? also whats on each of these lines

    FileDownloader.java line 168
    Client.java line 9535
    RSApplet.java 153
    Client.java 5601
    I put it on there forgot to quote u on it
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Apr 2020
    Posts
    32
    Thanks given
    1
    Thanks received
    5
    Rep Power
    42
    I think its trying to find your cache but its not in the correct directory so its trying to download it from that website.
    Reply With Quote  
     

  9. #9  
    Registered Member Flub's Avatar
    Join Date
    Apr 2017
    Posts
    126
    Thanks given
    9
    Thanks received
    15
    Discord
    View profile
    Rep Power
    28
    Quote Originally Posted by KushKings View Post
    Hey guys I got the server running fine but cant get the client to run this is what I get when I run it in eclipse if u need more info let me know please and thank you will rep and thanks for help..


    java.net.UnknownHostException: [Only registered and activated users can see links. ]
    at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
    at sun.security.ssl.BaseSSLSocketImpl.connect(Unknown Source)
    at sun.net.NetworkClient.doConnect(Unknown Source)
    at sun.net.[Only registered and activated users can see links. ] Source)
    at sun.net.[Only registered and activated users can see links. ] Source)
    at sun.net.www.protocol.https.HttpsClient.<init>(Unkn own Source)
    at sun.net.[Only registered and activated users can see links. ] Source)
    at sun.net.[Only registered and activated users can see links. ] Source)
    at sun.net.[Only registered and activated users can see links. ] Source)
    at sun.net.[Only registered and activated users can see links. ] Source)
    at sun.net.[Only registered and activated users can see links. ] Source)
    at sun.net.[Only registered and activated users can see links. ] Source)
    at sun.net.[Only registered and activated users can see links. ] Source)
    at sun.net.[Only registered and activated users can see links. ] Source)
    at java.net.URL.openStream(Unknown Source)
    at com.client.FileDownloader.getNewestVersion(FileDow nloader.java:132)
    at com.client.FileDownloader.start(FileDownloader.jav a:173)
    at com.client.Client.startUp(Client.java:9535)
    at com.client.RSApplet.run(RSApplet.java:153)
    at com.client.Client.run(Client.java:5601)
    at java.lang.Thread.run(Unknown Source)
    java.lang.NullPointerException
    at com.client.TextDrawingArea.<init>(TextDrawingArea. java:19)
    at com.client.Client.startUp(Client.java:9568)
    at com.client.RSApplet.run(RSApplet.java:153)
    at com.client.Client.run(Client.java:5601)
    at java.lang.Thread.run(Unknown Source)
    Error: loaderror Starting up - This can take a few minutes 15

    You need to be looking in Signlink.java - CacheDownloader.java - Client.java

    If you're using an IDE such as Eclipse.. Go to Search -> and type in 'www.'

    You'll be able to find any occurrence of your Client trying to connect to a site - it could even be a background image that it's trying to find.
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  10. #10  
    Registered Member KushKings's Avatar
    Join Date
    Jul 2018
    Posts
    441
    Thanks given
    49
    Thanks received
    24
    Discord
    View profile
    Rep Power
    37
    Quote Originally Posted by flub1 View Post
    You need to be looking in Signlink.java - CacheDownloader.java - Client.java

    If you're using an IDE such as Eclipse.. Go to Search -> and type in 'www.'

    You'll be able to find any occurrence of your Client trying to connect to a site - it could even be a background image that it's trying to find.


    here is 3 spots I found that in u know if this would be it or how to fix?


    here is one

    public static String getNewestVersion() {
    String md5 = null;
    try (InputStream input = new URL("https://www.exoticrs.com/public/cache/md5.php").openStream()) {
    md5 = IOUtils.toString(input);
    } catch (IOException e) {
    e.printStackTrace();
    }
    return md5;
    }

    here is two

    fadingScreen = new FadingScreenImage(newBoldFont,
    "Error connecting to server. Go to [Only registered and activated users can see links. ] for info.", (byte) -1, (byte) 5, 765 / 2 - 125,
    350, 250);
    }


    and here is the last one


    if (super.mouseX >= centerX - 101 && super.mouseX <= centerX - 59 && super.mouseY >= centerY + 98 && super.mouseY <= centerY + 138) {
    launchURL("https://www.exoticrs.com");
    }
    Reply With Quote  
     

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

Similar Threads

  1. Help please?
    By Pablo... in forum Graphics
    Replies: 11
    Last Post: 11-18-2007, 04:12 AM
  2. Run Server? little help please :]
    By im so h00d in forum Tutorials
    Replies: 13
    Last Post: 11-11-2007, 03:59 AM
  3. Help, please
    By Zachyboo in forum Tutorials
    Replies: 4
    Last Post: 08-27-2007, 04:27 PM
  4. Webclient Help Please?
    By Spoonkitty in forum RS2 Client
    Replies: 1
    Last Post: 06-28-2007, 09:22 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •