[GMOD] Dedicated TTT/PropHunt Server - FastDL doesn't work 100% (.bsp files)
4 replies, posted
Hello people of the interwebz!
Im fairly new to dedicated server hosting, but I got pretty far (I think) for the little I know. What I do know, is how to correctly port forward and that my computer runs windows 7 64-bit.
I am currently running a Garrys Mod TTT/PropHunt server. I use two different .bat files to run them. People can connect, everything works fine.
A few days ago I wanted to take my server to the next level by adding a mapvote addon (which works fine, too) and get the FastDL to work via an FTP-Server which I also host myself, from the same computer.
Both, the votemap and the FastDL work. BUT: As soon as I manually (or via votemap, it doesn't make a difference) switch to a map, which consists of more than just a .bsp file, the people connecting only download the other files, such as .nav files. The .bsp will not be downloaded and the disconnect with the error "missing map".
If I then proceed to switch to a map, that is only one .bsp file, people can download that file and then continue playing on my server.
So, this is my setup in short:
-I host my own FTP-Server via Filezilla.
-On this Server, i uploaded my garrysmod folder and deleted everything, but the following folders within /garrysmod: addons, maps, materials, particles, resource, sound.
-As soon as people connect they start to download the map, but in cases in which the map isn't only .bsp, they load everything BUT the .bsp.
in my server.cfg, I added the following line:
sv_downloadurl "ftp://-MY-URL-/garrysmod/"
I also saw on many different tutorials the following lines, which I tested:
"sv_allowupload" "0"
"sv_allowdownload" "0"
If I add them with a "1" nothing really changed, people connecting still didn't download the .bsp.
If I add them with a "0" ppl didn't download anything at all.
(By the way: I only have to modify my .cfg file on my server hosting computer right? - Meaning not on my FTP or anything.)
I hope this is all the information that you need, to maybe able to help me.
Thank you in advance and have a nice day!
~DioHard
I don't think fastdl works over ftp, try using http.
Thanks!
Well, as I wrote it works with the maps that consist only of .bsp files.
How do I "convert" my ftp adress to html?
The non-map stuff get downloaded because they're less than 16mb in size. That works even without using another download repository.
As for the latter, FTP can't be 'converted' to HTTP. FTP works with an FTP server, HTTP works with an HTTP server (usually a webserver.)
If you host the server yourself, you should set up a webserver (like Apache) and have the document root in the same directory as the root of your FTP server.
If your FTP server is [I]for[/I] a (paid) webserver, just put the files in a subdirectory under public_html or htdocs or www or whatever and point to [url]http://yoursite/garrysmod/[/url].
If you're home hosting, make sure you have enough bandwidth to even be running a fast download server. If you don't have enough bandwidth, it's just going to cause the clients on the server to lag out from the incoming player sucking up all of the bandwidth.
And maps should be compressed when stored on the fast download server (I think bzip2 compression.)
Sorry, you need to Log In to post a reply to this thread.