SpunkyBot / spunkybot

Multi-platform administration and RCON tool for Urban Terror
https://spunkybot.de
MIT License
20 stars 24 forks source link

Feature Request: Add support for recording serverside demos #127

Closed ge0rdie closed 2 years ago

ge0rdie commented 2 years ago

Hi AK,

Another feature request for you :-)

Summary Add support for recording demos on the server:

Rcon commands are: /rcon startserverdemo [Player Name|Player ID|All] /rcon stopserverdemo [Player Name|Player ID|All]

Available to all admin and mod levels

Motivation When recording client side demos, there can be significant lag so that the player being spec'd is getting hits when cross hairs are not on target. Hopefully server side demos will address this.

Additional context

Feature is described here: https://www.urbanterror.info/forums/topic/28657-server-side-demo-recording/

Suggest command: !startdemo [Player Name|Player ID|All] !stopdemo [Player Name|Player ID|All]

thanks --ge0rdie

alexanderkress commented 2 years ago

this feature would only work for special UrT build binaries, correct? and where are the records stored? none of the admins or mods would be able to access this file... with your provided commands the implementation should be not too difficult, correct?

ge0rdie commented 2 years ago

Hi,

I believe it should work fine on the standard binary, mine seems to work OK.

By default, the demos are stored on the server under .q3a/q3ut4/serverdemos of whatever user is running the server process.

I have set up an Apache server to allow admins to download any demos they make, quite handy for sharing them too :-) Unfortunately, only I can do it because it currently requires rcon access (don't want to hand THAT out)

Another great benefit is that you can create a demo of another player while you remain playing in the game yourself.

Implementation should be quite simple as the command just needs to be recognized and passed through to rcon.

--ge0rdie

On Wed, Dec 22, 2021 at 3:45 AM Alexander Kress @.***> wrote:

this feature would only work for special UrT build binaries, correct? and where are the records stored? none of the admins or mods would be able to access this file... with your provided commands the implementation should be not too difficult, correct?

— Reply to this email directly, view it on GitHub https://github.com/SpunkyBot/spunkybot/issues/127#issuecomment-998974612, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJV5CEU2SK23BW2UU3WHYM3USC4LPANCNFSM5KNB27HA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>