ShadowFlare's Realm
http://sfsrealm.hopto.org/cgi-bin/yabb2/YaBB.pl
ShadowFlare's Realm Forums >> Program Development >> new actions found in wc3 ft replay
http://sfsrealm.hopto.org/cgi-bin/yabb2/YaBB.pl?num=1168624379

Message started by esby on Jan 12th, 2007, 4:52pm

Title: new actions found in wc3 ft replay
Post by esby on Jan 12th, 2007, 4:52pm

I found two new actions in the replays of DotA AllStars 6.39 and 6.39b.

This happends at the end of the game and is probably triggered. It basically allow to retrieve various calculated data from the replay.


Code:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
0x6B - Unknown                               [ n bytes ] [APM-]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
n byte  - unknown1 null terminated string - On the observed replay it seems to be always the same: A trigger name or identifier? -
n byte  - unknown2 null terminated string - Player slot as a string. This info can and will be overridden by action 0x70 in replay of dota 6.39b and 6.39.
n byte  - unknown3 null terminated string - stat identifier (so far "1" : kills - "2" : deaths - "3" : creepkills -  "4" : kills - creepdenies)
1 dword - statValue - stat value associated to each identifier category.

Notes:
 o Observed in dota replay version 6.39 - at end of the game.  
 o unknown1 is always "dr.x" each time so far.
 o unknown2 value is correct starting to dota 6.40 version. For 6.39 and 6.39b, action 0x70 will override this value.
 o if you parse a dota replay (>=6.39), you'll see blocks of 8 actions (0x6B) denoting associated stats to a given player slot,
 then you'll see 4 actions (0x70) corresponding to the last 4 previous actions(0x6B) and overriding the associated player Slot.
 o starting dota 6.44, unknown3 will hold a 'winner' block and the action 0x70 will not be used anymore.
 in this case, the dword contains a value that designate the winning team, 1=sentinel, 2=scourge.
 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
0x70 - Unknown                               [ n bytes ] [APM-]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
n byte  - unknown1 null terminated string - seems to be "dr.x" each time so far. See action 0x6B anyway.
n byte  - unknown2 null terminated string
n byte  - unknown3 null terminated string

Notes:
 o Observed in dota replay version 6.39 and 6.39b - at end of the game. Not used anymore starting in 6.44.
 o See action 0x6B the unknown* of 0x6B match the unknown* of this action.
 o This action was used to determine the winner side based on unknown3 value 1=sentinel , 2=scourge.

source

esby

ShadowFlare's Realm » Powered by YaBB 2.2.1!
YaBB © 2000-2008. All Rights Reserved.