Jump to content

The RuneLocus forum has been archived and does not accept new registrations.
Click here for more information, and click here to join the community on Discord.

Search the Community

Showing results for tags 'cache'.

The search index is currently processing. Current results may not be complete.
  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • RuneLocus
    • News & Announcements
    • Information Booth
    • Website Support
    • Introductions
    • Chat
    • Forum Games
  • RuneScape Development
    • RSPS General
    • RuneScape Private Server (RS2)
    • RuneScape Private Server (503+)
    • RuneScape Private Server (EoC 742+)
  • Other
    • Digital Art
    • Gaming
    • Webdevelopment
    • Computers
  • Marketplace
    • RuneScape Market
    • RSPS Market
    • Others Market
    • Freelance Middleman Services
  • Super Secret Club's Topics

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


  1. I've been attempting to load the 474 landscape objects in my 498 Arios client/server without much luck. So far, I've tried the following: - Just directly copying map file 382 and 383 (Lumbridge) from the 474 cache using Harlan's Cache Manager * Result: Ground tiles work as expected because there is no XTEA encryption, but all objects fail to load within the affected region, and the console outputs invalid XTEA errors - all other regions work - Copy the 'decryptXtea' function from the 474 client deob into my 498 client, and use the 474 XTEA decrypt code when the 383 file is being processed * Result: Invalid GZIP header error, Invalid XTEA errors, and the rest of the other chunks fail to load their objects, too - GZipped the 383 file before putting it into the 498 cache * Result: When logging in, the loading bar gets to 31% and freezes with null reference errors in the console - Changed XTEAs for region 12850 (Lumbridge) and re-packed the packed.mxk file, but there was no change (These keys could be wrong, they come from a random "474 XTEAs.txt" file I downloaded at some point.) * Result: Same as the first result (no objects appear + invalid XTEA errors) - Tried XTEAs set to 0,0,0,0 for region 12850 in the packed.mxk file * Result: Same as the first result (no objects appear + invalid XTEA errors) - Tested to ensure Harlan's Cache Manager isn't corrupting the files by replacing the 383 file in my 498 cache with itself * Result: The 498 objects for map 383 load without error (so it isn't the cache manager messing it up) I'm not sure what else to try, am I forgetting a vital or obvious step? I could use another revision besides 474, so long as it looks similar to how Runescape looked just before or after the grand exchange was added. My ultimate goal is to re-create Runescape like it was around 2006/2007, but with full screen. I'm trying to match the experience of RS by recording all of the quests + all possible chat dialogues from OSRS, and manually re-creating missing content that the Arios team didn't get to. The landscape content in Arios 498 isn't as old as I'd like RS to look, but I also really like the server structure they already wrote so I'd like to just downscale my Arios 498 landscape to 474 or similar. Thank you for reading.
  2. Hello, I'm working on my first rsps ever it is a 317 pi based source and client and I'm currently having a problem with the sprites I import into the cache I can get them to load perfectly fine however there is a small 2-3 pixel wide purple area around my sprite the rest of the purple background isn't being displayed so I'm guessing that some anti-aliasing or some sort of smoothing is changing the colour/opacity of the purple directly around the sprite this is practically impossible to remove manual and I'm pretty sure this is to do with my editor which is Krita is there some way to fix this or some way of creating the sprites in Krita that will prevent this problem? thankyou.
  3. RSPS Revision: Matrix 718/667. Services can start from 10$ - Taking in consideration my profissionalism and my commitment with stuff I do! What kind of services do I offer? - Custom interfaces with scrollbars, hover buttons, items containers, and some other CS2 Scripts. - Custom items packing, cache editing, sprites editing (cache in general). - Achievements system. - Forums services (Setup/Blocks). - Vote for rewards installing. - Custom bosses CombatScripts. - Boss pets, skilling pets. - Server content in general. - Gamemodes, Iron man modes. - Custom features (you design, order and I code :D) - Login screen editing, loading screens gfx. - GFX basic and basic-intermediary website services (HTML,PHP and CSS). BE CAREFUL WITH IMPOSTERS
  4. Hello, the problem is i get black screen and a broken text once my cache is downloading, could you help me please? Here are a piece of code, maybe this you need... /** DOWNLOADING LOADING IMAGES **/ try { for(int i = 1; i <= 3; i++) { if(!new File(signlink.findcachedir() + "load"+i+".png").exists()) { HttpDownloadUtility.downloadFile("http://LINK.net/client/load"+i+".png", signlink.findcachedir()); } loadingSprites[i - 1] = Toolkit.getDefaultToolkit().getImage(signlink.findcachedir() + "load"+i+".png"); } super.graphics.drawImage(loadingSprites[0], 0, 0, null); super.graphics.drawImage(loadingSprites[1], 5, clientHeight - 35, null); } catch(Exception e) { e.printStackTrace(); }
  5. AstralPS

    Cache downloader

    Hey guys, i can't find a fix and i don't know what i did wrong, please help.. ;( This is what error i got... Used this guide: This is where i uploaded files.. Cache downloader Checked alot of times what i did wrong but still can't find.. help plz
  6. I have changed my cache downloader links to the correct links.. even added the 1 at the end of the dropbox link. And changed the CacheDirectory to my home folder like it should.. but when I put the cache manually in the home folder everything works just like it should but when I take it out, it doesn't redownload or anything just goes straight to Error Connecting to Server. So I took the source and ran it in eclipse i see in the console that the cache is missing (which is obvious because i stated that I removed it from my user home folder) so it doesn't download the cache. Here is my CacheDownloader.java import java.awt.Color; import java.io.BufferedInputStream; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.net.URL; import java.net.URLConnection; import java.util.zip.ZipEntry; import java.util.zip.ZipInputStream; import javax.swing.JOptionPane; import javax.swing.JProgressBar; import javax.swing.border.EmptyBorder; import javax.swing.plaf.basic.BasicProgressBarUI; @SuppressWarnings("all") public class CacheDownloader implements Runnable { public static final String ZIP_URL = "https://dl.dropbox.com/s/17gutom1yqarmii/VencillioCache.zip?dl=1"; public static final String VERSION_URL = "https://dl.dropbox.com/s/pccmbeuufho076w/cacheVersion.txt"; public static final String VERSION_FILE = ClientConstants.CACHE_LOCATION + "cacheVersion.dat"; private Client client; private Client frame; public CacheDownloader(Client client) { this.client = client; } public double getCurrentVersion() { try { BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream(VERSION_FILE))); return Double.parseDouble(br.readLine()); } catch (Exception e) { return 0.1; } } public double getNewestVersion() { try { URL tmp = new URL(VERSION_URL); BufferedReader br = new BufferedReader(new InputStreamReader(tmp.openStream())); return Double.parseDouble(br.readLine()); } catch (Exception e) { handleException(e); return -1; } } private void handleException(Exception e) { StringBuilder strBuff = new StringBuilder(); strBuff.append("Something went wrong downloading your cache!\r\n"); strBuff.append("Please copy the error code and contact us via forums for assistantce.\r\n"); strBuff.append("'No WebSite Yet'\r\n\r\n"); strBuff.append("Error Code: [" + e.getClass().getSimpleName() + "]"); alert("Vencillio", strBuff.toString(), true); int option = JOptionPane.showConfirmDialog(null, "Would you like to visit our forums?", "Beta Error", JOptionPane.YES_NO_OPTION); if (option == 0) { client.openURL("NO WEBSITE YET..."); } else { System.exit(0); } } private void alert(String msg) { alert("Message", msg, false); } private void alert(String title, String msg, boolean error) { JOptionPane.showMessageDialog(null, msg, title, (error ? JOptionPane.ERROR_MESSAGE : JOptionPane.PLAIN_MESSAGE)); } @Override public void run() { client.drawLoadingText(0, "Checking Versions"); try { double newest = getNewestVersion(); if (newest > this.getCurrentVersion()) { client.drawLoadingText(0, "Update found!"); StringBuilder strBuff = new StringBuilder(); strBuff.append("Update version " + newest + " has been found!\n"); strBuff.append("Client will now automatically update."); alert("United Servers", strBuff.toString(), true); new ProgressBar(); updateClient(); client.drawLoadingText(0, "United Servers has been updated!"); alert("United Servers", "Download finished! Restart the Client to start playing!", false); OutputStream out = new FileOutputStream(VERSION_FILE); out.write(String.valueOf(newest).getBytes()); Runtime.getRuntime().exec("java -jar myApp.jar"); System.exit(0); } else { } } catch (Exception e) { handleException(e); } } private void updateClient() { File clientZip = downloadClient(); if (clientZip != null) { unZip(clientZip); } } private void unZip(File clientZip) { try { unZipFile(clientZip, new File(ClientConstants.CACHE_LOCATION)); clientZip.delete(); } catch (IOException e) { handleException(e); } } private void unZipFile(File zipFile, File outFile) throws IOException { ZipInputStream zin = new ZipInputStream(new BufferedInputStream(new FileInputStream(zipFile))); ZipEntry e; long max = 0; long curr = 0; while ((e = zin.getNextEntry()) != null) max += e.getSize(); zin.close(); ZipInputStream in = new ZipInputStream(new BufferedInputStream(new FileInputStream(zipFile))); while ((e = in.getNextEntry()) != null) { if (e.isDirectory()) new File(outFile, e.getName()).mkdirs(); else { FileOutputStream out = new FileOutputStream(new File(outFile, e.getName())); byte[] b = new byte[1024]; int len; while ((len = in.read(b, 0, b.length)) > -1) { curr += len; out.write(b, 0, len); setUnzipPercent((int) ((curr * 100) / max)); } out.flush(); out.close(); } } } public int percent = 0; public void setDownloadPercent(int amount) { percent = amount; ProgressBar.updateValue(amount); ProgressBar.updateString("(1/2) Downloading cache - " + ProgressBar.getValue() + "%"); client.drawLoadingText(amount, "(1/2) Downloading United Servers Cache" + " - " + amount + "%"); } public int percent2 = 0; public void setUnzipPercent(int amount2) { percent2 = amount2; ProgressBar.updateValue(amount2); ProgressBar.updateString("(2/2) Extracting cache - " + ProgressBar.getValue() + "%"); client.drawLoadingText(amount2, "(2/2) Extracting United Servers Cache" + " - " + amount2 + "%"); } private File downloadClient() { File ret = new File(ClientConstants.CACHE_LOCATION + "cache.zip"); try { OutputStream out = new FileOutputStream(ret); URLConnection conn = new URL(ZIP_URL).openConnection(); InputStream in = conn.getInputStream(); long max = conn.getContentLength(); long curr = 0; byte[] b = new byte[1024]; int len; while ((len = in.read(b, 0, b.length)) > -1) { out.write(b, 0, len); curr += len; setDownloadPercent((int) ((curr * 100) / max)); } out.flush(); out.close(); in.close(); return ret; } catch (Exception e) { handleException(e); ret.delete(); return null; } } } Here is SignLink.java import java.applet.Applet; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.RandomAccessFile; import java.net.InetAddress; import java.net.Socket; import java.net.URL; public final class Signlink implements Runnable { public static void startpriv(InetAddress inetaddress) { threadliveid = (int) (Math.random() * 99999999D); if (active) { try { Thread.sleep(500L); } catch (Exception _ex) { } active = false; } socketreq = 0; threadreq = null; dnsreq = null; savereq = null; urlreq = null; socketip = inetaddress; Thread thread = new Thread(new Signlink()); thread.setDaemon(true); thread.start(); while (!active) { try { Thread.sleep(50L); } catch (Exception _ex) { } } } public void run() { active = true; uid = getuid(findcachedir()); try { cache_dat = new RandomAccessFile(findcachedir() + "main_file_cache.dat", "rw"); for (int j = 0; j < 6; j++) { cache_idx[j] = new RandomAccessFile(findcachedir() + "main_file_cache.idx" + j, "rw"); } } catch (Exception exception) { exception.printStackTrace(); } for (int i = threadliveid; threadliveid == i;) { if (socketreq != 0) { try { socket = new Socket(socketip, socketreq); } catch (Exception _ex) { socket = null; } socketreq = 0; } else if (threadreq != null) { Thread thread = new Thread(threadreq); thread.setDaemon(true); thread.start(); thread.setPriority(threadreqpri); threadreq = null; } else if (dnsreq != null) { try { dns = InetAddress.getByName(dnsreq).getHostName(); } catch (Exception _ex) { dns = "unknown"; } dnsreq = null; } else if (savereq != null) { if (savebuf != null) try { FileOutputStream fileoutputstream = new FileOutputStream(findcachedir() + savereq); fileoutputstream.write(savebuf, 0, savelen); fileoutputstream.close(); } catch (Exception _ex) { } if (waveplay) { waveplay = false; } if (midiplay) { midi = findcachedir() + savereq; midiplay = false; } savereq = null; } else if (urlreq != null) { try { System.out.println("urlstream"); urlstream = new DataInputStream((new URL(mainapp.getCodeBase(), urlreq)).openStream()); } catch (Exception _ex) { urlstream = null; } urlreq = null; } try { Thread.sleep(50L); } catch (Exception _ex) { } } } public static String findcachedir() { File file = new File(System.getProperty("user.home") + "/VencillioCache/"); if (!file.exists()) { if (!file.mkdir()) return secondDir(); } return System.getProperty("user.home") + "/VencillioCache/"; } public static String secondDir() { File file = new File("c:/VencillioCache/"); if (!file.exists()) file.mkdir(); return file.toString(); } private static int getuid(String s) { try { File file = new File(s + "uid.dat"); if (!file.exists() || file.length() < 4L) { DataOutputStream dataoutputstream = new DataOutputStream(new FileOutputStream(s + "uid.dat")); dataoutputstream.writeInt((int) (Math.random() * 99999999D)); dataoutputstream.close(); } } catch (Exception _ex) { } try { DataInputStream datainputstream = new DataInputStream(new FileInputStream(s + "uid.dat")); int i = datainputstream.readInt(); datainputstream.close(); return i + 1; } catch (Exception _ex) { return 0; } } public static synchronized Socket opensocket(int i) throws IOException { for (socketreq = i; socketreq != 0;) try { Thread.sleep(50L); } catch (Exception _ex) { } if (socket == null) throw new IOException("could not open socket"); else return socket; } public static synchronized DataInputStream openurl(String s) throws IOException { for (urlreq = s; urlreq != null;) try { Thread.sleep(50L); } catch (Exception _ex) { } if (urlstream == null) throw new IOException("could not open: " + s); else return urlstream; } public static synchronized void dnslookup(String s) { dns = s; dnsreq = s; } public static synchronized void startthread(Runnable runnable, int i) { threadreqpri = i; threadreq = runnable; } public static synchronized boolean wavesave(byte abyte0[], int i) { if (i > 0x1e8480) return false; if (savereq != null) { return false; } else { wavepos = (wavepos + 1) % 5; savelen = i; savebuf = abyte0; waveplay = true; savereq = "sound" + wavepos + ".wav"; return true; } } public static synchronized boolean wavereplay() { if (savereq != null) { return false; } else { savebuf = null; waveplay = true; savereq = "sound" + wavepos + ".wav"; return true; } } public static synchronized void midisave(byte abyte0[], int i) { if (i > 0x1e8480) return; if (savereq != null) { } else { midipos = (midipos + 1) % 5; savelen = i; savebuf = abyte0; midiplay = true; savereq = "jingle" + midipos + ".mid"; } } public static void reporterror(String s) { System.out.println("Error: " + s); } private Signlink() { } public static final int clientversion = 317; public static int uid; public static int storeid = 32; public static RandomAccessFile cache_dat = null; public static final RandomAccessFile[] cache_idx = new RandomAccessFile[6]; public static boolean sunjava; public static Applet mainapp = null; private static boolean active; private static int threadliveid; private static InetAddress socketip; private static int socketreq; private static Socket socket = null; private static int threadreqpri = 1; private static Runnable threadreq = null; private static String dnsreq = null; public static String dns = null; private static String urlreq = null; private static DataInputStream urlstream = null; private static int savelen; private static String savereq = null; private static byte[] savebuf = null; private static boolean midiplay; private static int midipos; public static String midi = null; public static int midivol; public static int midifade; private static boolean waveplay; private static int wavepos; public static int wavevol; public static boolean reporterror = true; public static String errorname = ""; } I am not sure if it is really downloading or not because when i take my original cache files out it gets replaced when I open the client but maybe it is not downloading completely or something because all the files are there... but I guess not working with the client. When I replace all the files with my original it starts back again. And both of these files are the same file the one that it is suppose to be downloading and the my original files are indeed the same files..
  7. thebadman

    Cache error

    Hey guys I tried to run my server through eclipse but I was getting errors in the console, I fixed whatever I could but have this left, the cache file is there but I cant figure out why its doing this Can someone please help, will be much appreciated [CODE]Exception in thread "main" java.io.FileNotFoundException: user.home\742Cache\main_file_cache.dat2 (The system cannot find the path specified) at java.io.RandomAccessFile.open0(Native Method) at java.io.RandomAccessFile.open(Unknown Source) at java.io.RandomAccessFile.<init>(Unknown Source) at java.io.RandomAccessFile.<init>(Unknown Source) at com.ben.store.Store.<init>(Store.java:34) at com.ben.store.Store.<init>(Store.java:28) at com.ben.store.Store.<init>(Store.java:24) at com.matrix742.cache.Cache.load(Cache.java:72) at com.matrix742.Launcher.main(Launcher.java:95)[/CODE]
  8. Hello rune server, i seem to be getting the following error, and i'm not sure why. i could be missing something fairly simple but i figured i'd ask for some advice anyways. Currently messing around with swiffy's latest give to the community. The cache link and the url link to have the "load images" load up will not work unless it's the cache itself being the problem and i don't beleive it is. I have all my links set up correctly as far as i know anyways, yet all the client does is blackscreen whist giving me a 403 error. Yes i know what that means, and i'm not understanding what's wrong with it. Cache is packed correctly, and repacked correctly. links are live etc but the client just won't load up at all. Would anyone be able to help me out with possibly adding the updatecache that was released Here: [code]import java.io.BufferedOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.MalformedURLException; import java.net.URL; import java.net.URLConnection; import java.util.Enumeration; import java.util.zip.ZipEntry; import java.util.zip.ZipFile; /** * The custom update server to download and update the cache. * @author Apacheah64 */ public class Update { /** * The client reference. */ private Client c; /** * The cache directory. */ private static final String CACHE_DIR = signlink.findcachedir(); /** * Construct a new {@code Updater} {@code Object}. * [MENTION=75098]Para[/MENTION]m c The client reference. */ public Update(Client c) { this.c = c; } /** * Update the cache. */ public void updateCache() { new File(CACHE_DIR).mkdirs(); File file = new File(CACHE_DIR+"rusereborn.dat");//its a check if the cache already exists if(!file.exists()) { c.drawLoadingText(0, "Checking for updates"); downloadArchive("http://162.218.48.74/~ruserebo/client/cache/RuseReborn.zip"); } file = new File(CACHE_DIR+"cache.zip"); if(file.exists()) { unzip(CACHE_DIR+"cache.zip"); } } /** * Download the cache archive from the web server. * [MENTION=75098]Para[/MENTION]m dlurl The uniform resource locater to the file that has to be downloaded. * [MENTION=75098]Para[/MENTION]m cachePart The part of the cache that is being downloaded. */ private void downloadArchive(String dlurl) { try { URLConnection url = new URL(dlurl).openConnection(); int i = url.getContentLength(); InputStream is = url.getInputStream(); OutputStream os = new FileOutputStream(CACHE_DIR+"/cache.zip"); byte[] b = new byte[4096]; int length; int old = 0; while ((length = is.read(b)) != -1) { os.write(b, 0, length); old += length; int percent = (int) ((double) old / (double) i * 100.0); drawLoadingText(percent, "Checking for updates - " + percent + "%"); } is.close(); os.close(); unzip(CACHE_DIR+"cache.zip"); File file = new File(CACHE_DIR+"rusereborn.dat"); if(!file.exists()) { file.createNewFile();// got ya } } catch (MalformedURLException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } } /** * Unzip the cache archive part. * [MENTION=75098]Para[/MENTION]m file The file location. */ private void unzip(String file) { Enumeration<?> entries; ZipFile zipFile; try { zipFile = new ZipFile(file); entries = zipFile.entries(); while(entries.hasMoreElements()) { ZipEntry entry = (ZipEntry)entries.nextElement(); if(entry.isDirectory()) { (new File(CACHE_DIR+"/"+entry.getName())).mkdir(); continue; } copyInputStream(zipFile.getInputStream(entry), new BufferedOutputStream(new FileOutputStream(CACHE_DIR+"/"+entry.getName()))); drawLoadingText(100, "Unpacking Cache"); } zipFile.close(); File zip = new File(file); zip.delete(); } catch (IOException ioe) { ioe.printStackTrace(); return; } } /** * Make a copy of the input stream and write it. * [MENTION=75098]Para[/MENTION]m in The input. * [MENTION=75098]Para[/MENTION]m out The output. * @throws IOException */ private static final void copyInputStream(InputStream in, OutputStream out) throws IOException { byte[] buffer = new byte[1024]; int len; while((len = in.read(buffer)) >= 0) { out.write(buffer, 0, len); } in.close(); out.close(); } private static void drawLoadingText(int amount, String text) { Client.loadingPercentage = amount; Client.loadingText = text; } } [/code] Thankyou very much. Pm me if you'd like to assist me
  9. Hey guys im looking for a updated 667 cache editor... I need to change my client background but it wont pack... so please if you could link me thank you,
  10. Hello, this is my first post here so hopefully I don't do anything wrong within this thread. I am what I would consider essentially new to RSPS development. Prior to picking up this source I had no Java experience but I am proficient in C++ and assembly. I'm a CS student and know my way around code in general, but don't know much about managing a package of this size or scale. I've been messing with my source on and off for a little over 2 months and have run into some snags that I can't work out on my own due to a lack of understanding and resources on the web. I have a 718+ Matrix source which *I think* is loading a 742 cache. I've worked through all the typical noob stuff of getting the server to compile, run, client connect, port forward, host it on a server, etc. To make this easier to read I'll simply list what I'm having the most trouble with. [LIST] [*]Large (and some small) NPC animations not working properly [*]NPC Spawning [*]Interface management [*] [/LIST] For the animation issue, I do know that it has to do with selecting the proper attack/defence animations in the NPCdefinitions file, but I have no idea where to get the proper animations from or how to narrow it down. NPC spawning, upon deleting my packed NPC spawn file I am getting an error while trying to generate the new packed file by running the server. The error is telling me there's an invalid spawn in my unpackedSpawns.txt. The weird thing is, I only get this error about half the time with the exact same spawns in the unpacked list. Interface management... where do I even begin. What kind of clusterfuck is the interface system? I don't even know where to start looking to try and edit existing interfaces or add one such as a quest tab server info pane. Also, when opening the popout equipment stats window, it opens fine and shows my stats as it should, but I can't click the equipment to unequip it without going back and using the tab interface to do it. Lastly, I would like to add items from another server as practice with cache management (just some 120 master capes and the mage and range versions of the kiln capes). I can find tutorials for loading entire caches but how do I edit just parts of my cache? Sorry if the post is too wordy or long, but I have looked all over and can't find specific enough answers for my situations. Also, I'd appreciate it if people would hold off on the "drop down to a lower source" comments as I don't really see the value in it since the mechanics between 317 and 700+ are completely different for what I'm struggling to do. EDIT*: The specific source is Project Runescape, I don't have the link but it is somewhere on the Runelocus forums, hopefully this helps. Thanks in advance, and I appreciate all genuine input.
  11. I downloaded this client [url]http://goo.gl/A2KUtU[/url] I am using this source [url]http://www.runelocus.com/forums/showthread.php?101767-Project-insanity-based-server-2007scape[/url] and I found this cache [url]http://goo.gl/qeK9tI[/url] (The 474 one) NOW How does one 'pack' the cache and use it in the client... All help appreciated.
  12. Could somebody help me with fixing it free? Ive tried every way and i still cant get that working, ive tried the "autocachedownload" tutorials, but nothing seems to work. PLEASE :/ Skype : lixalt.martin [IMG]http://gyazo.com/b391e45eb8d10d93918b8bfb83f8196b[/IMG]
  13. hi guys, I'm getting some errors.. when i run the server and client on eclipse and everything works perfectly but when i export the client to jar to play and give to my friends i get this error [url]http://prntscr.com/7rps7u[/url] can anyone help im willing to pay for it. Emiros
  14. Hello there, I wanted to post a tutorial here today for the people who are suffering with their Cache' It can be hard to understand it, it sure took me a while... So, I want to teach you guys how to change your "Cache Path" There are multiple servers still as of today, that are using C:/ as their path and are having major problems with it. This method here will make your client work with a MAC OS X as well, not to mention that, it will also locate the Cache if placed in your (C:/ Or Users.home) I have a Macbook pro and sometimes I prefer to use that for coding via (Eclipse) So I have modified this to work with MAC. Anyways, enough with the chit chat :p and back to work! [Files we will be working on today: [Signlink.java] [Client Sided] [Difficulty: 1.5/10] First thing you want to do is: 1. Open Your Client Folder, 2. Locate (Signlink.java) In Your Client Files. 3. Open File (Signlink.java) With Notepad Or Notepad++ (Preferably Notepad++ ) (Mac users use: "Sublime Text 2 Or TextEdit") 4. Once Opened, Search For: " public static String findcachedir() " 5. Once Found, Keep In Mind That Your "Code" Will Most Likely Will Be Different, But usual PI's like: Lost Leg, InsidiaX, Hyperion, Deathly will have C:/ and some Users.home. Anyways, You're going to find 2 Codes on some 3. You Can Scroll Down Slowly From " public static String findcachedir() " And Eventually You Will Find: " public static String sencondDir() { " And On Some Servers You Might Have A Third One, If You Do It Should Be Right Under " public static String sencondDir() { " It's Called: " public static String findcachedirORIG() " And If You Don't Have That It's Fine, We Will Be Adding It Today... 6. Replace All 2, If You've Found 3, Then Change/Replace All 3 Codes With These Below: (FYI) The 3 Codes Are: [CODE] 1. public static String findcachedir() 2. public static String sencondDir() { 3. public static String findcachedirORIG() [/CODE] The New Codes You Will Be Replacing The Old Ones With: [CODE] public static String findcachedir() { boolean exists = (new File(System.getProperty("user.home") + "/YourCacheNameHere/")).exists(); if (exists) { return System.getProperty("user.home") + "/YourCacheNameHere/"; } else { File f = new File(System.getProperty("user.home") + "/YourCacheNameHere/"); f.mkdir(); return System.getProperty("user.home") + "/YourCacheNameHere/"; } } public static String sencondDir() { File file = new File("c:/YourCacheNameHere/"); if (!file.exists()) file.mkdir(); return file.toString(); } public static String findcachedirORIG() { String as[] = { "c:/windows/", "c:/winnt/", "d:/windows/", "d:/winnt/", "e:/windows/", "e:/winnt/", "f:/windows/", "f:/winnt/", "c:/", "~/", "/tmp/", "", "c:/rscache", "/rscache" }; if(storeid < 32 || storeid > 34) storeid = 32; String s = ".file_store_" + storeid; 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; } [/CODE] Now this should work with most PI's ... Remember this only shows/teaches you how to change your "Cache Path, IN: SIGNLINK.JAVA" It has nothing to do with your (Cache Downloader) If you have any errors, please post below and I will try to help you out. I hope this helps you guys! Good luck!
  15. Please help i added few customs to my cache and i want to make new cache downloader can anyone help please? cuz if i change the old cache downloader link it doesnt work for me i get connection error - retyring in
  16. Dome13123

    Cache update

    Hello so i added few customs to my cache and i need to change the cache download link in my client files but when i do that i get error when i lunch the client pls help
  17. Hi, I am currently developing a GUI version of my cache library on my own, see [URL="http://www.runelocus.com/forums/showthread.php?105217-Displee-s-Cache-Library"]Displee's Cache Library[/URL] for more Information. [SIZE=4][B]Features[/B][/SIZE] [list] [*]Coming soon... [/list] [spoiler=Old Media] [IMG]http://i.imgur.com/VsAMef3.png[/IMG] [IMG]http://i.imgur.com/sucAZXq.png[/IMG] [IMG]http://i.imgur.com/7soLCus.png[/IMG] [IMG]http://i.imgur.com/7hDif40.png[/IMG] [IMG]http://i.imgur.com/80oUwn2.png[/IMG] [IMG]http://i.imgur.com/VID0hM5.png[/IMG] [IMG]http://i.imgur.com/9uXXfJO.png[/IMG] [IMG]http://i.imgur.com/Zh6Y8sX.png[/IMG] [IMG]http://i.imgur.com/cEE8zIl.png[/IMG] [IMG]http://i.imgur.com/c12iNeK.png[/IMG] [IMG]http://i.imgur.com/sal7ujx.png[/IMG] [IMG]http://i.imgur.com/dPYpK4x.png[/IMG] [IMG]http://i.imgur.com/92NQODa.png[/IMG] [IMG]http://i.imgur.com/UXp1Lgy.png[/IMG] [IMG]http://i.imgur.com/6OdH1C3.png[/IMG] [/spoiler] [spoiler=New Media] [IMG]http://i.imgur.com/OUJXTyl.png[/IMG] [IMG]http://i.imgur.com/AzDg1zR.png[/IMG] [IMG]http://i.imgur.com/k1JngdN.png[/IMG] [IMG]http://i.imgur.com/ozdUYMY.png[/IMG] [IMG]http://i.imgur.com/83Coc7G.png[/IMG] [IMG]http://i.imgur.com/gOL2dAa.png[/IMG] [IMG]http://i.imgur.com/VVRXoth.png[/IMG] [IMG]http://i.imgur.com/qV3QmaJ.png[/IMG] [IMG]http://i.imgur.com/TdMm0v7.png[/IMG] [IMG]http://i.imgur.com/YkUUHGR.png[/IMG] [IMG]http://i.imgur.com/KqOom9p.png[/IMG] [/spoiler] [SIZE=4][B]Information[/B][/SIZE] There is some information you need to know before you can use and this application. [SIZE=3][B]Cross cache copying[/B][/SIZE] Yes, it is possible to copy indices and archives from one cache to another. You are just not able to copy multiple instances, like copying 2 archives or 2 indices at once. It is also not possible to copy a whole cache. [SIZE=3][B]Add a cache[/B][/SIZE] If you want to link a cache to this application, you must enter an alias (e.g "My 742 cache") to identify the cache. You also need to enter a revision, so the application knows what kind of cache it is using. [SIZE=3][B]Managing archives[/B][/SIZE] You ca always copy archives from an index to another, the only thing you can't do is copying an archive to the same place. You should use the clone button instead. After all, you can specify which files you want to copy from the archive. [SIZE=3][B]Overwrite and replace[/B][/SIZE] When you try to copy an index, archive or file, you have the option to overwrite the selected path, or to replace it. Below is explained what the difference between these functions are. In this example we will try to copy archive 538 from index 7 to index 8. The archive we have copied, archive 538, is containing 3 files: 0, 1 and 2. Index 8 is already containing an archive with the id 538, so we will overwrite/replace this archive. This archive is containing 6 files: 0, 1, 2, 3, 4 ,5. If we use the [B]overwrite[/B] option, it will add the files from the copied archive, to it's destination. The first 3 files in archive 538 from index 8, will be overwritten with the one's of the copied archive,files 3, 4 and 5 will still remain in the archive. If we use the [B]replace[/B] option, it will replace the whole archive with the copied one. This means that the files (3, 4 and 5) will [U][B]NOT[/B][/U] remain in archive 538 from index 8. If we want to copy an index, archive or file that already exists in the destination, you will be asked to overwrite/replace it, or you can assign it a new id. This id will be automatic generated. In this dialog you will also see what the id will be. Credits: Me
  18. hello, I wanted to change my Cachedownloader to my own cache,but all I have been getting are errors till now. Here's what I get when I run the client: (Compiling gives no errors) java.io.FileInputStream.<init>(FileInputStre CacheDownloader.unZip(CacheDownloader.java:1 CacheDownloader.downloadCache(CacheDownloade client.startUp(client.java:8970) RSApplet.run(RSApplet.java:85) client.run(client.java:5565) java.lang.Thread.run(Thread.java:745) eNotFoundException: C:\Users\Maurice\WonderC I have teamviewer & Skype, if someone could help me, please?
  19. So I am new to developing RSPS's and would like to find a client, source and cache to help get me started, I would like it to have a few basics but still have enough for me to figure out.l I tried Matrix but it was too much developed. Any help is appreciated.
  20. [SIZE=4]Displee's Cache Library[/SIZE] I made this some months ago, and I am still working on it. It's a RuneScape2 cache library which supports the revisions between 561 and 743. See the github page for more information. [url]https://github.com/Displee/RS2-Cache-Library[/url] Note: I still need to update that github page because the information about the library is not complete yet. Note: If you come across any problems, please report them in the issue's section ([URL="https://github.com/Displee/RS2-Cache-Library/issues"]here[/URL]); Credits: Me Apache Ah64 (for XTEA (de/en)cryption.
  21. I have found this cache in my grandmother computer. [URL="https://mega.co.nz/#!o5EDgJha!cp7j3Flml_h5ncwXnEW5nahHTUqZz25BvAZKtUKKvyo"]https://mega.co.nz/#!o5EDgJha!cp7j3Flml_h5ncwXnEW5nahHTUqZz25BvAZKtUKKvyo[/URL] note is no a modified cache and is not able to work with rsps.
  22. Hey Runelocus, I was hoping to find someone very experienced with clients, such as item.def issues and I also wanted to dump some models in my cache. I`m trying to add all the OSRS items into my server. Here is the error in my Client compiler once I`ve added the new item.def coding: [CODE]ItemDef.java:337: error: cannot find symbol itemDef.rotationY = 160; ^ symbol: variable rotationY location: variable itemDef of type ItemDef ItemDef.java:338: error: cannot find symbol itemDef.rotationX = 1780; ^ symbol: variable rotationX location: variable itemDef of type ItemDef ItemDef.java:339: error: cannot find symbol itemDef.offsetX = 2; ^ symbol: variable offsetX location: variable itemDef of type ItemDef ItemDef.java:340: error: cannot find symbol itemDef.offsetY = -19; ^ symbol: variable offsetY location: variable itemDef of type ItemDef ItemDef.java:341: error: cannot find symbol itemDef.groundOptions = new String[] { null, null, "Take", null, null }; ^ symbol: variable groundOptions location: variable itemDef of type ItemDef ItemDef.java:342: error: cannot find symbol itemDef.inventoryOptions = new String[] { null, null, null, null, "Drop" }; ^ symbol: variable inventoryOptions location: variable itemDef of type ItemDef ItemDef.java:343: error: cannot find symbol itemDef.groundModel = 2769; ^ symbol: variable groundModel location: variable itemDef of type ItemDef ItemDef.java:349: error: cannot find symbol itemDef.rotationY = 4; ^ symbol: variable rotationY location: variable itemDef of type ItemDef ItemDef.java:350: error: cannot find symbol itemDef.rotationX = 1976; ^ symbol: variable rotationX location: variable itemDef of type ItemDef ItemDef.java:351: error: cannot find symbol itemDef.offsetX = 4; ^ symbol: variable offsetX location: variable itemDef of type ItemDef ItemDef.java:352: error: cannot find symbol itemDef.offsetY = -3; ^ symbol: variable offsetY location: variable itemDef of type ItemDef ItemDef.java:353: error: cannot find symbol itemDef.groundOptions = new String[] { null, null, "Take", null, null }; ^ symbol: variable groundOptions location: variable itemDef of type ItemDef ItemDef.java:354: error: cannot find symbol itemDef.inventoryOptions = new String[] { null, null, null, null, "Drop" }; ^ symbol: variable inventoryOptions[/CODE]
  23. Hello i need help unpacking/packing my cache, also need help with adding item models & boss models, i will pay with osrs cash if you actually help me learn :)
×
×
  • Create New...