Game Automation with YOLOv8: Python Bot Tutorial

Поделиться
HTML-код
  • Опубликовано: 26 ноя 2024

Комментарии • 93

  • @TheDevilzAngelz
    @TheDevilzAngelz 8 месяцев назад +13

    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  8 месяцев назад +2

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

  • @nopainnullgain3405
    @nopainnullgain3405 8 месяцев назад +13

    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  8 месяцев назад +2

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

  • @csg301
    @csg301 8 месяцев назад +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  8 месяцев назад

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

  • @GlitchOutGamer
    @GlitchOutGamer 2 месяца назад +1

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

  • @ontoshere
    @ontoshere 8 месяцев назад +2

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

    • @ClarityCoders
      @ClarityCoders  8 месяцев назад +2

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

  • @arturorg0
    @arturorg0 3 месяца назад +5

    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 8 месяцев назад +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 8 месяцев назад +3

    You are back? Man Ive been missing your guides.

    • @ClarityCoders
      @ClarityCoders  8 месяцев назад +1

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

  • @oneupparty
    @oneupparty 6 месяцев назад +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 > : )

  • @masolhebem
    @masolhebem 7 месяцев назад

    Good Video, Brazil to the world :D

  • @BuLLGotcha
    @BuLLGotcha 7 месяцев назад

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

  • @snefden
    @snefden 6 месяцев назад +1

    You could colect more training data while letting the bot play

  • @Frombull
    @Frombull 8 месяцев назад +1

    Awesome vid!

    • @ClarityCoders
      @ClarityCoders  8 месяцев назад +1

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

  • @imjustprism
    @imjustprism 3 месяца назад +1

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

  • @LivLiveLegends
    @LivLiveLegends 4 месяца назад

    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?

  • @rulofmg
    @rulofmg 8 месяцев назад

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

  • @Burgerhs
    @Burgerhs 8 месяцев назад

    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

  • @sixthsense844
    @sixthsense844 8 месяцев назад

    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

  • @NemPressaNemPreguica
    @NemPressaNemPreguica 7 месяцев назад

    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?

    • @byailen
      @byailen Месяц назад +1

      13 hours means 46800 seconds, lets assume it takes screenshots per 3 secs.
      15600 screenshots in total.

    • @byailen
      @byailen Месяц назад +1

      you can pipe it directly to your app or make a queue list to remove them automatically.

  • @2_exclusive957
    @2_exclusive957 17 дней назад

    it took me a few hors but i got it to work

  • @AchieveAplenty
    @AchieveAplenty 7 месяцев назад

    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😁

  • @JanPeter56
    @JanPeter56 6 месяцев назад

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

  • @RTMgi9
    @RTMgi9 4 месяца назад

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

  • @academyonnet
    @academyonnet 7 месяцев назад

    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.

  • @AlghostUnit
    @AlghostUnit 4 месяца назад +1

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

    • @VinzentB
      @VinzentB 4 месяца назад +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 3 месяца назад

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

    • @AlghostUnit
      @AlghostUnit 3 месяца назад +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...

  • @cejayalejandro1695
    @cejayalejandro1695 7 месяцев назад

    letz gooooo

  • @teslagamer9382
    @teslagamer9382 12 дней назад

    when fuel reaches 1/3 automatically search for fuel ignoring other game elements

  • @lightsploit
    @lightsploit 8 месяцев назад

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

    • @ClarityCoders
      @ClarityCoders  8 месяцев назад

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

  • @Wikinger18
    @Wikinger18 8 месяцев назад +1

    nice vid

    • @ClarityCoders
      @ClarityCoders  8 месяцев назад +1

      Thanks. Appreciate the comment. More soon.

    • @Wikinger18
      @Wikinger18 8 месяцев назад +1

      ​@@ClarityCoders yeah 😊😊

  • @LXRD.DIABLO
    @LXRD.DIABLO 6 месяцев назад

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

  • @y00sz
    @y00sz 2 месяца назад

    9:44 where is the link in description?

  • @cahyakomara1468
    @cahyakomara1468 8 месяцев назад

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

    • @LowJackAP
      @LowJackAP 3 месяца назад

      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.

  • @Das_Unterstrich
    @Das_Unterstrich 8 месяцев назад

    Nice

  • @nunogomes6058
    @nunogomes6058 7 месяцев назад

    where is the colab stuff?

  • @byailen
    @byailen Месяц назад

    Now instead of writing your own decision logic, use ai on that part too! :)
    Punish that little tornado when it didn't crush trees and buildings!

    • @JimTim-bh2ex
      @JimTim-bh2ex Месяц назад

      Smh only fix bugs at least how would u grow?

    • @byailen
      @byailen Месяц назад

      ​@@JimTim-bh2exI didn't understand what you meant?

  • @dragonfish-du5iu
    @dragonfish-du5iu 7 месяцев назад

    Will it self-learn?

  • @Plexify-v2s
    @Plexify-v2s 4 месяца назад

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

  • @frostytvss
    @frostytvss 6 месяцев назад

    so its like a form of aim somewhat

  • @mankifg
    @mankifg 8 месяцев назад

    nice video, automating roblox games?

    • @ClarityCoders
      @ClarityCoders  8 месяцев назад +1

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

    • @mankifg
      @mankifg 8 месяцев назад

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

  • @Dude29
    @Dude29 Месяц назад

    This video is an ad for roboflow

  • @2_exclusive957
    @2_exclusive957 17 дней назад

    beware if your using a amd it will take a while an di recommend asking ai for help

  • @mankopooh67778
    @mankopooh67778 6 месяцев назад

    how to contact you ?

  • @JS-Lab
    @JS-Lab 6 месяцев назад

    Any help from ur side 😐

  • @BillyGamerTH
    @BillyGamerTH 8 месяцев назад

    sir What's the name of this game.

    • @ClarityCoders
      @ClarityCoders  8 месяцев назад +1

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

  • @charliebrown1947
    @charliebrown1947 4 месяца назад

    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  4 месяца назад

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

  • @hadene_luka
    @hadene_luka 13 дней назад

    10:26

  • @aleksandermaltsev8371
    @aleksandermaltsev8371 4 месяца назад

    did u delete my comment lmao?

    • @ClarityCoders
      @ClarityCoders  4 месяца назад

      I did not. It must have been RUclips.

  • @abdullahmehmood4945
    @abdullahmehmood4945 7 месяцев назад +4

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

    • @qwaqk
      @qwaqk 3 месяца назад +2

      what's wrong with you

    • @abdullahmehmood4945
      @abdullahmehmood4945 3 месяца назад

      @@qwaqkI cannot talk to you

    • @LowJackAP
      @LowJackAP 3 месяца назад +1

      what is a "free fire game" ?

    • @concretywatch
      @concretywatch 3 месяца назад +1

      ​@@LowJackAPthats a mobile game

    • @concretywatch
      @concretywatch 3 месяца назад +1

      3d games are very hard to automate

  • @bobr4211
    @bobr4211 5 месяцев назад

    Sorry, but i didnt like the video.