Raised This Month: $ Target: $400
 0% 

sv_downloadurl For fast download


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
wwzw
Member
Join Date: Feb 2009
Old 02-04-2012 , 21:52   sv_downloadurl For fast download
Reply With Quote #1

I created three web site for fast download.

I want to modify some settings, to seek help:

1: I want some file for download by the first site. Another file from the second site or the third site...
When a player ready to download files, check the file where a site to download, then change the download link...Each file to check and modify the download link.
If can not edit link in the player downloading. Can I modify the download link when a players before downloading
(After get player's IP address). Purpose is: Give different download links for different players by user's IP.

2: Server may pre-cache the new file after the server change map. Online players will not download from sv_downloadurl.
Only players to restart the game, Client may download From sv_downliadurl.
I think the reason is the client program memoryed this server. But I do not know how to change the memory

Last edited by wwzw; 02-04-2012 at 21:54.
wwzw is offline
Zer0Cool
Member
Join Date: Sep 2011
Location: Belgium
Old 02-05-2012 , 04:55   Re: sv_downloadurl For fast download
Reply With Quote #2

Hmmm i dont think that this is possible.
When a server got fast dl it will download exactly the same things
as on the website even when the server isnt using one of the files
it will still download all the files in the cstrike folder
And why just not use 1 site ? You can only download one thing
at time So it will be pretty useless.
__________________
- Ol' Dirty Bastard - Brooklyn Zoo -

This style, I'm mastered in
Niggas catchin' headaches, what, what? You need Aspirin?
This type of pain, you couldn't even kill with Midol
Fuck around, get sprayed with Lysol
in your face like a can of mace, baby
Is it burnin'? Well, fuck it, now you're learnin'

Zer0Cool is offline
ancient1
Senior Member
Join Date: Jul 2004
Location: UK
Old 02-05-2012 , 09:13   Re: sv_downloadurl For fast download
Reply With Quote #3

Interesting idea.

The problem here is you would have to hook the SV_downloadurl function built into the HL Engine.

I dont know if thats possible.

The GEO IP module would allow you to make up a list of which SV_downlaod url to use dependant on your list. If your using good quality web servers then there really wont be much improvement for speedy download, assuming your web hosts are on 100mb pipes.

But as I say you would have to interupt the normal sv_download process to do this, which I have no idea if its possible to do.

Ancient
__________________
ancient1 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-06-2012 , 01:15   Re: sv_downloadurl For fast download
Reply With Quote #4

It's not possible (server-side, aka this forum) to use more than one url for fast download unless all urls have ALL files.
__________________
fysiks is offline
Devil259
Veteran Member
Join Date: Dec 2009
Location: France (59)
Old 02-06-2012 , 02:43   Re: sv_downloadurl For fast download
Reply With Quote #5

http://forums.alliedmods.net/showthread.php?p=1062982

Quote:
Originally Posted by joropito View Post
I can make a PHP script for anyone that needs an HTTP 3xx response for redirect to another server when some file is missing.
__________________
You can do anything you set your mind to, man.


Last edited by Devil259; 02-06-2012 at 02:44.
Devil259 is offline
wwzw
Member
Join Date: Feb 2009
Old 02-06-2012 , 06:04   Re: sv_downloadurl For fast download
Reply With Quote #6

Thank everyone to help me!
Upstairs, put it that plug-ins I have seen. But I do not know when a player connect to the server, set the new URL address for himself OR the next player. My understanding is that the next player, it will be discomfort and my.

Devil259:
I look forward to the client program to allow HTTP 3xx agreement.
This is a new idea! I think my first question may be solved!
Because my web site using PHP processing download request, rather than a direct download.
I will be tested immediately! Thank you!

Last edited by wwzw; 02-06-2012 at 06:08.
wwzw 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 00:21.


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