Jump to content

Search the Community

Showing results for tags 'everythingrs'.



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

  1. EverythingRS - Realtime Heatmaps Tutorial EverythingRS is a free API system. Here's a quick tutorial on how to get started with adding Heatmaps. Getting started First off download our everythingrs-api.jar from here and include it into your project. Registration and secret key After adding the everything-rs.jar into your project create an account at https://everythingrs.com, once the account is created you must register onto the toplist as we use the toplist data in many of our api's. Now go to your dashboard and you should see your secret key What you are adding Heatmaps can be used to view hotspots in the game, you can view where the wilderness hotspots are, alternatively you can view non-wilderness hotspots. Either can be disabled, so if you only want to show the wilderness hotspot you can do this. Red = Wilderness Hotspots Blue = Non Wilderness Hotspots Making the Heatmaps work with your server This part of the tutorial is for PI, but can easily be changed to work with any server. If you want me to add a snippet on the thread so it can work with your framework leave a comment with the server base you want the snippet for. In your server startup (Server.java) under public static void main( Add this and change your secret key to the one on your account com.everythingrs.service.Service.scheduledService.scheduleAtFixedRate(new Runnable() { @Override public void run() { com.everythingrs.heatmaps.Heatmap.getMap().clear(); for (Player player : PlayerHandler.players) { if (player != null) { com.everythingrs.heatmaps.Heatmap.getMap().put(player.getUsername(), new com.everythingrs.heatmaps.Heatmap(player.getUsername(), player.absX, player.absY, player.height)); } } com.everythingrs.heatmaps.Heatmap.update("secret_key"); } }, 0, 5, java.util.concurrent.TimeUnit.SECONDS); Fin You are finished with the tutorial and can now view your heatmaps on your subdomain page ^^
  2. EverythingRS - Commands Installation EverythingRS is a free API system. Here's a quick tutorial on how to get started with commands. Things Included with the Commands API At the moment we provide 5 different commands related to search which give you quicker access to our Tools page. :: sitem which is short for "searchitem" will give you results for RS2 items. :: ositem short for "Old School Item" will give you results for OSRS items. :: snpc short for "Search NPC" will give you results for RS2 NPCs. :: osnpc short for "Old School NPC" will give you results for OSRS NPCs :: osobject short for "Old School Object" will give you results for OSRS Objects Getting started First off download our everythingrs-api.jar from here and include it into your project. Also register an account at EverythingRS Remember your secret key as you will be using it in the next section Making the commands work with your server This part of the tutorial is for PI & Ruse, but can easily be changed to work with any server. If you want me to add a snippet on the thread so it can work with your framework leave a comment with the server base you want the snippet for. For PI Add the code below into Commands.java and you're all done! if (playerCommand.startsWith("sitem") || playerCommand.startsWith("snpc") || playerCommand.startsWith("ositem") || playerCommand.startsWith("osnpc") || playerCommand.startsWith("osobject")) { String[] args = playerCommand.split(" "); final String command = playerCommand; new Thread() { public void run() { synchronized (c) { try { String query = args[1]; com.everythingrs.commands.Search[] searchResults = com.everythingrs.commands.Search .searches("secret_key", command, query); if (searchResults.length > 0) if (searchResults[0].message != null) { c.sendMessage(searchResults[0].message); return; } c.sendMessage("-------------------"); for (com.everythingrs.commands.Search search : searchResults) { c.sendMessage(search.name + ":" + search.id); } c.sendMessage("Finished search with " + searchResults.length + " results"); c.sendMessage("-------------------"); } catch (Exception e) { c.sendMessage("Api Services are currently offline. Please check back shortly"); e.printStackTrace(); } } } }.start(); } For RUSE In CommandPacketListener under public static void playerCommands( Add if (command[0].equalsIgnoreCase("sitem") || command[0].equalsIgnoreCase("snpc") || command[0].equalsIgnoreCase("ositem") || command[0].equalsIgnoreCase("osnpc") || command[0].equalsIgnoreCase("osobject")) { new Thread() { public void run() { synchronized (c) { try { String query = command[1]; com.everythingrs.commands.Search[] searchResults = com.everythingrs.commands.Search .searches("secret_key", command[0], query); if (searchResults.length > 0) if (searchResults[0].message != null) { player.getPacketSender().sendMessage(searchResults[0].message); return; } player.getPacketSender().sendMessage("-------------------"); for (com.everythingrs.commands.Search search : searchResults) { player.getPacketSender().sendMessage(search.name + ":" + search.id); } player.getPacketSender() .sendMessage("Finished search with " + searchResults.length + " results"); player.getPacketSender().sendMessage("-------------------"); } catch (Exception e) { player.getPacketSender() .sendMessage("Api Services are currently offline. Please check back shortly"); e.printStackTrace(); } } } }.start(); } Fin You are finished with the tutorial and can now search for any osrs item, rs2 item, osrs npc, rs2 npcs, or osrs object quickly. If you have any suggestions for more commands be sure to let me know ^^
  3. EverythingRS - Free Market/Trade API Installation EverythingRS is a free API system. Here's a quick tutorial on how to get started with voting. Getting started First off download our everythingrs-api.jar from here and include it into your project. Registration and secret key After adding the everything-rs.jar into your project create an account at https://everythingrs.com, once the account is created you must register onto the toplist as we use the toplist data in many of our api's. Now go to your dashboard and you should see your secret key Your market subdomain! Go to your main panel at https://everythingrs.com/account . You should now see your market URL in the "Your API Pages" section (OPTIONAL) If you wish to embed the script on your website you can add the code below directly onto your website. Change "yoursubdomain" to the one that was provided to you Making the Market/Trade api work with your server This part is for PI but can easily be changed to work with any server. If you have a request for a specific server let me know and I can add it to the tutorial. In TradeAndDuel.java under public void giveItems() { Look for for (GameItem item : o.getTradeAndDuel().offeredItems) { Above that put this and remember to also edit the secret_key to your API secret key. com.everythingrs.marketplace.Trade trade = new com.everythingrs.marketplace.Trade(); trade.setUsername(o.getUsername()); trade.setTradeWith(c.getUsername()); for (GameItem item : o.getTradeAndDuel().offeredItems) { if (item.id > 0) { String itemName = ItemDefinitions.getDefinitions()[item.id].getitemName(); trade.push(new com.everythingrs.marketplace.Item(item.id, item.amount, itemName)); } } trade.update("secret_key"); For Other Servers The script is compatible with any base, if you however need help adding it to a specific one, leave a link to the base and I'll add it to the tutorial. Fin You are now finished adding the market onto your server. ^^ . This will be extremely useful for players that are looking for price guides and want to check what items are currently going for, etc.
  4. EverythingRS - Players Online Tutorial EverythingRS is a free API system. Here's a quick tutorial on how to get started with adding Players Online. Getting started First off download our everythingrs-api.jar from here and include it into your project. Also register an account at EverythingRS Remember your secret key as you will be using it in the next section Making the Players Online work with your server This part of the tutorial is for PI, but can easily be changed to work with any server. If you want me to add a snippet on the thread so it can work with your framework leave a comment with the server base you want the snippet for. In your server startup (Server.java) under public static void main( Add this and change your secret key to the one on your account com.everythingrs.playersonline.PlayersOnline.service.scheduleAtFixedRate(new Runnable() { @Override public void run() { int online = 0; for (Player player : PlayerHandler.players) { if (player != null) { online += 1; } } com.everythingrs.playersonline.PlayersOnline.insert("secret_key", online, false); } }, 0, 30, TimeUnit.SECONDS); Displaying your player count on your website In your index.php place this where ever you wish to display your player count. Remember to change the secret key. <?php $secret = "change_this_to_your_secret_key"; $playersOnline = @file_get_contents("https://everythingrs.com/api/playersonline/get/".$secret); echo "There are currently ".$playersOnline." players online"; ?> Fin You are finished with the tutorial and can now view your player count on your site ^^ Info and some documentation Player count will update every 30 seconds. If you wish to make calls every 30 minutes just change the 5 to 30 (or to whichever number you wish) and TimeUnit.SECONDS to TimeUnit.MINUTES in the startup code. If you wish to make direct changes to the way the code works, this section will help out. To fetch the current players online you can use this code com.everythingrs.playersonline.PlayersOnline.get(); To set the count to whatever you wish use this code com.everythingrs.playersonline.PlayersOnline.set(value); To add to the playercount use this com.everythingrs.playersonline.PlayersOnline.increment(value); To subtract from the playercount use this com.everythingrs.playersonline.PlayersOnline.decrement(value);
  5. EverythingRS - Free Donation Installation EverythingRS is a free API system. Here's a quick tutorial on how to get started with donations. Getting started First off download our everythingrs-api.jar from here and include it into your project. Registration and secret key After adding the everything-rs.jar into your project the next step is to create an account at https://everythingrs.com, once the account is created you must register onto the toplist as we use the toplist data in many of our api's. Now go to your dashboard and you should see your secret key Setting up your donation with Paypal In order for the donation script to work, you must set it up with your Paypal. To set up your donation script to receive Paypal payments, go to your settings here Input your Paypal email and hit submit Adding and removing items Adding and removing items from your Auto Donate is simple. Go to your Auto Donate dashboard here Under "Add new product", fill out the form information, then hit submit To remove an item just click "Remove" next to the item that you are trying to remove (Optional) Creating a Sale We promote sales on our front page. This is a good way for new players to find deals on servers before joining, and for servers to earn new customers. To create a sale go to your Sales dashboard here Choose the item that you want to put on sale Set the expiration date, and what % off you want to make the item Read our notification and confirm that you commit to the sale. Lets take a look at your new donation page You can find your donation script at: yoursubdomain.everythingrs.com/services/store Making the auto donate work with your server This part of the tutorial is for PI & Ruse, but can easily be changed to work with any server. If you want me to add a snippet on the thread so it can work with your framework leave a comment with the server base you want the snippet for. Add the code below into Commands.java and you're all done For PI if (playerCommand.equalsIgnoreCase("claim")) { new java.lang.Thread() { public void run() { try { com.everythingrs.donate.Donation[] donations = com.everythingrs.donate.Donation.donations("secret_key", c.playerName); if (donations.length == 0) { c.sendMessage("You currently don't have any items waiting. You must donate first!"); return; } if (donations[0].message != null) { c.sendMessage(donations[0].message); return; } for (com.everythingrs.donate.Donation donate : donations) { c.getItems().addItem(donate.product_id, donate.product_amount); } c.sendMessage("Thank you for donating!"); } catch (Exception e) { c.sendMessage("Api Services are currently offline. Please check back shortly"); e.printStackTrace(); } } }.start(); } For Vencillio In PlayerCommand.java under switch (parser.getCommand()) { Add case "claim": new java.lang.Thread() { public void run() { try { com.everythingrs.donate.Donation[] donations = com.everythingrs.donate.Donation.donations("secret_key", player.getUsername()); if (donations.length == 0) { player.send(new SendMessage("You currently don't have any items waiting. You must donate first!")); return; } if (donations[0].message != null) { player.send(new SendMessage(donations[0].message)); return; } for (com.everythingrs.donate.Donation donate : donations) { player.getInventory().add(new Item(donate.product_id, donate.product_amount)); } player.send(new SendMessage("Thank you for donating!")); } catch (Exception e) { player.send(new SendMessage("Api Services are currently offline. Please check back shortly")); e.printStackTrace(); } } }.start(); return true; For Ruse if (command[0].equalsIgnoreCase("claim")) { new java.lang.Thread() { public void run() { try { com.everythingrs.donate.Donation[] donations = com.everythingrs.donate.Donation.donations("secret_key", player.getUsername()); if (donations.length == 0) { player.getPacketSender().sendMessage("You currently don't have any items waiting. You must donate first!"); return; } if (donations[0].message != null) { player.getPacketSender().sendMessage(donations[0].message); return; } for (com.everythingrs.donate.Donation donate : donations) { player.getInventory().add(new Item(donate.product_id, donate.product_amount)); } player.getPacketSender().sendMessage("Thank you for donating!"); } catch (Exception e) { player.getPacketSender().sendMessage("Api Services are currently offline. Please check back shortly"); e.printStackTrace(); } } }.start(); } Fin You are now finished adding the auto donation script to your website and server. If you have any suggestions for features, leave a comment and let me know. For non subdomain version This tutorial was for the subdomain version, if you're not using the subdomain version of our scripts then you must enable ipn and link the url to your ipn.php here: https://www.paypal.com/cgi-bin/customerprofileweb?cmd=_profile-ipn-notify
  6. EverythingRS - Free Voting Installation EverythingRS is a free API system. Here's a quick tutorial on how to get started with voting. Getting started First off download our everythingrs-api.jar from here and include it into your project. Registration and secret key After adding the everything-rs.jar into your project create an account at https://everythingrs.com, once the account is created you must register onto the toplist as we use the toplist data in many of our api's. Now go to your dashboard and you should see your secret key Your voting subdomain! Go to your main panel at https://everythingrs.com/account . You should now see your voting URL in the "Your API Pages" section (OPTIONAL) If you wish to embed the script on your website you can add the code below directly onto your website. Change "yoursubdomain" to the one that was provided to you
  7. EverythingRS - Free Hiscores Installation EverythingRS is a free API system. Here's a quick tutorial on how to get started with voting. Getting started First off download our everythingrs-api.jar from here and include it into your project. You will also need our website script which you can find here. Unzip it and drag + drop the "services" folder onto your website. Registration and secret key After adding the everything-rs.jar into your project and dragging the services folder onto your website create an account at https://everythingrs.com, once the account is created you must register onto the toplist as we use the toplist data in many of our api's. Now go to your dashboard and you should see your secret key Activating your website script Go into the services folder that is on your website. And copy and paste the secret key into services/hiscores/secretKey.php , Replace the "change_me" with the secret key you now have. If you registered onto the toplist and placed your secret key, you should now see that the page looks entirely different if you refresh. Making the Hiscores work with your server This part of the tutorial is for PI, but can easily be changed to work with any server. If you want me to add a snippet on the thread so it can work with your framework leave a comment with the server base you want the snippet for. In Client.java under public void destruct() { Add this boolean debugMessage = false; com.everythingrs.hiscores.Hiscores.update("secret_key", "Normal Mode", this.playerName, this.playerRights, this.playerXP, debugMessage); Be sure to change "secret_key" to the secret key on your ERS account. Fin You now have a working Hiscores on your server! If you have any suggestions or need help please leave a comment. Lets take a look at your new Hiscores Hiscores Dashboard You can remove members and add new modes from your Hiscores Dashboard
×