SRCDS Steam group


sv_downloadurl tutorial questions and suggestions
#61
I have read the tutorial but it dont work. I have copy a test file to my server. It's a sound.

http://www.onlinewebworld.nl/cstrike/

I have change server.cfg, I add this:
sv_downloadurl "http://www.onlinewebworld.nl/cstrike"
sv_allowdownload 1
sv_allowupload 1
net_maxfilesize 99

But when I join server my pc don't download the song.. What can i do?
[Image: cstrike2-01.png]
Reply
#62
Does it attempt to download the sound?
Clan of Doom: www.clanofdoom.co.uk






Reply
#63
It also needs to be on the server side. Also make sure you have no settings in your CLIENT cfg that is blocking downloading.
Derek Denholm, CEO, XFactorServers, INC.
XFactorServers: Game Server Hosting Solutions
Follow Us http://www.Twitter.com/XFactorServers
Reply
#64
It doesn't attempt to download the sound. I'm sure that the file is correctly uploaded to the server.

Where can i check the client settings?
[Image: cstrike2-01.png]
Reply
#65
If you don't enter the sv_downloadurl, does it download the sound from the server?
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#66
Just a suggestion,

Instead of copying and pasting it, just add this to your alias in your Apache Web Server:

Code:
Alias /tf2server/maps/ /usr/local/games/tf2/orangebox/tf/maps/

Change them accordingly (paths) And within your config, just add
Code:
sv_downloadurl "http://mywebsite/tf2server/"

That worked, and solved my speed issues (From 20KB/s to 1MB/s+)
Reply
#67
The whole point of sv_downloadurl is to make everyone download fast and most importantly, NOT from the server. If you alias, it means both the webserver and the gameserver are running on the same machine, resulting in severe lag in the gameserver when someone downloads the custom maps.
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#68
OK, mine downloads from the server instead of the website - lol
(tf2)

sv_allowupload 1
sv_allowdownload 1
net_maxfilesize 99
sv_downloadurl "http://<mywebsite>.net/Downloads/tf"

(sv_lan 0, sv_pure 2)

The website holds bzip files and i can download them from the browser.

I didn't create .res files based on peoples posts

any ideas why it would prefer the server to the website?
Reply
#69
Sporto Wrote:sv_downloadurl "http://<mywebsite>.net/Downloads/tf"
Try adding "/" in the end. Make sure you've got those quotes around the url properly. So it is like this:
Code:
sv_downloadurl "http://<mywebsite>.net/Downloads/tf/"

For example I've got sv_downloadurl http://website.com/cstrike/, and then I've got in my .../public_html/cstrike/ subdirectories /maps/, /materials/, /sounds/ etc.

You can take a look at your web server log files when you join the server without some custom map. Then see if the query to the web server goes to the right place. For example if you see that it queries /tf2/tf2/maps/cp_mymap.bsp.bz2, then you know you've got one /tf2/ too much in your sv_downloadurl etc.
Reply
#70
Drocona Wrote:The whole point of sv_downloadurl is to make everyone download fast and most importantly, NOT from the server.
Wrong.

The in-game downloads are capped to some 20kb/s because of the technical implementation (or by design). That's why it's always better to use sv_downloadurl even if the web server is on the same game server machine. That way players get fast HTTP downloads with full speed instead of the capped UDP in-game transfer.

I've been thinking that it'd be killer to "steal" someone else's sv_downloadurl. The downloads are plain HTTP, so it is possible to set for example Etherreal to capture all outgoing TCP traffic, then join a server with good server with good sv_downloadurl and sniff the URL. Then use the same URL with your own server. The originating web content server administrators can't do anything because they can't tell the difference between their own players and the "stealers" Smile
Reply
#71
css Wrote:The in-game downloads are capped to some 20kb/s because of the technical implementation (or by design). That's why it's always better to use sv_downloadurl even if the web server is on the same game server machine. That way players get fast HTTP downloads with full speed instead of the capped UDP in-game transfer.

I've been thinking that it'd be killer to "steal" someone else's sv_downloadurl. The downloads are plain HTTP, so it is possible to set for example Etherreal to capture all outgoing TCP traffic, then join a server with good server with good sv_downloadurl and sniff the URL. Then use the same URL with your own server. The originating web content server administrators can't do anything because they can't tell the difference between their own players and the "stealers" Smile
You're wrong. Web content providers can tell the difference and some have scripts in place to prevent other servers from 'stealing' their sv_downloadurl. It's possible, I've done it myself.

On another note, stealing someone's sv_downloadurl is just plain wrong. Some one is paying for that service, and for you to use it without permisison is immoral. It is possible to see who is using a sv_downloadurl. Stealing someone's sv_downloadurl is not as complicated as you think and it's not killer cool.
Manage your redirects/fast downloads with one click! SourceRSC and HL1RSC
Need a free web based game server hosting panel? Check out UGCC.
Reply
#72
css Wrote:For example I've got sv_downloadurl http://website.com/cstrike/, and then I've got in my .../public_html/cstrike/ subdirectories /maps/, /materials/, /sounds/ etc.

I tried
Code:
sv_downloadurl "http://<mywebsite>.net/Downloads/tf/"
And it had the same effect (I made the url case sensitive too)

but i'll try creating subdirectories
Code:
http://<mywebsite>.net/Downloads/tf/map/
http://<mywebsite>.net/Downloads/tf/sounds/
http://<mywebsite>.net/Downloads/tf/materials/
Reply
#73
Just a trought, is your webspace on a Subdomain?
Reply
#74
Masher Wrote:Web content providers can tell the difference and some have scripts in place to prevent other servers from 'stealing' their sv_downloadurl. It's possible, I've done it myself.
How? I bet it's not simple solution or I can circumvent it.

Masher Wrote:On another note, stealing someone's sv_downloadurl is just plain wrong.
That's why it's called stealing Wink

However, it's not my problem if server admins don't have tools to protect their content. I've got 1000 GB monthly limit on my dedicated server, so the content is not problem for me. Anyway, if someone would steal from me, I probabaly wouldn't care. If I would steal from someone, I wouldn't care. Fair enough, don't you think Rolleyes
Reply
#75
Does the bzip works on windows? I'm totally confused..
Reply


Forum Jump:


Users browsing this thread: 13 Guest(s)