How to get people to only download current map on my server?
14 replies, posted
When people try to join my server, they have to install every map at once. This discourages most people from downloading. How do I fix it so they only have to download the current map being played?
What are you using? WorkshopDL or FastDL?
FastDL[QUOTE=code_gs;45773388]What are you using? WorkshopDL or FastDL?[/QUOTE]
Do not resource.AddFile the maps and they will automatically download on a per-map basis.
Where can I find that file?[QUOTE=code_gs;45773488]Do not resource.AddFile the maps and they will automatically download on a per-map basis.[/QUOTE]
[QUOTE=TurtleTumor;45773516]Where can I find that file?[/QUOTE]
That's not a file, it's a function. If your maps all download at once you have a code somewhere in the autorun section of the serverside that makes them download the maps
Then how do I disable it?[QUOTE=Chimpanzee;45773594]That's not a file, it's a function. If your maps all download at once you have a code somewhere in the autorun section of the serverside that makes them download the maps[/QUOTE]
[QUOTE=TurtleTumor;45773606]Then how do I disable it?[/QUOTE]
Can you post a link to your webhost?
[url]https://www.buygamingservers.com/[/url][QUOTE=code_gs;45773620]Can you post a link to your webhost?[/QUOTE]
Not that webhost. Your FastDL site.
[url]http://fdl-phoenix.buygamingservers.com/TrevorB/2762/garrysmod/[/url][QUOTE=code_gs;45773644]Not that webhost. Your FastDL site.[/QUOTE]
Find somewhere in either lua/autorun or lua/autorun/server a script containing resource.AddFile lines.
So basically open up every file that wasn't there when your server started off in the directories code_gs mentioned and press Ctrl + F and look for resource.AddFile or resource.AddSingleFile
I can't find it in either of those places... I can find a long line of resource.AddSingleFile lines under a lua script called fileadd.lua under lua/autorun/server[QUOTE=code_gs;45773777]Find somewhere in either lua/autorun or lua/autorun/server a script containing resource.AddFile lines.[/QUOTE]
Post the script here in [code] tags.
Sorry, you need to Log In to post a reply to this thread.