Raised This Month: $248 Target: $400
 62% 

[EXTENSION] Late Downloads


Post New Thread Reply   
 
Thread Tools Display Modes
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine
Old 05-23-2018 , 10:15   Re: [EXTENSION] Late Downloads
Reply With Quote #41

Yesterday, we made mass test.
It looks like extension cause server crash on map transition, if somebody still downloading the file.

P.S. Bandwidth speed has been insreased when we moved to slot server (PRO tariff) ~ 87 KB/s.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch)
[My plugins] [My tools] [GitHub] [Articles]
Dragokas is offline
Backup
Senior Member
Join Date: Jul 2010
Location: Česká Republika
Old 05-27-2018 , 10:47   Re: [EXTENSION] Late Downloads
Reply With Quote #42

Quote:
Originally Posted by Dragokas View Post
1) Is it possible to implement StopDownload() method?

Because I'm getting "You have insufficient bandwidth" game engine message and get kicked from the server during map transition.
No. Modify the cvars to avoid being kicked:
Quote:
Originally Posted by Backup View Post
Extension configuration
The extension exposes following cvars:
  • latedl_minimalbandwidth (default = 64) - Kick clients with lower bandwidth (in kbps). Zero to disable.
  • latedl_maximaldelay (default = 500) - Acceptable additional delay (in ms) when sending files.
  • latedl_requireupload (default = 1) - Kick clients with "sv_allowupload" = 0. Zero to disable.
Quote:
Originally Posted by Dragokas View Post
2) Can you hide or change msg err. level of:

because that msg spam with a LOT of lines in error log file.
To be honest, it is not informative; not sure admin needs that info especially in err. log together with a real errors raised by critical errors in plugins.
It's better to just display it in console as usual msg type, not an error.
You're free to modify the code as you desire.
Quote:
Originally Posted by Dragokas View Post
3) Also, during gameplay I got spam of such error with complete freeze of client:
...
After a while, my client is disconnected.

Edit. So, my client is constantly freeze if it download file ~ 10 MB. Maybe, you know some server Cvar, responsible for the size of max. bandwidth?
Maybe don't stream huge files over reliable channel. This extension was intended primarily for tiny files that don't need fastdl hosting.
Quote:
Originally Posted by Dragokas View Post
4) Does "Late download" extension has the code to kick players? O_o
...
Yes, see the top of this reply.
Quote:
Originally Posted by Dragokas View Post
5) Also, not sure is it important, maybe this error in client console go from your extension:
...
Probably. Do you know how to reproduce this error?
Quote:
Originally Posted by Dragokas View Post
6) Is it possible, extention not to spam with .ztmp files all over the server with every file it try to download to client? At least, it could clear it right after successfull downloading (or if file already exist on client side)?
No. You can write a plugin that will delete every ztmp it finds. I have no idea why would you want to get rid of these files.
Quote:
Originally Posted by Dragokas View Post
7) What .ztmp actually intended for?
What if several clients are trying to download the same file? (so, as I can see, extension will use the same .ztmp file name? and will fail?)
It is bzip2 compressed file. It is used to save bandwidth. I don't understand your second question.
Quote:
Originally Posted by Dragokas View Post
8 ) Is it possible somehow to increase download speed? For me currently it's like ~ from 2 to 7 KB/s. Terribly.
No. Re-think your use case. Either use smaller files or don't download them in-game.
Quote:
Originally Posted by Dragokas View Post
...
But, I think currently it's useless until you at least fix "kick players" issue.
I tryed to change server settings for max bandwidth:
...
It helped somehow, at least for me not to be kicked at map transition.
But other players get kicked even during gameplay.
See the top of this reply.
__________________
Sorry for my english.
Backup is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine
Old 05-27-2018 , 11:41   Re: [EXTENSION] Late Downloads
Reply With Quote #43

Quote:
Modify the cvars to avoid being kicked:
Thank you. I didn't notice.

Quote:
Maybe don't stream huge files over reliable channel.
Understood. But, I'll try. I don't see what can prevent this, excepting some incorrect buffer set in extension. If it's easy to fix, I do like to have such feature. Your extension can completely resolve the problem of black screen. So, why not try to optimize it.

Quote:
Probably. Do you know how to reproduce this error?
Maybe, try download big file, like 10 MB. / or use my network settings / dunno what exact cause.

Quote:
I don't understand your second question.
If it's bzip, so it's ok. I mean, if several users download a same file simultaneously, can they interfere each other?

Ok, the last most important question about stability of extension and server/client crashes.

1) Can you, please, add StopDownload method, - to forcibly interrupt download that already has been started?
(I need this to call OnMapEnd() forward, bacause it's often cause server crash)

2) Can you forcibly interrupt downloading when such console msg appears:
Quote:
xx.xx.xx.xx:27243:send reliable stream overflow
xx.xx.xx.xx:27243:send reliable stream overflow
xx.xx.xx.xx:27243:send reliable stream overflow
Disconnect: Dragokas timed out.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch)
[My plugins] [My tools] [GitHub] [Articles]
Dragokas is offline
rogeraabbccdd
Veteran Member
Join Date: Jun 2015
Location: de_dust2
Old 08-17-2018 , 01:10   Re: [EXTENSION] Late Downloads
Reply With Quote #44

I got this message and my server crash when I use this extension to download files.
https://crash.limetech.org/3c2mvvwaxerb
__________________

Please keep in mind, nobody have responsibility to help you, especially who don't open their eyes and use their brain to find answers.
GitHub | Discord:Kento#2118

Last edited by rogeraabbccdd; 08-17-2018 at 02:11.
rogeraabbccdd is offline
Papero
Veteran Member
Join Date: Aug 2016
Location: Rimini, Italy
Old 11-05-2018 , 14:53   Re: [EXTENSION] Late Downloads
Reply With Quote #45

When calling
PHP Code:
AddLateDownload 
The server crashing and the players are not downloading the files, the only console output before the crash it's
PHP Code:
Called RequestFile_OLD 
Called RequestFile_OLD
Called RequestFile_OLD 
Accellerator: https://crash.limetech.org/effa5ncfczus

The game is CS:GO
__________________
My Plugins
SPCode


Steam: hexer504
Telegram: Hexah
Discord: Hexah#6903

If you like my work you can donate here!
Papero is offline
enderandrew
Senior Member
Join Date: Jun 2020
Old 07-16-2020 , 22:22   Re: [EXTENSION] Late Downloads
Reply With Quote #46

Would it be possible with this extension and a plugin to look at whatever map is set to next and then preload that map if players don't have it?
enderandrew is offline
DJPlaya
Senior Member
Join Date: Nov 2014
Location: Germany
Old 07-28-2020 , 16:01   Re: [EXTENSION] Late Downloads
Reply With Quote #47

Quote:
Originally Posted by enderandrew View Post
Would it be possible with this extension and a plugin to look at whatever map is set to next and then preload that map if players don't have it?
It is possible, and i also worked on an Plugin for that for TF2(an mapchooser Edit), but while sending the files to the clients, it caused Spike-Lags for all of them and the Download Speed was at best around 100kb/s, so with an regular map having 25mb, you do have to load for 10 mins or so(if i remember correctly).
I have used >this Extension< which uses the same Engine Functions as late download, so it should be the same results you would get
__________________
My biggest Projects: Kigen AC Redux, Forlix Floodcheck Redux

Last edited by DJPlaya; 07-30-2020 at 09:14.
DJPlaya is offline
Send a message via Skype™ to DJPlaya
MarcoCSGO
Member
Join Date: May 2020
Old 08-25-2020 , 23:00   Re: [EXTENSION] Late Downloads
Reply With Quote #48

Quote:
Originally Posted by DJPlaya View Post
It is possible, and i also worked on an Plugin for that for TF2(an mapchooser Edit), but while sending the files to the clients, it caused Spike-Lags for all of them and the Download Speed was at best around 100kb/s, so with an regular map having 25mb, you do have to load for 10 mins or so(if i remember correctly).
I have used >this Extension< which uses the same Engine Functions as late download, so it should be the same results you would get
DJPlaya, do you have a working version of the sourcemod extension ([EXTENSION] Send / Request Files from clients) for CSGO?

Last edited by MarcoCSGO; 08-25-2020 at 23:00.
MarcoCSGO is offline
DJPlaya
Senior Member
Join Date: Nov 2014
Location: Germany
Old 08-26-2020 , 15:49   Re: [EXTENSION] Late Downloads
Reply With Quote #49

Quote:
Originally Posted by MarcoCSGO View Post
DJPlaya, do you have a working version of the sourcemod extension ([EXTENSION] Send / Request Files from clients) for CSGO?
I dont have any other Versions.
Its also useless in CSGO anyway:
Quote:
Originally Posted by Backup View Post
YESTERDAY Valve changed the default settings for sv_allowupload (now disabled by default), torpedoing this extension.
__________________
My biggest Projects: Kigen AC Redux, Forlix Floodcheck Redux

Last edited by DJPlaya; 08-26-2020 at 15:50.
DJPlaya is offline
Send a message via Skype™ to DJPlaya
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 05:34.


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