thankyou
Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here

NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

Author Topic: server-side demo [UrT]  (Read 5744 times)

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
server-side demo [UrT]
« on: May 23, 2012, 12:19:24 AM »

This is the support topic for the plugin urtserversidedemo.

If you have difficulties installing/configuring/using the plugin, this is the place to ask for help. Just make sure you read the readme file before making any request.

Download
« Last Edit: November 21, 2012, 11:18:59 PM by Courgette »

Offline WickedShell

  • Sr. Member
  • ****
  • Posts: 201
    • GitHub - WickedShell
Re: server-side demo [UrT]
« Reply #1 on: May 30, 2012, 02:23:45 AM »
Can we get state tracking and destination tracking that other plug ins can access?

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: server-side demo [UrT]
« Reply #2 on: May 30, 2012, 07:24:45 AM »
state tracking: a rcon command for that would be useful

destination tracking ? the destination directory is in fs_base/serverdemo if I'm not mistaken

Offline WickedShell

  • Sr. Member
  • ****
  • Posts: 201
    • GitHub - WickedShell
Re: server-side demo [UrT]
« Reply #3 on: June 04, 2012, 11:27:39 PM »
Sorry, should have been more clear.

The demos get recorded to a location serverdemos/YYY-MM-DD-Name.dm_68 (Or something to that effect, I forgot what the exact formatting rules are), but it's impossible to predict an exact filename to link to the demos with from the outside as the current time in milliseconds ends up in the demo name.

So what I was looking for was a way for a different plugin to query the server side demo plugin to determine if the player in slot 4 currently had a demo being recorded and if so what the path to the demo is. If that makes sense?

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: server-side demo [UrT]
« Reply #4 on: June 05, 2012, 01:08:19 AM »
that would make sense but relying on B3 solely to track the 'under demo' state is not reliable. One with the rcon password could issue the "/rcon stopserverdemo all" and B3 would not be aware of that.

It is the same issue as for the mute command.

For current state of the game server I would not put too much effort in trying to go around game server 'lack of features'. I will wait for UrT 4.2 and its autoupdater. Then I have hopes that FS will be reactive in distributing frequent 4.2 patches through the autoupdater. One of these updates will have to be for demo state tracking :)

As for predicting the name of the demo : you don't need to predict it as the startserverdemo gives it to you.

I chose to put current server demo stuf in a plugin (as opposed to in the iourt41parser code) as these features aren't on most servers and are very young (bug prone also by definition).
With 4.2, I plan to add new B3 events specific to UrT and server side demos. Hopefully will have events for demo start and stop.

Offline Fenix

  • Dev. Team
  • Hero Member
  • *
  • Posts: 997
    • GitHub
Re: server-side demo [UrT]
« Reply #5 on: June 05, 2012, 01:25:01 AM »
Actually in the server binary I'm running I have an rcon command that display the recording status for the specified player. Is not that hard to build because in the client_t struct of the server binary there is a boolean variable 'isRecording'. The original patch by ALPHA clan has just 2 commands 'startserverdemo' and 'stopserverdemo'. I think that If we will notice that to FS members they can provide such command in UrT 4.2. As far as I have seen FS team trust a lot in b3 and other management software since the one which come inside UrT is really poor and lack of a lot of features.

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: server-side demo [UrT]
« Reply #6 on: June 05, 2012, 01:32:18 AM »
I'm confident we'll have these soon enough. I'm just worried that the few developers from FS pushing the 4.2 project up might get overwhelmed with the UrT French LAN date approaching.
I'd rather wait for this event to be passed and putting pressure on them to include too much cool stuff in the last weeks before release.
With the public announcement, they got their thread on the official forum spammed with features ideas. I just hope they hold to their original feature set for the Fr LAN deadline and do net get discouraged by lack of sleep.

As I said, there will be an autoupdater, so there is no reason to put too much new stuff right now.

Offline WickedShell

  • Sr. Member
  • ****
  • Posts: 201
    • GitHub - WickedShell
Re: server-side demo [UrT]
« Reply #7 on: June 06, 2012, 04:35:31 AM »
@Courgette: fair point about stop all, and missing things.

|ALPHA| has a lot of cool patches, but most of them tend to need a little polishing, but they always seem to get the core job done.

With regards to recent server updates, I'm worried that patches are just being included without being checked/cleaned up. (Some werrrid code has made it in with that server side demo stuff, as well as some todo's that have things to go check to ensure they work right that is well documented in the engine)

That said, I'm happy to see any maintenance done on the servers, and 4.2 at all so I'm overall quite happy to see any news about 4.2 :)

Offline Leito

  • Beta Testers
  • Full Member
  • *
  • Posts: 107
Re: server-side demo [UrT]
« Reply #8 on: June 10, 2012, 11:27:36 PM »
I wrote a similar plugin for this feature in UrT. It lets you demo players and specify demo lengths and such. I'm glad someone's writing a nice, more proper one.

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: server-side demo [UrT]
« Reply #9 on: June 11, 2012, 09:59:45 AM »
nice :) please share your plugin as it may have features useful to people that this one does not have

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: server-side demo [UrT]
« Reply #10 on: October 08, 2012, 02:37:13 AM »
v2.0 released

  • when trying to start a demo on a player which is not fully connected, will wait and retry when the player joins
  • can detect the HaxBusterUrt plugin and auto-start demo for player suspected of cheating
  • support both demo file extensions : dm_68 and urtdemo

« Last Edit: October 10, 2012, 02:12:48 AM by Courgette »

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: server-side demo [UrT]
« Reply #11 on: October 10, 2012, 02:12:29 AM »
v2.1 released

  • can detect the Follow plugin and auto-start demo for any player found in the follow list

 


Rate this page +1 at Google Search

anything