pjdaley Posted May 23, 2009 Share Posted May 23, 2009 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 More sharing options...
JasonF Posted May 23, 2009 Share Posted May 23, 2009 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 More sharing options...
Dan M Posted May 23, 2009 Share Posted May 23, 2009 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 More sharing options...
pjdaley Posted May 23, 2009 Author Share Posted May 23, 2009 yea, I was hoping for a css one. Even if it created a virtual; folder that pointed to an external domain I would be happy with that. Link to comment Share on other sites More sharing options...
dimitrifrom31 Posted May 28, 2009 Share Posted May 28, 2009 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 More sharing options...
Exploit Posted October 30, 2009 Share Posted October 30, 2009 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 Link to comment Share on other sites More sharing options...
studeggle Posted October 30, 2009 Share Posted October 30, 2009 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 More sharing options...
Exploit Posted October 30, 2009 Share Posted October 30, 2009 Maybe im not seeing the obvious? - Have got a headache! "C:\Inetpub\AdminScripts\mkwebdir.vbs -c LocalHost -w "1" -v "%serverip%-%serverport%","%gameserverroot%httpredirect"" Isn't a TCAScript, What am i running it with? Link to comment Share on other sites More sharing options...
Santino Cid Posted October 30, 2009 Share Posted October 30, 2009 You place that in the install/uninstall scripts section of the game config in the supported games section of TCAdmin. Link to comment Share on other sites More sharing options...
Exploit Posted October 30, 2009 Share Posted October 30, 2009 Many Thanks Link to comment Share on other sites More sharing options...
Exploit Posted October 30, 2009 Share Posted October 30, 2009 New Problem! mkwebdir.vbs doesnt exist on IIS7, Atleast not on Server 2008 Web. Any Hints? Link to comment Share on other sites More sharing options...
Wupgup Posted May 11, 2010 Share Posted May 11, 2010 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 More sharing options...
dimitrifrom31 Posted May 16, 2010 Share Posted May 16, 2010 get the vbs from 2003 and uplaod on 2008, it should work just fine Link to comment Share on other sites More sharing options...
anush3070 Posted December 11, 2011 Share Posted December 11, 2011 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 More sharing options...
peace Posted December 11, 2011 Share Posted December 11, 2011 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%" Link to comment Share on other sites More sharing options...
anush3070 Posted December 13, 2011 Share Posted December 13, 2011 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 More sharing options...
peace Posted December 13, 2011 Share Posted December 13, 2011 I believe you should use what is working. In my script GameFiles is the name of a site. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.