Jump to content

Le Vieux

Member
  • Content count

    30
  • Joined

  • Last visited

About Le Vieux

  • Rank
    Bronze Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Dont know if you realised, but a couple posts ago you shared your setting.java. I looked over it and look at the port youve set, its '43595'. Change it to 43594 and see if you can connect then. Tell me if its worked...
  2. [CENTER][SIZE=5][FONT=Impact]Howdy![/FONT][/SIZE] [B]The Origin Project[/B] is coming to its release date soon, me and the team cannot wait to finalise the server and release it on [B]Christmas Eve[/B] to the public! So much has happened and time has gone very fast, It seems like almost yesterday I was brainstorming names for the server! But as the date draws near, so does the amount of time I have to perfect the imperfections. Thats why I need[B] Beta Testers[/B], I need around about [B]3[/B] people who are willing to check the smallest of things, list improvements and try out new things on my server. They will be the only 3 ingame and will be [B]rewarded with exclusive items[/B] on the release day! Shortly, I will post a new thread with the servers content and media, but for now, all the information you will get is : [LIST] [*]317 Server with 562+ Gameframe and Items [*]Fullscreen Client [*]Auto Cache Downloader [*]Skilling, Eco, PvM, PvP, Minigames... [*]Several Point Systems with Shops [*]Achievement System [*]Good Combat [*]Bosses and lots more! [/LIST] If you feel your the right person for the job, PM me or message me on skype at [B]cjb162[/B] Thanks![/CENTER]
  3. [quote name='falconpunch']Compare it with another cachedownloader.[/QUOTE] I figured out what the problem was, I was compressing it with jZip, and apparently that was causing the error, when I zipped with WinRAR it changed the cache size and now downloads fine.
  4. [quote name='falconpunch']Hmm, I believe it's having issues where it's putting it, or unzipping it.[/QUOTE] Any ideas how i can fix this?
  5. [quote name='falconpunch']that's what I was trying to tell you haha.[/QUOTE] Uh oh, fully downloads the Zip file but when it comes to UNZIP it, throws me this error. Directory doesnt exist, making directory javax.net.ssl.SSLException: SSL peer shut down incorrectly at sun.security.ssl.InputRecord.readV3Record(Unknown Source) at sun.security.ssl.InputRecord.read(Unknown Source) at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source) at sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source) at sun.security.ssl.AppInputStream.read(Unknown Source) at java.io.BufferedInputStream.fill(Unknown Source) at java.io.BufferedInputStream.read1(Unknown Source) at java.io.BufferedInputStream.read(Unknown Source) at sun.net.[url]www.MeteredStream.read(Unknown[/url] Source) at java.io.FilterInputStream.read(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(Unknown Source) at CacheDownloader.downloadFile(CacheDownloader.java:126) at CacheDownloader.downloadCache(CacheDownloader.java:95) at client.startUp(client.java:10068) at RSApplet.run(RSApplet.java:85) at client.run(client.java:7110) at java.lang.Thread.run(Unknown Source) java.util.zip.ZipException: invalid entry CRC (expected 0x0 but got 0x930abbf) at java.util.zip.ZipInputStream.read(Unknown Source) at java.util.zip.ZipInputStream.closeEntry(Unknown Source) at java.util.zip.ZipInputStream.getNextEntry(Unknown Source) at CacheDownloader.unZip(CacheDownloader.java:164) at CacheDownloader.downloadCache(CacheDownloader.java:97) at client.startUp(client.java:10068) at RSApplet.run(RSApplet.java:85) at client.run(client.java:7110) at java.lang.Thread.run(Unknown Source) UNZIP
  6. [quote name='falconpunch']that's what I was trying to tell you haha.[/QUOTE] Yeah I understand now :D Thanks lots man, have skype?
  7. [quote name='Qrawly']1) Upload zip file to Dropbox. 2) Click share link. Visit that URL it gives you. 3) Now there should be a download button on that page. Right click the download button and copy. 4) Go to your CacheDownloader class and paste. Replace "www" with "dl" and remove any extra characters after the ".zip" on the end. Should work as long as you zipped correctly.[/QUOTE] Thank you very much, it was the replace the 'www' with 'dl' part that made it work. Appreciate all your time guys, thanks lots!
  8. [quote name='mr angel']NOT HELPED YET, guys id ont understand anythink here, that problem sucks and im tired for searching how to fix it, plz help me on teamviewer, skype: samp.lukascool[/QUOTE] If you dont understand how to follow a tutorial then i suggest going onto google, and looking over some basic java code. Even if its not related to rsps, you need to gain some knowledge in the language before using it here. You cant always be spoonfed the answer, and in this case, you cant even follow a link to a tutorial, which suggests you are struggling quite a bit with only the basics.
  9. Cheers Falcon :D Link is : [url]https://www.moparscape.org/smf/index.php/topic,449295.0/nowap.html[/url]
  10. [quote name='falconpunch']You're not use a direct link. Here's a direct dropbox download link format. dl.dropboxusercontent.com/s/ <file key info>[/QUOTE] Giving me this [CODE]Directory doesnt exist, making directory java.net.UnknownHostException: www.dl.dropboxusercontent.com at java.net.AbstractPlainSocketImpl.connect(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at sun.net.NetworkClient.doConnect(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.<init>(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at CacheDownloader.downloadFile(CacheDownloader.java:121) at CacheDownloader.downloadCache(CacheDownloader.java:95) at client.startUp(client.java:10068) at RSApplet.run(RSApplet.java:85) at client.run(client.java:7110) at java.lang.Thread.run(Unknown Source) UNZIP[/CODE] Only downloads 1kb of the cache now
  11. [quote name='falconpunch']You're not use a direct link. Here's a direct dropbox download link format. dl.dropboxusercontent.com/s/ <file key info>[/QUOTE] So, [url]http://dl.dropboxusercontent.com/s/mxpe4iibkeii9xd/OriginCacheV1.zip[/url] is correct?
  12. [quote name='mr angel']When i make a .jar client with jarmaker, im tryng to start the client and getting this: [IMG]http://www.part.lt/img/7fc8994a10fc980a8b6c9c1d6f4bb706975.png[/IMG] What is wrong? I need help :/[/QUOTE] Hi there, sorry you're having this problem. It can be frustrating getting the server working and then it doesn't all of a sudden! If what you've attempted still doesn't work, I would suggest following the link to this thread and following the tutorial to jar your client correctly. In the tutorial he does give you some tips and such to avoid getting the 1, 2, 3, 4, 5 error and you might find your solution here. It's very good for information and the layout is good. Hope I've helped , if not feel free to message me and we can take it from there! Link : [url]https://www.moparscape.org/smf/index.php/topic,449295.0/nowap.html[/url]
  13. [CENTER]Basically, I've done alot of work to my new server and can't wait to release it. One of the problems is the cache, I've zipped up only the contents of the folder and not the folder itself. I've uploaded to both Dropbox and now zippyshare as zippy doesnt have any captchas. I have looked at other versions of cache downloaders and attempted to implement them, yet still getting the same problem. If I have the cache manually downloaded and placed in the correct path the client loads fine, but when it download the cache, it creates the correct folder, and begins to download, gets to around about 66kb and stops. Doesnt execute the Unzipping procedure or anything. I will upload signlink.java and CacheDownloader.java code. Please let me know if you've figured out what's up. Never had cache downloader problems with last projects and I am scared its a big fault, thanks for your time. [B]Signlink.java[/B] [CODE]// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) // Source File Name: signlink.java package sign; import java.applet.Applet; import java.io.*; import java.net.*; 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; String s = findcachedir(); uid = getuid(s); try { cache_dat = new RandomAccessFile(s + "main_file_cache.dat", "rw"); for(int j = 0; j < 5; j++) { cache_idx[j] = new RandomAccessFile(s + "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(s + savereq); fileoutputstream.write(savebuf, 0, savelen); fileoutputstream.close(); } catch(Exception _ex) { } if(waveplay) { String wave = s + savereq; waveplay = false; } if(midiplay) { midi = s + 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() { boolean exists = (new File(System.getProperty("user.home") + "/OriginCacheV1/")).exists(); if (exists) { //System.out.println("Directory exists"); return System.getProperty("user.home") + "/OriginCacheV1/"; } else { File f = new File(System.getProperty("user.home") + "/OriginCacheV1/"); f.mkdir(); System.out.println("Directory doesnt exist, making directory"); return System.getProperty("user.home") + "/OriginCacheV1/"; } } public static String secondDir() { File file = new File("c:/OriginCacheV1/"); 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((new StringBuilder()).append(s1).append(s).toString()); if(file1.exists() || file1.mkdir()) return (new StringBuilder()).append(s1).append(s).append("/").toString(); } catch(Exception _ex) { } return null; } public static int getuid(String s) { return 8; } 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[5]; public static boolean sunjava; public static final 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 = ""; } [/CODE] [B]CacheDownloader.java[/B] [CODE]import java.io.File; import java.io.IOException; import java.io.OutputStream; import java.io.FileWriter; import java.io.BufferedWriter; import java.io.BufferedOutputStream; import java.io.BufferedInputStream; import java.io.FileOutputStream; import java.io.FileInputStream; import java.io.InputStream; import java.net.URLConnection; import java.net.URL; import java.util.zip.ZipFile; import java.util.zip.ZipEntry; import java.util.zip.ZipInputStream; import java.util.Enumeration; import sign.signlink; public class CacheDownloader { private client client; private final int BUFFER = 1024; private final int VERSION = 1; private String cacheLink = "http://www35.zippyshare.com/d/70808410/27898/OriginCacheV1.zip"; private String fileToExtract = getCacheDir() + getArchivedName(); public CacheDownloader(client client) { this.client = client; } private void drawLoadingText(String text) { client.drawLoadingText(35, text); } private void drawLoadingText(int amount, String text) { client.drawLoadingText(amount, text); } private String getCacheDir() { return signlink.findcachedir(); } private String getCacheLink() { return cacheLink; } private int getCacheVersion() { return VERSION; } /* public CacheDownloader downloadCache() { try { File location = new File(getCacheDir()); File version = new File(getCacheDir() + "/cacheVersion" + getCacheVersion() + ".dat"); if(!location.exists()) { downloadFile(getCacheLink(), getArchivedName()); unZip(); BufferedWriter versionFile = new BufferedWriter(new FileWriter(getCacheDir() + "/cacheVersion" + getCacheVersion() + ".dat")); versionFile.close(); } else { if(!version.exists()) { downloadFile(getCacheLink(), getArchivedName()); unZip(); BufferedWriter versionFile = new BufferedWriter(new FileWriter(getCacheDir() + "/cacheVersion" + getCacheVersion() + ".dat")); versionFile.close(); } else { return null; } } } catch(Exception e) { } return null; } */ public CacheDownloader downloadCache() { try { File location = new File(getCacheDir()); File version = new File(getCacheDir() + "/cacheVersion" + getCacheVersion() + ".dat"); if(!location.exists()) { client.downloading = true; //drawLoadingText("Downloading Cache Please wait..."); downloadFile(getCacheLink(), getArchivedName()); unZip(); System.out.println("UNZIP"); BufferedWriter versionFile = new BufferedWriter(new FileWriter(getCacheDir() + "/cacheVersion" + getCacheVersion() + ".dat")); versionFile.close(); } else { if(!version.exists()) { client.downloading = true; //drawLoadingText("Downloading Cache Please wait..."); downloadFile(getCacheLink(), getArchivedName()); unZip(); System.out.println("UNZIP"); BufferedWriter versionFile = new BufferedWriter(new FileWriter(getCacheDir() + "/cacheVersion" + getCacheVersion() + ".dat")); versionFile.close(); } else { return null; } } } catch(Exception e) { } return null; } private void downloadFile(String adress, String localFileName) { OutputStream out = null; URLConnection conn; InputStream in = null; try { URL url = new URL(adress); out = new BufferedOutputStream(new FileOutputStream(getCacheDir() + "/" +localFileName)); conn = url.openConnection(); in = conn.getInputStream(); byte[] data = new byte[BUFFER]; int numRead; long numWritten = 0; int length = conn.getContentLength(); while((numRead = in.read(data)) != -1) { out.write(data, 0, numRead); numWritten += numRead; int percentage = (int)(((double)numWritten / (double)length) * 100D); drawLoadingText(percentage, "Downloading Cache " + percentage + "%"); } drawLoadingText("Finished downloading "+getArchivedName()+"!"); } catch (Exception exception) { exception.printStackTrace(); } finally { try { if (in != null) { in.close(); } if (out != null) { out.close(); } } catch (IOException ioe) { } } } private String getArchivedName() { int lastSlashIndex = getCacheLink().lastIndexOf('/'); if (lastSlashIndex >= 0 && lastSlashIndex < getCacheLink().length() -1) { return getCacheLink().substring(lastSlashIndex + 1); } else { } return ""; } private void unZip() { try { InputStream in = new BufferedInputStream(new FileInputStream(fileToExtract)); ZipInputStream zin = new ZipInputStream(in); ZipEntry e; while((e=zin.getNextEntry()) != null) { if(e.isDirectory()) { (new File(getCacheDir() + e.getName())).mkdir(); } else { if (e.getName().equals(fileToExtract)) { unzip(zin, fileToExtract); break; } unzip(zin, getCacheDir() + e.getName()); } } zin.close(); } catch(Exception e) { e.printStackTrace(); } } private void unzip(ZipInputStream zin, String s) throws IOException { FileOutputStream out = new FileOutputStream(s); byte [] b = new byte[BUFFER]; int len = 0; while ((len = zin.read(b)) != -1) { out.write(b,0,len); } out.close(); client.downloading = false; } }[/CODE] Im happy to upload other files or teamview with anyone if you think you know what is up, thanks for your time![/CENTER]
  14. Recently, i started development on my Zombie Survival RSPS and i need some advice. The current Quest Tab isn't really doing anything handy, so ive cleared it out and made it so that players can see who is online and how many points they have etc. One thing i wanted to implement was a thirst system, each player begins with 100 thirst. Every minute they lose 1 thirst, thirst can be regained by drinking. How would i add this thirst system in so that when a player creates a character, they start with 100 thirst, when a player logs out it saves the thirst and when they relog its the same as before. And finally, how can i make it update there thirst in the quest tab so that when their thirst decreases they can see that in their quest tab. I think im capable of figuring out how to make them regain thirst and eventually i will also make a hunger system. But if you could help me with timers and such i would be very grateful. Thanks!
  15. Hello! ------------------------ To begin, thanks for clicking on my thread! I haven't been on Runelocus in quite some time and have taken a liking to RSPS once again after a 6 month break. This time I'm back with a brand new idea, a Zombie Survival RSPS. ----------------------- So I've created this thread to firstly, tell you about me, what I want to create, what I might need, a bit of help and advice and a way you can contact me. My name is Callum Bass, I'm 14 years old. I currently live in London and I love to program. I've been working with various languages such as VB, Python, HTML, PHP and Javascript. I've coded RSPS for over 2 years now, and have been playing Runescape and Private Servers since I was 7. After having a 2 week holiday to Spain, I lost interest in RSPS. I began to get bored and eventually stopped running my small server named PreLumby. Since then, I've practiced coding in Unity and Creating Windows Form Applications. Now, I've had an odd inspiration to be part of something new, something different. Now, I love to create and I feel brainstorming/expanding on ideas is crucial, so I've formed a list of things I plan to install from scratch into my server. It consists of : [LIST] [*]Multiple Types of Zombies ( Ranging from Weak - Strong ) [*]Zombie Bosses which Spawn Randomly [*]Caskets which are dropped around the World [*]Hunger and Thirst Interfaces [*]Hunger and Thirst Countdown's ( Death once 0 ) [*]Multiple shops containing Rare Items [*]Z-Tokens obtained from Zombie Bosses [*]Random Survivors offering XP and Rewards [*]Small Quests around the World completed by players for XP [*]Slow XP Rates to add challenge to the game [*]Guide Books for beginners [*]Voting for XP or Other Crucial Equipment [*]PVP World and Safezones for Beginners and Others [*]New, Sleek Client Login Design [*]Attractive and Enticing Server Website [*]Timed Support Drops ( Players Notified and Once clicked recieve vital items ) [*]Server messages notifying players about events and other important matters [*]Many Other Things! [/LIST] ---------------------------------- Now, this is only a short list on what I hope for in the Server. I have yet to brainstorm names but don't expect it to be very hard. I know servers like this won't take a couple of days to create, I don't plan to leech a popular source and client and release it as my own. I have to admit I did leech, but now I want to challenge myself, create something I can say I helped to make. I've done plenty of research and found a few projects based on this idea, and I think I have found the main issue. Updates, games and genres like these cannot be created and left to stand on there current features, they need to be improved and upgraded constantly. This idea can be made big and taken to a whole new level, but programmers aren't putting everything they have into the project, where as I am willing to. -------------------------------- The reason I posted this on Runelocus is because I've been here for 2 years now and I know alot of the community ( Also worked with a few ) . I know I can trust some people, and realise this would probably be the best place to advertise my server and open positions. Finally, Im looking for other developers, people with a passion and experience with these types of games, I need people who are willing to put in as much effort as I am. I'm not looking for hosters or website designers quite yet, but I need people who know how to work with 317 servers, enough to make this dream happen and worth while. -------------------------------- If you feel you are the right person for the job, please contact me on Skype at : cjb162 ( avoid messaging me on Runelocus and I don't always check it straight away! ) . I'm not looking at recruiting many people, only a small team. Thanks for your time and I appreciate the opportunity to talk to you about my big, crazy idea.
×