Dota Parser
CDP – CTS Dota Parser
Dota 6.74 Map data: (download) (CDP 1.4.4 ships with 6.73 data)
Update 1.4.4 (6.1.2012) : 6.73 data and images
Update 1.4.3 (14.5.2011) : 6.71 & 6.72 data and images
Update 1.4.2 (26.12.2010) : 6.70 data and images
Update 1.4.1 (11.11.2010) : 6.69 data and images
Update 1.4 (16.8.2010) : 6.68, Switch & Debugging
Update 1.3.1 (1.4.2010) : 6.67 and 6.66 data and images
Update 1.3 (7.1.2010) : 6.65, SP & Debugging
Update 1.2.2 (27.10.2009) : Debugging skilling & 6.64
Update 1.2.1 (8.10.2009) : Handling morphers
Update 1.2 (5.10.2009) : Hero – Player – Skill handling
Update 1.1.3 (10.9.2009) : Ban / Pick duplication bug.
Update 1.1.2 (7.7.2009) : 64 Bit memory / 6.61
Update 1.1.1 (19.6.2009) : Decompression tweak.
Update 1.1 (12.6.2009) : Added 6.60 support.
Discussion at Play Dota Forums.
Download: CDP Latest (Zipped / 1.4.4)
Sample: Sample Parsed Replay
Patches
Patch 1.1.1 to 1.1.2
Patch 1.1.2 to 1.1.3
Patch 1.1.3 to 1.2
Patch 1.2 to 1.2.1 ( 16 kb )
Patch 1.2.1 to 1.2.2 ( 74 kb )
Patch 1.2.2 to 1.3 ( 469 kb )
Patch 1.3 to 1.3.1 ( 195 kb )
Patch 1.3 to 1.4 ( 274 kb )
Patch 1.4 to 1.4.1 ( 182 kb )
Patch 1.4.1 to 1.4.2 ( 407 kb )
Patch 1.4.2 to 1.4.3 ( 116 kb )
Patch 1.4.3 to 1.4.4 ( 263 kb )
About
CDP CTS Dota Parser is an open source Dota Replay parser written in PHP,
meant to be used with WC3 DoTA replays of version 6.59 and higher.
Quick Feature List
- Supports CM mode and properly lists bans and picks
- Supports swapping
- Supports switching
- Supports shuffle player mode
- Displays end game statistics that include
- Hero Kills / Deaths / Assists
- Creep Kills / Denies
- Neutrals killed
– End game gold
- End game Inventory
- POTM Arrow Accuracy
- Pudge Hook Accuracy - Tries to automatically determine the winning side
- Categorizes player’s actions and calculates his APM excluding picking time.
- Generates time ordered lists of player’s obtained items and learned skills.
- Displays colored chat
- XML database of Items, Skills and Heroes.
- Easy storing and restoring of parsed replay data with php serialization
Installation
- Extract the files.
- Ensure the structure is as follows:
- Make sure the ./replays folder is writable.
./*.php *.css - All the php / css files
./maps/*.xml - All the XML data files
./images - All the icons
./replays - Folder for storing replays and replay info
Usage
Use the ./upload_reply.php file to upload replays or
write your own interface, using the included
upload_replay.php file as a guide.
All the replays are parsed upon the first view and a
serialized representation of the replay is stored as
a REPLAY_ID.txt file. Upon further viewing the replay
data is only obtained from the serialized object.
All the replays are saved as unix_timestamp.w3g files
while conserving their original name in the $replay->extra
variable, making it possible to let the user download
the replay with the uploader’s original filename.
Credits
- Julas – Original wc3 php parser
- rush4hire – Dota port of Jula’s parser
- esby – 6.56 XML Structure / Data
- Tedi Rachmadi – Reshine
Old versions:
- CDP 1.4.3 (Zipped / 1.4.3)
- CDP 1.4.2 (Zipped / 1.4.2)
- CDP 1.4.1 (Zipped / 1.4.1)
- CDP 1.4 (Zipped / 1.4)
- CDP 1.3.1 (Zipped / 1.3.1)
- CDP 1.3 (Zipped / 1.3)
- CDP 1.2.2 (Zipped / 1.2.2)
- CDP 1.2.1 (Zipped / 1.2.1)
- CDP 1.2 (Zipped / 1.2)
- CDP 1.1.3 (Zipped / 1.1.3)
- CDP 1.1.2 (Zipped / 1.1.2)
- CDP 1.1.1 (Zipped / 1.1.1)
- CDP 1.1 (Zipped / 1.1)
- CDP 1.0 (Zipped / 1.0)
Changelog:
- 1.4.4 – 6.1.2012
-
Features:
- Added 6.73 data and images.
-
Features:
- 1.4.3 – 14.5.2011
-
Features:
- Added 6.71 & 6.72 data and images.
-
Features:
- 1.4.2 – 26.12.2010
-
Features:
- Added 6.70 data and images.
-
Features:
- 1.4.1 – 10.11.2010
-
Features:
- Added 6.69c data and images.
-
Features:
- 1.4 – 16.8.2010
-
Features:
- 6.68 images / map data
- Handles new CM mode 3/2 split
- Added support for Switch
- Added an AUTO mode for determening the winner, check
view_replay.php and upload_replay.php to get the idea
on how to implement it. It works most of the time, only
fails when the saver leaves unexpectedly or prematurely. - Added POTM Arrow Accuracy data (see “Show more” in a replay with potm)
- Added Pudge Hook Accuracy data (see “Show more” in a replay with pudge)
- Added Player Leaving information (see “Show more” in a replay)
-
Various:
- Tweaked leveling and skill level accuracy for duplicated actions non-owned stats skilling.
-
Bugs:
- Fixed a bug with skilling non-owned or SP mode owned morphing heroes (ie. Batrider, KOTL)
- Fixed certain wrong skill IDs in 6.67, 6.68 XML files for Panda, Tiny, Leoric, Gorgon, Lanaya, Ursa, Enigma and Doom Bringer
- Some other minor bugs.
-
Features:
- 1.3.1 – 1.4.2010
-
Features:
- Added 6.67c and 6.66 data and images.
-
Features:
- 1.3 – 7.1.2010
-
Features:
- 6.65 images / map data.
- Now properly remaps names in SP mode.
-
Various:
- Added some base code for handling various drafting modes such as CD and CM, but not finished yet due to 6.65′s buggy replay data serving.
-
Bugs:
- Fixed an issue with SD mode picks before 15sec.
- Changed all “Batrider (firefly)” names to “Batrider” in 6.60 to 6.65 xml files.
- Changed all “Flesh Golem” names to “Undying” in 6.59 to 6.65 xml files.
- Fixed an issue with failed handling of random hero picks in CM mode.
-
Features:
- 1.2.2 – 27.10.2009
-
Bugs:
- Added delayed skilling for handling first skills.
- Fixed an error caused by 6.64 & skills.
-
Bugs:
- 1.2.1 – 8.10.2009
-
Bugs:
- Fixed a problem with ‘morphing’ heroes.
-
Bugs:
- 1.2 – 6.10.2009
-
Features:
- 6.63 images / map data.
-
Various:
- Recoded the way Hero – Player – Skills are related.
-
Bugs:
- Fixed various skill assignment bugs.
-
Features:
- 1.1.3 – 10.9.2009
-
Bugs:
- Fixed an issue with duplicated ban / pick packets.
-
Bugs:
- 1.1.2 – 7.7.2009
-
Features:
- The script now tries to detect the map version and uses the appropriate .xml file from the maps/ folder.
- Added some config options to tools.php regarding version handling
- 6.61 – Weaver’s remade ability
-
Various:
- Disabled download logging by default. (Channged LOG_DOWNLOADS to false in download.php)
-
Cosmetics:
- Unified player colors.
-
Bugs:
- Increased memory_limit to work with 64 bit *nix systems.
- Added some extra level 25 limit detection.
-
Features:
- 1.1.1 – 19.6.2009
-
Bugs:
- Tweaked zlib decompressing to allow parsing of modified replays
-
Bugs:
- 1.1 – 12.6.2009
-
Features:
- Added 6.60 XML data to the /maps folder
-
Various:
- Tweaked the JS / HTML display
-
Bugs:
- Proper parsing for Batrider’s two hero ID internals
- Fixed Invoker leveling / skills
- Fixed XML Parser oddities
-
Features:
- 1.0 – 27.2.2009
- Clean up
Vow! So how does the integration work with phpbb3 and other forum softwares ?is there any support/help/guide for that?
Seems promising