Jump to content
View in the app

A better way to browse. Learn more.

RuneSuite RSPS Development

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Mathy

Members
  • Joined

  • Last visited

Everything posted by Mathy

  1. Yes it is, with an interface, kinda like duel arena, both parties put a stake and the winner gets it all
  2. So I've tried to add gambling to my rsps and when I request the gamble, it kicks out the player that requested it and get a bunch of size 0 packets errors. Here are the packet's code and the error and the gif from what happens. [13/04/17 2:47 PM]: java.lang.ArrayIndexOutOfBoundsException: 1 [13/04/17 2:47 PM]: at server.util.Stream.readSignedWordBigEndian(Stream.java:58) [13/04/17 2:47 PM]: at server.model.players.packets.GambleResponse.processPacket(GambleResponse.java:15) [13/04/17 2:47 PM]: at server.model.players.PacketHandler.processPacket(PacketHandler.java:142) [13/04/17 2:47 PM]: at server.model.players.Client.processQueuedPackets(Client.java:4001) [13/04/17 2:47 PM]: at server.model.players.PlayerHandler.process(PlayerHandler.java:270) [13/04/17 2:47 PM]: at server.GameEngine.run(GameEngine.java:31) [13/04/17 2:47 PM]: at server.Server$1.execute(Server.java:160) [13/04/17 2:47 PM]: at server.task.Task.tick(Task.java:107) [13/04/17 2:47 PM]: at server.task.TaskScheduler.run(TaskScheduler.java:125) [13/04/17 2:47 PM]: at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [13/04/17 2:47 PM]: at java.util.concurrent.FutureTask.runAndReset(Unknown Source) [13/04/17 2:47 PM]: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) [13/04/17 2:47 PM]: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [13/04/17 2:47 PM]: at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [13/04/17 2:47 PM]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [13/04/17 2:47 PM]: at java.lang.Thread.run(Unknown Source) [13/04/17 2:47 PM]: Unhandled packet type: 222 - size: 0 [13/04/17 2:47 PM]: Unhandled packet type: 96 - size: 0 [13/04/17 2:47 PM]: Unhandled packet type: 48 - size: 0 [13/04/17 2:47 PM]: Unhandled packet type: 56 - size: 0 [13/04/17 2:47 PM]: Game saved for player test [13/04/17 2:47 PM]: [DEREGISTERED]: test[/CODE] That was the error and now the packet sizes public static final int PACKET_SIZES[] = { 0, 0, 0, 1, -1, 0, 0, 0, 0, 0, //0 0, 0, 0, 0, 4, 0, 6, 2, 2, 0, //10 0, 2, 0, 6, 0, 12, 0, 0, 0, 0, //20 0, 0, 0, 0, 0, 8, 4, 0, 0, 2, //30 2, 6, 0, 6, 0, -1, 0, 0, 0, 0, //40 0, 0, 0, 12, 0, 0, 0, 8, 8, 12, //50 8, 8, 0, 0, 0, 0, 2, 4, 0, 0, //60 6, 0, 2, 2, 8, 6, 0, -1, 0, 6, //70 0, 0, 0, 0, 0, 1, 4, 6, 0, 0, //80 0, 0, 0, 0, 0, 3, 0, 0, -1, 0, //90 0, 13, 0, -1, 0, 0, 0, 0, 0, 0,//100 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, //110 1, 0, 6, 0, 0, 0, -1, 0, 2, 6, //120 0, 4, 6, 8, 0, 6, 0, 0, 0, 2, //130 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, //140 0, 0, 1, 2, 0, 2, 6, 0, 0, 0, //150 0, 0, 0, 0, -1, -1, 0, 0, 0, 0,//160 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, //170 0, 8, 0, 3, 0, 2, 0, 0, 8, 1, //180 0, 0, 12, 0, 0, 0, 0, 0, 0, 0, //190 4, 2, 0, 0, 0, 0, 0, 0, 4, 0, //200 4, 0, 0, 0, 7, 8, 0, 0, 10, 0, //210 0, 0, 0, 0, 0, 0, -1, 0, 6, 0, //220 1, 0, 0, 0, 6, 0, 6, 8, 1, 0, //230 0, 4, 0, 0, 0, 0, -1, 0, -1, 4,//240 0, 0, 6, 6, 0, 0, 0 //250 };[/CODE] And the gif, at last http://prntscr.com/ey136q If you need any other lines of code, just comment them ! Thanks, Mathy EDIT: I changed the packet sizes of some packets and now I can get to the interface but I don't receive the "*** would like to gamble with you" message, I have to manually ask the other player, anyways here's a gif that explains the situation and I still get a bunch of 0 packet sizes. Current packets: [CODE] public static final int PACKET_SIZES[] = { 0, 0, 0, 1, -1, 0, 0, 0, 0, 0, //0 0, 0, 0, 0, 4, 0, 6, 2, 2, 0, //10 0, 2, 0, 6, 0, 12, 0, 0, 0, 0, //20 0, 0, 0, 0, 0, 8, 4, 0, 0, 2, //30 2, 6, 0, 6, 0, -1, 0, 0, 0, 0, //40 0, 0, 0, 12, 0, 0, 0, 8, 8, 12, //50 8, 8, 0, 0, 0, 0, 2, 4, 0, 0, //60 6, 0, 2, 2, 8, 6, 0, -1, 0, 6, //70 0, 0, 0, 0, 0, 1, 4, 6, 0, 0, //80 0, 0, 0, 0, 0, 3, 0, 0, -1, 0, //90 0, 13, 0, -1, 2, 4, 0, 0, 0, 0,//100 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, //110 1, 0, 6, 0, 0, 0, -1, 0, 2, 6, //120 0, 4, 6, 8, 0, 6, 0, 0, 0, 2, //130 0, 4, 4, 4, 0, 6, 0, 0, 0, 0, //140 0, 0, 1, 2, 0, 2, 6, 0, 0, 0, //150 0, 0, 0, 0, -1, -1, 0, 0, 0, 0,//160 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, //170 0, 8, 0, 3, 0, 2, 0, 0, 8, 1, //180 0, 0, 12, 0, 0, 0, 0, 0, 0, 0, //190 4, 2, 0, 0, 0, 0, 0, 0, 4, 0, //200 4, 0, 0, 0, 7, 8, 0, 0, 10, 0, //210 0, 0, 0, 0, 0, 0, -1, 0, 6, 0, //220 1, 0, 0, 0, 6, 0, 6, 8, 1, 0, //230 0, 4, 0, 0, 0, 0, -1, 0, -1, 4,//240 0, 0, 6, 6, 0, 0, 0 //250 };[/CODE] These are the errors that I get after some time : [CODE][14/04/17 4:56 AM]: java.lang.ArrayIndexOutOfBoundsException: 17413 [14/04/17 4:56 AM]: at server.model.players.packets.ItemOnNpc.processPacket(ItemOnNpc.java:17) [14/04/17 4:56 AM]: at server.model.players.PacketHandler.processPacket(PacketHandler.java:142) [14/04/17 4:56 AM]: at server.model.players.Client.processQueuedPackets(Client.java:4001) [14/04/17 4:56 AM]: at server.model.players.PlayerHandler.process(PlayerHandler.java:270) [14/04/17 4:56 AM]: at server.GameEngine.run(GameEngine.java:31) [14/04/17 4:56 AM]: at server.Server$1.execute(Server.java:160) [14/04/17 4:56 AM]: at server.task.Task.tick(Task.java:107) [14/04/17 4:56 AM]: at server.task.TaskScheduler.run(TaskScheduler.java:125) [14/04/17 4:56 AM]: at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [14/04/17 4:56 AM]: at java.util.concurrent.FutureTask.runAndReset(Unknown Source) [14/04/17 4:56 AM]: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) [14/04/17 4:56 AM]: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [14/04/17 4:56 AM]: at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [14/04/17 4:56 AM]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [14/04/17 4:56 AM]: at java.lang.Thread.run(Unknown Source) [14/04/17 4:56 AM]: Unhandled packet type: 48 - size: 0 [14/04/17 4:56 AM]: Unhandled packet type: 187 - size: 0 [14/04/17 4:56 AM]: Unhandled packet type: 107 - size: 0 [14/04/17 4:56 AM]: Unhandled packet type: 250 - size: 0 [14/04/17 4:56 AM]: Unhandled packet type: 234 - size: 6 [14/04/17 4:56 AM]: Game saved for player mathy [14/04/17 4:56 AM]: [DEREGISTERED]: mathy [14/04/17 4:57 AM]: objectId: 38117 ObjectX: 21730 objectY: 47877 Xoff: -19799 Yoff: -42875 [14/04/17 4:57 AM]: Unhandled packet type: 38 - size: 0 [14/04/17 4:57 AM]: Unhandled packet type: 196 - size: 0 [14/04/17 4:57 AM]: Unhandled packet type: 158 - size: 0 [14/04/17 4:57 AM]: Unhandled packet type: 76 - size: 0 [14/04/17 4:57 AM]: Unhandled packet type: 239 - size: 0 [14/04/17 4:57 AM]: Unhandled packet type: 153 - size: 2 [14/04/17 4:57 AM]: Unhandled packet type: 239 - size: 0 [14/04/17 4:57 AM]: Unhandled packet type: 151 - size: 0 [14/04/17 4:57 AM]: Unhandled packet type: 127 - size: 0 [14/04/17 4:57 AM]: Unhandled packet type: 96 - size: 0 [14/04/17 4:57 AM]: Unhandled packet type: 203 - size: 0 [14/04/17 4:57 AM]: Unhandled packet type: 52 - size: 0 [14/04/17 4:57 AM]: Unhandled packet type: 2 - size: 0 [14/04/17 4:57 AM]: Unhandled packet type: 89 - size: 0 [14/04/17 4:57 AM]: Unhandled packet type: 203 - size: 0 [14/04/17 4:57 AM]: Unhandled packet type: 193 - size: 0 [14/04/17 4:57 AM]: Unhandled packet type: 123 - size: 0 [14/04/17 4:57 AM]: Unhandled packet type: 223 - size: 0 [14/04/17 4:57 AM]: Game saved for player test [14/04/17 4:57 AM]: [DEREGISTERED]: test [14/04/17 4:57 AM]: java.lang.ArrayIndexOutOfBoundsException: -2162 [14/04/17 4:57 AM]: at server.model.players.packets.ItemOnNpc.processPacket(ItemOnNpc.java:17) [14/04/17 4:57 AM]: at server.model.players.PacketHandler.processPacket(PacketHandler.java:142) [14/04/17 4:57 AM]: at server.model.players.Client.processQueuedPackets(Client.java:4001) [14/04/17 4:57 AM]: at server.model.players.PlayerHandler.process(PlayerHandler.java:270) [14/04/17 4:57 AM]: at server.GameEngine.run(GameEngine.java:31) [14/04/17 4:57 AM]: at server.Server$1.execute(Server.java:160) [14/04/17 4:57 AM]: at server.task.Task.tick(Task.java:107) [14/04/17 4:57 AM]: at server.task.TaskScheduler.run(TaskScheduler.java:125) [14/04/17 4:57 AM]: at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [14/04/17 4:57 AM]: at java.util.concurrent.FutureTask.runAndReset(Unknown Source) [14/04/17 4:57 AM]: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) [14/04/17 4:57 AM]: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [14/04/17 4:57 AM]: at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [14/04/17 4:57 AM]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [14/04/17 4:57 AM]: at java.lang.Thread.run(Unknown Source) [14/04/17 4:58 AM]: Average Cycle Time: 8ms[/CODE] And the gif: http://prnt.sc/ey13hc Thanks, still need help Mathy
  3. What's the name of the server?
  4. You'd have to use a cache unpacker/packer to add them. You can just google "*insert revision* cache unpacker" or repacker, it's been a while since I used a cache packer
  5. He said that it would take him about 3 days to do so
  6. Are you willing to add and/or rename the model in the int and raw folder if the model number is already in the cache? If so, that would be great, I don't have the time to do it myself. Might hit you up
  7. Would you like me to check it over? Btw you don't need a specific client to add customs
  8. Deathlypvpz can be ran on Eclipse, did it before
  9. Then click on the Problems' tab and see what's the problem is and do what it tells you to do
  10. Mathy replied to 0117be's topic in RSPS Requests
    http://runeleak.com/forum/topic/939-how-to-add-customs-to-a-custom-rspsnon-packed-cache/
  11. Hey guys, So I saw some people that needed help adding customs to their RSPS so here I am. 1) You should have an int (the item's info) and 2 .dat files (those are the models for your item, the drop model and the wear model) 2) Add these two models in your "Raw" folder in your cache:
  12. Mathy replied to 0117be's topic in RSPS Requests
    Oh, that's not how I wanted to make you feel at all I just checked around on google for you and the top searches were pretty good. In your client folder, locate itemdef_1.java and add in the int (the item's info) anywhere in the middle of the other ints. Then take your models (wear model and drop model) in your Raw Folder in the cache (I assume it's a custom cache/non-packed cache). Sorry if I made you think that I'm taking you as an idiot.
  13. Looked for a couple of minutes, the client I believe was released on Rune-Server but a mod deleted the thread. Someone must have the files though
  14. Mathy replied to 0117be's topic in RSPS Requests
    Obvious Click that ^. + It should be easy for you to add the customs, if you are using a custom RSPS' cache, it's most probably not packed so it'll be piece of cake
  15. Mathy replied to 0117be's topic in RSPS Requests
    Any client as long as the models are compatible with the revision / client
  16. Mathy replied to 0117be's topic in RSPS Requests
    It's not about counting them, if you have the ints and the models all ready, you can add thousands at the same time, that's nothing to brag about
  17. Mathy replied to 0117be's topic in RSPS Requests
    Yeah that although some people still don't know what you're talking about
  18. Mathy replied to 0117be's topic in RSPS Requests
    Depends on what client
  19. Good luck with this, although I find it weird that you made a project thread for StarGate if I'm not mistaken and in here you're saying you have no files ?
  20. Mathy replied to Mathy's topic in RSPS Help
    Still need help !
  21. Mathy replied to Life's topic in 317
    I don't really know, I just liked some of the features and wanted to get some of them for my server But the one that's leaked doesn't have most of these things, so if it doesn't get updates, no But still, thanks for the leak!

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.