SRCDS Steam group


TF2 map loading
#1
I went away for a week and when I got back, I found out that my server will not upload maps to players. I don't think anything changed. I thought it might have been a problem with the permissions of the map files, but that's not it. I'm using the latest version of srcds on fedora 8 with beetlesmod.
Reply
#2
is sv_allowdownload set to 1
Reply
#3
yes it is.
Reply
#4
How large are the map files, and what is your net_maxfilesize set to? (Hint, you may need to increase it).
Reply
#5
it was at 16, but I put it up to 64 and it still doesn't work. The files aren't too large. most of them are 20-45 MB, but some are larger. It just tells the users that they are missing the file when they try to connect.
Reply
#6
I figured out what the problem was. I did set net_maxfilesize to 64, but it puts it back to the default when you load a new map. To fix it, you have to add net_maxfilesize 64 to the cfg files for each map that needs it.
Reply
#7
I have a question, I allowed server to upload files, but when users or even myself attempt to download a missing map it is so slow ... I don't know why. When I download a file via ftp or www from the exact same server, I get 1.1MB/s but it seems that downloading a 3MB map takes 10-15 minutes.

Any ideas what might go wrong?
Reply
#8
m0- Wrote:I have a question, I allowed server to upload files, but when users or even myself attempt to download a missing map it is so slow ... I don't know why. When I download a file via ftp or www from the exact same server, I get 1.1MB/s but it seems that downloading a 3MB map takes 10-15 minutes.

Any ideas what might go wrong?

Have you set the following in your server.cfg?? You also need to put the map files in the web server in the maps directory - the structure needs to be:

http://www.myserver.com/XXX/tf/maps/


Then set :

sv_allowdownload 1
net_maxfilesize 50
sv_downloadurl "http://www.myserver.com/XXX/tf/"

*edit* I assumed that this was a TF2 server - same should apply with CSS, you just point sv_downloadurl to teh cstrike directory
Reply
#9
orix Wrote:
m0- Wrote:I have a question, I allowed server to upload files, but when users or even myself attempt to download a missing map it is so slow ... I don't know why. When I download a file via ftp or www from the exact same server, I get 1.1MB/s but it seems that downloading a 3MB map takes 10-15 minutes.

Any ideas what might go wrong?

Have you set the following in your server.cfg?? You also need to put the map files in the web server in the maps directory - the structure needs to be:

http://www.myserver.com/XXX/tf/maps/


Then set :

sv_allowdownload 1
net_maxfilesize 50
sv_downloadurl "http://www.myserver.com/XXX/tf/"

*edit* I assumed that this was a TF2 server - same should apply with CSS, you just point sv_downloadurl to teh cstrike directory

I guess I have to make an alias in apache config to point to the tf2 server :/

But, if I make all tf public, then anyone could download it from there and get my rcon passwords and such ... What i did is just Aliased tf/maps directory in this format:

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

Then I placed in the config file:
Code:
sv_downloadurl "http://mywebsite/tf2server/"

That did the trick! Thanks! Just saw this in tutorial: http://forums.srcds.com/viewtopic/5246
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)