Using Python to Automate Games (DON'T EVER Miss a LOL Queue Again)

Тәжірибелік нұсқаулар және стиль

Automating Games Using Python - pyautogui tutorial to automate tasks. Tired of missing queues because you have a lot of important things to do while waiting? Here's a python tutorial applied to LOL on how to automatically accept a game.
Github: github.com/rocketingdatascien...
TOP 3 Books for Data Science
===============================
Python for Data Analysis: amzn.to/3sbBany
Hands-On Machine Learning: amzn.to/3P6x49v
Designing Machine Learning Systems: amzn.to/3sfBfGV
My Setup
===============================
Laptop: amzn.to/3qx8ftV
Monitor: amzn.to/3E4nxcw
Headset: amzn.to/3KStTzx
USB Hub: amzn.to/3P1TFny
More Videos
===============================
Machine Learning Basics: bit.ly/2RRLMX1
Machine Learning Projects and Tutorials: bit.ly/3wgoWaF
Python for Beginners: bit.ly/3g1sfww
SOCIAL
===============================
👥 - LinkedIn: / rocketingdatascience
😺 - Github: github.com/rocketingdatascience
📸 - IG: rocketingdatasc...

Пікірлер: 33

  • @studyforyou6794
    @studyforyou67943 ай бұрын

    its really cool Great work. appreciated

  • @Silrakk
    @Silrakk8 ай бұрын

    I could not get this to work, so I searched online and implemented try and except for the error, and now it works. Great vid

  • @RDataScience

    @RDataScience

    7 ай бұрын

    That’s great, good to know you’ve done it

  • @raikvlr

    @raikvlr

    3 ай бұрын

    hi, do you remember how you fixed it?

  • @RDataScience

    @RDataScience

    3 ай бұрын

    It is not working for you? What’s wrong ?

  • @raikvlr

    @raikvlr

    3 ай бұрын

    @@RDataScience I already found a way to make it work again! Thank you anyway!

  • @Zestieee
    @Zestieee11 ай бұрын

    that's really cool! nice idea

  • @CuginoRap

    @CuginoRap

    11 ай бұрын

    i think i'll use it!

  • @Zestieee

    @Zestieee

    11 ай бұрын

    @@CuginoRap wow! you are cuginorap the streamer!

  • @RDataScience

    @RDataScience

    11 ай бұрын

    Thank you!

  • @RDataScience

    @RDataScience

    11 ай бұрын

    You’ll never miss a queue again ahaha

  • @viniac.
    @viniac.5 ай бұрын

    Nice! Ive done a python script with lcu driver, this way i can use my computer as the queue goes.

  • @RDataScience

    @RDataScience

    5 ай бұрын

    That’s great ! I didn’t knew about the lcu driver, I’m going to search more about what we can do with it. Thanks

  • @paradiseonheaven
    @paradiseonheaven11 ай бұрын

    dude locates buttons with png, and ai. ... just brilliant! :D

  • @ShareShura
    @ShareShura11 ай бұрын

    Great and fun video! 😆 You sound portuguese btw

  • @RDataScience

    @RDataScience

    11 ай бұрын

    Thank you! And yes, you’re right 😁

  • @DeathSpirit19
    @DeathSpirit193 ай бұрын

    Hello, sorry for my English. I'm using google translator. Your video is very well done and the bot works well! But after I create the executable file and open it, it just loads something really fast and closes. It doesn't sit open waiting to find a match. Another question, is it possible to add a function so that it waits before closing? Because sometimes a player may not accept and you have to run the bot again.

  • @RDataScience

    @RDataScience

    3 ай бұрын

    Thank you for reaching out! I see, so it works well when you run the python script, but the executable doesn't work, right? If this is the case, it might be something to do with the executable. Maybe some parameter is not right when you create it. Try to create the executable again. Also, do you see any error before it closes? Excellent use case! I thought about it as well when using it, that scenario also happens to me quite often. One thing that we can do is to keep looking for the button and press it until the game starts. This is, after looking for the button, look for an element (image) inside the game. When it finds the element in game, close the script. I'll work on it!

  • @omarturabin
    @omarturabin2 ай бұрын

    Hi. Can i make a request to do program playing in a casino online. Can u help?

  • @TheNinjaPiglet
    @TheNinjaPiglet2 ай бұрын

    I'm trying to do this for a different game called Incremental Epic Hero. I am trying to have it find a Claim Button, Ok Button then Start Button. There are 8 Claim Buttons it needs to locate. After clicking them a popup shows with an OK button and the Claim Button is replaced with a Start Button. After clicking the Start Button, a grayed out Claim Button shows up. The problem I have is that it locates the first Claim Button. It then confuses Artifact Button for the OK and Start Buttons. It will also select the dulled Claim Button instead of one of the lit up Claim Buttons. Oddly enough, when I run it again with the Start showing, it will select that button first (like it remembers that was a claim button at one point), then clicks the Artifact Button when select OK. At this point an error gets thrown up on not finding a Start Button.

  • @emptyptr9401
    @emptyptr940111 ай бұрын

    If someone had problems with this, feel free to ask me. I had to experiment a bit for it to work for me and if someone (Especially if you don't have coding experience) has similar issues I am happy to help.

  • @RDataScience

    @RDataScience

    11 ай бұрын

    Thank you for your support! It is working fine for you?

  • @emptyptr9401

    @emptyptr9401

    11 ай бұрын

    @@RDataScienceNow yes. Very good and useful idea btw, this actually solves a very common problem.

  • @RDataScience

    @RDataScience

    11 ай бұрын

    That’s true! I’m thinking about other cool and fun ideas for Python and LOL, let’s see what’s coming

  • @emptyptr9401

    @emptyptr9401

    11 ай бұрын

    @@RDataScience Honestly looking forward to it. Usually I would reject Python as in my opinion it is the devils language, but I might make an exception xd. Jokes aside, the language is of course really good for small, useful programs like this, but I personally don't like it, which why I don't really experiment with and thereby properly learn it (I mean I can use it but I never dove into it like I did with a language like C++). So I am very curious what you come up with, I will probably learn a thing or two :)

  • @djebril418

    @djebril418

    10 ай бұрын

    hi, i've did everything good (i think) but when i open the executable, it open the cmd and close it 1 sec later.. i don't know why

  • @HazeKaito
    @HazeKaito11 ай бұрын

    is this bannable?

  • @emptyptr9401

    @emptyptr9401

    11 ай бұрын

    I am as certain as I can be without being a Rioter that it is not. I really can't imagine it being. After all, all you are doing is scanning your screen for an image and then automating a mouse-click on that image. The Client shouldn't even have a way of knowing that you are using a program.

  • @RDataScience

    @RDataScience

    11 ай бұрын

    I don't think so, as a player we are not getting any advantage in-game by using this script. Also, any player that accepts the queue and stays afk after that will always have a penalty by the current system mechanism. However, I can't guarantee you that, this is just my opinion

  • @emptyptr9401

    @emptyptr9401

    11 ай бұрын

    @@RDataScienceI mean your program isn't even interacting with the client. As I said in my prior response: I am not a Rioter so of course I can't guarantee it, but I couldn't possibly imagine this being banable. And I'd be surprised if they even had a way of knowing that you were using a program like this.

  • @HazeKaito

    @HazeKaito

    11 ай бұрын

    Thank you! Appreciate your feedback.@@emptyptr9401 @RDataScience

Келесі