iven / dota2ai

This project is a improved Dota2 Bot script based on Valve's default AI. Relase on steam workshop as Ranked Matchmaking AI. This script has more than 1 million current subscribers on Steam Workshop.

Home Page:http://steamcommunity.com/sharedfiles/filedetails/?id=855965029

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ranked Matchmaking AI

This project is a improved Dota2 Bot script based on Valve's default AI.

It can provide a good practice environment for players who cannot compete online, in order to improve their own game level.

Features

(work in process)

Install

Play online

Method 1

  1. Open steam workshop link https://steamcommunity.com/sharedfiles/filedetails/?id=855965029 and then subscribe. Then your steam will auto download this project to your computer.
  2. Open Dota2 and create a lobby.
  3. Select Local Host or Valve Dedicated Server closest to your region.
  4. Check Fill empty slot with bot checkbox.
  5. From Radiant or Dire Team drop down select Browse on Workshop....
  6. From the Workshop Script List choose my script name "Ranked Matchmaking AI" in advance lobby setting. Or the other script if you want to play another script by clicking SUBSCRIBE BUTTON if you haven't subscribed or USE if you've subscribed the script.
  7. Click OK and then start the game.

Method 2

  1. Open Dota2
  2. Start Solo Bot match or Cooperation Bot match.
  3. From the Workshop Script List choose my script name "Ranked Matchmaking AI" in setting.
  4. Click Play and then start the game.

Play offline

Method 1 (With steam)

  1. Subscribe first then you can get my script from this path Steam\SteamApps\workshop\content\570. (If you have problems of downloading from steam, you can also download it from github: https://github.com/adamqqqplay/dota2ai/archive/master.zip)
  2. Copy 855965029 folder to Steam\SteamApps\common\dota 2 beta\game\dota\scripts\vscripts\ and rename the folder name to bots. Then you can start Solo Bot match by choosing Default Bot or my script name if you're online.

Method 2 (Without steam)

View this link to get detail infomation: https://steamcommunity.com/workshop/filedetails/discussion/855965029/1489987634016938096/ https://steamcommunity.com/workshop/filedetails/discussion/855965029/2217311444342267217/

Contributing in this project

Welcome everyone to improve this project! This project is mainly developed using Lua language.

  1. Login Github.
  2. Fork this project.
  3. Create your feature brache. (git checkout -b new-feature)
  4. Commit your change. (git commit -m 'Added some features or fixed a bug or change a text')
  5. Push the change to origin repository. (git push origin new-feature)
  6. Then go to the github site and launch the pull request under the new-feature branch of the git remote repository.

If you have any questions or suggestions or tips, please feel free to ask questions.

We use both normal Lua and Mirana to develop this project. The Mirana compiler can be found at Mirana. Mirana is an extension to Lua, supporting lambda expressions and other features. It supports all the syntax of Lua and compiles to Lua. For files written in Mirana, DON'T modify the Lua directly since the modifications are discarded after recompilation.

Reference

Here are some helpful information for developers.

Feedback

You can open issues on github, or leave comment in steam workshop: http://steamcommunity.com/workshop/filedetails/discussion/855965029/1334600128974492030/

License

GPL v3

<Ranked Matchmaking AI> Copyright (C) 2017~2021  adamqqq
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.

Ranked Matchmaking AI

该项目是基于Valve默认AI的改进的Dota2 Bot脚本。

它能为无法在线游戏的玩家提供一个良好的练习环境,以提高自己的游戏水平。

特性

(待更新)

安装

在线游戏

方式1

  1. 打开Steam创意工坊链接https://steamcommunity.com/sharedfiles/filedetails/?id=855965029 订阅本项目。然后你的Steam会自动下载这个项目到你的电脑。
  2. 打开Dota2并创建一个游戏大厅。
  3. 选择离您所在地区最近的本地主机或Valve的官方专用服务器。
  4. 选中用机器人填充空位的复选框。
  5. 从天辉或夜魇下拉菜单中选择....
  6. 在高级房间设置中的创意工坊脚本列表中选择本项目的名称“Ranked Matchmaking AI”。 或者如果您希望通过点击订阅按钮播放另一个脚本(如果您尚未订阅)或使用其他脚本(如果您订阅了该脚本)。
  7. 单击确定,然后开始游戏。

方式2

  1. 打开Dota2
  2. 选择机器人练习模式或合作对抗机器人
  3. 从创意工坊脚本列表中选择本项目“Ranked Matchmaking AI”
  4. 单击开始匹配,然后开始游戏

离线游戏

方式1 (通过steam)

  1. 首先订阅本项目然后找到以下目录中 Steam\SteamApps\workshop\content\570
    (如果你无法从steam上下载本项目,那么可以从github上下载 https://github.com/adamqqqplay/dota2ai/archive/master.zip)
  2. 将855965029文件夹复制到Steam\SteamApps\common\dota 2 beta\game\dota\scripts\vscripts\并将文件夹名称重命名为bots。则可以通过选择默认机器人或本脚本来启动机器人练习赛(如果您在线)。

方式2 (没有steam)

查看以下链接来获取详细信息: https://steamcommunity.com/workshop/filedetails/discussion/855965029/1489987634016938096/ https://steamcommunity.com/workshop/filedetails/discussion/855965029/2217311444342267217/

参与贡献本项目

欢迎所有人参与到本项目的开发中来!本项目主要使用Lua语言进行开发。 参与方法和步骤如下:

  1. 登录 https://github.com
  2. Fork git@github.com:adamqqqplay/dota2ai.git 或者点仓库地址dota2ai
  3. 创建您的特性分支 (git checkout -b new-feature)
  4. 提交您的改动 (git commit -m 'Added some features or fixed a bug or change a text')
  5. 将您的改动记录提交到远程 git 仓库 (git push origin new-feature)
  6. 然后到 github 网站的该 git 远程仓库的 new-feature 分支下发起 Pull Request

如果你有任何疑问或者建议,欢迎随时交流。

这个项目由LuaMirana共同写成。Mirana编译器可以在Mirana找到。Mirana是Lua的扩展,包含lambda表达式等功能。它支持所有Lua的语法且以Lua为目标语言。对于由Mirana写成的源码,直接修改Lua会导致修改在重新编译后丢失。

参考资料

以下是一些对开发者有用的参考资料

反馈

你可以在Github上发起issue, 或在steam创意工坊中留言: http://steamcommunity.com/workshop/filedetails/discussion/855965029/1334600128974492030/

开源协议

GPL v3

 <Ranked Matchmaking AI>
 版权所有(C) <2017~2021> <adamqqq>
 本程序为自由软件;您可依据自由软件基金会所发表的GNU通用公共授权条款,对本程序再次发布和/或修改;无论您依据的是本授权的第三版,或(您可选的)任一日后发行的版本。
 本程序是基于使用目的而加以发布,然而不负任何担保责任;亦无对适售性或特定目的适用性所为的默示性担保。详情请参照GNU通用公共授权。
 您应已收到附随于本程序的GNU通用公共授权的副本;如果没有,请参照 
 <http://www.gnu.org/licenses/>.

Donate

If you like this project, you can support the development team through Paypal or Alipay.

Any contribution will help our development, thanks a lot!

Paypal/Alipay payment email: adamqqq@163.com

avatar

About

This project is a improved Dota2 Bot script based on Valve's default AI. Relase on steam workshop as Ranked Matchmaking AI. This script has more than 1 million current subscribers on Steam Workshop.

http://steamcommunity.com/sharedfiles/filedetails/?id=855965029

License:GNU General Public License v3.0


Languages

Language:Lua 100.0%