Jump to content

Search the Community

Showing results for tags 'insanityx'.



More search options

  • 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


Found 13 results

  1. Today I posted a thread where I asked for help with a bug in the PvP system. After hours of searching I found the problem and solution. In the class Player there is a method "dealDamage". In the method there is the following code that is duplicated: if (teleTimer <= 0) playerLevel[3] -= damage; else { if (hitUpdateRequired) hitUpdateRequired = false; if (hitUpdateRequired2) hitUpdateRequired2 = false; } Delete one of them and your problem is solved! I hope this fix will help someone
  2. is it the auto downloader? here is the message that i get when trying to start client: -[HTML] ------------------------------------------------ Guthix Realm, Starting up... ------------------------------------------------ Auto-Detected 64-bit (x64) System ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . C l i e n t o u t p u t b e l o w . ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ java.io.FileNotFoundException: C:\Users\LOL\InsanityCacheV6\main_file_cache.dat (The system cannot find the path specified) at java.io.RandomAccessFile.open(Native Method) at java.io.RandomAccessFile.<init>(Unknown Source) at java.io.RandomAccessFile.<init>(Unknown Source) at sign.signlink.run(signlink.java:53) at java.lang.Thread.run(Unknown Source) java.io.FileNotFoundException: C:\Users\LOL\InsanityCacheV6\main_file_cache.dat (The system cannot find the path specified) at java.io.RandomAccessFile.open(Native Method) at java.io.RandomAccessFile.<init>(Unknown Source) at java.io.RandomAccessFile.<init>(Unknown Source) at sign.signlink.run(signlink.java:53) at java.lang.Thread.run(Unknown Source) Guthix Realm - Download Cache? Or does the cache exist? Checking now.. java.io.FileNotFoundException: C:\Users\LOL\InsanityCacheV6\main_file_cache.dat (The system cannot find the path specified) at java.io.RandomAccessFile.open(Native Method) at java.io.RandomAccessFile.<init>(Unknown Source) at java.io.RandomAccessFile.<init>(Unknown Source) at sign.signlink.run(signlink.java:53) at java.lang.Thread.run(Unknown Source) 97726386 : 0 [/HTML] I even reuploaded the cache so it would download from dropbox and the link works now. What the hell am i doing wrong? lol It works fine if you download the cache but you have to put it into the C: users. so here is my cache downloader: [HTML]import java.io.*; import java.net.*; import java.util.zip.*; import java.util.Enumeration; import javax.swing.JOptionPane; import sign.signlink; public class CacheDownloader { public client client; public final int BUFFER = 1024; public static final int VERSION = 2; //public String cacheLink = "https://dl.dropboxusercontent.com/s/kzb9kvsbwjpdf21/InsanityCacheV6.zip"; //public String cacheLink = "https://dl.dropboxusercontent.com/s/kzb9kvsbwjpdf21/InsanityCacheV6.zip"; //public String cacheLink = "https://dl.dropboxusercontent.com/s/kzb9kvsbwjpdf21/InsanityCacheV6.zip"; public String cacheLink = "https://dl.dropboxusercontent.com/s/kzb9kvsbwjpdf21/InsanityCacheV6.zip"; public String fileToExtract = getCacheDir() + getArchivedName(); public CacheDownloader(client client) { this.client = client; } public void drawLoadingText(String text) { client.drawLoadingText(35, text); } public void drawLoadingText(int amount, String text) { client.drawLoadingText(amount, text); } public String getCacheDir() { return signlink.findcachedir(); } public String getCacheLink() { return cacheLink; } public int getCacheVersion() { return VERSION; } 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)); } public void DoesNotHaveCacheMessage() { alert("You do not have the cache. Cache will now be downloaded, please do not interrupt the download!"); alert("If Client goes white, it's unpacking cache - let it load!!"); } public CacheDownloader downloadCache() { try { File location = new File(getCacheDir()); File version = new File(getCacheDir() + "/cacheUpdate" + getCacheVersion() + ".dat"); if(!location.exists()) { //delete(getCacheDir()); DoesNotHaveCacheMessage(); downloadFile(getCacheLink(), getArchivedName()); unZip(); BufferedWriter versionFile = new BufferedWriter(new FileWriter(getCacheDir() + "/cacheUpdate" + getCacheVersion() + ".dat")); versionFile.close(); deleteDownloadedZipFile(getArchivedName()); } else { if(!version.exists()) { DoesNotHaveCacheMessage(); //delete(getCacheDir()); downloadFile(getCacheLink(), getArchivedName()); unZip(); BufferedWriter versionFile = new BufferedWriter(new FileWriter(getCacheDir() + "/cacheUpdate" + getCacheVersion() + ".dat")); versionFile.close(); deleteDownloadedZipFile(getArchivedName()); } else { return null; } } } catch(Exception e) { } return null; } public 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) { } } } public String getArchivedName() { int lastSlashIndex = getCacheLink().lastIndexOf('/'); if (lastSlashIndex >= 0 && lastSlashIndex < getCacheLink().length() -1) { return getCacheLink().substring(lastSlashIndex + 1); } else { } return ""; } public void deleteDownloadedZipFile(String fileName) { File f = new File(getCacheDir() + fileName); if (!f.exists()) throw new IllegalArgumentException("Delete: no such file or directory: " + fileName); if (!f.canWrite()) throw new IllegalArgumentException("Delete: write protected: " + fileName); if (f.isDirectory()) { String[] files = f.list(); if (files.length > 0) throw new IllegalArgumentException("Delete: directory not empty: " + fileName); } boolean success = f.delete(); if (!success) throw new IllegalArgumentException("Delete: deletion failed"); } public static boolean delete( String path ) { if (path == null || path.trim().length() == 0) return false; return delete(new File(path)); } public static boolean delete( File fileOrDirectory ) { if (fileOrDirectory == null) return false; if (!fileOrDirectory.exists()) return false; if (fileOrDirectory.isDirectory()) { for (File childFile : fileOrDirectory.listFiles()) { delete(childFile); } } return fileOrDirectory.delete(); } public 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(); } } public 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(); } }[/HTML] Please help me out guys if you know what I am doing wrong. Thanks
  3. [B][CENTER][SIZE=5][COLOR="#0000CD"]InsanityX[/COLOR][/SIZE][/CENTER][/B] [B][CENTER][SIZE=3][COLOR="#FF0000"]This isn't my server, nor do I take creds for it, just sharing it from another forum.[/COLOR][/SIZE][/CENTER][/B] [B][CENTER][SIZE=4][COLOR="#0000CD"]Few Features:[/COLOR][/SIZE][/CENTER][/B] [B][COLOR="#0000FF"][LIST] [*]Switching [*]No DC's - very stable [*]Mem usage fixed (Client mem leak fixed - creds to arrowzflame) [*]Fullscreen in webclient WITH NO loveING LAG - this is not zepsipy/formationx fullscreen crap, this has no lag and works bug free, this was nr 1 feature on the server [*]Quick prayers and curses 100% client sided saving ect [*]User & pass saves [*]World switching (1 is regular world and 2 is developers wich is set to localhost) [*]Custom minigames such as new fightcaves for new rs firecape [*]Barbarien assault [*]Redone Dungeoneering with no smuggling, even if someone manages to smuggle there are around 10 checks, example if a player logsin with dung items outside of dung they will be banned automaticly. [*]Most skills 100% like rs such as firemaking, woodcutting ,mining, cooking ect. [*]All dupes patched (Paid over 10 people to find dupes, none was found) [*]MUCH MUCH MORE.. Check it out. [/LIST][/COLOR][/B] [B][CENTER][SIZE=4][COLOR="#0000CD"]Downloads:[/COLOR][/SIZE][/CENTER][/B] [B][CENTER]Server & Client: [URL="http://reliabledownloads.org/file/0r91e7"]Download[/URL] <- the only link that was provided[/CENTER][/B] [B][CENTER][SIZE=4][COLOR="#0000CD"]Credits:[/COLOR][/SIZE][/CENTER][/B] [B][CENTER][COLOR="#0000FF"]Me (Helping with serversided developing) Gabbe (Server developer & Owner) Tringan (Client contributor, he did fix my maps/added new ones such as Neitznot and nex room ect) Arrowzflame (Helped make the server stable like baws) Harlan (Love you Harlan - replied on all my help threads )[/COLOR][/CENTER][/B] [B][CENTER][COLOR="#0000FF"] Time to release this. We decided to shutdown the project due to both of us (Gabbe & me) starting highscool, and RSPS is a waste of time (My opinion). I only decided to start this as a project, to improve my Java skills. Note: I haven't been online for 4 days on my server and it's still up and running im not sure what the max uptime is but this source has never crashed. The server runs its gameengine on Grahams task scheduler so yeh there are no deadlocks or whatsoever on other PI's the events system will randomly log people out (deadlock)...[/COLOR][/CENTER][/B] [B][CENTER][SIZE=4][COLOR="#0000CD"]Pictures:[/COLOR][/SIZE][/CENTER][/B] [center] [IMG]http://www.truploader.com/uploads/2_23_2012/039486dung3.png[/IMG] [IMG]http://www.truploader.com/uploads/2_23_2012/577978dung4.png[/IMG] [IMG]http://www.truploader.com/uploads/2_23_2012/653318dung1.png[/IMG] [IMG]http://www.truploader.com/uploads/2_23_2012/913735dung2.png[/IMG] [IMG]http://www.truploader.com/uploads/2_23_2012/888856dungemote.png[/IMG] [IMG]http://www.truploader.com/uploads/2_23_2012/820900dungemote2.png[/IMG] [IMG]http://www.truploader.com/uploads/2_23_2012/022231update1.png[/IMG] [IMG]http://www.truploader.com/uploads/2_23_2012/795794neex.png[/IMG] [IMG]http://www.truploader.com/uploads/2_23_2012/342455yaks.png[/IMG] [IMG]http://www.truploader.com/uploads/2_10_2012/369389loginbox.png[/IMG] [IMG]http://www.truploader.com/uploads/2_10_2012/177941fullscreen.png[/IMG] [IMG]http://www.truploader.com/uploads/2_10_2012/676470banksearch.png[/IMG] [IMG]http://www.truploader.com/uploads/2_10_2012/255365fm.png[/IMG] [IMG]http://www.truploader.com/uploads/2_10_2012/870338customminigame.png[/IMG] [IMG]http://www.truploader.com/uploads/2_10_2012/372185nex.png[/IMG] [IMG]http://www.truploader.com/uploads/2_10_2012/922354inventorybob.png[/IMG] [/center]
  4. Hey Im running InsanityX V8 Source and i wanted to change the "register at InsanityX.net" On the Quest tab. I Changed it, Compiled and when i Run The server i get this error... [ATTACH=CONFIG]5860[/ATTACH] When i Compiled It Says This [ATTACH=CONFIG]5861[/ATTACH] Any 1 Knows PLz Help ....
  5. Ok first of all this has been released before im just putting it out there for those who are using insanityx even if gabbe said there are no dupes there still is... anyways lets get started First Look For [CODE]Server.itemHandler.createGroundItem(c, itemId, c.getX(), c.getY(), c.playerItemsN[slot], c.getId());[/CODE] This is what tells itemhandler.java hey buddy so if the player dropped an item lets gets the itemid the x coordinate the y coordinate Next look for [CODE]c.getItems().deleteItem(itemId, slot, c.playerItemsN[slot]);[/CODE] This says ok so lets get the item id and lets delete the item from the player slot aka inventory Now under that add this [CODE]c.SaveGame();[/CODE] What this does is it saves the character file everytime an item is dropped, this may cause more memory usage when having a large amount of players on the server I hope this helped any inexperienced people from this community patching this dupe. ^_^
  6. Hey guys! its hack3r. proud owner of deathlypvpz.co.uk Recently i have realized there is a problem with the insanityx package.. When you trade with somone and have a noted item in your inventory you offer X ###B (numbers or anything foollowed by a B) this gives you 500M of that item. therforee dupign B is the only letter you can place in the trade screen. is there a way of patching this? maybe even coding into the server trade class that if you type b you will be logged out. during trade im a fairy good coder and i can add it myself if you have any ideas please either comment on here or come to the chatbox on deathlypvpz.co.uk Thanks -hack3r-
  7. Bravey

    InsanityX based help

    Hello for a long time i need help. okay so i have problem with pest control [waiting boat] lunar book keeps popping up there. i tried and tried but couldn't find how to delete the part where it puts the lunar interface show up on there :x so any suggestions? =l [img]http://dl.dropbox.com/u/64496889/rolff.jpg[/img]
  8. Hey, well i have had success in making other webclients & working for others but i have a problem with InsanityX I have tried to Jar & Sign the insanityX Client but when i try to download the cache on my second laptop it doesn't auto-download. When i Jar the client its only 550kb where as when i jar another client its around 3mb. When im on my other laptop i just get "error trying again in 5 seconds..." I have downloaded the Fixed InsanityX client so they when the client loads up it locates the cache from the C: drive & not from C:\Users\... How can i fix this problem?
  9. I'm in a rush so im just going to put server link and update the thread later with images. [U][COLOR="Red"][SIZE="6"]Server link[/SIZE][/COLOR][/U] [url=http://www.rswebclients.com/play/InsanityX%20Need%20Staff]InsanityX Need Staff - RSWebclients[/url] NOTE: while loading the webclient please dont change page or it goes white, stay on the webclient until its fully loaded [U][COLOR="Red"][SIZE="6"]Forums[/SIZE][/COLOR][/U] [URL="www.insanityxrsps.smffy.com"]www.insanityxrsps.smffy.com[/URL] drop party at 10 players also we are looking for experienced staffs who are very active and helpful. join fast!
  10. I want to add a few items such as the max cape, ring of vigor, and other various items.. But I don't know how to get their item dat files. I've seen cache packed items across the forums: but none of them have .dat files like the HyBrid PvP client has. I do understand how to add them to itemdef.java and item.cfg ect. Just need help on how to add the actual models to the client. I would be very thankful if someone could show me a tut, or explain how to do this. When I wear Max cape, It removes weponary. Someone mind telling me how I could fix that
×