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.
- Load into Lost Ark without any menus open
- Modify function in
main.py
as needed - Run
main.py
- Let it process the images for a few minutes
- 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.
getGoldToCrystalsRate()
returns the going rate of 1 blue crystal to goldgetEngravingData()
returns{'itemName': [avgPrice, recentPrice, lowestPrice], ...}
- Shortest path from A -> B *WIP
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
.
- openCV-Python
- pyautogui
- pytesseract
- influxdb-client
Ensure tesseract.exe
is in C:\\Program Files\\Tesseract-OCR\\tesseract.exe
. Binaries are found here.
- All values are hardcoded to 1440p due to how it scrapes the data. Other resolutions could be supported by scaling it linearly but untested.