Raised This Month: $32 Target: $400
 8% 

Automatic demo recording v1.6.4 (steambans support added)


Post New Thread Reply   
 
Thread Tools Display Modes
zeroibis
Veteran Member
Join Date: Jun 2007
Old 07-31-2009 , 14:31   Re: Automatic demo recording v1.4
Reply With Quote #11

I will try to test it this weekend, also it may be wise to delay the sb_status by a few seconds (maybe like 10-20) so that there is time to ensure that the steamid is not pending. (just in case)
__________________
zeroibis is offline
Timiditas
Senior Member
Join Date: Apr 2009
Old 07-31-2009 , 14:42   Re: Automatic demo recording v1.4
Reply With Quote #12

Oh yeah, I didn't think of that. Maybe you want to wait a few minutes and test it with the delay incorporated`?

~

Now this is strange.
autodemo_list.txt is bloated up to 43MB and filled with crap!
This can make your server not respond or crash.
File renaming does not work on a windows source dedicated server. Don't know why. (solved)
__________________


Last edited by Timiditas; 08-03-2009 at 13:26.
Timiditas is offline
Timiditas
Senior Member
Join Date: Apr 2009
Old 08-02-2009 , 13:04   Re: Automatic demo recording v1.5
Reply With Quote #13

File updated to 1.5. If anyone is using pre-1.5 plugin, update IMMEDIATELY and delete the file
addons\sourcemod\data\autodemo_list.txt
Thanks.

I must have been blind, however I found a function in the sourcemod api reference, that can return the size of a file. So limiting the filesize for all demos will be in v1.6

~

STATUS (AND SB_STATUS ?) DOES NOT GET RECORDED BY SOURCETV (engine limitation)!
See beginning of first posting in this thread.
sb_status support removed, status replaced by logging
__________________


Last edited by Timiditas; 08-02-2009 at 21:10.
Timiditas is offline
Timiditas
Senior Member
Join Date: Apr 2009
Old 08-06-2009 , 07:05   Re: Automatic demo recording v1.5
Reply With Quote #14

I still see servers around that use pre-1.5 version plugin. You MUST update if you don't want your server to become unstable!

Quote:
Originally Posted by Timiditas View Post
File updated to 1.5. If anyone is using pre-1.5 plugin, update IMMEDIATELY and delete the file
addons\sourcemod\data\autodemo_list.txt
Thanks.
__________________

Timiditas is offline
Timiditas
Senior Member
Join Date: Apr 2009
Old 08-31-2009 , 05:47   Re: Automatic demo recording v1.6.2
Reply With Quote #15

v1.6
sm_autodemo_ttl_hours * changed
// Hours to keep demos on disk before deletion. Default unlimited (0). Must be >=1 otherwise its unlimited.
// Having this, and ttl_kilobyte = 0 overrides ttl_checkmode to 0
// Default: "0"
sm_autodemo_ttl_hours "0"

sm_autodemo_ttl_kilobyte * added
// Max size in kilobytes of demos before the oldest gets deleted. Default unlimited (0). Must be >=51200 otherwise its unlimited. Max size is 4294967295 KB = 3,9 Therabyte
// Having this, and ttl_hours = 0 overrides ttl_checkmode to 0
// Default: "0"
sm_autodemo_ttl_kilobyte "0"

Note that ttl_kilobyte takes only completed demos into account.
This can be changed, if someone demands.
If any of ttl_kilobyte, ttl_hours or ttl_checkmode is 0, no new demofile will be written to the log!!
(The demo is written to the log after the recording has been stopped. So you could use this to prevent certain single demos from being deleted)

1.6.1
Fixed plugin thinking dead players are spectators

1.6.2
Improved SourceTV detection. Works without bots now.
New CVAR:
sm_autodemo_mapchange
- Do a mapchange if SourceTV absent
0 = never, 1 = once, 2 = always
Default: 1

Added optional checking if new plugin version is available.
This feature depends on socket extension.
If you want to enable that feature, you must uncomment
PHP Code:
//#define SOCKET_ENABLED  // Comment this line out to disable Sockets. 
this line at the top and recompile. (You will need the file socket.inc from the sockets extension in your scripting folder)
If enabled, it writes a message into SourceMods error log, the new version number and where to get it.
__________________

Timiditas is offline
Dragonshadow
BANNED
Join Date: Jun 2008
Old 09-28-2009 , 12:05   Re: Automatic demo recording v1.6.2
Reply With Quote #16

Has anyone checked if this works with tf2?
Edit: seems to work.

Last edited by Dragonshadow; 09-28-2009 at 12:34.
Dragonshadow is offline
zeroibis
Veteran Member
Join Date: Jun 2007
Old 10-08-2009 , 12:45   Re: Automatic demo recording v1.6.2
Reply With Quote #17

Something interesting I found when looking around the net today: http://www.steambans.com/forums.php?fid=4&tid=6901

Quote:
Now that finally the 24/7 HLTV demo recorder for HL1 / GoldSource mods has been approved by Steambans, all that is missing is the same for HL2 / Source mods like CS:S or DOD:S.

Here is the HLTV page: http://www.steambans.com/support.php?c=info&page=hltv

With SRCTV the same should be possible for HL2 mods - even easier actually, since no additional programm has to be used, SRCTV is a part of SRCDS. Unfortunately with my idea you still ned Matie's EventScripts, but hey - that's easy to install
This mod for HL1 servers came out a year ago. Based off this I think it it clear that steambans will accept tv recordings with sb_status output in them. Also it is clearly possible to get the output to appear in the demo one way or the other.

Hopefully support for sb_status can be reevaluated with this new information.

From other searches it looks like they are fine with any sort of demo as long as you can get the sb_status in it. This is why they currently do not currently accept source tv demos b/c they have not seen anyone be able to get the command to appear in console. This same rule also applied to HLtv until the above posted mod was released a year ago.
__________________

Last edited by zeroibis; 10-08-2009 at 12:47.
zeroibis is offline
Timiditas
Senior Member
Join Date: Apr 2009
Old 10-10-2009 , 21:28   Re: Automatic demo recording v1.6.2
Reply With Quote #18

Okay I have now applied for a SteamBans-Team to be able to download the plugin and run some tests.
If the legacy "status" command is required for an SB demo too, you've got a problem. I could NOT find a way to get the status output into sourceTV demos.
__________________

Timiditas is offline
zeroibis
Veteran Member
Join Date: Jun 2007
Old 10-11-2009 , 19:33   Re: Automatic demo recording v1.6.2
Reply With Quote #19

No the only thing they care about is the sb_stauts output. Thanks for looking into it!
__________________
zeroibis is offline
Timiditas
Senior Member
Join Date: Apr 2009
Old 10-12-2009 , 18:55   Re: Automatic demo recording v1.6.2
Reply With Quote #20

Finished the tests. It seems to work, I had the sb_status output in the demo.
First I tried to do a FakeClientCommand of sb_status with the sourceTV bot as source. That crashed the server everytime. Second I checked if sb_status, triggered by a human player gets recorded by sourcetv. No luck either.
But a simple servercommand of sb_status goes into the sourceTV demo. Nice.
I'll have an updated version of autodemo ready in the next few hours.
__________________

Timiditas is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:53.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode