TimZaman / dotaservice

DotaService is a service to play Dota 2 through gRPC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AI vs Human/Buildin-AI play mode

sijiaxu opened this issue · comments

Hi,
I'm trying to figure out how to hold a AI vs human game. after training, it maybe need to play with human to do the evaluation.
when I start from steam, it works fine. but because our AI rely on the world state info, so I think the launch option is necessary,

'-botworldstatetosocket_radiant {}'.format(self.PORT_WORLDSTATES[TEAM_RADIANT]),
'-botworldstatetosocket_dire {}'.format(self.PORT_WORLDSTATES[TEAM_DIRE]),

but when I launch the game with the HOST_MODE_GUI_MENU mode, I got the crash in the dota2 client after entering the hero picking phase.

besides, I also want to test the AI with the buildin-AI first and then self-play, but how to use the buildin-AI? when I create the buildin-AI in HOST_MODE_GUI_MENU mode, I also got the crash in dota2 client.

does anyone knows the solution? Thanks~