Code Monkey home page Code Monkey logo

loa-ah-scraper's Introduction

What is this?

This is a script designed for the Lost Ark (NA/EU) release that monitors the in-game market to automatically transcribe the item names and return its corresponding prices.

I consider myself a data-driven person who thrives on efficiency. Making spreadsheets on various aspects of games such as ability damage modifier % for the best DPS cycle, optimal routes to complete weeklies and dailies to save time, tracking in-game currency exchange rates to get the best bang for the buck.. you get the idea.

Thus, birthed the idea of an auction house scraper for viewing item price history. I was not too satisfied with the limited options the in-game market offers for this idea for obvious reasons. As such, I decided to make my own sloppy implementation of market API.

Usage

  1. Load into Lost Ark without any menus open
  2. Modify function in main.py as needed
  3. Run main.py
  4. Let it process the images for a few minutes
  5. Log data to InfluxDB and manipulate data from there.

Some ideas include tracking the trend of an item to make a more informed decision on the market and/or create charts/graphs of multiple items to create meaningful data. Scraping other region's market for how much things are supposed to cost is another idea.

Features

  • getGoldToCrystalsRate() returns the going rate of 1 blue crystal to gold
  • getEngravingData() returns {'itemName': [avgPrice, recentPrice, lowestPrice], ...}
  • Shortest path from A -> B *WIP

How does it work?

It takes screenshots of multiple areas of interests (e.g. Engraving Recipes, Enhancement Materials etc..) and extracts only the relevant information to return a dictionary of lists corresponding to the Avg. Day Price, Recent Price and Lowest Price.

Requirements

  • openCV-Python
  • pyautogui
  • pytesseract
  • influxdb-client

Ensure tesseract.exe is in C:\\Program Files\\Tesseract-OCR\\tesseract.exe. Binaries are found here.

Limitations

Optimized for 1440p, forced 21:9 AND 100% Hud Scaling ONLY

  • All values are hardcoded to 1440p due to how it scrapes the data. Other resolutions could be supported by scaling it linearly but untested.

loa-ah-scraper's People

Contributors

latino-biceps avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.