SRCDS Steam group


TF2 server sv_downloadurl problem
#1
Question 
Hello,

I'm currently trying to set up my web host to my tf2 server for fast downloading. I use 000webhost.com for ftp hosting. So as shown in image 1,
.png   Image 1.png (Size: 201.45 KB / Downloads: 28) I tried setting up the directory for uploading the files. Originally I didn't have the subdirectories team fortress 2/tf inside; before I only put in public_html/maps/ but that didn't work. The way I see it the problem could be I'm not setting up the directory correctly or I'm not pointing sv_downloadurl to the correct url.

Image 2
.png   Image 2.png (Size: 171.58 KB / Downloads: 20) shows my server.cfg file. I tried pointing sv_downloadurl to several different things, such as person652001.comeze.com alone without subdirectories.

Image 3
.png   Image 3.png (Size: 400.55 KB / Downloads: 17) shows the site where I uploaded the file through ftp. I also know that max_filesizelimit won't go above 64 because I tried setting it to a higher value.

In image 4
.png   Image 4.png (Size: 731.02 KB / Downloads: 16) the server console says:

Code:
CreateFragmentsFromFile: 'maps/achievement_turbov14.bsp' size exceeds net_maxfilesize limit (64 MB)

I did use 7zip to try and compress the map down, but I guess that didn't do anything. Am I doing something wrong here? I tried following guides I could find on setting this up but I don't understand what I'm doing wrong. Is it the directories that are set up wrong, is sv_downloadurl pointed to the wrong address? Maybe its something I overlooked? If you need any more information or pictures of certain screens, please let me know so I can provide as much information as possible to this problem. Thank you so much in advanced for any help or suggestions! Smile

-Person
Reply
#2
It looks like you've done just about everything I would have. But the message is clear. You map is exceeding the netmaxfilesize value. Your map is 99 MB unzipped. I'd try setting the netmaxfilesize value to 128 and see if it fires. Maybe the maxsize need to be the unzipped valvue and not the zipped value?

Let us know.
About Me:
I help people who at least try to help themselves. Please use the "Search" button before posting a new topic.
If you post, give us the info we need from the "READ ME FIRST" sticky at the top of each thread!

I'm here to share my experiences to help others. If I'm wrong about something, don't hold it against me, educate me.
I not perfect and try to learn from every failure, yours and mine.
Reply
#3
(07-08-2012, 02:19 AM)scso1502 Wrote:  It looks like you've done just about everything I would have. But the message is clear. You map is exceeding the netmaxfilesize value. Your map is 99 MB unzipped. I'd try setting the netmaxfilesize value to 128 and see if it fires. Maybe the maxsize need to be the unzipped valvue and not the zipped value?

Let us know.

Well I already tried earlier setting net_maxfilesize higher than 64 and I said this before, it doesn't let me set it higher than that. I wouldn't think it mattered anyway it's not even suppose to download it off the server itself anyway; its suppose to download it off the webhost. I look at tutorials for counter-strike source and the folder structure they use in those tutorials is cstrike/maps, I thought I did the same thing with team fortress 2, the folder structure is tf/maps so I would think I did this correctly... Any other ideas?
Reply
#4
I've never used ftp to do this, so I'm not the best person for such transfers. In fact I honestly never knew you could do that. I'd be very curious to read where you saw that. I use http to do it like the Valve wiki shows here: https://developer.valvesoftware.com/wiki/Sv_downloadurl or Drocona lays it out beatifully here: http://forums.srcds.com/viewtopic/5240

You may wish to try that way.

I reviewed the server config you posted. The sv_downloadurl link in that file you posted has a spaces in the file structure. Minially, I recommend removing any spaces in the file structure on the server itself, using all lower case letters in the folder names and updating the sv_downloadurl link to match.

Here's my http download URL so you see what I mean by using http:

sv_downloadurl "http://64.120.99.40/tf"

Paste that http link into a browser and your see it works. Doing it this way may be another option for you if you can't get ftp to work and its easy to test. If you can see it in a browser, then it will work on the server as a download URL.

I hope this helps. Let me know...
About Me:
I help people who at least try to help themselves. Please use the "Search" button before posting a new topic.
If you post, give us the info we need from the "READ ME FIRST" sticky at the top of each thread!

I'm here to share my experiences to help others. If I'm wrong about something, don't hold it against me, educate me.
I not perfect and try to learn from every failure, yours and mine.
Reply
#5
(07-08-2012, 05:24 AM)scso1502 Wrote:  I've never used ftp to do this, so I'm not the best person for such transfers. In fact I honestly never knew you could do that. I'd be very curious to read where you saw that. I use http to do it like the Valve wiki shows here: https://developer.valvesoftware.com/wiki/Sv_downloadurl or Drocona lays it out beatifully here: http://forums.srcds.com/viewtopic/5240

You may wish to try that way.

I reviewed the server config you posted. The sv_downloadurl link in that file you posted has a spaces in the file structure. Minially, I recommend removing any spaces in the file structure on the server itself, using all lower case letters in the folder names and updating the sv_downloadurl link to match.

Here's my http download URL so you see what I mean by using http:

sv_downloadurl "http://64.120.99.40/tf"

Paste that http link into a browser and your see it works. Doing it this way may be another option for you if you can't get ftp to work and its easy to test. If you can see it in a browser, then it will work on the server as a download URL.

I hope this helps. Let me know...

If I were to use an http server, would I be able to use Apache?

EDIT: Hey scso1502, In my server.cfg I realized I didn't add http:// in my sv_downloadurl line so I did add http://, I moved the tf folder out of the public_html folder and into the root directory, and I tried connecting and it didn't give me missing map error, however when I was downloading it felt like it wasn't downloading fast for some reason, but this is a start. I'm glad I'm not getting the missing map error. What do you think after looking at the domain again? Does my setup look similar to yours? If I can get maps to download I was hoping to try sound files as well. Also this map is like 94 MB uncompressed and the map compressed is 49 MB.
Reply
#6
You nailed it buddy! Works perfect now.

You're map is enormous so it's no surprise it's taking a while to download. It's actually one of the biggest map files I've ever seen. Now if you want to add custom sounds and what not, just create a "sounds" folder at the same level as the maps folder in your high speed download area and place the custom sound files there in .wav or .mp3 format. .mp3 is much faster to download so use them whenever possible.

If this fixed for you, please edit the original post you did and add [RESOLVED] to its title so other people know it's fixed.

Congrats and Good job!
About Me:
I help people who at least try to help themselves. Please use the "Search" button before posting a new topic.
If you post, give us the info we need from the "READ ME FIRST" sticky at the top of each thread!

I'm here to share my experiences to help others. If I'm wrong about something, don't hold it against me, educate me.
I not perfect and try to learn from every failure, yours and mine.
Reply
#7
(07-08-2012, 06:07 PM)scso1502 Wrote:  You nailed it buddy! Works perfect now.

You're map is enormous so it's no surprise it's taking a while to download. It's actually one of the biggest map files I've ever seen. Now if you want to add custom sounds and what not, just create a "sounds" folder at the same level as the maps folder in your high speed download area and place the custom sound files there in .wav or .mp3 format. .mp3 is much faster to download so use them whenever possible.

If the is fixed for you, please edit the original post you did and add [RESOLVED] to its title so other people know it's fixed.

Congrats and Good job!

Thanks for helping but there's still one more thing that's not working. I created the sound folder directory in the same directory like you said. Images 5 and 6
.png   Image 5.png (Size: 217.61 KB / Downloads: 12)
.png   Image 6.png (Size: 436.2 KB / Downloads: 3) show that I added the sound folder and the .mp3 files. Image 5 through the FTP client and image 6 through the webhost. However, in image 7,
.png   Image 7.png (Size: 402.23 KB / Downloads: 6) I don't see the sound folder listed with the maps folder Sad. I tried joining the server and it didn't download the sounds (I didn't really expect it to if the sound folder didn't display on the domain.) It updated immediately when I changed stuff around, so I don't think it's because I wasn't "waiting for the webhost to respond to the changes". Any suggestions? Again thanks for all the help Smile
Reply
#8
I see question marks on your folders in the first FTP image. This usually means something has changed in those folders and they screen needs to be refreshed before you send more files. If you haqven't already done so, I suggest completely closing the FTP software and uploading the files to the webserver again. It see a sounds folder there so many you've already fixed this issue?
About Me:
I help people who at least try to help themselves. Please use the "Search" button before posting a new topic.
If you post, give us the info we need from the "READ ME FIRST" sticky at the top of each thread!

I'm here to share my experiences to help others. If I'm wrong about something, don't hold it against me, educate me.
I not perfect and try to learn from every failure, yours and mine.
Reply
#9
(07-09-2012, 06:13 PM)scso1502 Wrote:  I see question marks on your folders in the first FTP image. This usually means something has changed in those folders and they screen needs to be refreshed before you send more files. If you haqven't already done so, I suggest completely closing the FTP software and uploading the files to the webserver again. It see a sounds folder there so many you've already fixed this issue?

Ok well just to see what would happen I uploaded the sound folder inside public_html/tf/. So basically theres a tf directory outside the public_html folder and one inside of it. After I did that then it does see the sound folder, but I joined the server and it still doesn't download the sounds... I also made sure that in the multiplayer options menu that "Allow all files to be downloaded" was selected. I feel like I'm overlooking something so small again just like when I was trying to get the map to download.
Reply
#10
Make sure you delete the files from your PC so it will download them again. As lame as this may sound, I've done it myself after working long and hard on a stubborn problem. Once they're deleted, they should download again as long as you have a plugin that requires them.

Addiitonally, I noticed the names of all your song's have capital letters in them. If you use a Linux-based Apache server, I advise against this because you can get into trouble since the files names on a Linux server are case sensitive.

Let me know...
About Me:
I help people who at least try to help themselves. Please use the "Search" button before posting a new topic.
If you post, give us the info we need from the "READ ME FIRST" sticky at the top of each thread!

I'm here to share my experiences to help others. If I'm wrong about something, don't hold it against me, educate me.
I not perfect and try to learn from every failure, yours and mine.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)