Posts: 2,440
Threads: 73
Joined: May 2009
Reputation:
33
Please open your own thread with your problem so we can help you better.
Looking for a game server? Visit
fullfrag.com and pick one up as low as $2.50 / mo!
Posts: 26
Threads: 5
Joined: Sep 2009
Reputation:
1
Just wanted to help people out who have problems with their redirect, because i finally solved it after 2 hours of testing...
my problem:
every custommap returned a "map ... not found. disconnecting" error.
my config:
sv_download 1
sv_upload 1
sv_downloadurl "http://someurl/tf2"
running on a linux debian server btw
what i did wrong and how to solve it:
- i used the tar command (tar cfvj ...) to create .tar.bz2 files. i didn't see that the files had to be "file.bsp.bz2" at first. Renaming doesn't help out, the tar command and the bzip2 have different compressions!
-> if you haven't installed, install with "apt-get install bzip2" or similar commands. usage: "bzip2 filename.bsp" creates: filename.bsp.bz2 <-- this is the correct redirect file!
- i uploaded all the maps into the "http://someurl/tf2" directory.
-> in the serverlogs i discovered, that the game was looking in the maps/ subdirectory which didn't exist. So if your DL url looks like this: "http://someurl/tf2" create a folder and store your maps here: "http://someurl/tf2/maps"
Also, as mentioned in the thread somewhere:
- Check file permissions! if you create the bz2 files as root, your webuser probably can't read them. test it in your browser!
- Check if the sv_maxfilesize is large enough. insert a value which represents the biggest file in your directory!
Posts: 5,178
Threads: 65
Joined: Mar 2005
Reputation:
22
Hi, I've edited that particular part in the turorial.
Back when I wrte this, the server didn't download the bz2 from the webserver if you didn't have the bz2 on the gameserver. Maybe it changed?
Posts: 120
Threads: 8
Joined: Jan 2007
Reputation:
0
CoveringFire is correct; the compressed .bz2 files need to only be on the web server.
Manage your redirects/fast downloads with one click!
SourceRSC and HL1RSC
Need a free web based game server hosting panel? Check out
UGCC.