Jump to content

Search the Community

Showing results for tags 'string'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • 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


Last Updated

  • Start


Filter by number of...


  • Start



Found 14 results

  1. every 30 seconds or so when my server is running I get this string of errors: [attachment=103:7bbe9aba05ff1a1248fb397723e72cdc.jpg] I have no idea what to do. I host the server through eclipse on a vps, the errors don't seem to cause problems but 2 or 3 times a day the server crashes and that's the only thing I could think of that would be causing it to crash.
  2. Hey all, i've just tried to add a new clan chat system with ranks, but for some reason when i leave the clan i get this error: [code][8/07/14 19:45]: java.lang.ArrayIndexOutOfBoundsException: 0 [8/07/14 19:45]: at com.divine.security.Stream.readString(Stream.java:283 ) [8/07/14 19:45]: at com.divine.game.mobile.player.action.ReceiveString.pr ocessPacket(ReceiveString.java:14) [8/07/14 19:45]: at com.divine.game.mobile.player.PacketHandler.processPa cket(PacketHandler.java:151) [8/07/14 19:45]: at com.divine.game.mobile.player.Client.processQueuedPac kets(Client.java:1025) [8/07/14 19:45]: at com.divine.game.mobile.player.PlayerHandler.process(P layerHandler.java:212) [8/07/14 19:45]: at server.Server$1.execute(Server.java:196) [8/07/14 19:45]: at com.divine.server.task.Task2.tick(Task2.java:117) [8/07/14 19:45]: at com.divine.server.task.TaskScheduler.run(TaskSchedule r.java:104) [8/07/14 19:45]: at java.util.concurrent.Executors$RunnableAdapter.call(E xecutors.java:471) [8/07/14 19:45]: at java.util.concurrent.FutureTask.runAndReset(FutureTas k.java:304) [8/07/14 19:45]: at java.util.concurrent.ScheduledThreadPoolExecutor$Sche duledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [8/07/14 19:45]: at java.util.concurrent.ScheduledThreadPoolExecutor$Sche duledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [8/07/14 19:45]: at java.util.concurrent.ThreadPoolExecutor.runWorker(Thr eadPoolExecutor.java:1145) [8/07/14 19:45]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(Th readPoolExecutor.java:615) [8/07/14 19:45]: at java.lang.Thread.run(Thread.java:744) [8/07/14 19:45]: Legit Yonas is sending invalid PacketType: 153. PacketSize: 2 [8/07/14 19:45]: Game saved for player Legit Yonas [8/07/14 19:45]: LOGGED OUT: Legit Yonas[/code] and as you can see it loggs off the character. the removing from clan is done client sided through this: [code]case 18129: if (R_3.interfaceCache[18135].message.toLowerCase() .contains("join")) { inputTaken = true; inputDialogState = 0; messagePromptRaised = true; promptInput = ""; friendsListAction = 6; aString1121 = "Enter the name of the chat you wish to join"; } else { sendString(0, ""); } break;[/code] [code]public void sendString(int identifier, String text) { text = identifier + "," + text; stream.createFrame(127); stream.writeWordBigEndian(text.length() + 1); stream.writeString(text); }[/code] the joining works fine, but the leaving doesnt
  3. Hey, I have a problem, the string is $s = "1-2-3-4-5-6-7"; and I want for example to remove 6 , but when I use preg_replace it makes it 1-2-3-4-5--7 how do I fix that?? @Anthony`
  4. I have a starter pack problem... i feel really dumb. I am pretty good with computer files and stuff. I will put a few pictures of the problem since i am completely lost. [ATTACH=CONFIG]7722[/ATTACH] I can see that it is a error but i cannot find them or know how to fix them in there specific folder/files. So if someone can tell me how to do the first few i should be able to do the rest for me. It also is 77 errors total and there is a lot more than i showed. As they all revolve around the same string: Cannot find symbol Thanks for your time!
  5. PMSL

    Quest Tab String ID's.

    Hello, Does anyone know how to customize the Quest Tab's Quest Strings? Cheers, Andy
  6. Is it possible to change how big the text size is on a sendstring?
  7. Ok so me and my friend came up with the idea of a random item generator chest on our server. It gives out items correctly and normally, but that the problem we wanna lower the percentage rate on certain items so the chances of getting it goes down. So can someone post a snippet of some sort showing us how to add perceentages or post a link to a tut.
  8. How can I make a command to open a URL such as pornhub? yano ? Really though, ::vote, ::forums, ::donate, would be nice. :)
  9. Is there a command that displays the string Id's in the interface for a 562 server? I saw this picture that displayed the string Id's in the place of the text and I thought it was awesome, is there a command for 562 that will work like this?
  10. Important Man

    Right string

    How do I find the right string value for an interface?
  11. I'm trying, to get it to read a file, and then send the player a message showing every line. Here's my command: [CODE] if(cmd[0].equals(".checkm")) { int numberOfLines = 0; File f = new File("data/text/messages/"+player.getUsername()+".txt"); if(!f.exists()) { player.sm("You have no new messages"); return; } BufferedReader reader = new BufferedReader(new FileReader(f)); String messages = null; while((messages = reader.readLine()) != null) { numberOfLines++; } String[] string = new String[numberOfLines]; for(int i = 0; i < numberOfLines; i++) { string[i] = reader.readLine(); } for(int i = 0; i < string.length; i++) { player.sm(""+string[i]); } }[/CODE] (It's a little messed because I've been trying to figure this out...) All it sends, is "null" for the amount of lines it has. So if you have 4 lines in the file, it would send: null null null null regardless if the lines are null or not (which they're obviously not) HALP PL0X
  12. Hey guys, I am currently having a problem converting this command from reading an Int array to a String array of items that you cannot spawn. Currently I have this. [code] if (playerCommand.startsWith("item")) { try { String[] args = playerCommand.split(" "); if (args.length == 3) { int newItemID = Integer.parseInt(args[1]); int newItemAmount = Integer.parseInt(args[2]); for (int i : PvPConfig.COMBAT_ITEM1) { if(i == newItemID) { c.sendMessage("This item is a PvP item and cannot be spawned."); return; } }[/code] COMBAT_ITEM1 being my unspawnable String array list at the moment, but right now this code is meant for Ints only not Strings. Does anyone have a simple way to possibly convert this? Thank you for any feedback if you help out.
  13. I got a String: public static String colour = "Red, Blue, Orange"; And I would like something that would randomly take one of them.
  14. OK im using a String Command and it's for my welcome screen but it won't pickup the string for the message of the week, like the white box part and i wanna send a string on it but idk , I've been trying this is my last resort. Thanks.