hi,
i want to make a online demo file parser, to save into a siteweb the party, make players classement, statistiques of party, graph like the end of the game ...
i have looked to source code, i have see DemoFileHeader structure, but its just header. I want to extract event from demo file, like :
player 1 make unitid
player 2 kill unitid of player 3 ...
i have no idea how to process and how to look to understand data after the DemoFileHeader structure.
----------------------------------------------------------
before making choise of demo file, i have think to make an lua who write data on local computer, awstat under WOWarcraft, but data is always on the demo file, and this lua lags the system.
extrating statistique from demo file
Moderator: Moderators
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: extrating statistique from demo file
Such stuff isn't stored in the demo.
- CarRepairer
- Cursed Zero-K Developer
- Posts: 3359
- Joined: 07 Nov 2007, 21:48
Re: extrating statistique from demo file
Already done. This gadget gathers stats and messages them to Springie autohost bots: http://trac.caspring.org/browser/trunk/ ... _stats.luammaura66 wrote:before making choise of demo file, i have think to make an lua who write data on local computer, awstat under WOWarcraft, but data is always on the demo file, and this lua lags the system.
Stats were displayed in this page: http://planet-wars.eu/ModStats/
However it's currently broken so the page is removed. It's been down for a few months.
Here's the forum post: http://springrts.com/phpbb/viewtopic.ph ... 20#p342620
Example screenshot from when it was up: http://img695.imageshack.us/img695/8418 ... 132425.png
Feel free to join the project and see if you can help. Contact Licho or det.
Last edited by CarRepairer on 27 Feb 2010, 22:41, edited 1 time in total.
- very_bad_soldier
- Posts: 1397
- Joined: 20 Feb 2007, 01:10
Re: extrating statistique from demo file
Wow. Quite awesome possibilities.CarRepairer wrote: Already done.
Re: extrating statistique from demo file
thank you CarRepairer.
i think i will take contact to help on php side if possible.
i think i will take contact to help on php side if possible.
- CarRepairer
- Cursed Zero-K Developer
- Posts: 3359
- Joined: 07 Nov 2007, 21:48
Re: extrating statistique from demo file
I wish it was in php, Licho made it using aspx.mmaura66 wrote:thank you CarRepairer.
i think i will take contact to help on php side if possible.
Re: extrating statistique from demo file
yes but the goal was not the same, Licho make cost metal stats, i want to make player classement.
My acualy pb its i can t play CA (there are not lot of party, and i m not At ease with the energy/metal system) and if i put the gadget into BA i was unsync, i must found a way to use gadget without be unsync
My acualy pb its i can t play CA (there are not lot of party, and i m not At ease with the energy/metal system) and if i put the gadget into BA i was unsync, i must found a way to use gadget without be unsync