I setup a fastdl using filezilla and webhost and it does work, but even though I downloaded the textures i still see black and purple texture errors.
This is also happening to my player models that are in the pointshop.
You may need to force the download of the CUSTOM files. By that i mean do not use AddDir(), but rather resource.AddFile() for each custom file.
In [I]<server folder>/lua/autorun/server[/I] create a file called whatever (e.g. forcedownload.lua), keep in mind it HAS to end with .lua.
In it, place [I]resource.AddFile("<file path>")[/I] on a new line for each custom file.
An example for one custom model, and one custom material:
[CODE]-- Model
resource.AddFile("models/model.mdl")
-- Material
resource.AddFile("materials/material.vmt")[/code]
Keep in mind that for convenience, this function will automatically add all files ending with .vvd, .ani, .dx80.vtx, .dx90.vtx, .sw.vtx, .phy and .jpg with the same filename.
Some documentation: [URL="http://wiki.garrysmod.com/page/resource/AddFile"]http://wiki.garrysmod.com/page/resource/AddFile[/URL]
[QUOTE=TrinityX;43113868]You may need to force the download of the CUSTOM files. By that i mean do not use AddDir(), but rather resource.AddFile() for each custom file.
In [I]<server folder>/lua/autorun/server[/I] create a file called whatever (e.g. forcedownload.lua), keep in mind it HAS to end with .lua.
In it, place [I]resource.AddFile("<file path>")[/I] on a new line for each custom file.
An example for one custom model, and one custom material:
[CODE]-- Model
resource.AddFile("models/model.mdl")
-- Material
resource.AddFile("materials/material.vmt")[/code]
Keep in mind that for convenience, this function will automatically add all files ending with .vvd, .ani, .dx80.vtx, .dx90.vtx, .sw.vtx, .phy and .jpg with the same filename.
Some documentation: [URL="http://wiki.garrysmod.com/page/resource/AddFile"]http://wiki.garrysmod.com/page/resource/AddFile[/URL][/QUOTE]
Yeah thats what i currently have but it doesn't work.
Are you sure you set the [I]sv_downloadurl[/I] convar correctly? It should be set to a folder that looks like this:
[img]http://puu.sh/5GFUr.png[/img]
Are you sure that webhost support SVN?
Use GoogleCode.
You need to use sv_downloadurl without http:// prefix.
Example:
sv_downloadurl "examplefastdl.com/svn/trunk/"
And you need to zip your files into *.bzip archives. Use 7-Zip for this.
GoogleCode is for [b]code[/b], it's not your personal file mirror. 9 times out of 10 your server provider has FastDL for free anyway.
Post your resource.AddFile Lua file, FastDL address, and server.cfg.
It sounds to me like he has bad textures in my opinion, says he DOWNLOADED the file, but they are purple and black? Did you put the change the vmt to match the right filepath for the basetexture? (or moved the files to the same filepath you got them from) Also make sure to delete the old copy of the texture so it can re-download once you edit things. (garry's mod download folder)
When using custom models and textures the best way to go is completely copy the original filepath (create folders identical to the ones they were in)
By "I downloaded the textures" he more than likely means the download popped up and it looked like it actually downloaded, but in reality the webserver threw a 404
I suggest uploading your models to steam workshop and having steam workshop do the work, it's alot faster for clients to DL and you don't have to mess with payments and hosts. Although it's a bitch to update.
[QUOTE=Pizhik;43121818][img]http://imgur.com/pGBGoec.png[/img]
[img]http://i.imgur.com/z6KZLWJ.png[/img]
[img]http://i.imgur.com/Pmmf0fj.png[/img]
Elite.[/QUOTE]
Because I agreed with Banana Lord, and not with you nor Kevin. Google code is for code, not FastDL (which has been said multiple times in the past on this forum), and "bad textures"/basetexture has nothing to do with FastDL. That has to do with improper .vmt creation.
[editline]9th December 2013[/editline]
[QUOTE=Carpet_Blower;43123329]I suggest uploading your models to steam workshop and having steam workshop do the work, it's alot faster for clients to DL and you don't have to mess with payments and hosts. Although it's a bitch to update.[/QUOTE]
No, WorkshopDL is slower than FastDL in many cases. If he has a server host, chances are he already has a FastDL host that comes with the plan for free.
[QUOTE=code_gs;43125137]Because I agreed with Banana Lord, and not with you nor Kevin. Google code is for code, not FastDL (which has been said multiple times in the past on this forum), and "bad textures"/basetexture has nothing to do with FastDL. That has to do with improper .vmt creation.
[editline]9th December 2013[/editline]
No, WorkshopDL is slower than FastDL in many cases. If he has a server host, chances are he already has a FastDL host that comes with the plan for free.[/QUOTE]
Well I figured by what I read that he was possibly downloading the textures, but the textures were producing purple/black boxes even after downloading them properly. But it was just a suggestion, was assuming he set up his FastDL properly.
that sends me to [url]http://error404.000webhost.com/?[/url]
[QUOTE=Banana Lord.;43129572]that sends me to [url]http://error404.000webhost.com/?[/url][/QUOTE]
Ik it does but the thing is the fast dl works but it just when you download the models it still shows as errors if that makes sense
[QUOTE=Augs;43129900]Ik it does but the thing is the fast dl works but it just when you download the models it still shows as errors if that makes sense[/QUOTE]
Because it isn't downloading them. Because the website doesn't exist.
It will download if the host is invalid, but the files aren't actually downloading, it's just saying they are. Also, why the hell would you use resource.AddSingleFile? It's unreliable and takes up more space than it should.
[QUOTE=code_gs;43130247]It will download if the host is invalid, but the files aren't actually downloading, it's just saying they are. Also, why the hell would you use resource.AddSingleFile? It's unreliable and takes up more space than it should.[/QUOTE]
So should i actually build my site on webhost and what do u recommend i do with the resource thing?
[QUOTE=Augs;43130594]So should i actually build my site on webhost and what do u recommend i do with the resource thing?[/QUOTE]
Why not use 000webhost since you already have one setup?
[QUOTE=code_gs;43130652]Why not use 000webhost since you already have one setup?[/QUOTE]
Thats what im asking so should i actualy setup the site or just leave it cuz i only setup the host not the site itself.
1rs: Create a website that works(it can be with dropbox!);
2nd: Place the FastDL files there;
3rd: Fix the server.cgf;
[QUOTE=GGG KILLER;43130701]1rs: Create a website that works(it can be with dropbox!);
2nd: Place the FastDL files there;
3rd: Fix the server.cgf;[/QUOTE]
ive tried dropbox... didnt work but ok ill make the site.
[QUOTE=GGG KILLER;43130701]1rs: Create a website that works(it can be with dropbox!);
2nd: Place the FastDL files there;
3rd: Fix the server.cgf;[/QUOTE]
Why use dropbox? It had bandwith limits.
[QUOTE=code_gs;43131520]Why use dropbox? It had bandwith limits.[/QUOTE]
Well, i thought we were able to use dropbox, but you can use your own website or webserver then(or foward your computer ports and put your IP there).
[QUOTE=code_gs;43131520]Why use dropbox? It had bandwith limits.[/QUOTE]
000webhost does have limits too, but dropbox is a worse idea.
Dropbox doesn't tell you what said limits are, 000webhost does
There are no really good free web hosts except for hosting one yourself.
It's better to pay for it or host one yourself because I haven't seen a good free host for FastDL.
Although, I wonder if anyone uses free hosts. I may have seen a google url for Fastdl recently.
Sorry, you need to Log In to post a reply to this thread.