From cbfd9c53c16d1f898173fa21a6ca9a85ea6adc3b Mon Sep 17 00:00:00 2001 From: adamqqq Date: Sun, 5 Sep 2021 13:43:36 +0800 Subject: [PATCH] Prepare v1.7.8 release --- README.md | 104 ++++++++++++++++++++++++---------- changelog/changelog_en.txt | 9 ++- changelog/changelog_zh_cn.txt | 9 ++- util/ChatSystem.lua | 2 +- 4 files changed, 90 insertions(+), 34 deletions(-) diff --git a/README.md b/README.md index 64859b29..b5f7e5ca 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,16 @@ # 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. +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 -#### Way 1 + +#### 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. @@ -12,22 +18,27 @@ This project is a improved Dota2 Bot script based on Valve's default AI. It can 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. -#### Way 2 + +#### 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 -#### Way 1 (With steam) + +#### 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. -#### Way 2 (No steam) + +#### 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/ -## Participate in + +## 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. @@ -35,20 +46,26 @@ Welcome everyone to improve this project! This project is mainly developed using 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 and everyone will communicate. -We use both normal Lua and Mirana to develop this project. The Mirana compiler can be found at [Mirana](https://github.com/AaronSong321/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. -### Refer Link -Here are some helpful information for developers. -https://developer.valvesoftware.com/wiki/Dota_Bot_Scripting -http://docs.moddota.com/lua_bots/ -http://dev.dota2.com/forumdisplay.php?f=497 -http://dota2.gamepedia.com/Cheats#Hero_names -中文参考资料: -https://tieba.baidu.com/p/4909536751 -http://www.adamqqq.com/ai/dota2-ai-devlopment-tutorial.html + +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](https://github.com/AaronSong321/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. + +- https://developer.valvesoftware.com/wiki/Dota_Bot_Scripting + +- http://docs.moddota.com/lua_bots/ + +- http://dev.dota2.com/forumdisplay.php?f=497 + +- http://dota2.gamepedia.com/Cheats#Hero_names + ## Feedback You can open issues on github, or leave comment in steam workshop: http://steamcommunity.com/workshop/filedetails/discussion/855965029/1334600128974492030/ + ## License GPL v3 @@ -67,11 +84,17 @@ GPL v3 along with this program. If not, see . # Ranked Matchmaking AI -该项目是基于Valve默认AI的改进的Dota2 Bot脚本。它能为无法在线游戏的玩家提供一个良好的练习环境,以提高自己的游戏水平。(中文说明在后面) +该项目是基于Valve默认AI的改进的Dota2 Bot脚本。 + +它能为无法在线游戏的玩家提供一个良好的练习环境,以提高自己的游戏水平。 + ## 特性 (待更新) + ## 安装 + ### 在线游戏 + #### 方式1 1. 打开Steam创意工坊链接https://steamcommunity.com/sharedfiles/filedetails/?id=855965029 订阅本项目。然后你的Steam会自动下载这个项目到你的电脑。 2. 打开Dota2并创建一个游戏大厅。 @@ -80,21 +103,26 @@ GPL v3 5. 从天辉或夜魇下拉菜单中选择.... 6. 在高级房间设置中的创意工坊脚本列表中选择本项目的名称“Ranked Matchmaking AI”。 或者如果您希望通过点击订阅按钮播放另一个脚本(如果您尚未订阅)或使用其他脚本(如果您订阅了该脚本)。 7. 单击确定,然后开始游戏。 + #### 方式2 1. 打开Dota2 2. 选择机器人练习模式或合作对抗机器人 3. 从创意工坊脚本列表中选择本项目“Ranked Matchmaking AI” 4. 单击开始匹配,然后开始游戏 + ### 离线游戏 -#### 方式1 (有steam) + +#### 方式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/ -## Participate in + +## 参与贡献本项目 欢迎所有人参与到本项目的开发中来!本项目主要使用Lua语言进行开发。 参与方法和步骤如下: 1. 登录 https://github.com @@ -103,20 +131,32 @@ https://steamcommunity.com/workshop/filedetails/discussion/855965029/22173114443 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 -如果你有任何疑问或者建议、技巧,欢迎提出Issues,大家一起交流。 -这个项目由Lua和Mirana共同写成。Mirana编译器可以在[Mirana](https://github.com/AaronSong321/Mirana)找到。Mirana是Lua的扩展,包含lambda表达式等功能。它支持所有Lua的语法且以Lua为目标语言。对于由Mirana写成的源码,直接修改Lua会导致修改在重新编译后丢失。 + +如果你有任何疑问或者建议,欢迎随时交流。 + +这个项目由**Lua**和**Mirana**共同写成。Mirana编译器可以在[Mirana](https://github.com/AaronSong321/Mirana)找到。Mirana是Lua的扩展,包含lambda表达式等功能。它支持所有Lua的语法且以Lua为目标语言。对于由Mirana写成的源码,直接修改Lua会导致修改在重新编译后丢失。 + ### 参考资料 -以下是一些对开发者有用的参考资料 -https://developer.valvesoftware.com/wiki/Dota_Bot_Scripting (中文页面右上角点击国旗可切换,但英文版更齐全,右上角search可搜索任何资料) -http://docs.moddota.com/lua_bots/ -http://dev.dota2.com/forumdisplay.php?f=497 -http://dota2.gamepedia.com/Cheats#Hero_names -中文参考资料: -https://tieba.baidu.com/p/4909536751 -http://www.adamqqq.com/ai/dota2-ai-devlopment-tutorial.html +以下是一些对开发者有用的参考资料 + +- https://developer.valvesoftware.com/wiki/Dota_Bot_Scripting (中文页面右上角点击国旗可切换,但英文版更齐全,右上角search可搜索任何资料) + +- http://docs.moddota.com/lua_bots/ + +- http://dev.dota2.com/forumdisplay.php?f=497 + +- http://dota2.gamepedia.com/Cheats#Hero_names + + 中文参考资料: + +- https://tieba.baidu.com/p/4909536751 + +- http://www.adamqqq.com/ai/dota2-ai-devlopment-tutorial.html + ## 反馈 你可以在Github上发起issue, 或在steam创意工坊中留言: http://steamcommunity.com/workshop/filedetails/discussion/855965029/1334600128974492030/ + ## 开源协议 GPL v3 @@ -130,6 +170,8 @@ GPL v3 # Donate If you like this project, you can support the development team through Paypal or Alipay. -Payment address: adamqqq@163.com +Any contribution will help our development, thanks a lot! + +Paypal/Alipay payment email: adamqqq@163.com ![avatar](https://image-10026452.cos.ap-shanghai.myqcloud.com/alipay1542723302162.jpg) diff --git a/changelog/changelog_en.txt b/changelog/changelog_en.txt index e46ae076..da5e63ff 100644 --- a/changelog/changelog_en.txt +++ b/changelog/changelog_en.txt @@ -379,4 +379,11 @@ Full update for 7.30. 4. Improve the function of shopping in mysterious stores. 5. Remove some outdated files. 6. Update item purchasing for 7.30. -7. Many small bug fixes. \ No newline at end of file +7. Many small bug fixes. +v1.7.8 (2021.09.05) +1. Fix many ability usage issues in the 7.30 version +2. Fix the issue of AI picking up runes. +3. Update warding position for 7.30. +4. Fix the issue of AI selecting lane in the early game. +5. Fix many abilities that could not be used. +6. Temporarily remove Hoodwink. \ No newline at end of file diff --git a/changelog/changelog_zh_cn.txt b/changelog/changelog_zh_cn.txt index be92f867..bbe399b0 100644 --- a/changelog/changelog_zh_cn.txt +++ b/changelog/changelog_zh_cn.txt @@ -382,4 +382,11 @@ v1.7.7 (2021.08.27) 4. 改善了神秘商店购物的功能。 5. 移除了一些过时的文件。 6. 为7.30更新了物品购买列表。 -7. 并修复了许多bug。 \ No newline at end of file +7. 并修复了许多bug。 +v1.7.8 (2021.09.05) +1. 修复7.30版本中多项技能使用问题。 +2. 修复AI拾取神符的问题。 +3. 更新了7.30的插眼位置。 +4. 修复游戏前期AI选择分路的问题。 +5. 修复了许多不能正常使用的技能。 +6. 临时移除森海飞霞。 \ No newline at end of file diff --git a/util/ChatSystem.lua b/util/ChatSystem.lua index d177fdc0..9ba26528 100644 --- a/util/ChatSystem.lua +++ b/util/ChatSystem.lua @@ -2,7 +2,7 @@ local BotsInit = require("game/botsinit") local M = BotsInit.CreateGeneric() local version = "1.7.8" -local updateDate = "August 27, 2021" +local updateDate = "September 5, 2021" local announceFlag = false function M.SendVersionAnnouncement()