Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i want to use another rune solver but i want to use this bot #51

Closed
nehcap opened this issue Apr 4, 2022 · 3 comments
Closed

i want to use another rune solver but i want to use this bot #51

nehcap opened this issue Apr 4, 2022 · 3 comments

Comments

@nehcap
Copy link

nehcap commented Apr 4, 2022

how i can do it
what code i need to delete in yours bot

@tanjeffreyz
Copy link
Owner

tanjeffreyz commented Apr 5, 2022

Hi, you can replace line 83 in bot.py with whatever rune solver function you want to use.

You will also need to add self.rune_active = False right below line 83 (same indentation). This tells the bot you've solved the rune and it will start looking for the next one.

Also, delete line 4 in bot.py.

@nehcap
Copy link
Author

nehcap commented Apr 6, 2022

https://github.com/6b6576696e/maple-bot/blob/master/rune_solver.py
so i want to use this rune solver how i can add it to your bot so it can work together?
btw ty you for all the work and the help <3

@tanjeffreyz
Copy link
Owner

tanjeffreyz commented May 1, 2022

Hi, sorry for the late reply! I'm not familiar with that script, but I think you can call that find_arrow_directions function on line 83 in bot.py, like replace:
solution = detection.merge_detection(model, frame)
with
solution = find_arrow_directions(frame)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants