[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4787: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4790: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
InsideQC Forums • View topic - server-side netquake demo recording

server-side netquake demo recording

Discuss programming topics for the various GPL'd game engine sources.

Moderator: InsideQC Admins

server-side netquake demo recording

Postby Spirit » Fri Sep 28, 2012 5:03 pm

Playing some coop the other day I realised that it would be great to have server-side demo recording. I know QW has that for ages (MVD). Is there any netquake server that supports it? Perfect would be recording of all entities of course.
Improve Quaddicted, send me a pull request: https://github.com/SpiritQuaddicted/Quaddicted-reviews
Spirit
 
Posts: 1037
Joined: Sat Nov 20, 2004 9:00 pm

Re: server-side netquake demo recording

Postby Spike » Fri Sep 28, 2012 6:08 pm

use fte as an nq server and record an mvd?

nq demos are strictly from one perspective, as are regular qw demos, so if you record everything you do need a different format. ie: mvd.

I think DP servers can record demos, but only separately from each player's perspective (strictly one demo per player). More of a cheat inspection than anything else.
.
Spike
 
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Re: server-side netquake demo recording

Postby Spirit » Fri Sep 28, 2012 11:13 pm

Improve Quaddicted, send me a pull request: https://github.com/SpiritQuaddicted/Quaddicted-reviews
Spirit
 
Posts: 1037
Joined: Sat Nov 20, 2004 9:00 pm

Re: server-side netquake demo recording

Postby Spike » Sat Sep 29, 2012 1:16 am

you can convert mvd to dem by using an fteqtv proxy to play the mvd with an nq client.
but I believe that needs some fixes before its 100%.
you'll likely also need an nq client that can record a network game, as I'm not sure that's a vanilla feature. And you'll need to sit with it to change view points in real-time (ie: no fast forward).
if really needed, I could also theoretically add a mode to directly convert an mvd to dem/qwd files as a commandline tool mode of the qtv program, but not sure if that's useful to anyone other than yourself.

fte will act as an nq server by default, but on port 27500 (sv_port 26000 to change that).
it'll use qw physics by default (sv_nomsec 1 to change that).
then the only other difference is the initial message on map changes.
hopefully.
if you do have issues, be sure to point them out, so I can fix them even if you find a different server.
.
Spike
 
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Re: server-side netquake demo recording

Postby leileilol » Sat Sep 29, 2012 4:08 am

leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Re: server-side netquake demo recording

Postby Spirit » Sat Sep 29, 2012 4:50 pm

cheers!

How to I set the server to protocol 666? sv_protocol does not exist, most engines use that. Searched the wiki without success. In the source I found SCP_FITZ666 but i have no idea about enabling it.
Improve Quaddicted, send me a pull request: https://github.com/SpiritQuaddicted/Quaddicted-reviews
Spirit
 
Posts: 1037
Joined: Sat Nov 20, 2004 9:00 pm

Re: server-side netquake demo recording

Postby Spike » Sat Sep 29, 2012 7:21 pm

you can't
sv_bigcoords 1 will use 999 though, for nq clients. :s

sv_user.c SVNQ_New_f, after the line 'SV_LogPlayer(host_client, "new (NQ)");' you can change the following if to 'if (1)', and it'll force all nq clients to 666.
It really needs some way to detect if its supported in the client. :s
.
Spike
 
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Re: server-side netquake demo recording

Postby Spike » Sun Sep 30, 2012 6:05 am

On IRC, you (spirit) reported a few issues with a certain map+mod.
I have:
Fixed a bug that caused QW clients to disconnect (svc_updatestat preparse bug).
Fixed a limit breaking issue with node->firstsurface sign extension resulting in client crashes.
Increased max datagram size for fte+666 clients.
Increased default entity limit cvar value to 8192 (this cvar is capped to 32k).
Added an sv_protocol_nq cvar that allows forcing protocol 666 for nq clients.

Remaining issues:
QW-protocol clients are still limited to 512/2048 ents max, depending on extensions. Entities with an index higher than this will still be invisible. You can work around this with 'cl_loopbackprotocol nq', or by setting 'debug_pext_replacementdeltas 1' on both the client and server.
Sadly this will also affect any recorded mvd demos, so I guess I need to finalise pext_replacementdeltas sooner rather than later (and add support to qtv's playback, if you want to convert to .dem).
.
Spike
 
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK


Return to Engine Programming

Who is online

Users browsing this forum: No registered users and 2 guests