Thread: [Open-Source] Alchr - finding prices the easy way.

Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1. #11  
    Waddup

    Stan's Avatar
    Join Date
    Apr 2016
    Posts
    376
    Thanks given
    110
    Thanks received
    381
    Rep Power
    507
    Haven't been able to check it for issues yet, but here you go, all items in the following format according to the current wiki information: [Only registered and activated users can see links. ]

    Code:
    {
          "Logs": {
            "id": 1512,
            "highalch": 2,
            "lowalch": 1,
            "buylimit": 14000
          }
        },
        {
          "Magic logs": {
            "id": 1513,
            "highalch": 192,
            "lowalch": 128,
            "buylimit": 12000
          }
        },
    Reply With Quote  
     

  2. Thankful users:


  3. #12  
    Registered Member Mr March's Avatar
    Join Date
    Dec 2016
    Posts
    28
    Thanks given
    1
    Thanks received
    8
    Rep Power
    15
    Quote Originally Posted by Stan_ View Post
    Haven't been able to check it for issues yet, but here you go, all items in the following format according to the current wiki information: [Only registered and activated users can see links. ]

    Code:
    {
          "Logs": {
            "id": 1512,
            "highalch": 2,
            "lowalch": 1,
            "buylimit": 14000
          }
        },
        {
          "Magic logs": {
            "id": 1513,
            "highalch": 192,
            "lowalch": 128,
            "buylimit": 12000
          }
        },
    Thanks so much man, I really appreciate that!


    Quote Originally Posted by Sub View Post
    I'd suggest not packaging the org.json package with the repo. You could use something like Gradle or Maven instead, this would be a lot cleaner. I can show you an example if you'd like.
    I honestly was thinking about doing that, but my lack of experience in Gradle caused me not to. However, if you show me an example I can probably research more on it tonight.



    EDIT:
    ALL ITEMS ARE SUPPORTED
    HUGE THANKS TO STAN_
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  4. Thankful user:


  5. #13  
    Waddup

    Stan's Avatar
    Join Date
    Apr 2016
    Posts
    376
    Thanks given
    110
    Thanks received
    381
    Rep Power
    507
    Quote Originally Posted by Mr March View Post
    Thanks so much man, I really appreciate that!




    I honestly was thinking about doing that, but my lack of experience in Gradle caused me not to. However, if you show me an example I can probably research more on it tonight.



    EDIT:
    ALL ITEMS ARE SUPPORTED
    HUGE THANKS TO STAN_
    No problem, just PM me if you need new items
    Reply With Quote  
     

  6. #14  
    Registered Member
    thim slug's Avatar
    Join Date
    Nov 2010
    Age
    21
    Posts
    4,139
    Thanks given
    1,073
    Thanks received
    1,085
    Rep Power
    5000
    connection per item necessary?
    Reply With Quote  
     

  7. #15  
    Registered Member Mr March's Avatar
    Join Date
    Dec 2016
    Posts
    28
    Thanks given
    1
    Thanks received
    8
    Rep Power
    15
    Quote Originally Posted by thim slug View Post
    connection per item necessary?
    Yeah, because RS only allows you to get one item at a time, so each item had to be connected to their JSON file.

    However, it has been brought to my attention that OSBuddy has a file that contains data for ALL items. In which case a connection per item would not be necessary. Instead there can be one static connection to the OSBuddy data. (So each item will use that one static reference)

    Probably the will get to that today.



    EDIT: No longer needs a connection per item.

    Fixed in this commit: [Only registered and activated users can see links. ]
    Reply With Quote  
     

  8. Thankful user:


  9. #16  
    domino's manager & developer
    Peerr's Avatar
    Join Date
    Aug 2014
    Posts
    230
    Thanks given
    110
    Thanks received
    57
    Rep Power
    53
    Looks very nice, good luck!
    Reply With Quote  
     

  10. #17  
    Registered Member Mr March's Avatar
    Join Date
    Dec 2016
    Posts
    28
    Thanks given
    1
    Thanks received
    8
    Rep Power
    15
    Quote Originally Posted by Peurrno View Post
    Looks very nice, good luck!
    Thanks! So far had some help from people to make this project the best that it can be.

    I just wanted to update some people:

    You can now get a single item's: id, name, image, current price, high alch, low alch, and buy limit.

    Also! I just finished prepping for comparisons globally, this means that you can now compare multiple items at once. Well, not yet, but once it is finished. This is arguably the most important step as this class will allow you to quickly find the best items instead of having to look for items one by one.

    If you'd like to help out with this part you can check out the issue I made about it; then you can start playing with GlobalItems.java

    Then really the library will be close to complete. However, I plan on continuously improving it, making it more efficient, adding features, etc.

    EDIT/UPDATE: You can now find out what the best items are in OSRS with ease! Might have to find a better way to sort through the items though, probably will fix as an improvement soon. However, you can start using the library for yourself in all it's glory.

    IF YOU'RE INTO ALCHING HERE'S THE TOP 10 ITEMS TO ALCH IN OSRS RIGHT NOW! (January 13, 2017 at 1:30AM EST)
    Code:
    Verac's brassard 0     NET PROFIT: 7,639
    White platebody     NET PROFIT: 518
    White full helm     NET PROFIT: 371
    Karil's coif 0     NET PROFIT: 84
    Adamant warhammer     NET PROFIT: 9
    Black d'hide body     NET PROFIT: -9
    Splitbark gauntlets     NET PROFIT: -11
    Spined body     NET PROFIT: -11
    Initiate hauberk     NET PROFIT: -26
    Steel warhammer     NET PROFIT: -29


    LATEST RELEASE WAS A MAJOR SPEED INCREASE: Last night, was embarrassed to say took about 20 minutes to find the best item, however, after some changes this morning it now takes about 90 seconds to sort through 7500+ items and find which is the best (or the top). 90 seconds is a drastic change from 20 minutes, and speed will only improve with later releases. Right now I think that 90 seconds is reasonable. - UPDATE - CUT TIME IN HALF AGAIN! NOW LESS THAN 40 SECONDS!
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

Page 2 of 2 FirstFirst 12

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to fix NullPointerException (The easy way)
    By 42 in forum Application Development
    Replies: 19
    Last Post: 06-21-2009, 10:39 AM
  2. how to add jad the easy way
    By peru098 in forum Tutorials
    Replies: 3
    Last Post: 05-25-2008, 10:42 AM
  3. Adding Portals (Or Other Objects) The Easy Way
    By RuneJab in forum Tutorials
    Replies: 5
    Last Post: 02-21-2008, 07:52 PM
  4. Replies: 16
    Last Post: 09-06-2007, 05:12 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •