Тёмный

I Made a Program to Play Magic Arena 

itsBenJaMon
Подписаться 1,4 тыс.
Просмотров 8 тыс.
50% 1

I programmed a bot to play MTG Arena. The bot is programmed using python, a programming language. The libraries I used to make this project are "pyautogui" and "time." If you'd like to see a bot for a specific game, let me know in the comments and I'll consider making it for you.
This video was made in collaboration with pile of cards. Feel free to check out his side of the video.
Pile of Cards's video: • Video
Download Steve: drive.google.c...

Опубликовано:

 

30 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 38   
@itsBenjamon
@itsBenjamon 4 года назад
How do you guys feel about a cookie clicker bot?
@jasonroberts3752
@jasonroberts3752 4 года назад
Do one that solves a 1x1 rubiks cube
@PileofCards
@PileofCards 4 года назад
Hey! Thanks for the shoutout. This collaboration was very cool and I'm looking forward to a followup if and when you're done with a new bot.
@EmperorPeco
@EmperorPeco 4 года назад
Im highly confident that steve is every mono red player
@LawrieAndCo
@LawrieAndCo 4 года назад
I got half way through a similar bot last year. Instead though I wrote it in Java using the Robot class for automation and screen reading. I found that if you read the pixels and put them through a filter, to find all the white/blue/red pixels then you can easily find each playable card as well as compare the filtered button to a screenshot and if they match you know which state the game is in, including starting a new match from the main menu. The space bar trick is pretty good too. I wanted the bot to play for me to crash my rank and not have to play against netdecks all the time.
@SuperJaegermaster
@SuperJaegermaster 2 года назад
hi, could you kindly share the working version by any chance ? would be of great ! thanks
@djsuri10
@djsuri10 2 месяца назад
Hello sir, your bot works very badly.
@xaustinx15
@xaustinx15 4 года назад
Is your's still working? I made something similar but I think the new update detects somehow that "z" is not coming from a keyboard.
@duplo93pc
@duplo93pc 4 года назад
Hi do you have github? Can you share your code please?
@itsBenjamon
@itsBenjamon 4 года назад
The source code is in the google drive link, I don't know how to use github :P shows how unprofessional I am I guess.
@duplo93pc
@duplo93pc 4 года назад
@@itsBenjamon That's totally fine! I've been studying python for the last 2 months and I saw that everyone uses github for their projects etc. so that's why I was asking :D Thanks bud for the reply :)
@weeboobubu412
@weeboobubu412 3 года назад
so any updates?
@jasonroberts3752
@jasonroberts3752 4 года назад
Do a bot that beats me up if I procrastinate.
@itsBenjamon
@itsBenjamon 4 года назад
So irl?
@halfnhalf4030
@halfnhalf4030 4 года назад
This looks sweet. What would you reccomend as a starting point for botting games in general?
@itsBenjamon
@itsBenjamon 4 года назад
Learn python first. There's a module/library in python called pyautogui which enables the program to control the keyboard and mouse. If you already have some experience with python, this website has a list of commands you can use: pyautogui.readthedocs.io/en/latest/quickstart.html
@G_U_STHEBESTE
@G_U_STHEBESTE 4 года назад
Sans
@lilachollow9451
@lilachollow9451 4 года назад
undertale
@SuperJaegermaster
@SuperJaegermaster 2 года назад
hi @Not Business Casual , do you have an updated version by any chance ?
@JuanCarlosDaSilva
@JuanCarlosDaSilva 2 года назад
I can't download it, it says it has a virus, I want to test this.
@JaylondSawdon
@JaylondSawdon 3 года назад
any chance i could see the first code you scrapped, allowing the bot to see the screen and game states?
@itsBenjamon
@itsBenjamon 3 года назад
It's gone, if you wanna learn how I did it check out my tutorial on the locate on screen command for pyautogui.
@jeremyfields2639
@jeremyfields2639 4 года назад
I tried making something more sophisticated that reads the game memory. (in C#) However the memory doesn't dispose correctly from each game, so i need a new AOBs for every match number. (MTG Arena has a huge memory leak due to this)
@itsBenjamon
@itsBenjamon 4 года назад
So this is way beyond my ability. How would one go about learning to do this if you don't mind telling me. Right now I'm barely starting to learn programming in college, and so far they haven't taught me anything that I didn't already know from personal research.
@vishnuhu9086
@vishnuhu9086 3 года назад
Theres a log file u can read from. It tells you what cards you have and the board state, and much more info
@k7ngmarz
@k7ngmarz Год назад
Nice work! Keep it up!
@TheTschieses
@TheTschieses 3 года назад
Hey! Really great work so far. I would really love to get in contact with you about this. It would save me so much free time if a bot grinds the dailies for me. I can't find an email in your channel info though. Maybe you could DM me instead?
@itsBenjamon
@itsBenjamon 3 года назад
Dm me on Twitter @notbusinesscas1
@itsBenjamon
@itsBenjamon 3 года назад
you could also email notbusinesscasual@gmail.com
@TheTschieses
@TheTschieses 3 года назад
Thanks for the quick response! I am at work right now so it will take me a little while but you can expect an E-Mail from me in the next 24 hours I think...
@pietrorossi6148
@pietrorossi6148 3 года назад
working?
@lilachollow9451
@lilachollow9451 4 года назад
denny how ya feel
@XZX0_YT
@XZX0_YT 4 года назад
hey did you end up updating this at all?
@itsBenjamon
@itsBenjamon 4 года назад
I tried, it didn't work out. I'll try again when I am more knowledgeable
@XZX0_YT
@XZX0_YT 4 года назад
Not Business Casual I messed around trying to program one myself. But It was having trouble.
@eippo
@eippo 4 года назад
Thanks for helping the bot farmers that are selling accounts
@Chelios1994
@Chelios1994 3 года назад
Its Wotc fault they force ppl to play 15 wins per day is ridiculous. With those OP cards that win games on the moment they are played, 99% games are determined after muligan or keep. So if u want to play some kitchentable magic with friends u need to go thrue grinder or pay ridiculous money for worthless digital cards, obviously i choose botting or not play at all. Best deck to do it with is treasure hunt historic, my mom can code bot to play that junk, or trickery, Monored haste, BW flying etc.
Далее
I Made The Perfect Magic Deck With AI (Chat GPT)
9:57
Просмотров 222 тыс.
# Rural Funny Life Wang Ge
00:18
Просмотров 692 тыс.
Катаю тележки  🛒
08:48
Просмотров 606 тыс.
How To Play Commander Online | Magic: The Gathering
18:01
Why Slopes are Shockingly Difficult for Indie Game Devs
17:20
How To (Almost) Free To Play Magic Online
10:14
Просмотров 75 тыс.
How One Card Broke A Card Game
13:21
Просмотров 1,1 млн
AI Machine Learning in Magic | MtG | Draft
8:34
Просмотров 2 тыс.
# Rural Funny Life Wang Ge
00:18
Просмотров 692 тыс.