Jump to content

Search the Community

Showing results for tags 'load'.



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 91 results

  1. I have tried to dump 667 midis with this code but is dont work... the code [CODE]import java.io.*; import java.util.zip.GZIPInputStream; public class MidiDumper { private static final String folder = "C:\\Users\\admin\\Desktop\\Autres Dosiers (1 2 3)\\autre 2\\runescape private server\\runeremake\\Pure 667 Feather Server\\data\\cache"; private static final String savefolder = "C:\\save\\"; private static DataInputStream cache; public static void main(String args[]) throws Exception { File f = new File(folder + "main_file_cache.dat2"); byte bytes[] = new byte[(int) f.length()]; new FileInputStream(f).read(bytes); BufferedInputStream cache2 = new BufferedInputStream(new ByteArrayInputStream(bytes)); cache = new DataInputStream(cache2); cache.mark(bytes.length); DataInputStream midi = new DataInputStream(new FileInputStream(folder + "main_file_cache.idx11")); int count = 0; while (midi.available() > 0) { int length = (midi.readUnsignedByte() << 16) + (midi.readUnsignedByte() << 8) + midi.readUnsignedByte(); int offset = (midi.readUnsignedByte() << 16) + (midi.readUnsignedByte() << 8) + midi.readUnsignedByte(); byte[] b = readFile(length, offset); if(b == null) continue; File file = new File(savefolder + "midi" + (++count) + ".mid"); if(!file.exists()) if(!file.createNewFile()) continue; RandomAccessFile raf = new RandomAccessFile(file, "rw"); raf.write(b); raf.close(); } } public static byte[] getParody(int index) throws Exception { cache.reset(); byte buffer[] = new byte[520]; int jump = index * 520; cache.skipBytes(jump); cache.readFully(buffer); return buffer; } public static byte[] readFile(int size, int offset) throws Exception { byte b[] = getFile(size, offset); int length = ((b[5] & 0xff) << 24) + ((b[6] & 0xff) << 16) + ((b[7] & 0xff) << 8) + b[8]; if(length > 0) { if(b[0] == 2) { GZIPInputStream d = new GZIPInputStream(new ByteArrayInputStream(b, 9, length)); byte z[] = new byte[b.length]; int i = d.read(z); byte x[] = new byte[i]; System.arraycopy(z, 0, x, 0, i); return x; } else if(b[0] == 1) { System.out.println("Fu**in' sh**, it's not a midi!!!"); return null; } return b; } return null; } public static byte[] getFile(int size, int offset) throws Exception { if(offset <= 0) return null; byte outfile[] = new byte[size]; int bits = offset; int length = 0; while(true) { byte buffer[] = getParody(bits); if(buffer == null) return null; bits = ((buffer[4] & 0xff) << 16) + ((buffer[5] & 0xff) << 8) + (buffer[6] & 0xff); if(size - length - 8 > 512) { System.arraycopy(buffer, 8, outfile, length, 512); } else { System.arraycopy(buffer, 8, outfile, length, size - length - 8); return outfile; } length += 512; } } }[/CODE] Any idea to fix/get this class?
  2. [B]What is this useful for?[/B] *Server *Client *Launchers Q: For what? A: For a example you could load your news message from a dropbox .txt file, giving you the ability to change your in-game news just by using mobile phone when you're away from computer. [code] /** * Loads a .txt file from URL and * returns to the text inside it. * [MENTION=75098]Para[/MENTION]m url_adress > [url]www.adress.com/myText.txt[/url] * [MENTION=184045]return[/MENTION] S * @throws java.io.IOException */ public static String getMessageFromURL(String url_adress) throws IOException { URL url = null; try { url = new URL(url_adress); } catch (MalformedURLException e) { System.out.println("There was an error loading the file / reading it." + " " + Arrays.toString(e.getStackTrace())); } return IOUtils.toString(url); }[/code] You need apache commons-io 2.4 which can be downloaded here. [url]http://commons.apache.org/proper/commons-io/[/url]
  3. Hi guys....I've got my source and client, but for some reason my client won't download my cache. I'm trying to set-up a 417 server using Project Insanity's client...Would someone be willing to help me just set-up the server? I'll be able to do the rest.
  4. How do I use Eclipse to load my client and server?
  5. what im trying to do is have my normal prayer book have all of its normal prayers and too add the curse turmoil next to piety . i understang u cant get the gfx to work im running 474 gfx i cant get my a [I] [COLOR="#FF0000"]addPrayer(18016, 0, 609, 94, 8, "Turmoil"); [/COLOR] [/I] to register any PRAYON sprite. [B] [COLOR="#FF0000"] public static void prayerTab(TextDrawingArea[] tda) { RSInterface tab = addTabInterface(5608); RSInterface currentPray = interfaceCache[687]; currentPray.textColor = 0xFF981F; currentPray.textShadow = true; currentPray.message = "%1/%2"; addSprite(5651, 0, "Prayer/PRAYER"); addPrayer(18000, 0, 601, 7, 0, "Sharp Eye"); addPrayer(18002, 0, 602, 8, 1, "Mystic Will"); addPrayer(18004, 0, 603, 25, 2, "Hawk Eye"); addPrayer(18006, 0, 604, 26, 3, "Mystic Lore"); addPrayer(18008, 0, 605, 43, 4, "Eagle Eye"); addPrayer(18010, 0, 606, 44, 8, "Mystic Might"); addPrayer(18012, 0, 607, 59, 6, "Chivalry"); addPrayer(18014, 0, 608, 69, 7, "Piety"); addPrayer(18016, 0, 609, 94, 8, "Turmoil"); tab.totalChildren(55); /* Buttons/glows */ tab.child(0, 5609, 6, 4); tab.child(1, 5610, 42, 4); tab.child(2, 5611, 78, 4); tab.child(3, 5612, 6, 40); tab.child(4, 5613, 42, 40); tab.child(5, 5614, 78, 40); tab.child(6, 5615, 114, 40); tab.child(7, 5616, 150, 40); tab.child(8, 5617, 6, 76); tab.child(9, 5618, 114, 76); tab.child(10, 5619, 150, 76); tab.child(11, 5620, 6, 112); tab.child(12, 5621, 42, 112); tab.child(13, 5622, 78, 112); tab.child(14, 5623, 114, 112); tab.child(15, 683, 42, 148); tab.child(16, 684, 78, 148); tab.child(17, 685, 114, 148); /* Sprites */ tab.child(18, 5632, 8, 6); tab.child(19, 5633, 44, 6); tab.child(20, 5634, 80, 6); tab.child(21, 5635, 8, 42); tab.child(22, 5636, 44, 42); tab.child(23, 5637, 80, 42); tab.child(24, 5638, 116, 42); tab.child(25, 5639, 152, 42); tab.child(26, 5640, 8, 79); tab.child(27, 5641, 116, 78); tab.child(28, 5642, 152, 78); tab.child(29, 5643, 8, 114); tab.child(30, 5644, 44, 114); tab.child(31, 686, 80, 114); tab.child(32, 5645, 116, 114); tab.child(33, 5649, 44, 150); tab.child(34, 5647, 80, 150); tab.child(35, 5648, 116, 150); /* New prayers */ tab.child(36, 18000, 114, 4); tab.child(37, 18001, 117, 8); tab.child(38, 18002, 150, 4); tab.child(39, 18003, 153, 7); tab.child(40, 18004, 42, 76); tab.child(41, 18005, 45, 80); tab.child(42, 18006, 78, 76); tab.child(43, 18007, 81, 79); tab.child(44, 18008, 150, 112); tab.child(45, 18009, 153, 116); tab.child(46, 18010, 6, 148); tab.child(47, 18011, 9, 151); tab.child(48, 18012, 150, 148); tab.child(49, 18013, 157, 151); tab.child(50, 18014, 6, 184); tab.child(51, 18015, 8, 194); tab.child(52, 18016, 43, 184); /* Prayer icons & text */ tab.child(53, 5651, 65, 242); tab.child(54, 687, 14, 244); }[/COLOR][/B] heres code for copy [code] public static void prayerTab(TextDrawingArea[] tda) { RSInterface tab = addTabInterface(5608); RSInterface currentPray = interfaceCache[687]; currentPray.textColor = 0xFF981F; currentPray.textShadow = true; currentPray.message = "%1/%2"; addSprite(5651, 0, "Prayer/PRAYER"); addPrayer(18000, 0, 601, 7, 0, "Sharp Eye"); addPrayer(18002, 0, 602, 8, 1, "Mystic Will"); addPrayer(18004, 0, 603, 25, 2, "Hawk Eye"); addPrayer(18006, 0, 604, 26, 3, "Mystic Lore"); addPrayer(18008, 0, 605, 43, 4, "Eagle Eye"); addPrayer(18010, 0, 606, 44, 8, "Mystic Might"); addPrayer(18012, 0, 607, 59, 6, "Chivalry"); addPrayer(18014, 0, 608, 69, 7, "Piety"); addPrayer(18016, 0, 609, 94, 8, "Turmoil"); tab.totalChildren(55); /* Buttons/glows */ tab.child(0, 5609, 6, 4); tab.child(1, 5610, 42, 4); tab.child(2, 5611, 78, 4); tab.child(3, 5612, 6, 40); tab.child(4, 5613, 42, 40); tab.child(5, 5614, 78, 40); tab.child(6, 5615, 114, 40); tab.child(7, 5616, 150, 40); tab.child(8, 5617, 6, 76); tab.child(9, 5618, 114, 76); tab.child(10, 5619, 150, 76); tab.child(11, 5620, 6, 112); tab.child(12, 5621, 42, 112); tab.child(13, 5622, 78, 112); tab.child(14, 5623, 114, 112); tab.child(15, 683, 42, 148); tab.child(16, 684, 78, 148); tab.child(17, 685, 114, 148); /* Sprites */ tab.child(18, 5632, 8, 6); tab.child(19, 5633, 44, 6); tab.child(20, 5634, 80, 6); tab.child(21, 5635, 8, 42); tab.child(22, 5636, 44, 42); tab.child(23, 5637, 80, 42); tab.child(24, 5638, 116, 42); tab.child(25, 5639, 152, 42); tab.child(26, 5640, 8, 79); tab.child(27, 5641, 116, 78); tab.child(28, 5642, 152, 78); tab.child(29, 5643, 8, 114); tab.child(30, 5644, 44, 114); tab.child(31, 686, 80, 114); tab.child(32, 5645, 116, 114); tab.child(33, 5649, 44, 150); tab.child(34, 5647, 80, 150); tab.child(35, 5648, 116, 150); /* New prayers */ tab.child(36, 18000, 114, 4); tab.child(37, 18001, 117, 8); tab.child(38, 18002, 150, 4); tab.child(39, 18003, 153, 7); tab.child(40, 18004, 42, 76); tab.child(41, 18005, 45, 80); tab.child(42, 18006, 78, 76); tab.child(43, 18007, 81, 79); tab.child(44, 18008, 150, 112); tab.child(45, 18009, 153, 116); tab.child(46, 18010, 6, 148); tab.child(47, 18011, 9, 151); tab.child(48, 18012, 150, 148); tab.child(49, 18013, 157, 151); tab.child(50, 18014, 6, 184); tab.child(51, 18015, 8, 194); tab.child(52, 18016, 43, 184); /* Prayer icons & text */ tab.child(53, 5651, 65, 242); tab.child(54, 687, 14, 244);[/code] I tested and came to the conclusion on this error by replacing the mystic lore's loading sprite to the same as i have my turmoil and also having the correct prayer interface on next to piety and the sprite would load for the mystic lore prayer and still not the turmoil interface. [img]http://i.gyazo.com/32e4538ff9b69af9aa4e3940c5b09de8.png[/img] but the prayer glow still works when activated [img]http://i.gyazo.com/58faa0cae7c7c253421497118715bece.png[/img]
  6. Imperiorx

    Client

    Hi guys, everytime i try to open the client it doesnt load and stuck: [ATTACH=CONFIG]10790[/ATTACH] what do i have to do?
  7. so i play many RSPS on my linux, and the desktop clients work perfectly and webclients rarely work. But for some reason when i try to play this server It loads up to the screen i posted in the picture below, and when i run it from the terminal i receive this error message: Map amount = 660Error: loaderror 60 java.lang.NullPointerException at client.preloadModels(client.java:229) at client.startUp(client.java:8347) at RSApplet.run(RSApplet.java:84) at client.run(client.java:5290) at java.lang.Thread.run(Thread.java:745) Im running on Ubuntu 14.04 LTS, using Oracle Java 7 to run it, and i've tried all other versions, and they still give that message. Does anyone know a fix?
  8. shez

    Jar file dosnt load

    i jar my client but when i try run it nothing happens , someone toldedme i need a certification or something i don't know if anyone can help Skype me ish3zz
  9. As the title says lol... Ok so the problem is Bottany Bay and Mobilising Armies... Dwarf village used to be a problem but now it loads just has very messed up map data for it. Mob Arm and Bot Bay were working perfect without any map struggles. And then my v8 client I have made fails me... What is even more strange is my v6 works... Even though nothing changed via client and whats messed up is the fact when i use a non jarred client it causes crashing in those maps mentioned above. Does ANYONE know why I am having this issue? And if you know how to fix helm me out please lol I am kind of almost resetting my cache back to xtea format because cache sided maps are soooo bad lol. But I get the feeling it is both the Client and the Cache.
  10. [CODE]could not find or load main class server.Server[/CODE] Here's my run.bat [CODE]@echo off title Running "C:\Program Files\Java\jre7\bin\java.exe" -Xmx1200m -cp bin;deps/*; server.Server pause[/CODE] Any help would be appreciated! Thankyou :-)
  11. Hey, so I tried making my own little RSPS by following the RuneLocus 'How to make a RuneScape private server' tutorial. Everything worked perfectly fine until I got to step #4. Everytime I try to open the run.bat in the Client folder (from the RuneLocus Starter Kit) the cmd pops up and says Could not find or load main class GUI. Press any key to continue. I'm completely new to all of this and I've searched for about an hour for help and nothing even fits my situation. Someone pleaseee please help me, I will very much appreciate it. And keep in mind that I'm a beginner, so if you will, please 'dumb it down' for me. Thanks!
  12. Please help nobody helps me :'( [img]http://i.imgur.com/H1IA7IY.png[/img]
  13. .. Delete this now
  14. Sorry if this is the wrong section, but anytime I try to load and rsps I get an error. See Below: [IMG]http://i42.tinypic.com/34xs1u1.png[/IMG] [IMG]http://i40.tinypic.com/fenonm.png[/IMG] This only started to happen recently, any ideas how to fix?
  15. Well, my client run.sh will work but the one under the server folder in the Starter Pack will not. This is the code: #! /bin/sh exec java -classpath `dirname $0`/bin -Xmx300m GUI I get this error message whenever I try to start it using Terminal Could not find or load main class server.GUI Any help?
  16. title pretty much says it if you want to Skype and help me I woiuld appreciate it but my Skype doesn't allow me to show my screen if you want to teamview me go ahead and add my Skype and ill let you help me the only think I really need done is what to get for a vps and how to .jar it so if you could .jar it for me and if you could add the vps in the files necessary I would appreciate your help no I don't pay people that's dumb haha Skype: zizema660
  17. [url]http://www.bildites.lv/images/cdjuvn17nt77s8hfg55.png[/url] Somebody please help! :)
  18. i just recently jarred and signed my client, but when i open the .jar file it says there no auto cache downloader but i put the cache downloader in my cache and put URL from dropbox in it. and still doesnt work. how do i fix this issue been looking for a tut for 4 days. any help is greatly appreciated!
  19. hi, i am new to all this so i need a bit of help. i downloaded the rsps provided by runelocus but when i click StarterPack_RuneLocus>server>run.bat this error shows up in command prompt: error: could not find or load main class server.GUI could someone explain to me how to fix this. thanks in advance
  20. So it works fully on my pc: [url]http://gyazo.com/8793c9fd8432469b942486254e03602e[/url] Does this on VPS: [url]http://gyazo.com/62cd2c62e329f6d0f1f8de5a328beab3[/url] VPS Specs -1gb ram (server requires 512mb) 3.00 GHZ Processor Vps is portforwarded Firewall is off completely So if you can help please reply or add my skype @ tjl.beatz
  21. Hello. I'm fairly new to coding. I just downloaded a source and client file.. None of the files appear to let me open them correctly. They show up as a blank white page and doesn't let me click it orelse I have to search to find it through internet. I tried opening with WordPad, Notepad, neither of them allow me to open it without reading some crazy symbols.. Could somebody please help me and tell me if I made any errors in the installations of what's required to run an RSPS? I portforwarded, I have a no-ip, all that,.. It just won't allow me to open it. Please, Pur3 !
  22. Hi, I'me looking for 2 days now and i can't find a tutorial witch telling me how i can load 562 cache on a 317 server. Maybye you guys/girls could help me by posting a link of a tutorials
  23. lost connection when i was playing and that was 3 hours ago, and i still cannot connect to the website. anyone else have trouble to?
  24. K. So i THOUGHT i would have some fun playing on some RSPS's on my computer by myself just to pass a rainy day... so i came here to look for some fun sources to download. I downloaded 3. First, all the clients didn't work at all.. so i spent over two hours fixing that.. i FINALLY got the client to work. But now.. somewhere in my process of fixing the clients... it broke something that messes with my servers?.. I always get the message: "Error: Could not find or load main class server.Server Press any key to continue . . ." Not a CLUE what i'm doing, just so everyone knows. In my Program Files > Java.. i have 2 folders, jre6, and jdk1.7.0_25 I haven't got a clue what to do... I'm so stressed. Someone please help. Any suggestion is appreciated.. Thank you. PS. I'm not the smartest on anything dealing with Java.. so please dumb it down to a nooby level for me. THANK YOU :P
  25. Well, I recently downloaded a server to try out and play, but when I open the run.bat, this error comes up [img]http://i.imgur.com/lIwvSUy.png[/img] There is an EGUI.class file in the folder, if that helps. This is what my run.bat looks like when I edit it: [img]http://img46.imageshack.us/img46/6011/g1xj.png[/img] I really know nothing about this stuff, so as much detail as possible is appreciated :) It's an Allstarscape source too
×