Hey, When somebody downloads from our sv_downloadurl , They download the models and such maps etc. The Lua Cache file lists in the downloads but seems like a almost instantaneous download. Then when they join the server it says Lua cache could not be downloaded, Server is misconfigured. Ive copied over the updated cache file which the server generates to the sv_downloadurl.Whats going on?
[editline]12:15AM[/editline]
Note: Turning off fast download fixes the problem. But FastDL is a must!
Recheck the URL, are other models being downloaded?
[QUOTE=Adamm;23678985]Recheck the URL, are other models being downloaded?[/QUOTE]
Yes. Everything but the lua cache file.
After map change you need to upload Lua cache file to Fast Dl
Dude, You dident read the thread but anyways I fixed it myself by simply reinstalling the fastdl.
Reinstalling fastdl? There's no such thing
Don't you mean your folders were wrong and you just realized the stupid mistake.
[QUOTE=doonbugie2;23677523]Hey, When somebody downloads from our sv_downloadurl , They download the models and such maps etc. The Lua Cache file lists in the downloads but seems like a almost instantaneous download. Then when they join the server it says Lua cache could not be downloaded, Server is misconfigured. Ive copied over the updated cache file which the server generates to the sv_downloadurl.Whats going on?
[editline]12:15AM[/editline]
Note: Turning off fast download fixes the problem. But FastDL is a must![/QUOTE]
what is fastdl i have that problem to how do i fix it
If you dont know what it is then you wont have a problem with it seeming that you have to enable it.
Hmm, Okay its not working again. Ive done it the right way. Not working, Ive tried all your suggestions not working. Ive recopied the lua cache over hundreds of times not working. Ive deleted my Fastdl directory and re-copied them over again and did all the usual, not working. everything else, even the maps download perfectly. The lua cache is being a bitch and not downloading. How do I fix this, Note: Im running DarkRP.
[editline]02:30AM[/editline]
[QUOTE=Adamm;23704022]Reinstalling fastdl? There's no such thing
Don't you mean your folders were wrong and you just realized the stupid mistake.[/QUOTE]
No, Folders are all correct. And by reinstall I mean delete my fastdl directory, and start the process all over again.
I am having the same problem, I can't even get the cache to send without fastdl..
[QUOTE=Shane;23743743]I am having the same problem, I can't even get the cache to send without fastdl..[/QUOTE]
Are you using the Linux binaries aswell?
I had the same problem (if your using the lin-bins that is) Your cache folder is created with different access properties than the other folder for some reason.
[code]sudo chmod -R 0777 cache/[/code]
[QUOTE=mcd1992;23748069]I had the same problem (if your using the lin-bins that is) Your cache folder is created with different access properties than the other folder for some reason.
[code]sudo chmod -R 0777 cache/[/code][/QUOTE]
You could be a life saver. Lets find out.
[editline]06:09PM[/editline]
Bah doesent work. Darn.
How is your server setup? Is the httpd on the same pc as the server?
All I did was create symlinks from the ~/srcds_l/garrysmod/* to the /var/www/gmod/* and chmod'd the ~/srcds_l/garrysmod/* directories.
if you run tailf on the /var/log/apache2/access.log does it show the clients trying to download the files?
Edit:
Also the wiki says to setup your sv_downloadurl with a / at the end but when you do that the clients request for /gmod//cache/blah.dua
So make sure your svn_downloadurl is [url]http://example.com/gmod[/url] without the trailing forward slash.
(same server as OP)
There is apache2 on the server aswell, in the logs it has this:
96.50.xxx.xxx - - [01/Aug/2010:09:29:08 +0000] "GET /fastdl//cache/726364557dc12b9ec10c473057e602 4b.dua.bz2 HTTP/1.1" 404 399 "hl2://212.117.167.184:27015" "Half-Life 2"
96.50.xxx.xxx - - [01/Aug/2010:09:29:09 +0000] "GET /fastdl//cache/726364557dc12b9ec10c473057e602 4b.dua HTTP/1.1" 404 395 "hl2://212.117.167.184:27015" "Half-Life 2"
96.50.xxx.xxx - - [01/Aug/2010:09:32:13 +0000] "GET /fastdl//cache/726364557dc12b9ec10c473057e602 4b.dua.bz2 HTTP/1.1" 404 399 "hl2://212.117.167.184:27015" "Half-Life 2"
96.50.xxx.xxx - - [01/Aug/2010:09:32:13 +0000] "GET /fastdl//cache/726364557dc12b9ec10c473057e602 4b.dua HTTP/1.1" 404 395 "hl2://212.117.167.184:27015" "Half-Life 2"
[QUOTE=usocrazy;23748909](same server as OP)
There is apache2 on the server aswell, in the logs it has this:
96.50.xxx.xxx - - [01/Aug/2010:09:29:08 +0000] "GET /fastdl//cache/726364557dc12b9ec10c473057e602 4b.dua.bz2 HTTP/1.1" 404 399 "hl2://212.117.167.184:27015" "Half-Life 2"
96.50.xxx.xxx - - [01/Aug/2010:09:29:09 +0000] "GET /fastdl//cache/726364557dc12b9ec10c473057e602 4b.dua HTTP/1.1" 404 395 "hl2://212.117.167.184:27015" "Half-Life 2"
96.50.xxx.xxx - - [01/Aug/2010:09:32:13 +0000] "GET /fastdl//cache/726364557dc12b9ec10c473057e602 4b.dua.bz2 HTTP/1.1" 404 399 "hl2://212.117.167.184:27015" "Half-Life 2"
96.50.xxx.xxx - - [01/Aug/2010:09:32:13 +0000] "GET /fastdl//cache/726364557dc12b9ec10c473057e602 4b.dua HTTP/1.1" 404 395 "hl2://212.117.167.184:27015" "Half-Life 2"[/QUOTE]
Exactly :P
take the / off the end of the sv_downloadurl and it should work.
ffffffuuuuuu
I just noticed the folder in /home/gmod wasnt mount --binded to /var/www/fastdl
and there was a extra / in the config files
I think it works now :D
I have no idea what is wrong with mine, I updated it and now it won't send anything.
[QUOTE=Shane;23749511]I have no idea what is wrong with mine, I updated it and now it won't send anything.[/QUOTE]
Updated the gmod or http server?
GMod server
You all deserve cookies. Problem solved :D
[QUOTE=Shane;23751146]GMod server[/QUOTE]
Are you saying it wont even send the files even without sv_downloadurl or are you saying your having the same problem as the OP?
Hey People,
I am new to the sv_downloadurl, can any of you explain what the "Lua cache" folder/file is, please?
where can I find it / do I have to create it., if so how?
Many Thanks to anyone willing to help :D
It is located in /orangebox/garrysmod/cache
Ill did upload all the /cache files to the link that sv_downloadurl its linked too. but when im trying to connect to the server my garrys mod just crash. The console says STEAM USERID validated
[QUOTE=mcd1992;23748810]How is your server setup? Is the httpd on the same pc as the server?
All I did was create symlinks from the ~/srcds_l/garrysmod/* to the /var/www/gmod/* and chmod'd the ~/srcds_l/garrysmod/* directories.
if you run tailf on the /var/log/apache2/access.log does it show the clients trying to download the files?
Edit:
Also the wiki says to setup your sv_downloadurl with a / at the end but when you do that the clients request for /gmod//cache/blah.dua
So make sure your svn_downloadurl is [url]http://example.com/gmod[/url] without the trailing forward slash.[/QUOTE]
That would reveal your cfg, addons and gamemodes folders on the webserver. It's safer to create symbolic links only to the required folders. Only folders I've linked on my server are cache, maps, materials, models, resource and sound.
[QUOTE=Wix;24675545]Ill did upload all the /cache files to the link that sv_downloadurl its linked too. but when im trying to connect to the server my garrys mod just crash. The console says STEAM USERID validated[/QUOTE]
[IMG]http://a.imageshack.us/img52/7351/zombiethread.jpg[/IMG]
When making fastdl, you should always manually go to the url where it is and make sure you can download a few files fine.
double slashing doesn't change anything.
If i remove my sv_downloadurl does it work then?
[QUOTE=Dragon Master;23873328]Hey People,
I am new to the sv_downloadurl, can any of you explain what the "Lua cache" folder/file is, please?
where can I find it / do I have to create it., if so how?
Many Thanks to anyone willing to help :D[/QUOTE]
When addons are added, the server creates a new cache file (in the "/garrrymod/cache" folder)
These must be in the fastDL server (in the same folder structure), since when sv_downloadurl is set, everything is downloaded from the FastDL server rather than the actual game server.
Hope that helps :D
Sorry, you need to Log In to post a reply to this thread.