@@LearnCodeByGaming hey i was wondering if you could help me I was trying to start up the game and it said I didn't have the right version. i have version 1.9.9 but it says I need version 2.45
Here I am again! hahaha! Keep on going, please! I have watched many similar videos on other (huge!!) channels, and nobody(!) comes even close to you! Everybody who wants to learn this stuff, will sooner or later end up here!
I'm so glad that i found these series, So excited to learn pyautogui and put them to good use. Stay safe, wash your hands. I will be following through and joining on your journeys on the channel from here on. Thank you. 😊
Thank you so much for this my brother, you got me started into pyautogui, I don't know what I would do without this way to motivate me (through gaming)!
He's so coherent and concise with this words. watched quite a few online tutorial. There are a lot of people with repeated phrases of "like" "basically" "um" etc....
Your series on the osrs woodcutter project, and then opencv was just amazing If it werent for them videos, i never would have learnt javascript or python, and because of this i was able to choose a capstone project on designing a weakly supervised semantic segmentation model for camera trap and wild life data. I constructed the layered model in python, which i feed with masks i generate from pointlabel programs that include SAM, the purpose is to automatically categorize wildlife images into classes such as ground, trees, animals, sky etc..
You deserve so much more credit.....I wish youtube algorithm would notice you easier,in time I m sure that will happen...Thank you for your amazing work and service!!!!!!!
May you answer me a question real quick? I am new to python. I tried out 2 games and all those pyautogui.moveTo works great! My problem now with my game: after a random time ingame there are 3 types of loading screens. They are always the same look, and each of them (after loading) starts at a fixed location where my script would keep running, but since i can not "time" that loading screen, my script is out of time. (these loading screens take 20seconds up to 3 min) I could add a huuuge delay (like 6 min) , but i wonder if and how i could work around that. Is there a way to: let the script recognise each of these loading screens, pause, recognise new starting location and continue with fixed timers and position? Sorry for the long question and my english!
@@thewaytohell Sure! Here's what I would do. I'd make a function like waitForLoadingScreen(), and in that function I'd use pyautogui.locateOnScreen() to search for a small piece of that loading screen image. As long as it can find that image, you know the loading screen is still on. So you can search for that image in a loop, with a short pause between each lookup, and as soon as it no longer finds that image you can return out of the the function. Here's what that code might look like: def waitForLoadingScreen(): needle_img_path = "..." while(pyautogui.locateOnScreen(needle_img_path)): sleep(2.00) If you haven't checked out video 4 in this series yet, in there I go into more detail about how to use pyautogui.locateOnScreen(). And if you're using the very latest version of PyAutoGUI, it looks like locateOnScreen() now raises an ImageNotFoundException when it can't find the image (before it just returned None), so you'll want a try/except to catch that (and you can just return out of the function when you get that exception). Good luck!
Thanks, yeah they look pretty cool! They were the same when I was a kid, but my retina detached and I went blind in my left eye, so now it's all covered in cataracts. Still moves around pretty good though.
@@LearnCodeByGaming really thank you for this series and overall your channel I have been looking for one like this for months and just came accross yours definitely subbing...... and subbed
@@LearnCodeByGaming Have you though about replacing it with something cool like a 40x zoom camera or a bomb you can activate by blinking 10 times really fast
Thank you very much for this video, really authentic and helpful. It would be nice, if you could do also a tutorial for third-person games like (GTA5?) :)
I've asked this question on stackoverflow but no one could answer to that.... Hi just quick question is there any library in python similar to pyautogui where I can create a program which will initialize given window and execute commands(i.e click, hotkeys etc.) only in this particular window? For example I want to create a simple program that will click for me and use hotkeys in game, but at the same time I want to use computer without stopping the program. As far I'm concerned using pyautogui I can create programs like that but I cant click, or change windows while program is running because it will crash program.
I don't know of any library that does that, and you're unlikely to find one because Windows is designed to have just one mouse pointer, and to send keyboard inputs only to the active window. I've talked with some of my other viewers about this problem and we think using Windows virtual machines is the best approach to solving this. I haven't had a chance to work on this project yet to figure out the details, but it is near the top of my list for future content.
@@LearnCodeByGaming Thanks for quick respond. So who other game bots works that way? shame to say but I used few bots to play Tibia and each one of them been able to do multi tasking things while I could easly use computer without any problem while bot was running
Yes, I cover that in part 4 of this tutorial series. I'm also working on an OpenCV tutorial series right now that covers more advanced image recognition, so you might be interested in following that. It'll probably be part 6 or 7 in that series before we apply the automated input, because it's focusing on the object detection part first.
Hey i wanted to know how this modules are made..i just can't imagine how it is made.. how they operate hardware and software together 🤔 and made a such a useful modules for us..i have been trying to understand for a week but i can't figure it out so any recommendations 🙏
The simplified explanation is they work in layers: the hardware manufacturers write software called drivers that know how to translate signals from the hardware into specifications set by the operation system. The operating system is the glue that holds it together: it sets the standards for the driver interfaces and also provides an outbound interface for programmers to access. Usually you'll have libraries/modules that know how to talk to these operating system interfaces, and then application developers can use the libraries/modules to develop their code more efficiently. If you look at the PyAutoGUI source code, you'll see that it simply provides the functions listed in its documentation for us application developers to use, and then it takes those inputs and translates them to the correct operating system API calls. And it's got separate code in there for doing the Windows, OSX, and Linux X11 calls. Maybe I should make a video about this :)
@@LearnCodeByGaming wow 🔥 finally a got a bit knowledge about it...thank you very much.and one more question if i wanted to make this types of modules so what are the things i should learn? And ya you should make a video about it..it might be very helpful for those who are curious about this
@@aniketsingh4403 You should get comfortable with Python first. Then start a project that utilizes pywin32 and/or ctypes.windll to interact with the Windows operating system. Then you can package it up as a library that others can pip install by making a PyPI account and following these steps: packaging.python.org/tutorials/packaging-projects/
good morning sir, i noticed that when i record my actions, the keys Q and E are super inaccurate, lets say i press it for half sec, when i play it back, it over press it for over half sec for some reason and end up hitting the walls in game
How do i pull android game data from android emulator? I want to automate android game. For that I need various information like health, inventory list, how much space left in inventory etc... I tried pyaotigui locate on screen function but it's not reliable... I want to pull accurate game data and process that data and perform task according to that data... How do i do that?
So many bumps in the road getting this going, I've got my character created but keeps hanging at the galaxy screen. I followed the forum a deleted the galaxy.dat file. Any ideas my friend?
in my opinion this video is so underrated
Wow thanks!
i do agree
He should get 100 million views
Agreed, I’ve recently been going through a lot of his videos recently and the production value and presentation is amazing across the board
Couldn't agree more!
I'm convinced this is just an elaborate ploy to get people to play earth and beyond
Haha, it's a good game!
@@LearnCodeByGaming hey i was wondering if you could help me I was trying to start up the game and it said I didn't have the right version. i have version 1.9.9 but it says I need version 2.45
Dude you are an hidden gem! Thanks for these amazing lessons
No problem!
These tutorials are on point and much more educational than my professors’ copy paste lessons
Here I am again! hahaha!
Keep on going, please! I have watched many similar videos on other (huge!!) channels, and nobody(!) comes even close to you! Everybody who wants to learn this stuff, will sooner or later end up here!
Thanks for the support!
I'm so glad that i found these series, So excited to learn pyautogui and put them to good use.
Stay safe, wash your hands. I will be following through and joining on your journeys on the channel from here on. Thank you. 😊
Moron that annoys people and ruins the game. Bots everywhere
Thank you so much for this my brother, you got me started into pyautogui, I don't know what I would do without this way to motivate me (through gaming)!
awesome work.Your recording theory was a fix to my bots.Every gpu and its rams were responding to different times.Nice job.
He's so coherent and concise with this words. watched quite a few online tutorial. There are a lot of people with repeated phrases of "like" "basically" "um" etc....
Hes not experienced but he will be able to form his own personality soon
Your series on the osrs woodcutter project, and then opencv was just amazing
If it werent for them videos, i never would have learnt javascript or python, and because of this i was able to choose a capstone project on designing a weakly supervised semantic segmentation model for camera trap and wild life data. I constructed the layered model in python, which i feed with masks i generate from pointlabel programs that include SAM, the purpose is to automatically categorize wildlife images into classes such as ground, trees, animals, sky etc..
Thank you so much for sharing your knowledge. Greatly appreciated this entire series. Thanks again Ben!
Such an underrated channel, glad I found it!
You deserve so much more credit.....I wish youtube algorithm would notice you easier,in time I m sure that will happen...Thank you for your amazing work and service!!!!!!!
Love it man, you are doing a great job
Thank you!
I've found your channel 3 days ago and I've been watching your videos I find them really insightful! Thank you!
That taught a lot
Thanks for the tutorial S2
your content is 10/10 im getting better because of you!
Glad to hear it!
glad i found this channel, likeminded and i noticed the capra in the back as well in another video. great content!
Love your channel Ben! I have learned so much from you over the last year, thank you!
Your tutorial really helped me, thank you. Greetings from Indonesia❤
Absolutely gem. U are cool bro. Thanks.
Awesome Video and Channel.
WOW brought back memories, I was an Earth and Beyond Beta tester o.0 RIP Westwood Studios
Thank you for uploading this video i am learning a lot from you.
Hey that's awesome, you're welcome.
[Everyone Liked That]
Everyday I wake up praying to god Ben comes back to this channel
Thanks 👍
bruh i just found these series keep it up
Thank you for the tutorials, they are very well made. I will subscribe and hope that you make more tutorials.
Thank you! I will definitely be making more tutorials.
Even if i'm not learning python i'm here to apply this on c# lol thank you men
I like your name Ben and I respect your craft you helped me a lot 👍
you are the best!
Woah thx
Awesome, thank you for your help!
I've learned so much from these videos.
LOVE IT
Hi from Brazil
your content is just awsome, i am doing this as my project!!.....Thanks for this tutorial
Thanks, have fun!
Such a great video.
Really nice!
Thank you!
May you answer me a question real quick? I am new to python.
I tried out 2 games and all those pyautogui.moveTo works great!
My problem now with my game: after a random time ingame there are 3 types of loading screens. They are always the same look, and each of them (after loading) starts at a fixed location where my script would keep running, but since i can not "time" that loading screen, my script is out of time. (these loading screens take 20seconds up to 3 min)
I could add a huuuge delay (like 6 min) , but i wonder if and how i could work around that. Is there a way to: let the script recognise each of these loading screens, pause, recognise new starting location and continue with fixed timers and position?
Sorry for the long question and my english!
@@thewaytohell Sure! Here's what I would do. I'd make a function like waitForLoadingScreen(), and in that function I'd use pyautogui.locateOnScreen() to search for a small piece of that loading screen image. As long as it can find that image, you know the loading screen is still on. So you can search for that image in a loop, with a short pause between each lookup, and as soon as it no longer finds that image you can return out of the the function. Here's what that code might look like:
def waitForLoadingScreen():
needle_img_path = "..."
while(pyautogui.locateOnScreen(needle_img_path)):
sleep(2.00)
If you haven't checked out video 4 in this series yet, in there I go into more detail about how to use pyautogui.locateOnScreen().
And if you're using the very latest version of PyAutoGUI, it looks like locateOnScreen() now raises an ImageNotFoundException when it can't find the image (before it just returned None), so you'll want a try/except to catch that (and you can just return out of the function when you get that exception). Good luck!
Thank you for your contributions
Great work guys !
Damn, Your eye looks pretty cool.
Are they different colors too?
Thanks, yeah they look pretty cool! They were the same when I was a kid, but my retina detached and I went blind in my left eye, so now it's all covered in cataracts. Still moves around pretty good though.
@@LearnCodeByGaming you got some nerves of steel going on camera like this not sure Id be able to do this keep up the good work
@@realreview7932 Thanks! I was nervous about it but everyone's been really kind.
@@LearnCodeByGaming really thank you for this series and overall your channel I have been looking for one like this for months and just came accross yours definitely subbing......
and subbed
@@LearnCodeByGaming Have you though about replacing it with something cool like a 40x zoom camera or a bomb you can activate by blinking 10 times really fast
love your videos thanks !
Thank you very much for this video, really authentic and helpful.
It would be nice, if you could do also a tutorial for third-person games like (GTA5?) :)
I've asked this question on stackoverflow but no one could answer to that....
Hi just quick question is there any library in python similar to pyautogui where I can create a program which will initialize given window and execute commands(i.e click, hotkeys etc.) only in this particular window?
For example I want to create a simple program that will click for me and use hotkeys in game, but at the same time I want to use computer without stopping the program. As far I'm concerned using pyautogui I can create programs like that but I cant click, or change windows while program is running because it will crash program.
I don't know of any library that does that, and you're unlikely to find one because Windows is designed to have just one mouse pointer, and to send keyboard inputs only to the active window. I've talked with some of my other viewers about this problem and we think using Windows virtual machines is the best approach to solving this. I haven't had a chance to work on this project yet to figure out the details, but it is near the top of my list for future content.
@@LearnCodeByGaming Thanks for quick respond. So who other game bots works that way? shame to say but I used few bots to play Tibia and each one of them been able to do multi tasking things while I could easly use computer without any problem while bot was running
@@maciejgronczynski9441 They likely use different botting techniques that read and write directly to memory.
Can you teach us how to make a bot for another MMORPG browser game? Also I love your vids
Thanks! I've had several requests for Runescape so I've been researching a video for that.
@@LearnCodeByGaming is that a browser game?
@@scarasect5161 Oh man it used to be, but it looks like it's not anymore. Any suggestions for a good browser game?
@@LearnCodeByGaming try a pokemon game? Like pokemon planet
@@LearnCodeByGaming hordes.io is good browser mmo
Love bro...keep it up
Thank you for the tutorials!
I read somewhere that if you play a video game (preferably an FPS) only with your lazy eye it will improve significantly. thanks for the video
You video is so awesome. Can you please release more AI gaming videos?
Is there a guide for like if it detects a certain image on a screen it presses a certain key?
Yes, I cover that in part 4 of this tutorial series. I'm also working on an OpenCV tutorial series right now that covers more advanced image recognition, so you might be interested in following that. It'll probably be part 6 or 7 in that series before we apply the automated input, because it's focusing on the object detection part first.
How to make a pubg or Csgo bot?? And how to train my it
❤️❤️❤️❣️
Mr Anderson! How will you do a shield inversion if you... have no shields!
thank you
I love you!
Hey i wanted to know how this modules are made..i just can't imagine how it is made.. how they operate hardware and software together 🤔 and made a such a useful modules for us..i have been trying to understand for a week but i can't figure it out so any recommendations 🙏
The simplified explanation is they work in layers: the hardware manufacturers write software called drivers that know how to translate signals from the hardware into specifications set by the operation system. The operating system is the glue that holds it together: it sets the standards for the driver interfaces and also provides an outbound interface for programmers to access. Usually you'll have libraries/modules that know how to talk to these operating system interfaces, and then application developers can use the libraries/modules to develop their code more efficiently. If you look at the PyAutoGUI source code, you'll see that it simply provides the functions listed in its documentation for us application developers to use, and then it takes those inputs and translates them to the correct operating system API calls. And it's got separate code in there for doing the Windows, OSX, and Linux X11 calls. Maybe I should make a video about this :)
@@LearnCodeByGaming wow 🔥 finally a got a bit knowledge about it...thank you very much.and one more question if i wanted to make this types of modules so what are the things i should learn? And ya you should make a video about it..it might be very helpful for those who are curious about this
@@aniketsingh4403 You should get comfortable with Python first. Then start a project that utilizes pywin32 and/or ctypes.windll to interact with the Windows operating system. Then you can package it up as a library that others can pip install by making a PyPI account and following these steps: packaging.python.org/tutorials/packaging-projects/
@@LearnCodeByGaming thanks again for helping out in this and you are doing a good job i hope your channel get more subscribers)
Can you do a match 3 bot tutorial?
I've added it to my list of video ideas. Thanks!
@@LearnCodeByGaming Thanks for the reply!!
*Good job man, Can you also do tutorial about Third Person or First Person games bot ? I will be appreciated :)*
hey I need help getting the right version of the net-7 emulator thing it says I need 2.45 but I have 1.9.9
good morning sir, i noticed that when i record my actions, the keys Q and E are super inaccurate, lets say i press it for half sec, when i play it back, it over press it for over half sec for some reason and end up hitting the walls in game
How to make bot for Rf Online Games?
How do more sophisticated bots interface with the video game? Is PyAutoGUI industry standard for video game bots?
I'm getting this error when I run e&b: couldn't connect to the update server. try again later
does this help a beginner like me
learn python and can i learn with these tutorials on runescape?
What is the name of the theme you are using?
Nord
How do i pull android game data from android emulator? I want to automate android game. For that I need various information like health, inventory list, how much space left in inventory etc... I tried pyaotigui locate on screen function but it's not reliable... I want to pull accurate game data and process that data and perform task according to that data... How do i do that?
What do I do for the key that it says is on the back of the CD?
So many bumps in the road getting this going, I've got my character created but keeps hanging at the galaxy screen. I followed the forum a deleted the galaxy.dat file. Any ideas my friend?
can i get banned if i use it in valorant deathmatch
crack bro
I think that more people not wanting to do repetitive tasks enough, that they want to bot is a good sign for society. Its a shame its discouraged.
Lord mobile game ke liye bot Kaise banaen plz reply
Tip : don't go into a romantic relationship with it
uh why is he's eye in a different direction I mean I'm not a bully I'm just asking if he has a problem
No offense
i thnk u botted the comments too
wtf what happened with your eyes man?
He was fighting a giant snake cockatrice, and after dealing it the killing blow, it spit venom in his eye out of spite before dying.
so not to be ofensive but whats up with your left eye, its just looking in a random direction
its on your left not on my left just had to clarify
based ty.
do you watch tenis ?