This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

HTTP Resources Manager


Post New Thread Reply   
 
Thread Tools Display Modes
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 11-22-2012 , 08:04   r
Reply With Quote #101

Quote:
Originally Posted by Mr. Frost View Post
linux
win
Are you sure you HTTP url is correct ? I've tried to retrieve a file, like http://n9.serva4ok.ru/server641953/d.../torespawn.wav but nothing happens.
__________________

Last edited by Arkshine; 11-22-2012 at 08:09.
Arkshine is offline
Mr. Frost
Member
Join Date: Nov 2011
Location: Atlantis
Old 11-22-2012 , 12:36   Re: HTTP Resources Manager
Reply With Quote #102

Yes, this url is correct. I get the file in the link above.
Mr. Frost is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 11-22-2012 , 13:15   Re: HTTP Resources Manager
Reply With Quote #103

Give me the output of the server command cvarlist sv_allow.
__________________
Arkshine is offline
Mr. Frost
Member
Join Date: Nov 2011
Location: Atlantis
Old 11-23-2012 , 02:23   Re: HTTP Resources Manager
Reply With Quote #104

This?
Code:
CVar List
--------------
sv_allow_dlfile : 1
sv_allowdownload : 1
sv_allowupload : 1, sv
--------------
3 CVars for [sv_allow]
Mr. Frost is offline
Mofforg
Senior Member
Join Date: Aug 2010
Location: Moscow, Russia
Old 11-24-2012 , 21:01   Re: HTTP Resources Manager
Reply With Quote #105

If i understand correctly that i must specify all files which should be downloaded thorough HTTP in the file? Is there a way to just write few DL links like dl.domain.com/cs-files/ and dl2.domain.com/cs-files/ ?
Mofforg is offline
Send a message via ICQ to Mofforg Send a message via Skype™ to Mofforg
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 11-24-2012 , 21:18   Re: HTTP Resources Manager
Reply With Quote #106

No, because the files should exist on your game server (fallback) too and using socket to query the URL then reading all the files will take too much time. You can provide directory directly in the config file, though it's on one level (it will be recursive on the next version) ; see the example in the main post.
__________________
Arkshine is offline
Mofforg
Senior Member
Join Date: Aug 2010
Location: Moscow, Russia
Old 11-24-2012 , 23:31   Re: HTTP Resources Manager
Reply With Quote #107

Quote:
Originally Posted by Arkshine View Post
No, because the files should exist on your game server (fallback) too and using socket to query the URL then reading all the files will take too much time. You can provide directory directly in the config file, though it's on one level (it will be recursive on the next version) ; see the example in the main post.
So can i provide full dictory models and sound? [in next ver]

Last edited by Mofforg; 11-24-2012 at 23:32.
Mofforg is offline
Send a message via ICQ to Mofforg Send a message via Skype™ to Mofforg
Mr. Frost
Member
Join Date: Nov 2011
Location: Atlantis
Old 11-24-2012 , 23:33   Re: HTTP Resources Manager
Reply With Quote #108

I tested on other two linux-servers. All is not working properly. Now first time connects, but after reconnects appears infinity loop. But on windows with same settings works well. Strange.
Mr. Frost is offline
Rulzy
Junior Member
Join Date: May 2007
Old 11-27-2012 , 11:59   Re: HTTP Resources Manager
Reply With Quote #109

Thank you! It's very usefull!
Rulzy is offline
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 11-27-2012 , 13:58   Re: HTTP Resources Manager
Reply With Quote #110

Quote:
Originally Posted by Mr. Frost View Post
I tested on other two linux-servers. All is not working properly. Now first time connects, but after reconnects appears infinity loop. But on windows with same settings works well. Strange.
If some files are missing in fastdl or the client has network communication problems within fastdl server, CS will retry forever until it gets all necessary files
__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.
joropito is offline
Send a message via MSN to joropito
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 20:51.


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