Gofrettin / cvkoxp

knight online koxp based on computer vision

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dependencies

Environment

  • python3.9
  • install requirements.txt (pip)
  • In game UI has to be scaled up to 1.3 in Options > Game Option1 menu.
  • only works with 1920x1080 res.

Possible Actions:

  • att start
  • att stop
  • lf start ('light feet' skill needs to be placed 6th place in skill bar)
  • lf stop
  • wolf start ('Strength of wolf' skill needs to be placed 8th place in skill bar)
  • wolf stop
  • safety start ('safety' skill needs to be placed 6th place in skill bar)
  • safety stop

More on cvkoxp

cvkoxp is a hobby side project, when I was younger I played Knight Online a lot (not regretting :D). lately I saw the game again on twitch and gave it a try. While I was playing, this koxp thing came to my mind and I came up with this dirty but working basic script.

This actually desinged to work for 'Rogue' class in game but because it only selects monsters and presses the keys where your skills are located, i guess it could be used also for other classes in the game.

Demo

cvkoxp

watch on youtube: https://www.youtube.com/watch?v=Y17gLpV7eoM

TODO:

  • improve selected monster name recognition: sometimes because of background, agent cant read the selected monster name
  • fix spells with long cast times: agent cant wait for spells with long cast times like wolf, so it sometimes wont work while attacking
  • a gui?

About

knight online koxp based on computer vision


Languages

Language:Python 100.0%