I want to build a new script to auto find game and auto play game

shuxuejunshuxuejun Posts: 9
edited February 20 in Development

I am interested in making a scripts to auto playing dota2 game recent (the recent there is 3 days early from now).

The first thing make me pay attention to this area is the OPENAI and the using of marchine learning to bulid a very strong bot to beat top player in dota2(I knew this thing long ago but until recent I just strated to think this thing serious. After several hours roughly survey, I figured out that this bot is based on dota2 API system,which isc open source and can be getted at [https://developer.valvesoftware.com/wiki/Dota_ 2_ Workshop. Tools/Scripting/API](https://developer.valvesofware.com/wiki/Dota 2. Workshop _Tools/Scripting/API"https://developer.valvesoftware.com/wiki/Dota 2 Workshop_ Tools/Scripting/API"), basically based on lua and more low-level coding language is C++, and another obersevation is that the super computer system OpenAl has used, 128,000 preemptible CPU cores and 256 P100 GPUs on GCP, they are foucus on creating a 5v5 ai and they costa lot of computation ability on balance the team profit and personal profit, and it is totally ml based.

Another toy model is maked by another private group here [https://towardsdatascience.com/making-a-dota2-bot-using-ml-c8cb2423a2behttps://towardsdatascience.com/making-a-dota2-bot-using-ml-c8cb2423a2be "https://towardsdatascience.com/making-a-dota2-bot-using-ml-c8cb2423a2be"), they mixed up tranditional script and state machine and use genetic algorithm changing the parameters to build a half-marchine-learning based bot and used a much less than OpenAi's computation source but still get a quite good Actual combat result. So the point is, maybe there is a chance to build a bot that has a not-bad ability in the Ladder Tournament, maybe 3500-4000 mmr.

Then I cost several more hours to try to learn a little bit lua and try to do some little change to the source(code is in Github) of some bot scripts on workshop in steam and succeed, but from this way I can only build a bot which can played in privat room.

But for the use of the script I want to make up, it can not use dota2 interner API, and can only use ensage instead so there is one more thing I need to underdtand, that is I need to understand how to use the frame of ensage to build a script and most important is I need it not just be script oriented, it need to satisfied I can realized some marchine learnig model in it, at least state marchine and passing parameters into it, but maybe I can traning outside and Passing parameters to realized this. There is a early one script in this direction, named Afk Helperhttps://ensage.io/discussion/2044/afk-helper/p1, but it perfermance is not very well, if I use this, I will be reported in matches and matches...


Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!