Python OpenCV World of Warcraft Fishing Bot Tutorial Part 1: Image Capture

  Рет қаралды 7,545

PyGameBot

PyGameBot

Күн бұрын

Пікірлер: 27
@kellyc-dnd
@kellyc-dnd 12 күн бұрын
Great idea, I am following along and writing the code with you as I would like to play around with a BOT in world of warcraft as well. Fun Fun!😊
@brolitonsyan1736
@brolitonsyan1736 Жыл бұрын
Hello i have the code exactly the same but it opens infinite windows one after another any suggestions ? Regards.
@pgamebot
@pgamebot Жыл бұрын
Most likely you are assigning a different name to each window in the loop, so it doesn't update that window but instead keeps creating new ones. You can add a destroy all windows command to see if that helps as well (in the loop), although that would affect performance long term so debugging would be better.
@brolitonsyan1736
@brolitonsyan1736 Жыл бұрын
@@pgamebot I have discovered that it is due to this line of code key = cv.waitKey(1) if I change it for this key = cv.waitKey(0) I will only open one window but not print the FPS and if i put back 1 i get multiple windows in loop.
@pgamebot
@pgamebot Жыл бұрын
There's a bug somewhere in there, you can pull my code from the git to confirm it works on your system as well.
@brolitonsyan1736
@brolitonsyan1736 Жыл бұрын
@@pgamebot I have the code you have uploaded to git but I still have this bug, what can it be due to?
@brolitonsyan1736
@brolitonsyan1736 Жыл бұрын
it is already solved it was because I had changed the original screen by dragging with the mouse. apparently if you drag the original screen to another position it generates this loop of screens. rookie mistake
@ILawrance
@ILawrance Жыл бұрын
And does it is technically undetectable?
@pgamebot
@pgamebot Жыл бұрын
Should be as much as possible, as this method does not interact with the WoW application, but sends instructions to the OS (like moving the mouse and keystrokes).
@myrhev
@myrhev 6 ай бұрын
@@pgamebot Doesn't input from a program show up as llmhf_injected?
@truongzgiang
@truongzgiang Жыл бұрын
thank you
@tonytoby901
@tonytoby901 2 жыл бұрын
Hello i like your tuto and i Hope you will continue and i wish you the best Luck , Can you pls make a tuto how to use the Map(mesh) to go to a specific point in the Map... Ty
@pgamebot
@pgamebot 2 жыл бұрын
I'm interested in doing localization and path-finding AI, but not using the map / mesh. I am thinking about how to do this using only the computer vision, just like a human would. Using the map / mesh is a bit of a hack, since it is processing the data totally different than a human.
@tonytoby901
@tonytoby901 2 жыл бұрын
@@pgamebot that will be absolutly Amazing , print("Good Luck")
@xSensu
@xSensu 2 жыл бұрын
Wow great first session. I'm having that multiple screen issue you first got where it opens a new screen every 1ms and i'm not sure why. I saved and closed MS Code and reopened it thinking something was maybe cached but even your code does it to me. Any thoughts?
@pgamebot
@pgamebot 2 жыл бұрын
I'm not sure, check out my newer tutorial using MSS library, I think that tutorial is a lot better for the screen capture implementation than this one, which was done a bit earlier. Make sure your loop is updating the current window and not spawning new windows, make sure the name of the window is the same!
@xSensu
@xSensu 2 жыл бұрын
@@pgamebot Thank You! I figured out the issue and forgot to update my post. I will check out the newer version of it. I really enjoy how you teach in these videos. Keep up the amazing work.
@cahyakomara1468
@cahyakomara1468 11 ай бұрын
nice, but your sound too low
@cassiusking376
@cassiusking376 2 жыл бұрын
so i doubt anyone will see this but i been strugglin to make a bot with this for bout 3/4 days on a game (nin online) to afk fishing but no luck - if anyone sees this id appreciate sum help
@pgamebot
@pgamebot 2 жыл бұрын
nin online looks cool, never played it, I will check it out
@cassiusking376
@cassiusking376 Жыл бұрын
@@pgamebot that would be amazing, i scraped all my work out of frustration on trying different things / but if yu do happen to check it out an come across anything, any feedback or insight would be phenomenal
@TheUmair911
@TheUmair911 2 жыл бұрын
i think opencv is giving prob to python 3.11
@pgamebot
@pgamebot 2 жыл бұрын
This tutorial was done with 3.10.8.
@reincarnatedTohere
@reincarnatedTohere Жыл бұрын
You are so quiet! I had to turn my volume to 150%
@pgamebot
@pgamebot Жыл бұрын
Sorry about that, thanks for the feedback
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
Fast Window Capture - OpenCV Object Detection in Games #4
30:48
Learn Code By Gaming
Рет қаралды 245 М.
How to make advanced image recognition bots using python
15:01
Kian Brose
Рет қаралды 1,4 МЛН
1 Hour of World of Warcraft Lore to Relax to
1:36:09
The Karazhan Library
Рет қаралды 384 М.
25 nooby Python habits you need to ditch
9:12
mCoding
Рет қаралды 1,8 МЛН
Dominating an Online Multiplayer Game using Python and OpenCV.
14:31
ClarityCoders
Рет қаралды 285 М.
AutoFish 1.8 - a free fishing bot for wow
7:43
jsbots
Рет қаралды 68 М.
Writing Code That Runs FAST on a GPU
15:32
Low Level
Рет қаралды 578 М.
AI Plays Toadled! YOLOV7 Bot Better than Human?
20:04
ClarityCoders
Рет қаралды 11 М.
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.