Dota 2
Open Hyper AI [7.38]
879 Comments
DangerPizzaSlice 8 hours ago 
i don't know what gave you an impression of having bots flame you with the same 20 random quotes all day long is a good idea. People play bots to chill, not to mimic ranked match with a fucking retard-tier teammates. FFS just disable the flammatory chat by default, and what is this bullshit in calling it a "CHAT GPT"? It's a bloody quote randomizer, and it's poor AF. Bots are good overall, but this 24\7 "lol ur mom is gay" crap in a chat is just braindead.
Yggdrasil  [author] Apr 28 @ 7:12am 
@ 超级坑队友

There are 3 places to locate the general.lua file, it depends on whether Fretbots mode is enabled or directly modifying the subscribed script, or users from older version of the script for backward compatibility. I had put the details in GitHub, my workshop description is at its maximum length tight now such that I cannot adding more content without deleting other important paragraphs
超级坑队友 Apr 27 @ 10:17am 
Ohhh, I figured it out, I should be modifying the
`steamapps\common\dota 2 beta\game\dota\scripts\vscripts\game\Customize\general.lua`
instead of the
`steamapps\common\dota 2 beta\game\dota\scripts\vscripts\bots\Customize\general.lua`

Maybe put this information in the descriptions? Thanks a lot!
超级坑队友 Apr 27 @ 10:01am 
Hi, the bot scripts are really good! Thanks a lot and hope you can keep it up! One question though, I don't know why but the `<bots_root_directory>/Customize/general.lua` seems to be not working?
Despectare Apr 26 @ 8:13am 
I love the idea but it's just way too laggy to use the Fretbots mode... I have a 4090 and a 9950x3d and it still stutters so bad...

> Did you enable the no cd mode? Bot script itself won’t be able to make it no cd by default.

I haven't changed any of the configs or scripts. I launch via localhost lobby and use the console command you provided. It's really weird...
maoyuu Apr 26 @ 5:24am 
ai doesnt buy items :/
Yggdrasil  [author] Apr 20 @ 5:01pm 
@ Sandinello

Just help them to kill roshan when they feel it’s a good time, how hard is it?
Or just do whatever you liked to do and ignore what bots are doing as you do not have the rights to control the bots. Feel free to change the code to what you’d like if you are capable of doing so.
Sandinello Apr 20 @ 11:13am 
My Bots just wanted to kill Roshan, no defending, no Attacking just Roshan
Feels Apr 20 @ 6:28am 
these are the best bots i've played against
Yggdrasil  [author] Apr 18 @ 9:15am 
@ Censored
First of all, thanks for the feedback, it’d be better if you can put those in GitHub.
There’s never an end to improve these logic. What you’ve seen the bots doing is already the version that’s been improved a lot from the old scripts.

I’m fully aware of each and every points you mentioned, and I’ve spent a lot of time to indeed improve those. I know exactly where and how to improve all of them, but I don’t have time to spare on dota2 scripting anymore, not in near future before 2026 I think.

So good luck with whatever there is available freely on the market.
Censored Apr 18 @ 7:59am 
First of all, I want to thank you for your hard work, the bots are mostly great and much better than the original ones and other workshops in my opinion. I’d like to share some of my experiences and hope you'll continue improving the bots.

- Countless times, the bots just go YOLO one by one, and there's nothing you can do to stop them. Sometimes, even when they're under attack by towers or neutral creeps, they just stand there until they die.

- Sometimes, when the base is under attack, bots just teleport to the farthest tower and completely ignore the base.

- Many heroes, such as Puck, Necrophos, Chaos Knight, and Zeus..., just spam their skills whenever they have mana, especially in the early game.

- They often ignore their teammates, even when they're right next to ongoing fights.

- They also ignore runes, sometimes even walking right past them and this happen to the Roshan's Aegis as well, even if I'm not nearby (I even spam ping the aegis).
Yggdrasil  [author] Apr 18 @ 3:00am 
?

Did you enable the no cd mode? Bot script itself won’t be able to make it no cd by default.
Despectare Apr 18 @ 1:44am 
Why does this suck now? It worked initially but now the bots (even on difficulty 2) will spam their abilities with no cooldown. Veno will spam wards ult etc... It's impossible to reasonably play against fretbots.
Yggdrasil  [author] Apr 16 @ 11:19pm 
@ devcatTV

Just use a different script or choose to not include any bots in your team
devcatTV Apr 16 @ 11:18pm 
My teammates are definitely smarter than these bots. Genuinely how hard is it to make them push with 3+ dead?
Yggdrasil  [author] Apr 16 @ 11:16pm 
@ devcatTV

The truth is your allies are always brain dead no matter they are human players or bots, that’s what you can match with most of time. So what can you do? Choose a different script, don’t rely on any ally bots, stop complaining and modify the bot script code to improve the logic, or play ranked games to have higher mmr to match players that are hopefully less braindead
devcatTV Apr 16 @ 9:45pm 
Nice, the ally bots are completely braindead and don't do objective so it's always 1v9..
Yggdrasil  [author] Apr 16 @ 8:06pm 
@Nommy

I think so if GUI is possible it’s great. There are a lot of potential ways to do it, e.g. in game UI, external apps, floating on screen UI, etc. it’d be great if we have some players with their expertise to help building any of those kind to improve the experience for all bot players.

Feel free to open a new issue on https://github.com/forest0xia/dota2bot-OpenHyperAI/issues/25
And hopefully someone find it useful can also contribute to the ideas.
Nommy Apr 16 @ 9:03am 
One thing that could be nice is if there was some sort of GUI to set it up. Ideally launch-able from the game though I doubt that's possible due to security stuff.

Perhaps you could run an app that connects as a viewer which has a UI to make changes in real time (via chat). E.g python script? Presumably valve wouldn't kick up a fuss as it's benign and value add for their profit making game but IDK.

Just a thought. Also, thanks, is great to have something that works and is customisable too.
Yggdrasil  [author] Apr 14 @ 6:25pm 
@Jesus

I believe Valve won’t do this at any point soon since they’ve abandoned the bot script development like forever - no more new useful bot APIs or api fixes being done since 2018.

I also believe Valve should have a better ai at some point, smarter than this one. But I don’t see that coming in the next 5 years since the ROI is very low near zero for anyone that’s doing it.
Jesus Apr 14 @ 10:02am 
Thanks for your mod, i don't have the time to play in a competitive manner but still love Dota2 since the begining, so it's a nice way to enjoy a chill environement to try heroes or just goof around with weird build and still have to be involved compared to the regular IA.

This is a must have and i would love Valve to implement at one point such a way to play the game.

Keep it up !
Yggdrasil  [author] Apr 13 @ 6:42pm 
@Nommy

Well there are people kept asking for more wait time so they can input commands like !pick to pick heroes depends on the picked ones. It's not a script just for your personal use case. If it has to be someone's personal use case, it's for me and I feel it's good as it is now in this particular aspect.
Nommy Apr 13 @ 4:10pm 
@Yggdrasil I probably needed a comma or something, that didn't come out like I meant - I didn't mean to be so harsh. I do still think it's pretty shit if bots have delays to emulate humans though. You're not fooling anyone, it's just potentially making people wait, if that's the case.
Yggdrasil  [author] Apr 13 @ 9:19am 
@Nommy

I don't remember all details, but I think there is such a place you can modify to expedite the process. Feel free to modify and try it out. I think that you can find where you need to modify in the hero_selection.lua file. Show some more respect to the script authors. The bots are to simulate what the authors think the matchmaking simulator should look like with their best effort, so if you are capable of providing any help, just do it.
Nommy Apr 13 @ 7:40am 
@Yggdrasil Is there like a Sleep(2000) or some shit line I can comment out to get a fast less human experience though?
Nommy Apr 13 @ 6:35am 
@Yggdrasil Not exactly what I was after, but a good idea, thanks.
ddd Apr 13 @ 6:25am 
please tell me how can I add bots to my custom game
Yggdrasil  [author] Apr 13 @ 3:27am 
@Nommy

Maybe you can try Turbo mode where bots finishes picking immediately after you pick
Yggdrasil  [author] Apr 13 @ 3:26am 
@hec

I don't know. never tried it.
hec Apr 13 @ 3:13am 
does this run in Linux (Ubuntu)?
Nommy Apr 13 @ 2:33am 
Any way to disable the stupid delay with the AI picking heros? As soon as I pick, pick and go FFS.
甘夜 紺助 Apr 12 @ 9:19am 
@Yggdrasil 感谢你的帮助,我已经完全理解了。
Yggdrasil  [author] Apr 12 @ 3:29am 
@Malam Chaos Ini

The message about ally bots being weak is well understood and I feel sorry about it. This bot is fully open sourced https://github.com/forest0xia/dota2bot-OpenHyperAI so you can look into the code about improving the logic. Please do feel free to make ally bots better. I personally don't have the time to do it, I don't have time to even play for dota2 for 1 hour in a month. If you are asking me to do the work to improve ally bots, the timeline is probably by end of 2026.

Good luck and please feel free to choose other bots as allies if you will. This bot can be out of date anytime
Yggdrasil  [author] Apr 12 @ 3:13am 
@freeze response

You can't define a list of heroes for a specific lane. you can use Customize/general.lua to specify a hero for each lane, or use e.g.: !pick invoker
Yggdrasil  [author] Apr 12 @ 3:10am 
@Bojack

My point was I have no idea about how the game can be optimized for Mac as of now. so my suggestion was to ask Valve somewhere since it's their Dota2 client that crashed, and Mac is known to lack of optimization for many games.
Bojack Apr 11 @ 11:33pm 
Never mind. Apparently someone has the same issue and the answer for mac is "fuck off".
Bojack Apr 11 @ 11:21pm 
hi , game crashed on my macbook m2 pro, can I play with this ai on a mac?
Malam Chaos Ini Apr 11 @ 9:21pm 
i feel like my allied bots are weak,while the opponent bots are really good at laning and pushing.My ally bots are not as good as our opponents.sometimes they just do random fighting and forcing push even if they are alone..thats not the case for the opponent bots.they are always cohesive and fight really well.Can i just make my allied bots as good as the opponents bots?
freeze response Apr 10 @ 7:05pm 
yo, how do i edit the hero list for mid lane? I wanna set up a list with only the meta heroes
Yggdrasil  [author] Apr 10 @ 6:49pm 
2. 我忘记了。建议参考 https://steamcommunity.com/workshop/filedetails/discussion/3246316298/4334231305373971730/

最终你还是要靠自己实践去总结规律
Yggdrasil  [author] Apr 10 @ 6:47pm 
@ 甘夜 紺助

1. 建议你提问前可以先看一下我script主页的介绍具体内容。或者看GitHub的具体内容。

!XposY 这里的X是ai在队伍里面的slot顺序,而不是打什么位置。Y是打什么位置。比如 !2pos3 是说让队伍里从左往右数或者从上往下数第二个ai去打3,而不是让二号位打3。
Yggdrasil  [author] Apr 10 @ 6:44pm 
@ freeze response

I have 3 Mac Pros with m1 and m3 but I never enjoyed playing Dota in a MacBook. Just buy yourself a pc. I don’t think there’s really someone going to help you on this. Maybe you can ask for Valve’s help to optimize the game on Mac
甘夜 紺助 Apr 9 @ 3:44am 
您好,我觉得您的脚本最近运行的更合理,玩起来更有乐趣了,感谢您的更新。
希望您可以为我解答两个问题:
1.当我想要连续更换多个位置的ai的时候,交换规则的是如何进行的呢?例如我首先将23号位使用!2pos 3交换,这一步可以成功,但当我想继续使用3pos 4将3号位(原2号位)和4号位交换的时候,往往不会按照我想的来(或者是我自己被绕晕了记错了)。那么当进行多次位置交换的时候,每次都是按照bot的初始位置来进行的吗?还是说按照他们现在的位置?

2.队长模式下,bot对英雄和位置的选择是什么样的,是随机的吗?

再次感谢您的付出
freeze response Apr 7 @ 1:14pm 
hey, got an issue with fps and textures after adding Fretbots

before installing them everything was fine, getting around 120 fps, textures loaded normally. after installing fretbots fps drops to like 40-50, and the highground part of the map (where throne, racks, towers are) just doesn’t load. looks like the map is missing there, just sky instead

i’m on a macbook pro m1 (8 core, 16gb ram). tried reinstalling the script but didn’t help

anyone had the same thing or knows how to fix it?
Yggdrasil  [author] Apr 4 @ 6:35pm 
@ TURNIQUE

This command for now only works in Radiant side, and it should work if you are on Radiant side.
If it doesn’t work, I think you are not using my script, or you messed up some part of the code itself
TURNIQUE Apr 4 @ 3:55pm 
Hello! For some reason the command "!pos 2" doesn't work for me, the bots just ignore the message. Please tell me what I'm doing wrong? I tried to write the command in both the allies' chat and the general chat. I wrote it with and without quotes. Help :)
Yggdrasil  [author] Apr 3 @ 3:59pm 
@ 矢泽妮可

Are you looking for something like the command: !sp zn
矢泽妮可 Apr 3 @ 3:35pm 
I'd like to know how to change the prompt language to something other than English