Jump to content

Search the Community

Showing results for tags 'api'.

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

  1. 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.
  2. Note: This can be used for all servers, not just 317. Not much but this can be useful in some ways. Got nothing to say? Then don't post, thanks. [spoiler=Links] Libraries: [url]http://www.mediafire.com/?d8lj10ihtk6b8v3[/url] [url]http://www.mediafire.com/?sx8kf30e9cuf87o[/url] Useful Reference: [url]http://www.invisionpower.com/support/guides/_/advanced-and-developers/api-methods/xml-rpc-api-r62[/url] [/spoiler] [code] import java.net.URL; import java.util.HashMap; import org.apache.xmlrpc.client.XmlRpcClient; import org.apache.xmlrpc.client.XmlRpcClientConfigImpl; /** * IPB XML-RPC API * Use http://www.invisionpower.com/support/guides/_/advanced-and-developers/api-methods/xml-rpc-api-r62 as reference * [MENTION=52317]auth[/MENTION]or SonicForce41 * */ public class IPBConnect { /** * The client used to connect to IPB */ public static final XmlRpcClient client = new XmlRpcClient(); /** * The client settings needed to use for connection */ public static final XmlRpcClientConfigImpl clientConfig = new XmlRpcClientConfigImpl(); /** * The search query type */ public static final String DISPLAY_NAME = "members_display_name"; public static final String MEMBER_ID = "member_id"; public static final String EMAIL = "email"; /** * The IPB Methods */ public static final String FETCH_ONLINE_USERS = "fetchOnlineUsers"; public static final String FETCH_STATS = "fetchStats"; public static final String FETCH_TOPICS = "fetchTopics"; public static final String FETCH_FORUMS = "fetchForums"; public static final String FETCH_FORUMS_OPTION_LIST = "fetchForumsOptionList"; public static final String CHECK_MEMBER_EXISTS = "checkMemberExits"; public static final String FETCH_MEMBER = "fetchMember"; public static void main(String... args) { init(); System.out.println(getDetails(FETCH_ONLINE_USERS)); System.out.println(getUserDetails(MEMBER_ID, "0")); } /** * Loads all the settings need for connection */ public static void init() { try { clientConfig.setServerURL(new URL("http://www.yourdomain.com/community/interface/board/index.php")); client.setConfig(clientConfig); } catch (Exception e) { e.printStackTrace(); } } /** * Gets the details for the IPB function selected * [MENTION=75098]Para[/MENTION]m function - The name of the function * @return */ public static Object getDetails(String function) { try { return client.execute(function, new Object[] { }); } catch (Exception e) { e.printStackTrace(); } return null; } /** * Method returns the details of the user * [MENTION=75098]Para[/MENTION]m type What you are searching by * [MENTION=75098]Para[/MENTION]m query The value you want to search corresponding with searchType * @return the details */ public static Object getUserDetails(String type, String query) { HashMap<Object, Object> apiValues = new HashMap<Object, Object>(); apiValues.put("api_key", "your api key generated in admincp"); apiValues.put("api_module", "ipb"); apiValues.put("search_type", type); apiValues.put("search_string", query); try { return client.execute("ipb."+FETCH_MEMBER, new Object[] { apiValues }); } catch (Exception e) { e.printStackTrace(); } return null; } } [/code]
  3. [CENTER][IMG]http://i48.tinypic.com/6znas4.png[/IMG] [FONT=Impact][COLOR="#FF0000"][SIZE=6][U][B]Updates[/B][/U][/SIZE][/COLOR][/FONT] Auto-Updater via url Jframe created V1 release currently being compiled and tested Looking at adding more tools [/CENTER]
  4. For everyone who doesn't know what an API is; [quote]An application programming interface (API) is a particular set of rules ('code') and specifications that software programs can follow to communicate with each other. It serves as an interface between different software programs and facilitates their interaction, similar to the way the user interface facilitates interaction between humans and computers.[/quote] The basic ideals behind an API is enforcement, you'll be able to do a large number of things with an API. Not only will it allow servers to customize themselves to fit around Runelocus (resulting in much more toplist activity) but it'll also allow the servers to incorporate things through this API. Obviously, it'd be similar to the paypal API in which you must vote to recieve cash ingame or whatever the price may be, the fact being that an API would be beneficial to have on Runelocus. It would set the toplist apart from other competitors and would increase the forum activity of experienced programmers (simply for the renovated toplist). Just a suggestion, but I'd try it out..
  5. [U]Introduction[/U] Originally known as: [URL="http://www.runelocus.com/forums/showthread.php?44745-RuneForge-Cache-Writer-Reader"]RuneForge Cache Editor/Writer[/URL] This Cache API will only be available for the OLDER cache format ~400<. Now, with the countless amount of introductions I have done in the past I can say that no matter how much I go on about how I can to write this project I will keep it short and simple for you. I am creating a fully functional cache writer with the purpose of helping you, create your own version of Runescape that may not even have to be Runescape at all. Wow that was a mouth full, but at least now you have an idea of what I am trying to do here. [U]3rd Party APIs[/U] [URL="http://lwjgl.org/"]Light Weight Java Gaming Library[/URL] [U]Nomenclature[/U] Archive - A compressed file within the cache. Definition - A set of variables derived from an archive. [U]Currently Supports[/U] [U]Pasties[/U] [B]VersionList.java - Version 1.0.0[/B] [URL="http://pastie.org/2506819"]Link[/URL] [LIST] [*]Stores the CRC checksum, version and settings of each archive. Please note that this does not include index zero. [/LIST] [B]ContainerArchive.java - Version 1.0.0[/B] [URL="http://pastie.org/2506831"]Link[/URL] [LIST] [*]An archive type that has one or multiple sub entries within itself. [/LIST] [B]Varbit.java - Version 1.0.0[/B] [URL="http://pastie.org/2506846"]Link[/URL] [LIST] [*]Variable Bit File packer, unpacker and definition. [/LIST] [U]Inspiration[/U] [video=youtube;xoEm7ib6hAE]http://www.youtube.com/watch?v=xoEm7ib6hAE[/video] [LIST] [*]One of my goals is not to copy the looks of what I can see in there software, but to mimic like they do [/LIST] [U]FAQ[/U] [LIST] [*]Will this be a public release? [*]-I am still unsure about this, I will decide later in the future. [/LIST]