Announcement

Collapse

Forum Rules

  • No flaming or derogatory remarks, directly or through insinuation.
  • No discussion, sharing or referencing illegal software such as hacks, keygen, cracks and pirated software.
  • No offensive contents, including but not limited to, racism, gore or pornography.
  • No excessive spam/meme, i.e. copious one liners in a short period of time, typing with all caps or posting meme responses (text/image).
  • No trolling, including but not limited to, flame incitation, user provocation or false information distribution.
  • No link spamming or signature advertisements for content not specific to Dota 2.
  • No Dota 2 key requests, sell, trade etc.
  • You may not create multiple accounts for any purpose, including ban evasion, unless expressly permitted by a moderator.

  • Please search before posting. One thread per issue. Do not create another thread if there is an existing one already.
  • Before posting anything, make sure you check out all sticky threads (e.g., this). Do not create new threads about closed ones.
  • It is extremely important that you post in correct forum section.

  • Balance discussion only in Misc.
  • All art related (such as hero model) feedbacks go to Art Feedback Forum.
  • All matchmaking feedback should go here: Matchmaking Feedback
  • All report/low priority issues should go here: Commend/Report/Ban Feedback
  • No specific workshop item feedback. These should go to workshop page of that item.
  • When posting in non-bugs section (such as this), use [Bugs], [Discussion] or [Suggestion] prefix in your thread name.



In case you object some action by a moderator, please contact him directly through PM and explain your concerns politely. If you are still unable to resolve the issue, contact an administrator. Do not drag these issues in public.



All rules are meant to augment common sense, please use them when not conflicted with aforementioned policies.
See more
See less

October 5 Bot Update

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #2
    Originally posted by ChrisC View Post
    Just a few more small CMsgBotWorldState changes:
    • Added -botworldstatetosocket_threaded to use a thread to send CMsgBotWorldState (by default it is no longer threaded)
    Can you explain why I would ever want it to be NOT threaded?

    Comment


    • #3
      @ChrisC - another request

      I'm trying to do a higher layer machine learning through the CMsgBotWorldState - what I mean is - I am trying to hard-code things like "last hitting", "using items", "using abilities" and focus instead on MLing things like when to attack, when to retreat, when to push lane, when to jungle, when to defend lane, when to rotate, when to rune, when to roshan, etc. My thought is to use the recorded world state dumps to evaluate an action and it's reward versus effort. For example - I see at time X that Hero Sniper decided to push T1 mid tower and I can fast forward a few dumps to see how it evaluated the future world state as the action being favorable or not.

      I am looking for a solution that would work with players, bots or replays, not just pure bot matches.

      What I need help with is knowing what location was clicked by a hero. Now for bots we have
      Code:
      // FOR BOTS 
      		optional uint32		action_type = 100;
      		optional uint32		ability_target_handle = 101;
      in the protobuf, but that doesn't work for human players. So instead, I started using
      Code:
      		optional int32		anim_activity = 35;
      		optional float		anim_cycle = 36
      To determine when an ability is cast, attack is made, movement is done since that works for Bots and Players.

      However, ideally, you would be able to provide to me the information that a move order was made clicking on vectorLocation, or an attackmove was made on this target, or an ability was used on this location/target/tree, etc. I mean that info is in the replay I'm sure, so why can't it be reported in the protobuf.

      Again, I'm looking for a solution that will be applicable to being acquired from replays (with the hope you will make the CMsgBotWorldState workable with replays).

      Comment


      • #4
        Keep in mind humans right-click like crazy especially when the hero is far away. So you might have to do an average position to determine the actual destination.
        Explanations on the normal, high and very high brackets in replays: here, here & here
        Why maphacks won't work in D2: here

        Comment


        • #5
          Originally posted by The Nomad View Post
          Keep in mind humans right-click like crazy especially when the hero is far away. So you might have to do an average position to determine the actual destination.
          I agree and realize, although remember, the world state dumps I'm seeing are only every 0.5 seconds, so I won't be getting that deluge of clicks, just an update very half second.

          Comment

          Working...
          X