View Single Post
Author Message
Thrawn2
Veteran Member
Join Date: Apr 2009
Old 07-24-2011 , 11:54   [ANY] tAutoDemoUpload v0.0.4 (2012-01-08)
Reply With Quote #1

This requires the tEasyFTP plugin and therefore the cURL extension to compile and run.
This plugin supports optional bzip2 compression using the bzip2 extension and as such requires its include for compilation.

As the tEasyFTP plugin is considered experimental, this should be too. You have been warned.

This plugin automatically uploads demos that have been recorded with SourceTV. This is not related to the Replay feature TF2 introduced.

This plugin requires you to either record demos manually using tv_record <filename> and tv_stoprecord or use any other sourcemod plugin that starts and stops recording automatically (like this (any) or this (TF2)). As long as those two commands are being used, this should work.

Configuration
  • This plugin expects a 'demos' RemoteTarget by default. The tEasyFTP thread shows you how to configure it.
  • If you want to change the default RemoteTarget to something else, set this cvar accordingly: sm_tautodemoupload_ftptarget.
  • To enable compression set sm_tautodemoupload_bzip2 to a value between 1 and 9, with 1 being the lowest and 9 the highest rate of compression. Setting it to 0 will disable compression completely.
  • If you set sm_tautodemoupload_delete to 1, your demos (and their compressed version) will be deleted if an upload was successful.
Attached Files
File Type: smx tAutoDemoUpload.smx (5.6 KB, 1541 views)
File Type: sp Get Plugin or Get Source (tAutoDemoUpload.sp - 1819 views - 4.9 KB)
__________________
einmal mit profis arbeiten. einmal.

Last edited by Thrawn2; 01-08-2012 at 05:40. Reason: Updated to 0.0.4
Thrawn2 is offline