Thread: Cache Question

Results 1 to 3 of 3
  1. #1 Cache Question 
    Registered Member
    Stratified's Avatar
    Join Date
    Nov 2012
    Age
    25
    Posts
    1,197
    Thanks given
    1,539
    Thanks received
    223
    Rep Power
    524
    Some people get errors when they download my client and it's starting up. I believe the error(s) are due to the cache. So in my Signlink.java I have this as where the cache is supposed to be put
    Code:
    public static String findcachedir() {        
    String as[] = {"C:/"};
            if(storeid < 32 || storeid > 34)
                storeid = 32;
            String s = ".RussianScape_Cache_V4";
            for(int i = 0; i < as.length; i++)
                try {
                    String s1 = as[i];
                    if(s1.length() > 0) {
                        File file = new File(s1);
                        if(!file.exists())
                            continue;
                    }
                    File file1 = new File(s1 + s);
                    if(file1.exists() || file1.mkdir())
                        return s1 + s + "/";
                }
                catch(Exception _ex) { }
            return null;
        }
    And I was wondering that it might be because it's assigned to be placed in C:/ but people's C:/ drives are sometimes named differently? Maybe not because it shouldn't matter. Regardless, somebody please help?
    Attached image
    Attached image
    Reply With Quote  
     

  2. Thankful user:


  3. #2  
    Registered Member
    Join Date
    Jul 2012
    Posts
    205
    Thanks given
    20
    Thanks received
    0
    Rep Power
    10
    Which download client?
    Reply With Quote  
     

  4. #3  
    Registered Member
    Stratified's Avatar
    Join Date
    Nov 2012
    Age
    25
    Posts
    1,197
    Thanks given
    1,539
    Thanks received
    223
    Rep Power
    524
    Quote Originally Posted by tony0 View Post
    Which download client?
    I dunno, the jarred one?
    Attached image
    Attached image
    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

Similar Threads

  1. cache question
    By new2code in forum Help
    Replies: 2
    Last Post: 12-21-2012, 06:07 PM
  2. Cache Question
    By Urban Nazi in forum Help
    Replies: 1
    Last Post: 12-01-2010, 02:45 AM
  3. Cache Question.
    By Kenshin1388 in forum Help
    Replies: 0
    Last Post: 09-06-2009, 01:35 AM
  4. Cache Question
    By Xostab` in forum Help
    Replies: 5
    Last Post: 06-03-2009, 06:29 PM
Tags for this Thread

View Tag Cloud

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