dota2ai吧 关注:2,082贴子:31,191

回复:dota2 bot api更新

只看楼主收藏回复

美国时间9月19号的更新:
September 19 Bot Update
AddScriptPathingAvoidanceZone() now has a second parameter, which is its duration.
Added AddConditionalAvoidanceZone( vLocationAndRadius, funcEval) which takes a function which takes one parameter (the avoidance zone index returned by AddConditionalAvoidanceZone). When it returns false, the avoidance zone is disabled.
Added InstallChatCallback( func ) which will cause func() to be called, which takes one parameter which is a table containing player_id, team_only, and string.
The completion function passed into GeneratePath() now has 3 parameters -- the second one is new, and is the index of the path request returned from GeneratePath().
Fixed the logic of HasBuyback() being incorrect.


IP属地:广东79楼2017-09-20 09:31
回复
    美国时间9月22号的更新:
    September 22 Bot Update
    Added a checkbox on the Watch Live page for watching the Workshop Bot match
    Made magic_resist a float in CMsgBotWorldState.
    Made game_time a float in CMsgBotWorldState.
    Fixed all handles being 0 in CMsgBotWorldState.
    Added net_worth to CMsgBotWorldState.
    Fixed bots treating danger-pings as good-pings.


    IP属地:广东80楼2017-09-23 10:46
    收起回复
      美国时间10月3号更新:
      October 3 Bot Update
      The handles specified in CMsgBotWorldState now are increasing and unique.
      Added GetBotByHandle( iHandle ) and GetBotAbilityByHandle( iHandle ) for getting bot and ability handles in lua from their CMsgBotWorldState handle id.
      Fixed a hang caused by disconnecting from the world state socket streaming.


      IP属地:广东来自手机贴吧81楼2017-10-05 09:46
      回复
        美国时间10月4号更新:
        October 4 Bot Update
        Some small CMsgBotWorldState changes:
        Added player_id to Unit submessage
        Fixed a number of sub-messages of not having their unit_handles set
        Armor and Magic Resist are now available for all units
        Respawn time is now available for all heroes
        Fixed typo to spell_amplification
        Also
        Fixed slow-function warning actually printing out the proper function name


        IP属地:广东来自手机贴吧82楼2017-10-05 09:47
        回复
          美国时间10月5号更新:
          October 5 Bot Update
          Just a few more small CMsgBotWorldState changes
          Added -botworldstatetosocket_threaded to use a thread to send CMsgBotWorldState (by default it is no longer threaded)
          Fixed mana regen to take into account stuff like the fountain
          Added strength, agility, and intelligence for heroes
          Made Vector floats rather than ints
          player_ids are now int32 so they can be -1


          IP属地:广东84楼2017-10-07 09:54
          回复
            2018年4月20日更新
            一条有关机器人控制台指令的重大更新
            添加了代码 dota_bot_allow_human_control <0/1> (0是关闭,1是开启)
            简单介绍几句,以供大家参考:
            1. 请注意,这是一条【作弊指令】,需要开本地房间(官方服务器本地指令无法生效)或单机情况下输入 sv_cheats 1 开启作弊开关后再输入。
            2. 这条指令目前【主要用来给机器人开发者做测试用】,因为游戏中途可以控制机器人免于写大量测试代码。
            3. 也可以用来本地单机娱乐操纵机器人,这样不用怪机器人无脑钻野不守高了,但是建议慎用,因为【敌方英雄也可以控制】,所以主要还是用来给开发者测试用的。
            4. 目前这条指令并非让原先机器人的行为失效,而是你和原先机器人共同控制,表现出来的行为如下:一个机器人正在以200的速度向右移动,然后你鼠标右键控制他狂点左边(比方速度300),那么他就会表现出每100的速度往左移动,所以移动操作可能会慢点,毕竟是互抢控制权,但是帮电脑释放未使用的技能讲道理问题不大,比如控制潮汐顶前直接先手大招帮你提供输出环境,而不至于到死都不放大。


            IP属地:广东85楼2018-04-20 15:00
            回复
              现在还有更新吗?为什么我在工坊里选择,AI的英雄池还是那么几个?


              86楼2021-06-11 18:02
              回复