Sv_downloadurl .. Half working.

I’ve been having trouble with sv_downloadurl for a while now, and I see it as a necessary component for my dedicated server.

Anyway, to the problem.
Basically, all of the lua files (from the cache which I uploaded) download perfectly. However, nothing else does.
Here is my sv_downloadurl section in my server.cfg file -



sv_downloadurl "http://blahblah.blahblah.com/garrysmod"
sv_allowdownload 1
sv_allowupload 1
net_maxfilesize 64


Here is also a picture of what my layout is on the web server (Note, the web server is Linux)

http://img194.imageshack.us/img194/6349/serverfiles.jpg

When I check my access logs, It tells me people have been downloading the luas.
There is no evidence of any relation to any other files.

Now, a while ago, I added a few pieces of code to resources.lua (resource.addfile) and such.
I coded up a whole mod, and it downloaded, but not particularly well, materials were missing.
I’m sure this must be something to do with the way my server is telling the web server to download things, as clients don’t even make an attempt to download materials, models etc.

Any help will be greatly appreciated.

Majority of addons require the client to download them. sweps and sents are normally the ones you have to resource.AddFile because the developers don’t think of servers but just the finished project.

Stuff like wiremod or PHX don’t bother.

Okay, so all of the files won’t automatically be downloaded from the web server?
I’m sure I read that somewhere, but yes, I have seen addons with resource.AddFile coded into their lua files.
Thanks for the reply :smiley:

Yea, just clean your gmod and join your server and see what is missing/broken/needs to be added and go from there.

Okay, thanks very much :smiley:

I have the opposite problem, Maps and stuff download fine but lua doesn’t and it messes crap up. Yes, I’m putting the dua cache on there and yes, it was working 2-3 updates ago.