Raised This Month: $51 Target: $400
 12% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
minimoney1
SourceMod Donor
Join Date: Dec 2010
Old 07-27-2012 , 01:41   Re: [ANY] tAutoDemoUpload v0.0.4 (2012-01-08)
Reply With Quote #51

Quote:
Originally Posted by Nano2e View Post
i deleted the code because i wasnt happy when it wasnt working, bascially i tried changing the path it looked for to find .dem files and told it to find .log files instead but no luck :[
that wont work.
Request a custom plugin made for you in the plugin requests section or, if you have good coding knowledge, ask questions in the scripting section.
minimoney1 is offline
palanich
New Member
Join Date: Aug 2012
Old 08-13-2012 , 18:55   Re: [ANY] tAutoDemoUpload v0.0.4 (2012-01-08)
Reply With Quote #52

Please tell me how to fix this bug
Failed uploading demos/auto-20120814-013457-cs_italy.dem (Upload failed (at start/before it took off)).
sm exts list
cURL Extension (1.3.0.0): cURL Extension

sm plugins list
"tEasyFTP" (0.0.2) by Thrawn
"tAutoDemoUpload" (0.0.4) by Thrawn
palanich is offline
peewee41
Member
Join Date: Jul 2009
Old 08-21-2012 , 23:36   Re: [ANY] tAutoDemoUpload v0.0.4 (2012-01-08)
Reply With Quote #53

I've edited the script so in addition to tv_stoprecord, tv_stop will also work in uploading the demo.
Attached Files
File Type: smx tAutoDemoUpload.smx (5.7 KB, 239 views)
File Type: sp Get Plugin or Get Source (tAutoDemoUpload.sp - 285 views - 5.0 KB)

Last edited by peewee41; 08-21-2012 at 23:36.
peewee41 is offline
palanich
New Member
Join Date: Aug 2012
Old 08-23-2012 , 08:57   Re: [ANY] tAutoDemoUpload v0.0.4 (2012-01-08)
Reply With Quote #54

does not work, the same error
palanich is offline
peewee41
Member
Join Date: Jul 2009
Old 08-24-2012 , 08:05   Re: [ANY] tAutoDemoUpload v0.0.4 (2012-01-08)
Reply With Quote #55

Is it possible to show a message in the console when the demo is stopped (tv_stoprecord) via console RCON saying something like "Please wait while the demo uploads" and then a message in the console when the demo has finished uploading?
peewee41 is offline
chescos
Member
Join Date: Aug 2011
Old 10-20-2012 , 13:50   Re: [ANY] tAutoDemoUpload v0.0.4 (2012-01-08)
Reply With Quote #56

Quote:
10/20/2012 - 18:49:17: [tEasyFTP.smx] Failed uploading ./demos/auto-20121020-165311-surf_greatriver_xdre4m.dem (Transferred a partial file).
Before it worked, I didn't change anything. What could be the cause?
chescos is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 10-16-2013 , 18:24   Re: [ANY] tAutoDemoUpload v0.0.4 (2012-01-08)
Reply With Quote #57

SM Plugin List:
Spoiler
Code:
L 10/16/2013 - 22:58:02: SourceMod error session started
L 10/16/2013 - 22:58:02: Info (map "surf_greatriver_xdre4m_furious") (file "errors_20131016.log")
L 10/16/2013 - 22:58:02: [tEasyFTP.smx] Upload failed. File does not exists: ./auto-20131016-215134-surf_greatriver_xdre4m_furious.dem
L 10/16/2013 - 23:48:04: Error log file session closed.
L 10/16/2013 - 23:48:10: SourceMod error session started
L 10/16/2013 - 23:48:10: Info (map "surf_greatriver_xdre4m_furious") (file "errors_20131016.log")
L 10/16/2013 - 23:48:10: [tEasyFTP.smx] Upload failed. File does not exists: ./auto-20131016-225758-surf_greatriver_xdre4m_furious.dem
Please direct me to the appropriate topic if this is not the right one. Unsure if this a problem with this plugin or Auto SourceTV Recorder and will post to both.

To the issue at hand, the plugin is searching for (./auto-20131016-225758-surf_greatriver_xdre4m_furious.dem) but the file that is created is (./auto-20131016-2257-surf_greatriver_xdre4m_furious.dem), note the time. Sometimes the file is created with the seconds, but a majority of the time (no pun), it is created with only the hour and minute. Might this be due to sourcemod not displaying the time or the plugin. Any help would be greatly appreciated.
Maxximou5 is offline
ggtravis
Junior Member
Join Date: Feb 2014
Old 03-14-2014 , 23:38   Re: [ANY] tAutoDemoUpload v0.0.4 (2012-01-08)
Reply With Quote #58

Any updates on the "Upload failed (at start/before it took off)" error?
ggtravis is offline
flocke0
Junior Member
Join Date: Apr 2013
Location: Germany
Old 10-26-2014 , 19:54   Re: [ANY] tAutoDemoUpload v0.0.4 (2012-01-08)
Reply With Quote #59

I fixed this plugin for my servers:

For me the reason it didn't upload the file was that the demo filenames didn't have capital letters, but the demo name did. Therefore the plugin tried to upload files with capital letters in the filename that didn't exist in the file system.

I made the following changes:
  • now encoding all filenames to lower case
  • All messages in the chat now use the STV name (tv_name cvar) as tag
  • added cvar sm_tautodemoupload_location (default = "") If set, this URL is printed to the chat on successful demo upload.
  • if sm_tautodemoupload_location contains "{FILENAME}" it's replaced by the demo filename.

Example:

for my configuration i set sm_tautodemoupload_location to "http://flobboshood.de/demos/{FILENAME}" to get outputs like:

Code:
[FH TV (@48420)] Demo uploaded successfully. It can be downloaded here: http://flobboshood.de/demos/fh_match_01-2014-10-27-00-33-blu_vs_red-cp_badlands.dem
I hope i you will like this. As due to the fact that im new to SourcePawn I can not guarantee that it runs without issues.
Attached Files
File Type: sp Get Plugin or Get Source (tAutoDemoUpload.sp - 395 views - 7.1 KB)
File Type: smx tAutoDemoUpload.smx (7.6 KB, 369 views)
__________________
flocke0 is offline
Wilczek
AlliedModders Donor
Join Date: Oct 2012
Location: Poland
Old 05-13-2015 , 05:38   Re: [ANY] tAutoDemoUpload v0.0.4 (2012-01-08)
Reply With Quote #60

Did anyone manage to run in with SM 1.7?
__________________

Last edited by Wilczek; 05-13-2015 at 05:38.
Wilczek 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 05:02.


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