• Force Download.
    25 replies, posted
How do i force the download of a map for my server? Also i want to force download the file sounds/smd.mp3 how do i do that?
[url]http://wiki.garrysmod.com/?title=General_Server_Setup_Information#Fastdownload_.28sv_downloadurl.29[/url]
[QUOTE=amkoc;29734199][url]http://wiki.garrysmod.com/?title=General_Server_Setup_Information#Fastdownload_.28sv_downloadurl.29[/url][/QUOTE] No. That's fast download. You will need to use AddCSLua and Resource.Add I think it is.
ok, could you compose a lua file and tell me where to put it. (like a template)
A map file gets added automatically (provided you want to send the map that server is currently running on). To add the sound file, save this as HotGayPorn.lua in garrysmod/lua/autorun/: [lua]resource.AddFile("sounds/smd.mp3")[/lua]
and why hotgayporn.lua? [editline]10th May 2011[/editline] didn't work for the map, it just didn't download.
[QUOTE=blackfire88;29734924]and why hotgayporn.lua?[/QUOTE] And why not? [QUOTE=blackfire88;29734924]didn't work for the map, it just didn't download.[/QUOTE] So you mean you're playing on map X, and when you join the server, the map doesn't get sent to the client? Blame your host.
we're using DarkRP for the gamemode. could it be net_maxfilesize? the map is 155 mb
[QUOTE=blackfire88;29735903]we're using DarkRP for the gamemode. could it be net_maxfilesize? the map is 155 mb[/QUOTE] Yeah, you'd need a FastDl server for a map that big.
need or it'll be slow as F*** also, i only have 2 downloads, so people shouldn't mind.
It'll take several years to download a map that size without FastDL.
[QUOTE=Divran;29736306]It'll take several years to download a map that size without FastDL.[/QUOTE] Not to mention the max download size for non-FastDL is 64 MB.
damn. even for maps? or are maps different.
No, since the limit is 64.
[QUOTE=Donkie;29760843]No, since the limit is 64.[/QUOTE] With FastDL there is no limit
[QUOTE=Fleamonji;29761092]With FastDL there is no limit[/QUOTE] Wrong, the limit is still there only the speed limit is removed.
[QUOTE=Buggzie;29764940]Wrong, the limit is still there only the speed limit is removed.[/QUOTE] Nope, you obviously haven't tried it.
[QUOTE=Fleamonji;29765052]Nope, you obviously haven't tried it.[/QUOTE] Prove it to me, go upload a 100MB file to ur website, fastdl and add it to your servers download, try downloading it.
[QUOTE=Buggzie;29765178]Prove it to me, go upload a 100MB file to ur website, fastdl and add it to your servers download, try downloading it.[/QUOTE] Already uploading it to YouTube.
[QUOTE=Fleamonji;29765414]Already uploading it to YouTube.[/QUOTE] You clearly have a lot of time.
[media]http://www.youtube.com/watch?v=TzI3vnPSejU[/media] [editline]11th May 2011[/editline] It's processing.. [editline]11th May 2011[/editline] Quality is terrible, give it a few minutes [editline]11th May 2011[/editline] There we go, 1080p :)
You didn't even download it.
[QUOTE=Buggzie;29765669]You didn't even download it.[/QUOTE] What? Did you watch the video?
[QUOTE=Fleamonji;29765678]What? Did you watch the video?[/QUOTE] I watched how you were at one bar, and then magically you were downloading the cache file.
Finally, a smaller map + new recording program. [media]http://www.youtube.com/watch?v=NMyr8qusmiM[/media] [editline]11th May 2011[/editline] Bottom line OP, use FastDL and BZ2 the files. By the way, it will download files larger than 64 MB from FastDL [b]IF[/b] it's BZ2'd. And to be honest, if a server doesn't have FastDL, I disconnect.
[img]http://www.zimg.eu/i/4091180203[/img] :raise:
Sorry, you need to Log In to post a reply to this thread.