Hey all.
For the record, I'd just like to put out there that I have Googled the problem. Thing is, my situation is slightly different. I'm running a LAN listen server for me and my mates to screw around on, and although I used the script posted on the [B][URL="http://wiki.garrysmod.com/?title=Resource.AddFile"]Resource.AddFile [IMG]http://wiki.garrysmod.com/favicon.ico[/IMG][/URL] [/B]wiki page (where you download files via just entering a directory), which worked fine for the materials, models, sounds, etc. I'm still having the Lua issue.
So I'm not using SRCDS, or a FastDL (I didn't set one up). It's thinking that I have one but I don't. It used to work fine, up until I put the downloads script in.
In my server.cfg file (obviously on my clientside cache here, since it's a listen server), I have the lines:
[code]
sv_allowdownload 1
sv_allowupload 1
[/code]
I heard that you shouldn't put the "sv_downloadurl" in if you don't have a FastDL server. However I also feel kinda dumb as I don't really know if there's any point in having a server.cfg file for a listen server...
So if I still have to update the cache, can someone tell me how? I feel like I've missed a step here. If you need anymore info that I've forgotten, just ask.
I have a feeling I'll have to use SRCDS at the end of all this, which I'd REALLY like to avoid here.
Thanks.
You havn't actually said what your problem is...
Also, prove you own Gmod if you expect help. I know, I don't link my account so a bit hypocritical but I'm not asking for LAN support either.
If you mean a listen game, try sv_downloadurl "" in your console.
You're going to need a FastDL server if you're using things like custom models, textures, etc. Every time you change a file on the server/fastDL, you have to re-up the cache. Usually you can do this by just using the one in your garrysmod/garrysmod folder. The dua folder must be empty for this to work.
Why does he need a FastDL server to play with some friends? More work to upload the custom stuff for him than the other guys have to download it just from the server.
[QUOTE=Pantho;35150622]You havn't actually said what your problem is...[/QUOTE]
Yeah, I didn't specify too well, but main thing is they don't download the updated cache. And I don't use a FastDL server. I need them to download the updated cache without a FastDL server.
[QUOTE=Pantho;35150622]Also, prove you own Gmod if you expect help. I know, I don't link my account so a bit hypocritical but I'm not asking for LAN support either.[/QUOTE]
The LAN support is fine. This worked before with me and my friends but they didn't have the files for the custom content. After I added the download script this all screwed up.
And honestly, others have had help without proving their legit copy of GMod, so it's really not a concern. If it bothers you that much, I'll post an image or something of my gmod.org account when I get home.
[QUOTE=Ideal-Hosting;35150714]If you mean a listen game, try sv_downloadurl "" in your console.[/QUOTE]
I tried that, which didn't work, but would I have to restart the server in that case (change map or something)? I didn't try that, so... who knows. I'll give it a go. It's worth a shot.
[QUOTE=Creid;35151568]You're going to need a FastDL server if you're using things like custom models, textures, etc. Every time you change a file on the server/fastDL, you have to re-up the cache. Usually you can do this by just using the one in your garrysmod/garrysmod folder. The dua folder must be empty for this to work.[/QUOTE]
So you're saying that I'd have to delete the dua folder everytime I want to start up a listen server? I suppose I wouldn't mind that, but I'd like to find out if there's a more permanent solution if possible.
[QUOTE=El_Jameo;35160599] I tried that, which didn't work, but would I have to restart the server in that case (change map or something)? I didn't try that, so... who knows. I'll give it a go. It's worth a shot.
So you're saying that I'd have to delete the dua folder everytime I want to start up a listen server? I suppose I wouldn't mind that, but I'd like to find out if there's a more permanent solution if possible.[/QUOTE]
The DUA folder doesn't have to be deleted as far as I know (might be wrong)
The changes take effect immediately.
Ensure the guys who want to join also have no clientside download filter active.
If you are with daemonservers or nfoservers (the only hosts I have tried), there should be an option in control panel. It's called "FastDL Resync" Do it. Wehn the operation is completed the server will be fully operational again.
"So I'm not using SRCDS"
He's probably using a listenserver.
I apologise for the late reply.
[QUOTE=Ideal-Hosting;35161749]Ensure the guys who want to join also have no clientside download filter active.[/QUOTE]
They don't have it active. All files are allowed to be downloaded.
[QUOTE=Ideal-Hosting;35175719]"So I'm not using SRCDS"
He's probably using a listenserver.[/QUOTE]
Indeed I am using a listenserver.
I fixed the problem (sort of) by removing the "downloads.lua" file from the autorun/server folder (the one that automatically adds the files, excluding the cache). It's not a great solution, but it'll do for the time being.
I suppose it's only really for testing. If I were to rent out a server I'd set up a proper FastDL, but none of that matters anyway.
Cheers for the help guys. If you come up with anymore suggestions, let me know.
You should never ever add ALL files to download. Causes problem, especially because there is a limit of the download-table. (Whatever it's called. I think it's a limit of files which can be added to the table)
I only did it to the models that needed to be downloaded. I didn't go ' AddDir("models") ', but I see what you're saying (I hope).
Alright, out of Ideas ;)
just talk to me on Steam Jameo
Banana Lord. would be awesome if you could post the solution if you find one!
[QUOTE=Ideal-Hosting;35221112]Banana Lord. would be awesome if you could post the solution if you find one![/QUOTE]
sure :)
Sorry, you need to Log In to post a reply to this thread.