Jump to content

Fast Download Capability


pjdaley

Recommended Posts

I was wondering if there was a way to make the IIS settings, through TCADMIN, allow fast downloads. ie, when the user has a account, or server created, have a virtual folder direct to their current map folder in a easy file structure.

 

http://domain-name/user/server/maps

 

or

 

http://ip-address/user/server/maps

 

is this something that could possibly be integrated into the next release

Link to comment
Share on other sites

You have to set this up manually but I can guarantee you that you will use a crap load of bandwidth on the game server not to mention eat up your uplink. The proper way to do it is to host the files on a web server and point the server config file to download from the redirect host.

Link to comment
Share on other sites

There is a script somebody created which creates a virtual directory inside IIS and points it to the gamefiles, allowing only BSP, MP3 and BZ2 to be downloaded.

 

If you search the forums you should come across it :)

Link to comment
Share on other sites

Install script :

C:\Inetpub\AdminScripts\mkwebdir.vbs -c LocalHost -w "1" -v "%serverip%-%serverport%","%gameserverroot%httpredirect"

 

Uninstall script:

C:\Inetpub\AdminScripts\adsutil.vbs DELETE W3SVC/1/Root/%serverip%-%serverport%

 

This will create a redirect with the url http://gameserver_ip/gameserver_ip-gameserver_port pointing to a folder "httpredirect" you must create at the root of the game server.

 

My tip : when u add mods and maps for cstrike for exemple zip the following :

 

httpredirect\maps\mapname_here

cstrike\maps\mapname_here

 

this way when installing the map called mapname_here will get installed in cstrike\maps AND in httpredirect\maps

 

 

thats installign the redirect on the same machine than gameserver so make sure ur bw is capable to handle it

Link to comment
Share on other sites

  • 5 months later...
Just a follow up on this.

Has anyone managed to develop a custom script that does this automatically upon a new game server being created?

Or does anyone have any other tips for an automated setup?

 

Many Thanks

 

That is what is posted directly above you ;)

If youare looking to automate the IIS setup to another machine that is a much more complex task with a lot more variables to be taken into consideration.

Link to comment
Share on other sites

  • 6 months later...

Sorry for bumping this old thread.

But I'm having the same problem as Exploit, I'm running windows server 2008 R2 and I want to setup fastdownload. Is there a way like with windows server 2003 to do this?

 

Thanks

Link to comment
Share on other sites

  • 1 year later...

12/12/2011 7:15:01 PM : Warning: Installation script for CS 12 Slots on 180.149.247.18:27019 returned an exit code 1

12/11/2011 7:20:09 PM : Warning: Uninstall script for CS 12 Slots on 180.149.247.18:27019 returned an exit code -2147024893

12/11/2011 7:21:01 PM : Warning: Installation script for CS 12 Slots on 180.149.247.18:27019 returned an exit code 1

 

Any idea why :S

Link to comment
Share on other sites

C:\Windows\System32\inetsrv\appcmd.exe add vdir /app.name:"GameFiles/" /path:/%serverip%:%serverport% /physicalpath:%gameserverroot%

 

C:\Windows\System32\inetsrv\appcmd.exe delete vdir "GameFiles/%serverip%:%serverport%"

 

 

Should i use the above mentioned script as well as the one mentioned my dimitri or

only yours.

In case only yours then what would be the path to put up in sv_downloadurl ?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use