Improved demo-control possible?

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators

Postby KadaverJack » Mon Sep 03, 2007 9:34 pm

kyre wrote:I'm not so sure it would be that slow - the main cost in demo playback is the rendering, skip that and you can get at least a thousand frames/s (watch out for clock precision though, step a fixed time slice between each frame).

But unless you use timedemo, the engine will also skip frames with slowmo if the hardware isn't fast enough...
KadaverJack
Site admin and forum addon
 
Posts: 1102
Joined: Tue Feb 28, 2006 9:42 pm

Postby tChr » Tue Sep 04, 2007 9:04 am

i want server side demo recording
the spice extend life!
the spice expand conciousness!
the spice is vital to space travel!
sooooo.. tell me what you want, waht you really-really want
I will proceed directly to the intravenous injection of hard drugs, please.
tChr
Forum addon
 
Posts: 1501
Joined: Tue Feb 28, 2006 9:11 pm
Location: Trondheim, Norway

Postby divVerent » Tue Sep 04, 2007 9:57 am

Me too, and I think I'll write it some time. It won't work completely though, that is, it will have lower quality than a client recorded demo, but it will be good enough for ladder purposes.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby Psychcf » Tue Sep 04, 2007 1:36 pm

I was discussing with doku a while back about a web-based nexuiz server frontend that would intergrate with the ladders, blah blah blah. Anyway I was thinking maybe I could just capture all the packets and throw them in a file, but I suppose that won't work... Anyway I'd really like server side demo recording in 2.4

also, can we get a better stat logging format? xml maybe? json?
Psychcf
Forum addon
 
Posts: 1554
Joined: Sun Dec 03, 2006 11:38 pm
Location: NY, USA

Postby divVerent » Tue Sep 04, 2007 6:12 pm

It's working in my current code now... that is, ALMOST working :P

Only stupid thing is that the file names can just get the IP address in their names, not the player name.


And what is the problem with the current log output? No, certainly no XML. If there is no information missing, you should be able to convert from sv_eventlog to anything else.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby Gut_Eater » Wed Sep 05, 2007 12:22 pm

kyre wrote:One approach that shouldn't be that difficult to implement is to fast forward from the start really fast by not rendering anything, until one reaches the desired point backwards from the current position.

No backwards time travelling required...


So is it doable? And will it be done?
Gut_Eater
Alien
 
Posts: 116
Joined: Fri Apr 07, 2006 1:46 pm
Location: Germany, NRW

Previous

Return to Nexuiz - Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron