Page 10 of 19 FirstFirst ... 8 9 10 11 12 ... LastLast
Results 91 to 100 of 182

Thread: Dota 2 Demo File Format

  1. #91
    Basic Member
    Join Date
    May 2012
    Posts
    10
    Thanks,

    How about the progress that you worked on the PacketEntities message ?

  2. #92
    Basic Member
    Join Date
    Sep 2011
    Location
    Lille, France
    Posts
    52
    Quote Originally Posted by at0m View Post
    Thanks,
    How about the progress that you worked on the PacketEntities message ?
    This version of the parser don't use PacketEntities, only ChatEvent & GameEvent.
    For PacketEntities, my work is not finished.

  3. #93
    Basic Member
    Join Date
    May 2012
    Posts
    10
    Help me, I have some problem with my parser.

    At Frame#33077, it needs targetname : 162.

    Code:
    dota_combatlog eventid:171 
     type: 0 
     sourcename: 18 
     targetname: 162 
     attackername: 18 
     inflictorname: 0 
     attackerillusion: 0 
     targetillusion: 0 
     value: 31 
     health: 0 
     timestamp: 2222.850342 
     targetsourcename: 0
    This is lastest combat logs Frame#30649.

    Code:
    #2 CombatLogNames flags:0x1 (162 Items) 4951 bytes
        #0 'dota_unknown' (0 bytes)
        #1 'npc_dota_hero_bounty_hunter' (0 bytes)
        #2 'npc_dota_hero_queenofpain' (0 bytes)
        #3 'modifier_item_ring_of_basilius_aura_bonus' (0 bytes)
        #4 'npc_dota_hero_lich' (0 bytes)
        #5 'npc_dota_hero_lone_druid' (0 bytes)
        #6 'npc_dota_lone_druid_bear1' (0 bytes)
        #7 'npc_dota_creep_badguys_melee' (0 bytes)
        #8 'npc_dota_hero_lion' (0 bytes)
        #9 'npc_dota_creep_goodguys_melee' (0 bytes)
        #10 'npc_dota_hero_beastmaster' (0 bytes)
        #11 'modifier_queenofpain_shadow_strike' (0 bytes)
        #12 'queenofpain_shadow_strike' (0 bytes)
        #13 'npc_dota_creep_badguys_ranged' (0 bytes)
        #14 'npc_dota_goodguys_tower1_mid' (0 bytes)
        #15 'npc_dota_creep_goodguys_ranged' (0 bytes)
        #16 'modifier_bounty_hunter_jinada_slow' (0 bytes)
        #17 'modifier_tango_heal' (0 bytes)
        #18 'npc_dota_hero_pudge' (0 bytes)
        #19 'npc_dota_hero_faceless_void' (0 bytes)
        #20 'npc_dota_neutral_ogre_mauler' (0 bytes)
        #21 'npc_dota_neutral_ogre_magi' (0 bytes)
        #22 'modifier_beastmaster_inner_beast' (0 bytes)
        #23 'npc_dota_hero_venomancer' (0 bytes)
        #24 'npc_dota_goodguys_tower1_bot' (0 bytes)
        #25 'npc_dota_neutral_satyr_trickster' (0 bytes)
        #26 'venomancer_poison_sting' (0 bytes)
        #27 'modifier_venomancer_poison_sting' (0 bytes)
        #28 'pudge_rot' (0 bytes)
        #29 'modifier_pudge_rot' (0 bytes)
        #30 'npc_dota_neutral_satyr_soulstealer' (0 bytes)
        #31 'npc_dota_hero_earthshaker' (0 bytes)
        #32 'venomancer_venomous_gale' (0 bytes)
        #33 'modifier_venomancer_venomous_gale' (0 bytes)
        #34 'modifier_lion_impale' (0 bytes)
        #35 'lion_impale' (0 bytes)
        #36 'modifier_lion_voodoo' (0 bytes)
        #37 'modifier_lion_mana_drain' (0 bytes)
        #38 'npc_dota_lone_druid_bear' (0 bytes)
        #39 'npc_dota_lone_druid_bear2' (0 bytes)
        #40 'beastmaster_wild_axes' (0 bytes)
        #41 'modifier_earthshaker_fissure_stun' (0 bytes)
        #42 'earthshaker_fissure' (0 bytes)
        #43 'modifier_faceless_void_timelock_freeze' (0 bytes)
        #44 'npc_dota_neutral_centaur_khan' (0 bytes)
        #45 'npc_dota_neutral_centaur_outrunner' (0 bytes)
        #46 'npc_dota_badguys_siege' (0 bytes)
        #47 'lich_frost_nova' (0 bytes)
        #48 'modifier_lich_slow' (0 bytes)
        #49 'modifier_bounty_hunter_wind_walk' (0 bytes)
        #50 'npc_dota_goodguys_siege' (0 bytes)
        #51 'bounty_hunter_wind_walk' (0 bytes)
        #52 'modifier_clarity_potion' (0 bytes)
        #53 'modifier_rune_invis' (0 bytes)
        #54 'npc_dota_venomancer_plague_ward_2' (0 bytes)
        #55 'modifier_magic_immune' (0 bytes)
        #56 'modifier_faceless_void_time_walk_slow' (0 bytes)
        #57 'pudge_meat_hook' (0 bytes)
        #58 'modifier_pudge_meat_hook' (0 bytes)
        #59 'npc_dota_neutral_polar_furbolg_champion' (0 bytes)
        #60 'npc_dota_neutral_polar_furbolg_ursa_warrior' (0 bytes)
        #61 'lone_druid_spirit_bear' (0 bytes)
        #62 'modifier_teleporting' (0 bytes)
        #63 'npc_dota_venomancer_plagueward' (0 bytes)
        #64 'npc_dota_scout_hawk' (0 bytes)
        #65 'npc_dota_neutral_gnoll_assassin' (0 bytes)
        #66 'gnoll_assassin_envenomed_weapon' (0 bytes)
        #67 'modifier_gnoll_assassin_envenomed_weapon_poison' (0 bytes)
        #68 'npc_dota_neutral_forest_troll_berserker' (0 bytes)
        #69 'npc_dota_neutral_forest_troll_high_priest' (0 bytes)
        #70 'modifier_stunned' (0 bytes)
        #71 'centaur_khan_war_stomp' (0 bytes)
        #72 'modifier_illusion' (0 bytes)
        #73 'modifier_invulnerable' (0 bytes)
        #74 'modifier_faceless_void_chronosphere_freeze' (0 bytes)
        #75 'npc_dota_thinker' (0 bytes)
        #76 'modifier_faceless_void_chronosphere' (0 bytes)
        #77 'modifier_venomancer_poison_sting_fake' (0 bytes)
        #78 'item_hand_of_midas' (0 bytes)
        #79 'modifier_flask_healing' (0 bytes)
        #80 'modifier_item_soul_ring_buff' (0 bytes)
        #81 'npc_dota_neutral_kobold_taskmaster' (0 bytes)
        #82 'npc_dota_neutral_kobold' (0 bytes)
        #83 'npc_dota_neutral_kobold_tunneler' (0 bytes)
        #84 'npc_dota_badguys_tower1_bot' (0 bytes)
        #85 'modifier_lion_finger_of_death' (0 bytes)
        #86 'lion_finger_of_death' (0 bytes)
        #87 'modifier_rune_haste' (0 bytes)
        #88 'npc_dota_lone_druid_bear3' (0 bytes)
        #89 'lone_druid_spirit_bear_entangle' (0 bytes)
        #90 'queenofpain_scream_of_pain' (0 bytes)
        #91 'npc_dota_beastmaster_hawk' (0 bytes)
        #92 'npc_dota_badguys_tower1_mid' (0 bytes)
        #93 'earthshaker_aftershock' (0 bytes)
        #94 'npc_dota_beastmaster_boar' (0 bytes)
        #95 'modifier_beastmaster_boar_poison_effect' (0 bytes)
        #96 'npc_dota_neutral_giant_wolf' (0 bytes)
        #97 'npc_dota_neutral_alpha_wolf' (0 bytes)
        #98 'modifier_rune_regen' (0 bytes)
        #99 'modifier_bounty_hunter_track_effect' (0 bytes)
        #100 'modifier_bounty_hunter_track' (0 bytes)
        #101 'npc_dota_lone_druid_bear4' (0 bytes)
        #102 'npc_dota_neutral_dark_troll' (0 bytes)
        #103 'npc_dota_neutral_dark_troll_warlord' (0 bytes)
        #104 'npc_dota_dark_troll_warlord_skeleton_warrior' (0 bytes)
        #105 'venomancer_poison_nova' (0 bytes)
        #106 'modifier_venomancer_poison_nova' (0 bytes)
        #107 'lich_chain_frost' (0 bytes)
        #108 'modifier_earthshaker_enchant_totem' (0 bytes)
        #109 'npc_dota_neutral_fel_beast' (0 bytes)
        #110 'npc_dota_neutral_ghost' (0 bytes)
        #111 'npc_dota_neutral_black_drake' (0 bytes)
        #112 'beastmaster_primal_roar' (0 bytes)
        #113 'modifier_beastmaster_primal_roar_slow' (0 bytes)
        #114 'queenofpain_sonic_wave' (0 bytes)
        #115 'pudge_dismember' (0 bytes)
        #116 'modifier_pudge_dismember' (0 bytes)
        #117 'item_lifesteal' (0 bytes)
        #118 'npc_dota_neutral_big_thunder_lizard' (0 bytes)
        #119 'npc_dota_neutral_small_thunder_lizard' (0 bytes)
        #120 'npc_dota_greater_hawk' (0 bytes)
        #121 'npc_dota_beastmaster_greater_boar' (0 bytes)
        #122 'npc_dota_goodguys_tower1_top' (0 bytes)
        #123 'npc_dota_venomancer_plague_ward_4' (0 bytes)
        #124 'modifier_item_dustofappearance' (0 bytes)
        #125 'lion_voodoo' (0 bytes)
        #126 'item_mask_of_madness' (0 bytes)
        #127 'modifier_lone_druid_true_form_battle_cry' (0 bytes)
        #128 'modifier_lone_druid_rabid' (0 bytes)
        #129 'npc_dota_neutral_satyr_hellcaller' (0 bytes)
        #130 'satyr_hellcaller_shockwave' (0 bytes)
        #131 'modifier_item_mask_of_madness_berserk' (0 bytes)
        #132 'npc_dota_badguys_tower1_top' (0 bytes)
        #133 'modifier_lone_druid_spirit_bear_entangle_effect' (0 bytes)
        #134 'earthshaker_echo_slam' (0 bytes)
        #135 'npc_dota_badguys_tower2_bot' (0 bytes)
        #136 'item_magic_stick' (0 bytes)
        #137 'modifier_item_mekansm_aura' (0 bytes)
        #138 'npc_dota_courier' (0 bytes)
        #139 'item_mekansm' (0 bytes)
        #140 'modifier_item_mekansm_spell' (0 bytes)
        #141 'npc_dota_neutral_harpy_storm' (0 bytes)
        #142 'npc_dota_neutral_harpy_scout' (0 bytes)
        #143 'npc_dota_neutral_mud_golem' (0 bytes)
        #144 'modifier_pudge_flesh_heap' (0 bytes)
        #145 'npc_dota_badguys_tower2_top' (0 bytes)
        #146 'modifier_rune_doubledamage' (0 bytes)
        #147 'npc_dota_neutral_black_dragon' (0 bytes)
        #148 'modifier_lich_frost_armor' (0 bytes)
        #149 'modifier_item_vladmir_main' (0 bytes)
        #150 'npc_dota_badguys_tower2_mid' (0 bytes)
        #151 'modifier_item_phase_boots_active' (0 bytes)
        #152 'item_vladmir' (0 bytes)
        #153 'npc_dota_badguys_tower3_mid' (0 bytes)
        #154 'bounty_hunter_shuriken_toss' (0 bytes)
        #155 'npc_dota_badguys_tower4' (0 bytes)
        #156 'npc_dota_badguys_fillers' (0 bytes)
        #157 'npc_dota_goodguys_tower2_bot' (0 bytes)
        #158 'npc_dota_badguys_melee_rax_mid' (0 bytes)
        #159 'npc_dota_badguys_range_rax_mid' (0 bytes)
        #160 'item_dagon' (0 bytes)
        #161 'npc_dota_creep_goodguys_melee_upgraded' (0 bytes)
    But the next combat logs,that have combat logs #162, will become at Frame#33352.

    So, my parser cannot find combat logs at Frame#33077.

    How to solve it ?

  4. #94
    Basic Member
    Join Date
    Sep 2011
    Location
    Lille, France
    Posts
    52
    Just take the last CombatLogNames from DEM_FullPacket.CDemoStringTables OR decrypt CSVCMsg_UpdateStringTable message.

  5. #95
    Basic Member
    Join Date
    May 2012
    Posts
    10
    @papa_pointnet

    How do you calculate the hero kill ? from combat log or CHAT_MESSAGE_HERO_KILL ?

  6. #96
    Basic Member
    Join Date
    Sep 2011
    Location
    Lille, France
    Posts
    52
    from CHAT_MESSAGE_HERO_KILL so I don't have to calculate aegis stuff.

    BTW, for dev's, was the combat log change of the patch intentional ? Will it change again ?

  7. #97
    Basic Member
    Join Date
    May 2012
    Posts
    10
    Quote Originally Posted by papa_pointnet View Post
    BTW, for dev's, was the combat log change of the patch intentional ? Will it change again ?
    What does it means ??

  8. #98
    Basic Member
    Join Date
    Sep 2011
    Location
    Lille, France
    Posts
    52
    For example:

    Code:
    ----------------------------------------------------------------------------------------------------
    AnalyzeCombatLog_Summon:
    ----------------------------------------------------------------------------------------------------
    CombatLogInfo: tick(27029)
    ----------------------------------------------------------------------------------------------------
      type:             4
      sourcename:       npc_dota_hero_windrunner
      targetname:       npc_dota_juggernaut_healing_ward
      targetsourcename: npc_dota_juggernaut_healing_ward
      attackername:     npc_dota_hero_windrunner
      inflictorname:    dota_unknown
      attackerillusion: false
      targetillusion:   false
      value:            0
      health:           0
      timestamp:        908,3998
    ----------------------------------------------------------------------------------------------------
    Before patch, targetsourcename was npc_dota_hero_juggernaut. It can have some side effects while trying to dectect if it's a kill or a deny on a creep that as been enchant by enchantress for example.

  9. #99
    Basic Member
    Join Date
    May 2012
    Posts
    10
    Quote Originally Posted by papa_pointnet View Post
    For example:

    Code:
    ----------------------------------------------------------------------------------------------------
    AnalyzeCombatLog_Summon:
    ----------------------------------------------------------------------------------------------------
    CombatLogInfo: tick(27029)
    ----------------------------------------------------------------------------------------------------
      type:             4
      sourcename:       npc_dota_hero_windrunner
      targetname:       npc_dota_juggernaut_healing_ward
      targetsourcename: npc_dota_juggernaut_healing_ward
      attackername:     npc_dota_hero_windrunner
      inflictorname:    dota_unknown
      attackerillusion: false
      targetillusion:   false
      value:            0
      health:           0
      timestamp:        908,3998
    ----------------------------------------------------------------------------------------------------
    Before patch, targetsourcename was npc_dota_hero_juggernaut. It can have some side effects while trying to dectect if it's a kill or a deny on a creep that as been enchant by enchantress for example.
    Yeah, I got it..

    I have some question. How do you calculate the hero assist ?

  10. #100
    Basic Member
    Join Date
    Jun 2012
    Posts
    1
    How to know what item players purchasing? If there is no "EDotaUserMessages" events in parsed dem?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •