Thread: 742 cache problem

Page 1 of 3 123 LastLast
Results 1 to 10 of 22
  1. #1 742 cache problem 
    Registered Member b0ss's Avatar
    Join Date
    Feb 2013
    Posts
    144
    Thanks given
    15
    Thanks received
    4
    Rep Power
    8
    i'm honestly not understand this problem, it seems like every server i tend to use on eclipse does not work, but when i just run it straight from the folder it works, but with the source i have right now it doesn't have the run.bat/compile.bat so any help please?
    same my old pc set on fire
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Feb 2013
    Posts
    4,409
    Thanks given
    59
    Thanks received
    478
    Rep Power
    138
    Have you read the error?
    Reply With Quote  
     

  3. #3  
    Registered Member b0ss's Avatar
    Join Date
    Feb 2013
    Posts
    144
    Thanks given
    15
    Thanks received
    4
    Rep Power
    8
    Quote Originally Posted by Mayne View Post
    Have you read the error?
    yes, but i honestly don't understand what it means since i've just came back to coding.
    same my old pc set on fire
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Aug 2014
    Posts
    349
    Thanks given
    58
    Thanks received
    62
    Rep Power
    30
    Read the error, it can't find main_file_cache.dat2
    Reply With Quote  
     

  5. #5  
    Registered Member b0ss's Avatar
    Join Date
    Feb 2013
    Posts
    144
    Thanks given
    15
    Thanks received
    4
    Rep Power
    8
    Quote Originally Posted by Puulse View Post
    Read the error, it can't find main_file_cache.dat2
    okay that's why i put a picture up with the cache folder there, and it's obviously in there, so what should i do?
    same my old pc set on fire
    Reply With Quote  
     

  6. #6  
    Donator


    Join Date
    Jul 2013
    Posts
    1,233
    Thanks given
    1
    Thanks received
    493
    Rep Power
    0
    Quote Originally Posted by Mayne View Post
    Have you read the error?
    Stop being a smart ass.

    OT: Check the file Cache.java and in
    Code:
    public static void init() throws IOException {
    		STORE = new Store(Settings.CACHE_PATH);
    	}
    Where it says for me Settings.Cache_path is where the location of your cache should be. Heres mine incase you need it:
    Code:
    public static final String CACHE_PATH = "data/cache/";
    If thats correct, somethings wrong with eclipse or the cache your trying to use.
    Reply With Quote  
     

  7. #7  
    Registered Member

    Join Date
    Feb 2013
    Posts
    4,409
    Thanks given
    59
    Thanks received
    478
    Rep Power
    138
    Quote Originally Posted by b0ss View Post
    okay that's why i put a picture up with the cache folder there, and it's obviously in there, so what should i do?
    Move the source to your desktop, and try again.
    Reply With Quote  
     

  8. #8  
    Registered Member b0ss's Avatar
    Join Date
    Feb 2013
    Posts
    144
    Thanks given
    15
    Thanks received
    4
    Rep Power
    8
    Quote Originally Posted by Mayne View Post
    Move the source to your desktop, and try again.
    lol it is on my desktop -fp-
    same my old pc set on fire
    Reply With Quote  
     

  9. #9  
    Registered Member

    Join Date
    Feb 2013
    Posts
    4,409
    Thanks given
    59
    Thanks received
    478
    Rep Power
    138
    Quote Originally Posted by b0ss View Post
    lol it is on my desktop -fp-
    Then there's your problem, you're trying to load the cache from the dropbox.
    Reply With Quote  
     

  10. #10  
    Registered Member b0ss's Avatar
    Join Date
    Feb 2013
    Posts
    144
    Thanks given
    15
    Thanks received
    4
    Rep Power
    8
    Quote Originally Posted by 423 Million View Post
    Stop being a smart ass.

    OT: Check the file Cache.java and in
    Code:
    public static void init() throws IOException {
    		STORE = new Store(Settings.CACHE_PATH);
    	}
    Where it says for me Settings.Cache_path is where the location of your cache should be. Heres mine incase you need it:
    Code:
    public static final String CACHE_PATH = "data/cache/";
    If thats correct, somethings wrong with eclipse or the cache your trying to use.
    yeah my cache.java looks like this, so i don't really know..
    Code:
    package com.rs.cache;
    
    import java.io.IOException;
    
    import com.alex.io.OutputStream;
    import com.alex.store.Store;
    import com.alex.util.whirlpool.Whirlpool;
    import com.rs.Settings;
    import com.rs.utils.Utils;
    
    public final class Cache {
    
    	public static Store STORE;
    
    	private Cache() {
    
    	}
    
    	public static void init() throws IOException {
    		STORE = new Store(Settings.CACHE_PATH);
    	}
    
    	public static final byte[] generateUkeysFile() {
    		OutputStream stream = new OutputStream();
    		stream.writeByte(STORE.getIndexes().length);
    		for (int index = 0; index < STORE.getIndexes().length; index++) {
    			if (STORE.getIndexes()[index] == null) {
    				stream.writeInt(0);
    				stream.writeInt(0);
    				stream.writeBytes(new byte[64]);
    				continue;
    			}
    			stream.writeInt(STORE.getIndexes()[index].getCRC());
    			stream.writeInt(STORE.getIndexes()[index].getTable().getRevision());
    			stream.writeBytes(STORE.getIndexes()[index].getWhirlpool());
    		}
    		byte[] archive = new byte[stream.getOffset()];
    		stream.setOffset(0);
    		stream.getBytes(archive, 0, archive.length);
    		OutputStream hashStream = new OutputStream(65);
    		hashStream.writeByte(0);
    		hashStream.writeBytes(Whirlpool.getHash(archive, 0, archive.length));
    		byte[] hash = new byte[hashStream.getOffset()];
    		hashStream.setOffset(0);
    		hashStream.getBytes(hash, 0, hash.length);
    		hash = Utils.cryptRSA(hash, Settings.GRAB_SERVER_PRIVATE_EXPONENT,
    				Settings.GRAB_SERVER_MODULUS);
    		stream.writeBytes(hash);
    		archive = new byte[stream.getOffset()];
    		stream.setOffset(0);
    		stream.getBytes(archive, 0, archive.length);
    		return archive;
    	}
    
    }
    same my old pc set on fire
    Reply With Quote  
     

Page 1 of 3 123 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. 718/742 Cache problem
    By legend 349 in forum Help
    Replies: 14
    Last Post: 03-02-2014, 05:07 PM
  2. 742 cache problem with rapiers
    By Four Nations in forum Help
    Replies: 5
    Last Post: 01-01-2014, 08:24 AM
  3. 742 cache problem
    By Mr Joopz in forum Help
    Replies: 1
    Last Post: 09-20-2013, 08:20 PM
  4. 718/742 cache problem?
    By sk3l3tonklng in forum Help
    Replies: 8
    Last Post: 07-26-2013, 07:16 PM
  5. 742 Cache SafeMode and Software problem
    By _jordan in forum Help
    Replies: 16
    Last Post: 12-28-2012, 11:15 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •