Thread: Simple cache downloader issue.

Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1 Simple cache downloader issue. 
    Registered Member

    Join Date
    Jul 2013
    Posts
    221
    Thanks given
    55
    Thanks received
    275
    Rep Power
    980
    solved.
    Reply With Quote  
     

  2. #2  
    Administrator

    Kevy's Avatar
    Join Date
    Jul 2006
    Posts
    1,294
    Thanks given
    143
    Thanks received
    1,702
    Rep Power
    5000
    Start by checking your console, maybe there is some error.
    Thanks, Kevin.
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Jul 2013
    Posts
    221
    Thanks given
    55
    Thanks received
    275
    Rep Power
    980
    Quote Originally Posted by Kevy View Post
    Start by checking your console, maybe there is some error.
    ok, i walked into that one.
    I should've said there is, but i don't understand it. settings.dat is within the extracted cache so if it's unable to find it (which is what im assuming), then i'm lost.

    Reply With Quote  
     

  4. #4  
    Banned
    Join Date
    Jul 2018
    Posts
    152
    Thanks given
    37
    Thanks received
    15
    Rep Power
    0
    Quote Originally Posted by NeilG View Post
    ok, i walked into that one.
    I should've said there is, but i don't understand it. settings.dat is within the extracted cache so if it's unable to find it (which is what im assuming), then i'm lost.

    Hi, neil.

    I'd like to help you, maybe posting a bit of the code will help.
    Reply With Quote  
     

  5. #5  
    Banned

    Join Date
    Nov 2017
    Posts
    46
    Thanks given
    46
    Thanks received
    44
    Rep Power
    0
    Quote Originally Posted by NeilG View Post
    ok, i walked into that one.
    I should've said there is, but i don't understand it. settings.dat is within the extracted cache so if it's unable to find it (which is what im assuming), then i'm lost.

    Post the readSettings method, please.
    Reply With Quote  
     

  6. #6  
    Registered Member

    Join Date
    Jul 2013
    Posts
    221
    Thanks given
    55
    Thanks received
    275
    Rep Power
    980
    Quote Originally Posted by DevMadara View Post
    Post the readSettings method, please.
    Code:
    public static void readSettings() throws IOException {
    		try {
    		DataInputStream in = new DataInputStream(new BufferedInputStream(new FileInputStream(Signlink.findcachedir() + "settings.dat")));
    		rememberMe = in.readInt() == 1 ? true : false;
    		myUsername = in.readUTF();
    		myPassword = in.readUTF();
    		in.close();
    		} catch(Exception e) {	
    			e.printStackTrace();
    		}
    	}
    Reply With Quote  
     

  7. #7  
    Banned

    Join Date
    Nov 2017
    Posts
    46
    Thanks given
    46
    Thanks received
    44
    Rep Power
    0
    Quote Originally Posted by NeilG View Post
    Code:
    public static void readSettings() throws IOException {
    		try {
    		DataInputStream in = new DataInputStream(new BufferedInputStream(new FileInputStream(Signlink.findcachedir() + "settings.dat")));
    		rememberMe = in.readInt() == 1 ? true : false;
    		myUsername = in.readUTF();
    		myPassword = in.readUTF();
    		in.close();
    		} catch(Exception e) {	
    			e.printStackTrace();
    		}
    	}
    Hmm, it looks fine. I think your calling that method right before the client finishes unzipping the cache? Please post your Client.java and CacheDownloader class, you can use Pastebin.

    EDIT: Fixed it for him.
    Reply With Quote  
     

  8. #8  
    Registered Member

    Join Date
    Jul 2013
    Posts
    221
    Thanks given
    55
    Thanks received
    275
    Rep Power
    980
    Quote Originally Posted by EEAZY View Post
    Hi, neil.

    I'd like to help you, maybe posting a bit of the code will help.
    Let me know what code you require and i shall post it.

    Quote Originally Posted by DevMadara View Post
    Fixed it for him.
    Thanks for the help.

    Although after that, this remains.

    Reply With Quote  
     

  9. #9  
    Registered Member

    Join Date
    Jun 2019
    Posts
    204
    Thanks given
    94
    Thanks received
    43
    Rep Power
    79
    Quote Originally Posted by NeilG View Post
    Let me know what code you require and i shall post it.



    Thanks for the help.

    Although after that, this remains.

    Post ur startup method from the Client.
    Reply With Quote  
     

  10. #10  
    Registered Member

    Join Date
    Jul 2013
    Posts
    221
    Thanks given
    55
    Thanks received
    275
    Rep Power
    980
    removed
    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. Auto-cache downloader issue, help please!
    By EmgScape in forum Help
    Replies: 5
    Last Post: 08-02-2012, 11:37 PM
  2. [SHARD]Cache downloading issue
    By imurdernubs in forum Help
    Replies: 3
    Last Post: 04-20-2012, 12:58 AM
  3. Replies: 2
    Last Post: 03-04-2012, 07:30 AM
  4. [PI] Cache Downloading Issue
    By xxskylarscapexx in forum Help
    Replies: 4
    Last Post: 02-21-2012, 09:02 AM
  5. Simple Cache Downloader/Version checker
    By Richard1992 in forum Tutorials
    Replies: 4
    Last Post: 09-18-2008, 01:26 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
  •