Hi there,

I made a patch to record server-side demos, and I propose that it is added
to the ioquake3 page listing third-party patches:

http://ioquake3.org/extras/patches/

Initially it was made for OpenArena, but later it was ported to
OpenArena+ioquake3.

I have used this patch successfully for a whole year on my game servers
running OpenArena, so it seems pretty stable (apart from a flaw which
prevent replaying demos on maps with mover objects).

The patch has been designed as an external module, so all the core code is
implemented inside the following files:

/code/server/sv_demo.c
/code/server/sv_demo_ext.c

A few hooks have to be added to some of the main ioquake3 core files, but
they were kept to a minimum to ease portability.

A few technical notes: this patch is completely server-side, meaning this
is NOT a game engine mod, thus you only have to replace your server's
binary executable, and the server-side demos can be recorded for any mod.

The sourcecode (opensource of course) and more infos are available at the
following repo:
https://github.com/lrq3000/openarena_engine_serversidedemos/

I am also open to feedback so feel free to tell me your experience if you
try this patch.

Stephen Larroque
_______________________________________________
ioquake3 mailing list
ioquake3@lists.ioquake.org
http://lists.ioquake.org/listinfo.cgi/ioquake3-ioquake.org
By sending this message I agree to love ioquake3 and libsdl.

Reply via email to