Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Demos are not uploaded to the web using the tv_autorecord "1" command #21

Open
crashzk opened this issue May 18, 2023 · 8 comments
Open

Comments

@crashzk
Copy link

crashzk commented May 18, 2023

I have some casual servers, Retake, Multi-1v1 & AWP Only. I always use GOTV to record matches, but when I change the map the demos are never sent to the web hosting for download, without errors and without message logs on the console.

Just finalize the map changes the map and nothing happens, demo stays on the server only.

GOTV configuration that I use on all these servers would be this:

tv_enable "1" 						
tv_autorecord "1"					
tv_delay "10" 							
tv_advertise_watchable "1" 				
tv_maxclients "32"						
tv_title "[ ZK Servidores™ ] GOTV" 		
tv_name "[ ZK Servidores™ ] GOTV"		
tv_password ""						
tv_allow_camera_man "1" 			
tv_allow_static_shots "1" 			
tv_snapshotrate "32" 				
tv_nochat "0" 							
tv_timeout "45" 					
tv_delaymapchange "0"				
tv_dispatchmode "1"					
tv_relayradio "1"					
tv_relayvoice "1"				
tv_relaytextchat "2"					
tv_transmitall "1"	

Demos are all being saved in the csgo folder on the server.
image

Plugin is with the default settings, I only configured the connection to the web hosting and the link to the discord.

What did I miss? Does any extra configuration need to be done for the casual servers?

@crashzk
Copy link
Author

crashzk commented Sep 2, 2023

ping @MoritzLoewenstein

@MoritzLoewenstein
Copy link
Owner

Could be an issue with tv_autorecord, can you test if it works if you manually record (tv_record <filename> & (tv_stoprecord)?

@crashzk
Copy link
Author

crashzk commented Sep 7, 2023

Could be an issue with tv_autorecord, can you test if it works if you manually record (tv_record <filename> & (tv_stoprecord)?

@MoritzLoewenstein sorry for the delay... I'll be testing it, should I make any changes to the plugin's configuration before using the command manually?

@MoritzLoewenstein
Copy link
Owner

No need to change configuration @crashzk

@crashzk
Copy link
Author

crashzk commented Sep 7, 2023

@MoritzLoewenstein thanks for the help let's go...

Manually it works correctly

image

The problem apparently is that it doesn't want to upload the demo that starts automatically, so to speak, in this case I'm using the following configuration.

//GOTV
tv_enable "1"
tv_autorecord "1"

@crashzk
Copy link
Author

crashzk commented Sep 7, 2023

It seems to be something with casual servers, in this case I tested it with the Retake plugin.

Manually the commands works.

Server: [ ZK Servers™ ] RETAKE #1 | WS - KNIFE - GLOVES
map: de_inferno
Download: http://demos.zkservidores.com/TestDemo.dem.bz2

L 09/07/2023 - 10:27:07: [tAutoDemoUpload.smx] Compression completed: 0
L 09/07/2023 - 10:27:07: [tAutoDemoUpload.smx] /home/clientes/OGP_User_Files/whmcs/2057/csgo/TestDemo.dem compressed to TestDemo.dem.bz2
L 09/07/2023 - 10:27:07: [tEasyFTP.smx] sFtpUrl: ftp://er7ai45.1.58:21/public_html/demos/TestDemo.dem.bz2
L 09/07/2023 - 10:27:07: [tEasyFTP.smx] sDownloadUrl: http://demos.zkservidores.com/TestDemo.dem.bz2 | sFtpUrl: ftp://zkservid:[email protected]:21/public_html/demos/TestDemo.dem.bz2
L 09/07/2023 - 10:27:07: [tEasyFTP.smx] sLocalFile: TestDemo.dem.bz2
L 09/07/2023 - 10:27:07: [tEasyFTP.smx] Uploading file TestDemo.dem.bz2 (111546 byte) to target demos
L 09/07/2023 - 10:27:07: [tAutoDemoUpload.smx] Upload completed: 0
L 09/07/2023 - 10:27:07: [tEasyFTP.smx] Finished uploading TestDemo.dem.bz2 to demos

As the retake plugin has nothing to control demos like in WarMod [BFG] I configure it manually as I mentioned in the GOTV configuration above, however when it changes the map I believe it does not use tv_stoprecord so the demo is not finalized and sent to web.

Problem that the demo still stays on the server normally.

I believe that a correction would be to include some command, resource in the tAutoDemoUpload.smx plugin that when the server changes the map it uses the tv_stoprecord command, I believe that this solves the problem.

@crashzk
Copy link
Author

crashzk commented Sep 7, 2023

What I also noticed is that as the server already starts a new map with GOTV recording the demo, I just tried using the tv_stoprecord command to see if it worked normally.

It shows the following error:

L 09/07/2023 - 10:39:18: [tAutoDemoUpload.smx] Compression completed: -101

L 09/07/2023 - 10:39:18: [tAutoDemoUpload.smx] bzip2 Error: BZ_IO_ERROR_INPUT 

image

@crashzk
Copy link
Author

crashzk commented Sep 9, 2023

Any alternative to work with the tv_autoremcord command?

@crashzk crashzk changed the title Support for casual servers (Retake, Multi-1v1, AWP Only) Demos are not uploaded to the web using the tv_autorecord "1" command Sep 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants