I know there are many guides on how to set up a working “FastDL”, but non of them (at least not to what I’ve seen), don’t tell you exactly how to do it (including cache ect). I was wondering if someone could kindly write a detailed step by step guide as of how to achieve this.
I’ve read that you need to include your cache/dua folder, I’ve read you need to include your lua files, I’ve read you must not include any lua files… many confusing statements.
When I attemped this for my RP server (many custom models) I would get so many issues, like:
Clients downloaded everything each time they joined.
The downloaded files never worked anyway (showing many large red ERRORs).
I pasted an old article on the wiki I wrote for some other forum, try reading it.
If you have some other questions I guess I would be happy to answer them.
[editline]09:08PM[/editline]
resource.AddFile() is for Maps, Materials, Models, Sounds, Fonts and any other client file.
AddCSLuaFile() is used to add clientside lua files to the table of lua files that the client will need, unless you are making your own scripts you don’t need to worry about this.
I made this about 2-3 months ago and posted it around on xuras.net and pulsar effect. I was gonna post it here at some point but I didn’t want to get slandered. This guide should contain everything needed to know, however if something is missing do tell me.
EDIT: Oh snap I appear to have missed an entire section on maps.
Basically, Look up how to bzip maps on google. Once they’re all bzipped, upload them to the webserver under garrysmod/maps - If that doesnt work try putting it in addons if the map was orignally in an addon format.
Bam, yes you can change it for any addon.
To answer the most recent issue, you have kept the “[BS] Player Models” in the ADDONS folder on the GAME server, yes? If it’s an addon to be uploaded, goes in addons on the GAME server, and once that’s uploaded, go into the addon itself (the zip archive) and copy the materials/models/sounds folders to the WEB server at www.urlhere.com/garrysmod
I think I may need to tweak my guide a bit so it covers aboslutely fucking everything.
Should I put in my “webserver FTP” models, materials… rather than having them in addon format? Just make everything inside the actual Garrysmod subfolder?
(and going off topic here, congrats to slayer for getting gold member)