Raised This Month: $154 Target: $400
 38% 

[ANY] tAutoDemoUpload v0.0.4 (2012-01-08)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Thrawn2
Veteran Member
Join Date: Apr 2009
Plugin ID:
2456
Plugin Version:
0.0.4
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
Servers with this Plugin:
35 
Plugin Description:
Uploads demo files to a ftp server
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, 650 views)
File Type: sp Get Plugin or Get Source (tAutoDemoUpload.sp - 749 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
SatlaN
Member
Join Date: Sep 2009
Old 07-26-2011 , 08:39   Re: [ANY] tAutoDemoUpload v0.0.1 (2011-07-24)
Reply With Quote #2

I love You M8
SatlaN is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 07-28-2011 , 12:18   Re: [ANY] tAutoDemoUpload v0.0.1 (2011-07-24)
Reply With Quote #3

That looks awesome!
Keep on, please!
__________________
Peace-Maker is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Old 07-29-2011 , 00:48   Re: [ANY] tAutoDemoUpload v0.0.1 (2011-07-24)
Reply With Quote #4

I'd like to wait until this is a bit more stable before i install it, hope to see it blossom.
__________________
Taking private requests: http://steamcommunity.com/id/Drixevel/
Drixevel is offline
lokok
BANNED
Join Date: May 2011
Old 12-25-2011 , 03:19   Re: [ANY] tAutoDemoUpload v0.0.1 (2011-07-24)
Reply With Quote #5

[SM] Plugin tAutoDemoUpload.smx failed to load: Native "EasyFTP_UploadFile" was not found.
Not working ?
lokok is offline
Send a message via ICQ to lokok
Thrawn2
Veteran Member
Join Date: Apr 2009
Old 12-28-2011 , 07:35   Re: [ANY] tAutoDemoUpload v0.0.1 (2011-07-24)
Reply With Quote #6

Quote:
Originally Posted by lokok View Post
[SM] Plugin tAutoDemoUpload.smx failed to load: Native "EasyFTP_UploadFile" was not found.
Not working ?
First line of op says: This requires the tEasyFTP plugin and therefore the cURL extension to compile and run.
__________________
einmal mit profis arbeiten. einmal.
Thrawn2 is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 12-28-2011 , 07:39   Re: [ANY] tAutoDemoUpload v0.0.1 (2011-07-24)
Reply With Quote #7

Quote:
Originally Posted by Thrawn2 View Post
First line of op says: This requires the tEasyFTP plugin and therefore the cURL extension to compile and run.
But your tEasyFTP plugin declares the "EasyFTP_UploadFile" native without the underscore "EasyFTPUploadFile. Read the comments on that plugin <3
__________________
Peace-Maker is offline
duydangle
Senior Member
Join Date: May 2010
Old 12-28-2011 , 21:15   Re: [ANY] tAutoDemoUpload v0.0.1 (2011-07-24)
Reply With Quote #8

Can this plugin use bz2 to compress then uploa?
duydangle is offline
Thrawn2
Veteran Member
Join Date: Apr 2009
Old 12-29-2011 , 14:02   Re: [ANY] tAutoDemoUpload v0.0.2 (2011-12-29)
Reply With Quote #9

Updated to 0.0.2, because the API of tEasyFTP changed.

Quote:
Originally Posted by Peace-Maker View Post
But your tEasyFTP plugin declares the "EasyFTP_UploadFile" native without the underscore "EasyFTPUploadFile. Read the comments on that plugin <3
thx and fixed.

Quote:
Originally Posted by duydangle View Post
Can this plugin use bz2 to compress then uploa?
not yet.
__________________
einmal mit profis arbeiten. einmal.

Last edited by Thrawn2; 12-29-2011 at 14:03.
Thrawn2 is offline
Thrawn2
Veteran Member
Join Date: Apr 2009
Old 12-29-2011 , 16:00   Re: [ANY] tAutoDemoUpload v0.0.1 (2011-07-24)
Reply With Quote #10

Quote:
Originally Posted by duydangle View Post
Can this plugin use bz2 to compress then uploa?
Updated to 0.0.3:
Added optional bzip2 compression.
It requires the bzip2 extension though.
__________________
einmal mit profis arbeiten. einmal.
Thrawn2 is offline
Reply


Thread Tools
Display Modes

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 02:44.


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