Game Automation with YOLOv8: Python Bot Tutorial

Поділитися
Вставка
  • Опубліковано 5 жов 2024

КОМЕНТАРІ • 82

  • @csg301
    @csg301 6 місяців тому +12

    lets go! Waiting every day for a new upload and it finally happened! Keep up the content bro you're the best!

    • @ClarityCoders
      @ClarityCoders  6 місяців тому

      Really appreciate this comment. Thanks for sticking with me! More soon.

  • @nopainnullgain3405
    @nopainnullgain3405 6 місяців тому +10

    Please do more AI bot stuff! you are my favorit content creator for bot stuff, you are so good at explaning and making it easy to understand.

    • @ClarityCoders
      @ClarityCoders  6 місяців тому +2

      Thanks! I hope to have a ton of stuff coming out this year. Stay tuned.

  • @TheDevilzAngelz
    @TheDevilzAngelz 6 місяців тому +7

    Greetings. Welcome back!
    Overall the process seems fairly well explained, and code seems decent. Is A few comments.
    Might be worth mentioning that roboflow is only free for a trial.
    6:10 - you should not include the price in the annotations, as it might try and match the exact picture. Pre-submission edit: looks like you caught this. Good job!
    12:45 - screen width and height can be calculated. Even for multi-monitor setups. No need to have those as variables for us to modify.
    13:41 - all the `descion["buy"] = True` redundancies can be simplified down to `decision[name] = True. Similarly, you can use f-strings to do `decision[f"{name}_location"] = (center_x, center_y)`. This removes almost all of the conditionals (except the special cases such as "tree" and "building" scenarios - but again those could maybe be improved)
    I took a quick look at your code on Github. Why is the requirements file so large? Surely not all that is required for this. Maybe you did a pip freeze without being in your venv?

    • @ClarityCoders
      @ClarityCoders  6 місяців тому +2

      Great comment I really appreciate the feedback. I will review tomorrow thanks for watching and commenting means a lot.

  • @GlitchOutGamer
    @GlitchOutGamer 12 днів тому

    Dude...I need more educational material like this. This was so high quality. Thanks!

  • @ontoshere
    @ontoshere 6 місяців тому +2

    This couldn't have come at a better time. Thanks! Can't wait to mess with this.

    • @ClarityCoders
      @ClarityCoders  6 місяців тому +2

      It's a pretty cool process! Thanks for watching/commenting.

  • @arturorg0
    @arturorg0 Місяць тому +2

    I took like 1 hour annotating images and then the training in the google notebook gave me one error and I couldn't follow :(((

  • @JosephShapiroTech
    @JosephShapiroTech 6 місяців тому +3

    Great video. Thanks!
    You mention in the video that you will share the colab link, but it isn't in the description or on the Github. Do you still plan to share it?

  • @leonardobradley3261
    @leonardobradley3261 6 місяців тому +3

    You are back? Man Ive been missing your guides.

    • @ClarityCoders
      @ClarityCoders  6 місяців тому +1

      Back! Hopefully, more is coming soon. Thanks for watching/commenting.

  • @snefden
    @snefden 5 місяців тому +1

    You could colect more training data while letting the bot play

  • @imjustprism
    @imjustprism 2 місяці тому +1

    i did 1/1 the same and not works, there is a error in the colab, custom training cell seems broken

  • @oneupparty
    @oneupparty 4 місяці тому +2

    I approve this, BUT you can take this one step further and install PYENV, this will allow you to set any python version you require for your specific project with out changing your system python. YOUR WELCOME > : )

  • @BuLLGotcha
    @BuLLGotcha 6 місяців тому

    You’re an amazing teacher, thank you. Have you considered taking on an FPS game?

  • @sixthsense844
    @sixthsense844 6 місяців тому

    Try making a bot or AI for Clash of Clans to really test your botting skills, I've done it but haven't finished the project

  • @rulofmg
    @rulofmg 6 місяців тому

    waiting for you to make another game automation series with SIMA when its released😆😆

  • @AchieveAplenty
    @AchieveAplenty 5 місяців тому

    Hey bro you did really great job, so i have for you idea for your next content, lets make together video where you will help me to write my first ever bot😁

  • @Frombull
    @Frombull 6 місяців тому +1

    Awesome vid!

    • @ClarityCoders
      @ClarityCoders  6 місяців тому +1

      Thank you! Means a lot that you guys take the time to watch and comment. More soon.

  • @academyonnet
    @academyonnet 5 місяців тому

    Please reply make a course with NexJS and Python pandas with Excel/CSV file uploading for input data and then presenting the output as tables and downloadable Excel/CSV files and pdf pages. There are already beginner level here on youtube but something advanced is needed. I have bought your course on Udemy and I will buy this one too.

  • @LivLiveLegends
    @LivLiveLegends 2 місяці тому

    video is too short to learn i am a bigner,how u used those screenshot inside script..how i use this script for any other game?..do u know where i could find full tutorial videos?

  • @makratorian
    @makratorian 6 місяців тому

    Im talking to chatgpt rn about some like that but i need to farm in a small game area theres trees but you can only cut the one with the white circle RED marker in the middle of it

  • @NemPressaNemPreguica
    @NemPressaNemPreguica 5 місяців тому

    Very nice! So while the bot is working it still keeps takign screenshots, right? Do you add lines of code to delete them as you go? How many ss did it take in 13 hours?

  • @y00sz
    @y00sz 23 дні тому

    9:44 where is the link in description?

  • @masolhebem
    @masolhebem 6 місяців тому

    Good Video, Brazil to the world :D

  • @rtm1619
    @rtm1619 2 місяці тому

    Is there an open source free version program like roboflow anywhere that doesn't have a pricing option?

  • @lightsploit
    @lightsploit 6 місяців тому

    Amazing video could you also make a python bot for crossy road?

    • @ClarityCoders
      @ClarityCoders  6 місяців тому

      I don't hate that idea. I'll look into it!

  • @JanPeter56
    @JanPeter56 4 місяці тому

    Do to need to retrain after you changed the locations of the buy buttons?

  • @AlghostUnit
    @AlghostUnit 2 місяці тому +1

    Bots are more fun even than the games them self often lol

    • @VinzentB
      @VinzentB 2 місяці тому +1

      So I’m not the only one hehe
      ATM I use scripts to play my other instances of a game, but now I will start writing bot Programms, Im really hyped (:

    • @LowJackAP
      @LowJackAP 2 місяці тому

      this is true, I LOVE the idea of passive income, and being able to automate vertual progress just feels so rewarding.

    • @AlghostUnit
      @AlghostUnit 2 місяці тому +1

      @@LowJackAP also in rpg games you can create a user interface to manage some stuff like what you want to keep, the quests you want the bot to do, the farming area that you want it to go, choosing a place to farm, choosing the skills, stats, fighting strategies, distances to keep ect... Stuff like those things makes it feels like you are actually playing the game in a certain way finally...

  • @LXRD.DIABLO
    @LXRD.DIABLO 4 місяці тому

    its saying whoops when i try to join , i want to join so that i can find answers for some topic please help me

  • @frostytvss
    @frostytvss 4 місяці тому

    so its like a form of aim somewhat

  • @nunogomes6058
    @nunogomes6058 5 місяців тому

    where is the colab stuff?

  • @dragonfish-du5iu
    @dragonfish-du5iu 6 місяців тому

    Will it self-learn?

  • @Plexify-v2s
    @Plexify-v2s 2 місяці тому

    when you say "google collab is free", that's wrong. It's limited

  • @cahyakomara1468
    @cahyakomara1468 6 місяців тому

    is there a way that we can run bots in games for multi tab games using yolo and python?

    • @LowJackAP
      @LowJackAP 2 місяці тому

      I'm no coder but I think that would be vertual pc's like orical. unless you use servers or run a script to swap between tabs. swapping tabs would also be run on a vertual pc or server though pretty sure.

  • @cejayalejandro1695
    @cejayalejandro1695 5 місяців тому

    letz gooooo

  • @JS-Lab
    @JS-Lab 5 місяців тому

    Any help from ur side 😐

  • @Das_Unterstrich
    @Das_Unterstrich 6 місяців тому

    Nice

  • @mankopooh67778
    @mankopooh67778 5 місяців тому

    how to contact you ?

  • @Wikinger18
    @Wikinger18 6 місяців тому +1

    nice vid

    • @ClarityCoders
      @ClarityCoders  6 місяців тому +1

      Thanks. Appreciate the comment. More soon.

    • @Wikinger18
      @Wikinger18 6 місяців тому +1

      ​@@ClarityCoders yeah 😊😊

  • @BillyGamerTH
    @BillyGamerTH 6 місяців тому

    sir What's the name of this game.

    • @ClarityCoders
      @ClarityCoders  6 місяців тому +1

      You would think I would have remembered to say the game name. Tornado Madness!

  • @mankifg
    @mankifg 6 місяців тому

    nice video, automating roblox games?

    • @ClarityCoders
      @ClarityCoders  6 місяців тому +1

      I like.... What games would be a good fit do you think. I haven't really got into roblox.

    • @mankifg
      @mankifg 6 місяців тому

      @@ClarityCoders well i think there a lot of grindy games like treasure hunt simulator and a lot of tycoons

  • @charliebrown1947
    @charliebrown1947 2 місяці тому

    That "music" needs to go. It's too loud and distracting. Fine some soothing music that blends into the background instead of making it incredibly hard to focus on what you're saying and the code on the screen

    • @ClarityCoders
      @ClarityCoders  2 місяці тому

      Noted. I apologize next one will be better. Thanks for the comment.

  • @aleksandermaltsev8371
    @aleksandermaltsev8371 2 місяці тому

    did u delete my comment lmao?

    • @ClarityCoders
      @ClarityCoders  2 місяці тому

      I did not. It must have been UA-cam.

  • @abdullahmehmood4945
    @abdullahmehmood4945 5 місяців тому +4

    please please please bro write a program that automate free fire game

    • @qwaqk
      @qwaqk 2 місяці тому +2

      what's wrong with you

    • @abdullahmehmood4945
      @abdullahmehmood4945 2 місяці тому

      @@qwaqkI cannot talk to you

    • @LowJackAP
      @LowJackAP 2 місяці тому +1

      what is a "free fire game" ?

    • @concretywatch
      @concretywatch Місяць тому +1

      ​@@LowJackAPthats a mobile game

    • @concretywatch
      @concretywatch Місяць тому +1

      3d games are very hard to automate

  • @bobr4211
    @bobr4211 4 місяці тому

    Sorry, but i didnt like the video.

  • @shitpost_xxx
    @shitpost_xxx 5 місяців тому

    Please make Carrieverse Fishing Bot please

  • @_plsubscribe_
    @_plsubscribe_ 6 місяців тому +3

    first

    • @ClarityCoders
      @ClarityCoders  6 місяців тому

      About time! Thank you for watching and commenting. I appreciate it.