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. Oh nice, I was looking for this a while ago, I'm sure it'll help someone
  2. Have you tried 317 Sprite editors?
  3. Thanks but doesn't seem like anything new except some interfaces
  4. Hahahaha I ain't doing that for free haha I saw that, although you never told me the problems you have .-.
  5. Thanks Ace and like Booty said, great source to start
  6. Particles would be awesome Although it looks so good
  7. Yeah maybe don't use as main source, or make some serious updates
  8. Mathy replied to Daniel0576's topic in RSPS Requests
    I am willing to help you on your server over Skype like I did today but as Booty said, take some classes or just understand what the coding means and understand the errors you might get. That's how I learnt Java with few online classes
  9. Yeah basically just take what I just posted and change the rewards
  10. Make a new java file named MysteryBox.java and add all this in it: And put that file in server>Model>Players>Content package server.model.players.Content; import server.model.players.Client; import server.util.Misc; import server.model.players.PlayerHandler; import server.Server; /* Author : Mathy */ public class MysteryBox { public static int mysteryBoxID = 6199;//Just incase I want a different box id. public static boolean deleteBox = true;//Use this for reward testing. //Using arrays for item, and amount. private static int[][] commonRewards = { {4067, 1},// {990, 10},// {1053, 1},// {1055, 1},// {1057, 1},// }; private static int[][] uncommonRewards = { {4067, 1},// {16425, 1},// {14484, 1},// {12236, 1},// {12233, 1},// {12237, 1},// {12235, 1},// {12234, 1},// {12238, 1},// {12239, 1},// {11638, 1},// }; private static int[][] rareRewards = { {20089, 1},// {12230, 1},// {12231, 1},// {12225, 1},// {12227, 1},// {12229, 1},// {12232, 1},// {12228, 1},// {20088, 1},// {20093, 1},// {6199, 1},// }; private static int[][] veryRareRewards = { {990, 10},// {15017, 1},// }; private static int[][] UltraRareRewards = { {962, 1},// }; public static void openBox(Client c){ ///This part was just guesstimated, seeing as common would be used more, it has the highest chance of showing. int randomReward = Misc.random(100);//Picking the random number int itemToGive = 0, amountToGive = 0, rewardRoll; if(randomReward >= 0 && randomReward <= 60){//For all common items.. rewardRoll = Misc.random(commonRewards.length-1); itemToGive = commonRewards[rewardRoll][0]; amountToGive = commonRewards[rewardRoll][1]; }else if(randomReward >= 61 && randomReward <= 80){//Uncommon items. rewardRoll = Misc.random(uncommonRewards.length-1); itemToGive = uncommonRewards[rewardRoll][0]; amountToGive = uncommonRewards[rewardRoll][1]; }else if(randomReward >= 81 && randomReward <= 95){//Rare items rewardRoll = Misc.random(rareRewards.length-1); itemToGive = rareRewards[rewardRoll][0]; amountToGive = rareRewards[rewardRoll][1]; }else if(randomReward >= 96 && randomReward <= 99){//Very Rare items rewardRoll = Misc.random(veryRareRewards.length-1); itemToGive = veryRareRewards[rewardRoll][0]; amountToGive = veryRareRewards[rewardRoll][1]; }else if(randomReward >= 100){//Very Rare items rewardRoll = Misc.random(UltraRareRewards.length-1); itemToGive = UltraRareRewards[rewardRoll][0]; amountToGive = UltraRareRewards[rewardRoll][1]; for (int z = 0; z < Server.playerHandler.players.length; z++) { if (Server.playerHandler.players[z] != null) { Client o = (Client) Server.playerHandler.players[z]; o.sendMessage("<col=29184>["+Misc.optimizeText(c.playerName)+"]</col> <col=800000000>has just received a christmas cracker from mystery box!"); } } } if(deleteBox)//Removing the box c.getItems().deleteItem(mysteryBoxID, 1); c.getItems().addItem(itemToGive, amountToGive);//Adding reward if(itemToGive == 0) c.sendMessage("You open the box to find nothing. What bad luck.");//If you got 0, it says you find nothing. else c.sendMessage("You open the box and find " + (amountToGive > 1 ? "some " : "a ") + c.getItems().getItemName(itemToGive) + ".");//If more than one item, use some, otherwise use a. } } Somewhere in ClickItem.java add this: if (itemId == 6199) { MysteryBox.openBox(c); } If you get any errors, comment them, I should answer in the following minutes OT: I know Dan is using a custom server and the reward are custom items, so just change the rewards to match your items to your liking
  11. Mathy replied to Sky's topic in RSPS Tools Downloads
    Thanks, will definitely use, got a bunch of models to make / convert
  12. Yeah I don't think/hope anyone uses this, just to get some ideas and rip some stuff
  13. Yeah, I helped out a bit with Flamehax, good old days when customs were new and everyone liked them
  14. Many people were asking for this, wouldn't recommend hosting this, it's very buggy/has a bunch of dupes but to rip some stuff for a custom server, good idea http://img.prntscr.com/img?url=http://i.imgur.com/8AcMQN9.png http://img.prntscr.com/img?url=http://i.imgur.com/YDqHK07.png http://img.prntscr.com/img?url=http://i.imgur.com/qCuEB2F.png http://img.prntscr.com/img?url=http://i.imgur.com/JFIbfMf.png http://img.prntscr.com/img?url=http://i.imgur.com/hriaYkl.png http://img.prntscr.com/img?url=http://i.imgur.com/O1RpKZC.png http://img.prntscr.com/img?url=http://i.imgur.com/vzWkgNR.png Client & Source download link - https://dl.dropboxusercontent.com/u/38756505/Nightmare-Scape%20release/Nightmare-Scape%20package.rar Cache - https://dl.dropboxusercontent.com/u/38756505/Nightmare-Scape%20latest%20update%20-V10-/ProjectNightmareV9.zip If not working, try this: https://www.dropbox.com/s/x8de1l1i9cawscc/Nightmare-Scape package.rar?dl=0 It's a package
  15. Oh then look around on Google, you will find hundreds of OSRS pk spawn sources
  16. I second that
  17. Holy damn nice job man !
  18. Mathy replied to Life's topic in Other
    Thanks for tutorial, will be useful to someone
  19. Anything that you release can help others, so post everything you got

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.