Latest Diablo 3 News
DiabloWiki Updates
Support the site! Become a Diablo: IncGamers PAL - Remove ads and more!

New tool in the works : AH Community API

Discussion in 'Diablo 3 General Discussion' started by Pheal, Nov 15, 2011. | Replies: 10 | Views: 5607

  1. Pheal

    Pheal IncGamers Member

    Joined:
    Oct 31, 2011
    Messages:
    206
    Likes Received:
    0
    Trophy Points:
    57
    New tool in the works : AH Community API

    Since there might not be an API for diablo 3 AH (at least not at start and maybe never for RMAH), I decided to create my own =).

    Concept:

    You use the app ingame (takes screens of AH item listings).
    It gets converted to an algorithm before getting sent to server (won't have to store thousand images).
    It gets verified by the community (kind of like a captcha).
    You get credits for the screen you contributed and pass a certain # of votes.
    You use these credits to look up the database.


    What this gives you:

    A good overview of the AH (if people participate).
    Possible graphs by time.
    Fast way to price check with reliable sources.
    A rough % of what affixes are available for a certain weapon.

    These things are not final and for the most part it's already working, if you have ideas feel free to submit them to me.

    PS: This won't break the TOS/EULA as it simply is a screenshot program (just like Adria is).

    Questions / Ideas welcome =).
  2. Tilitoon

    Tilitoon IncGamers Member

    Joined:
    May 26, 2011
    Messages:
    876
    Likes Received:
    0
    Trophy Points:
    120
    Re: New tool in the works : AH Community API

    What kind of algorithm are you talking about when you say it would convert the screenshot before it is sent to the server ?

    The main problem I see with that is that nobody would want to take screenshots of the AH and post it on a Web Site, nor would they want to take the time to validate someone else's screenshot. Unless you can find a very efficient way to automatically read the screenshots and convert the information and save it in a database, I don't think it would be used. And even that would require too many screenshots to even be useful (in real time).
  3. Pheal

    Pheal IncGamers Member

    Joined:
    Oct 31, 2011
    Messages:
    206
    Likes Received:
    0
    Trophy Points:
    57
    Re: New tool in the works : AH Community API

    Well I'm working on some Optical Character Recognition to handle the extraction of stuff, kind of the same way Adria does for the items in D2. For the algorithm it's only a compilation of whats in the screenshot changed to some strings values to be sent (so we don't have to send the screenshot). This is mainly so that people who want to tell people they have X item, they don't have to list it on the AH and have a change it doesnt sell in the 48h.
  4. Tilitoon

    Tilitoon IncGamers Member

    Joined:
    May 26, 2011
    Messages:
    876
    Likes Received:
    0
    Trophy Points:
    120
    Re: New tool in the works : AH Community API

    How do you deal with all the possible resolutions ? How can you tell if you are looking at an item name, a character name, a price, etc. ?
  5. Pheal

    Pheal IncGamers Member

    Joined:
    Oct 31, 2011
    Messages:
    206
    Likes Received:
    0
    Trophy Points:
    57
    Re: New tool in the works : AH Community API

    You have to select your Resolution when you start the tool (can do it automatically too). The rest are just matrix tables, there's no reason things would be misplaced in the user interface.
  6. Tilitoon

    Tilitoon IncGamers Member

    Joined:
    May 26, 2011
    Messages:
    876
    Likes Received:
    0
    Trophy Points:
    120
    Re: New tool in the works : AH Community API

    You will need to update the program every time they change the layout though... It might require a lot of work. But if you say you already have a working version then props to you. I would be interested in seeing the results, can you post a Youtube video ?


  7. Pheal

    Pheal IncGamers Member

    Joined:
    Oct 31, 2011
    Messages:
    206
    Likes Received:
    0
    Trophy Points:
    57
    Re: New tool in the works : AH Community API

    I will once the game releases, kinda hard to finish it up without beta access.
  8. Tilitoon

    Tilitoon IncGamers Member

    Joined:
    May 26, 2011
    Messages:
    876
    Likes Received:
    0
    Trophy Points:
    120
    Re: New tool in the works : AH Community API

    What language are you using ? Anything in the .net Framework, VB or C# ?
  9. Pheal

    Pheal IncGamers Member

    Joined:
    Oct 31, 2011
    Messages:
    206
    Likes Received:
    0
    Trophy Points:
    57
    Re: New tool in the works : AH Community API

    VB.net, I learned normal vb when I was a kid, and kinda sticked to it even tho C# has more versatility.
  10. Tilitoon

    Tilitoon IncGamers Member

    Joined:
    May 26, 2011
    Messages:
    876
    Likes Received:
    0
    Trophy Points:
    120
    Re: New tool in the works : AH Community API

    Are you using any OCR libraries to do that ? Cuz I've looked at a few of them but they are not very effective. I was thinking you could extract specific sections of the screenshot and then run an OCR call to get the text at these positions, then store the text in a DB.
  11. Pheal

    Pheal IncGamers Member

    Joined:
    Oct 31, 2011
    Messages:
    206
    Likes Received:
    0
    Trophy Points:
    57
    Re: New tool in the works : AH Community API

    Right now I'm using my own library (shady stuff lol) but I'm trying to move to a premade one like MODI (if I can get it working right).

Share This Page