/pybot-lostark

[WIP] A computer-vision based python SDK for player-automation in the AMMORPG game 'Lost Ark' [Python, OpenCV].

Primary LanguagePythonMIT LicenseMIT

[WIP] Lost Ark SDK

GitHub Stars GitHub Issues Current Version

A computer-vision based python SDK for the AMMORPG 'Lost Ark' [Python, OpenCV]. The bot functions by generating a canvas image (window capture) to leech the outputted graphics and identify frames. The majority of modules/core scripts use these frames in bitmap finding algorithms (pattern matching with different color-spaces), then send mouse and keyboard actions using pyautogui.

Alt Text

####################################
>>> Lost Ark (9900746) window was located.
>>> Trade Skill Quickslot is already selected.
>>> No durability left on your tool. Attempting to repair tools.
>>> Closing repair window and restarting bot.
>>> Restarting bot... Idled for: 00:01:32
>>> Stopping script due to low energy.
>>> Script finished after: 00:12:41
####################################

Module Completion Status

Player Automation

⌛ Fishing

  • Mining
  • Herbalore
  • Woodcutting

Feature Development

Continuation Checks

⌛ Use pet menu to repair tool when low durability

  • Change to lifeskill-quickslot if combat-quickslot is selected

HUD

  • Create overlay with loot count tracker

Movement

  • Identify player's coordinates
  • Waypoint selection

Hp/Mp Restoration

  • Retrieve player healthpoints
  • Restore healthpoints with potion

BattleList

  • Retrieve list of nearby monsters
  • Use 'x' spellcast when monster is near center of the screen

Disclaimer

  • This project is for educational purposes. Use at your own risk.

Requirements


Running the app

# clone the repo, navigate to the project folder.  to start the venv, run:
poetry update
poetry shell