DemoPlotter 1.2

The general catch-all forum for Action Quake2 related discussions.

Moderator: Moderators

Post Reply
NRGizeR
feels some chest pain
Posts: 695
Joined: Mon Aug 30, 2004 1:00 am
Location: fi
Contact:

DemoPlotter 1.2

Post by NRGizeR »

OK, finally got the stats done, so here is DemoPlotter 1.2. NOW WITH STATISTICS!! :P

http://www.abo.fi/~cbjorkel/apps/DemoPlotter.zip

and you could check out the manual for version 1.1 at http://www.abo.fi/~cbjorkel/apps/demoplotter.html. I don't have one for 1.2 since they were the same apart from an extra option in Plot type (none) and an extra checkbox that you should tick if you want stats for the demo in question.

for those of you that haven't seen DemoPlotter, you can check out this thread as well: http://forums.aq2world.com/viewtopic.php?t=1418

Let me know if you find any bugs/other weird stuff so that I can (hopefully) fix them. I think I'll try to add more stats if I find a good way to parse the hit/kill/death messages...

-NRG
NRGizeR
feels some chest pain
Posts: 695
Joined: Mon Aug 30, 2004 1:00 am
Location: fi
Contact:

Post by NRGizeR »

:mrgreen: seems like I broke something when rendering only the map... but I'll fix it soon :) still works good if you have selected a demo, and chosen plot type none if you don't want the demo lines in the map shot.

-NRG
Den
something dur dur
Posts: 2616
Joined: Fri Jul 25, 2003 8:56 am
Location: nl
Contact:

Post by Den »

nice job :)
There's a chopper coming in 3 days and there's a katana on top of the cafe and that's all you need to know
Image
aztecx
sank like a rock
Posts: 110
Joined: Thu Sep 16, 2004 9:50 pm
Location: au

Post by aztecx »

ok i had a look at it. Just wondering what can i use it for.
NRGizeR
feels some chest pain
Posts: 695
Joined: Mon Aug 30, 2004 1:00 am
Location: fi
Contact:

Post by NRGizeR »

OK, I've fixed the bug now I think, just redownload the .zip file to get the fixed version.
aztecx wrote:ok i had a look at it. Just wondering what can i use it for.
You can render maps from a birds perspective, and you can render demos ontop of that, to see how you move on the map, where you got your kills, and where you camp :) In this version you can also get a stats summary for the demo. E.g. how many kills you got in the demo, how far you moved, how long the demo is, etc. Just try it :)
NRGizeR
feels some chest pain
Posts: 695
Joined: Mon Aug 30, 2004 1:00 am
Location: fi
Contact:

Post by NRGizeR »

<shameless bump> \o/ </shameless bump>
Haudrauf
tripped on its own grenade
Posts: 331
Joined: Tue Aug 26, 2003 11:20 am
Location: de
Contact:

Post by Haudrauf »

Some things..

Isn't it possible to read out the map that the .dm2 refers to?
So I wouldn't always have to chose the .bsp myself. I would only point it to the maps-directory.

Then.. allow only demos of same maps :)
Check demo-protocol version, if version 34 then allow it.
If 35 .. either implement r1q2 demo reading too (all documented) or say: "nope guy, this demo doesn't work for me".

And.. for the file-choser, pls remember the last directory used and start off there for the next chosing-process.

I tried plotting a demo I recorded serverside. I can't tell you if the protocol version was 35 or 34 then. I assume 34.. It didn't work out though. I can send you the demo to test.
ImageOwner of http://aq2maps.quadaver.org
Not part of #aq2admins for a reason.
NRGizeR
feels some chest pain
Posts: 695
Joined: Mon Aug 30, 2004 1:00 am
Location: fi
Contact:

Post by NRGizeR »

To be honest I'm a bit "out of the loop" at moment since it's been a while since I actually did some coding on the demo parsing part of the program. Logic would still tell me that it should be possible to load the .bsp from the info in the .dm2 (since q2 does that) it shouldn't allow demos from different maps. it it does, that's probably a bug. I've been checking for the map message (the message printed when you load the map) and/or (can't remember for sure) the same bsp name to be the same for demos loaded, but in the event that these two are the same, it could allow the demos to be plotted although they are different maps. This because I couldn't be arsed to write a md5 checksum calculator just to check this, when it at least in principal shouldn't really be needed.

Did you actually get a render of the server side map? that is... did it try to render it and failed? The server side demo has a totally different structure so I just can't parse this with the code I've got atm, and DemoPlotter should say that it can't render the demo if it gets a server side demo.

for the file chooser... I still don't know if I can do anything about that. This is a platform specific extension of java, and I'm very limited as to what I can do with it, I more or less ask for a file and this returns it to me. That's about it.

In what way is a r1q2 demo different? I would imagine that there wouldn't be many changes, and it could be that DemoPlotter could render it the way it is now as well (since I don't use anywhere near all the info in the demo)...

Thanks for the comments :)
-NRG
Da^JuaN
was picked off
Posts: 1163
Joined: Sun Jul 27, 2003 1:30 pm
Location: nl
Contact:

Post by Da^JuaN »

I tried to make it from my demos i made from the aq2w cw from last sunday, but simplicity demo just goes fine, but on the cliff2 demo i get the error: "Bad message: Demo Damaged"
I did nothing else than i do to other demos, the only thing i can imagine, i stopped the demo in map 2 (=simplicity), thats the reason why my demo is "damaged"?
Image
NRGizeR
feels some chest pain
Posts: 695
Joined: Mon Aug 30, 2004 1:00 am
Location: fi
Contact:

Post by NRGizeR »

You will get the "demo damaged" message when demoplotter finds the ID code 0x00 for a block (or was it 0x01?) anyway... it's a ID that shouldn't exist in a demo. So either (most proably) I've parsed something wrong in that demo, the demo is actually damaged in some way, or you're using some client that actually uses this ID for something... but as I said, probably a bug... I'd appreciate it if you'd like to send me the demo so that I can look into it.

-NRG
Post Reply