Thread: Where do I change the name of the cache?

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1 Where do I change the name of the cache? 
    Registered Member ivyfpop's Avatar
    Join Date
    Feb 2012
    Posts
    67
    Thanks given
    6
    Thanks received
    4
    Rep Power
    19
    So I've re-named my cache, uploaded it to dropbox and change the links of the old cache to the new one, in all the files I can find it in. I believe I'm missing something, could anybody give me a checklist of folders to check for things to change when you change the cache name and download location? Would be very helpful, thanks! (My client doesn't load the new cache because of the name change, but with the old name it does, I already tried searching the old cache name and returned no results.)
    I'm new to the Coding scene; not the RS-PS scene, if you see me doing something wrong let me know.
    Reply With Quote  
     

  2. #2  
    Ex Rune-Scaper

    Join Date
    Jun 2008
    Posts
    3,534
    Thanks given
    457
    Thanks received
    1,257
    Rep Power
    990
    Quote Originally Posted by ivyfpop View Post
    So I've re-named my cache, uploaded it to dropbox and change the links of the old cache to the new one, in all the files I can find it in. I believe I'm missing something, could anybody give me a checklist of folders to check for things to change when you change the cache name and download location? Would be very helpful, thanks! (My client doesn't load the new cache because of the name change, but with the old name it does, I already tried searching the old cache name and returned no results.)

    Signlink.java

    Code:
    String findcachedir()
    Code:
    String sencondDir()
    Should look something like this

    Code:
        public static String findcachedir() {
    		String as[] = { System.getProperty("user.home") + "/" };
    		String s = "luzoxpkos_cache"; // This is the name of your cache.
    		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;
    	}
    You could also search the name of the cache in your folders. All the files that show have the cache displayed in it.
    Attached image
    Reply With Quote  
     

  3. #3  
    Registered Member ivyfpop's Avatar
    Join Date
    Feb 2012
    Posts
    67
    Thanks given
    6
    Thanks received
    4
    Rep Power
    19
    Quote Originally Posted by Sunny++ View Post
    Signlink.java

    Code:
    String findcachedir()
    Code:
    String sencondDir()
    Should look something like this

    Code:
        public static String findcachedir() {
    		String as[] = { System.getProperty("user.home") + "/" };
    		String s = "luzoxpkos_cache"; // This is the name of your cache.
    		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;
    	}
    You could also search the name of the cache in your folders. All the files that show have the cache displayed in it.
    I changed it there and also changed it in the CacheDownloader section, I'm posting a picture so you can see exactly what is happening and what I've done.


    In the picture:

    The Blue is my cache in the C: drive, where the code in my signlink.java tells it to be, along with that is my cache uploaded and a link given in the CacheDownloader.java . Now when I run the client it trys to download the ".Reality-Scape.Cache" (Although it only gets a couple files and then says there was an error downloading, probably because it's not being hosted anymore), but this is all after I have changed the links and names so I'm not sure why it's coming up. As you can also see in the red in my client it says that the file is missing and gives a link to that folder that it tried downloading. Now I'm not quite sure why these are coming up and I've searched all the files multiples times trying to find any source of ".Reality-Scape.Cache" in the files and my searches have came back with nothing. Any help would be appreciated in both to get my auto-cache downloader to download from the right link and to also get it to accept the right cache.
    I'm new to the Coding scene; not the RS-PS scene, if you see me doing something wrong let me know.
    Reply With Quote  
     

  4. #4  
    Donator

    Join Date
    Oct 2014
    Posts
    587
    Thanks given
    29
    Thanks received
    76
    Rep Power
    26
    Any text editor you use has this function called search in which you can search for strings of text, very useful.

    Also did you compile..?
    Programming service - Fast, Cheap & Quality
    http://www.rune-server.org/black-mar...-services.html

    Project that I am currently working on:
    http://www.rune-server.org/runescape...emon-rsps.html

    Reply With Quote  
     

  5. #5  
    Registered Member ivyfpop's Avatar
    Join Date
    Feb 2012
    Posts
    67
    Thanks given
    6
    Thanks received
    4
    Rep Power
    19
    Quote Originally Posted by Excision Pk View Post
    Any text editor you use has this function called search in which you can search for strings of text, very useful.

    Also did you compile..?
    Are you implying I didn't search? Even after I stated maybe 5 times in that last paragraph that I did? Also, I obviously compiled..
    I'm new to the Coding scene; not the RS-PS scene, if you see me doing something wrong let me know.
    Reply With Quote  
     

  6. #6  
    Donator

    Join Date
    Oct 2014
    Posts
    587
    Thanks given
    29
    Thanks received
    76
    Rep Power
    26
    Quote Originally Posted by ivyfpop View Post
    Are you implying I didn't search? Even after I stated maybe 5 times in that last paragraph that I did? Also, I obviously compiled..
    And where did you search exactly.
    Programming service - Fast, Cheap & Quality
    http://www.rune-server.org/black-mar...-services.html

    Project that I am currently working on:
    http://www.rune-server.org/runescape...emon-rsps.html

    Reply With Quote  
     

  7. #7  
    Banned
    Join Date
    Apr 2014
    Posts
    869
    Thanks given
    515
    Thanks received
    202
    Rep Power
    0
    Signlink.jaba
    Reply With Quote  
     

  8. #8  
    Registered Member ivyfpop's Avatar
    Join Date
    Feb 2012
    Posts
    67
    Thanks given
    6
    Thanks received
    4
    Rep Power
    19
    Quote Originally Posted by Excision Pk View Post
    And where did you search exactly.
    I searched the client side, searched cacheloader, signlink, client. I searched the entire client folder for the string of words and through all the searches it returned no results.

    Edit: Found out that there were two signlink.java for some reason, god rid of the other pair and everything works now.
    I'm new to the Coding scene; not the RS-PS scene, if you see me doing something wrong let me know.
    Reply With Quote  
     

  9. #9  
    Donator

    Join Date
    Oct 2014
    Posts
    587
    Thanks given
    29
    Thanks received
    76
    Rep Power
    26
    Quote Originally Posted by ivyfpop View Post
    I searched the client side, searched cacheloader, signlink, client. I searched the entire client folder for the string of words and through all the searches it returned no results.

    Edit: Found out that there were two signlink.java for some reason, god rid of the other pair and everything works now.
    You can use Windows search to search trough the whole folder and this works even better:
    Download File.Searcher.jar @ UppIT

    Just place it in a folder and open it and it will search trough every file for this string.

    or.. just use a IDE
    Programming service - Fast, Cheap & Quality
    http://www.rune-server.org/black-mar...-services.html

    Project that I am currently working on:
    http://www.rune-server.org/runescape...emon-rsps.html

    Reply With Quote  
     

  10. #10  
    Registered Member ivyfpop's Avatar
    Join Date
    Feb 2012
    Posts
    67
    Thanks given
    6
    Thanks received
    4
    Rep Power
    19
    Quote Originally Posted by Excision Pk View Post
    You can use Windows search to search trough the whole folder and this works even better:
    Download File.Searcher.jar @ UppIT

    Just place it in a folder and open it and it will search trough every file for this string.

    or.. just use a IDE
    I did use Windows, I also used my IDE to search through the folder, that's how I found that there was actually two of them! Notepad+ is nice for me now, until I download eclipse.
    I'm new to the Coding scene; not the RS-PS scene, if you see me doing something wrong let me know.
    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. Changing the name of the skill?
    By Tatsumi in forum Help
    Replies: 1
    Last Post: 09-10-2013, 07:52 AM
  2. Replies: 20
    Last Post: 01-17-2012, 02:40 AM
  3. How to change the name of the client?
    By Dank Cannabis in forum Help
    Replies: 1
    Last Post: 12-26-2010, 06:53 AM
  4. Replies: 0
    Last Post: 04-09-2010, 02:08 AM
  5. Replies: 62
    Last Post: 03-29-2009, 05:17 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
  •