• Fast download question.
    8 replies, posted
With the new cache system, I see a 18 dua files in the cache folder, do I upload all of these?
Yes, you will also need to keep that directory updated every time you install a new addon or lua script. If its a linux server you can just create a symlink.
How would I go about creating a symlink, I'm not linux savvy.
mount --bind /path/to/cache /path/to/fastdl that should work althouthg i do not think its the same as a symlink
[QUOTE=usocrazy;23775299]mount --bind /path/to/cache /path/to/fastdl that should work althouthg i do not think its the same as a symlink[/QUOTE] That would work but it also gives people http access to your cfg/server.cfg and all that. to create a symblink all i did was [code] cd /var/www/gmod ln -s /home/srcds/srcds_l/orangebox/garrysmod/maps maps chmod 0777 maps [/code] And repeated with my cache, materials, models, resource, and sound directories
Shouldn't there be 1 cache file unless you're running multiple gamemodes?
[QUOTE=Banana Lord.;23795287]Shouldn't there be 1 cache file unless you're running multiple gamemodes?[/QUOTE] There's only 1 active cache file. The only time it changes is when you add/remove/change a file that's sent to the client. A lua file that's not sent to the client won't change the datapack. Changing gamemodes will also change the files sent to the client, so you'll have a cache file for each gamemode you run, plus any generated from the previously mentioned operations.
I see, that would be it I tested a few gamemodes just for fun and they where probably left over ill delete them all and restart the server, thanks.
[QUOTE=AzuiSleet;23795855]There's only 1 active cache file. The only time it changes is when you add/remove/change a file that's sent to the client. A lua file that's not sent to the client won't change the datapack. Changing gamemodes will also change the files sent to the client, so you'll have a cache file for each gamemode you run, plus any generated from the previously mentioned operations.[/QUOTE] That would explain why on my Fretta server we all got Lua cache errors xD
Sorry, you need to Log In to post a reply to this thread.