ensiform Posted March 24, 2014 Posted March 24, 2014 We've added a record feature to the server which literally records a demo for specified client or (all non-bots). Which means you get a demo from that clients perspective which is basically identical to the one they would generate locally with /record except you don't have to rely on them providing it. CMDS:/svrecord <filename> (optional client index) only works if auto demos are off./svstoprecord (optional client index) USE WITH CAUTION: (Need lots of storage and probably upload to keep them off the main server itself)CVARS:sv_autoDemo - 0/1 Toggle (default off) auto demo recording of human players.sv_autoDemoBots - 0/1 If above is turned on, also record botssv_autoDemoMaxMaps - Adjust how many maps, demos will be kept (default 0, probably should set if turning auto record on) Credits to teh 1337 h643 likes this
eezstreet Posted March 24, 2014 Posted March 24, 2014 I assume that it doesn't require g_synchronousClients, as it generates the demos for you, as opposed to requiring clients be totally precise in ent/player state, rather than predicting things? How does this hold up in legacy scenarios, such as MB2, and situations where data can be slightly incorrect (or possibly more correct), like Lugormod/Makermod where you don't need a client? How does it handle differences in fs_game? How does it handle mods such as JA+, JA++ and OJP that have optional client-side components? If I were to watch a demo in these mods, would it only work if I had the client? Or would the clientside not be necessary? Or would it crash? I assume there's no chance for malicious demos? Is OpenJK required to watch serverside demos? Going back from the synchronous clients thing...what happens with spectator following if you don't have synchronus clients? Is PVS ignored on serverside/synchronous demos? (not too familiar with demos) Onysfx likes this
ensiform Posted March 24, 2014 Author Posted March 24, 2014 It generates a demo exactly how a client would. And can only be played on a client.
Morabis Posted May 4, 2014 Posted May 4, 2014 Who can use these record commands? Do you need to be and admin or does it work with rcon?
ensiform Posted May 4, 2014 Author Posted May 4, 2014 The server of course. On the server or via rcon.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now