Hey guys,
I'm trying to setup my fastdl (not workshop) however it's not working.
I have tried setting sv_allowupload 0 to 1 and sv_allowdownload 0 to 1 aswell. But nothing has changed. It tries to download from the workshop and not the fastdl. I also have my resources.lua file which is using resource.AddSingleFile code looks like -
[CODE]resource.AddSingleFile( "models/boxopencigshib.mdl" )
resource.AddSingleFile( "models/boxopencigshib.phy" )
resource.AddSingleFile( "models/boxopencigshib.sw.vtx" )
resource.AddSingleFile( "models/boxopencigshib.vvd" )
resource.AddSingleFile( "models/boxopenshib.dx80.vtx" )
resource.AddSingleFile( "models/boxopenshib.dx90.vtx" )
resource.AddSingleFile( "models/boxopenshib.mdl" )[/CODE]
The files on my fastdl are compressed as a .bz2 format. [URL="http://soul-gaming.net/fastdl/DarkRP/garrysmod/"]FastDL link[/URL]
Please help me.
Thanks,
Tristian Wood
When adding models you don't need to include all the stuff for the model. You just would need this:
[code]
resource.AddFile( "models/boxopencigshib.mdl" )
resource.AddFile( "models/boxopenshib.mdl" )
[/code]
It will include all the other parts of the model for you. Same with materials, you only need to include the .vmt, it will automatically include the .vtf for you.
[QUOTE=Swiftone;44712221]When adding models you don't need to include all the stuff for the model. You just would need this:
[code]
resource.AddFile( "models/boxopencigshib.mdl" )
resource.AddFile( "models/boxopenshib.mdl" )
[/code]
It will include all the other parts of the model for you. Same with materials, you only need to include the .vmt, it will automatically include the .vtf for you.[/QUOTE]
Even so, resource.AddSingleFile should still work.
This should probably be put here: [URL="http://facepunch.com/forumdisplay.php?f=16"]http://facepunch.com/forumdisplay.php?f=16[/URL]
Make sure your sv_downloadurl ends in a / in your server.cfg
for example sv_downloadurl "http://example.com/fastdl/" and not sv_downloadurl "http://example.com/fastdl"
[QUOTE=Th13teen;44712321]This should probably be put here: [URL="http://facepunch.com/forumdisplay.php?f=16"]http://facepunch.com/forumdisplay.php?f=16[/URL]
Make sure your sv_downloadurl ends in a / in your server.cfg
for example sv_downloadurl "http://example.com/fastdl/" and not sv_downloadurl "http://example.com/fastdl"[/QUOTE]
Exactly what he said, no need to make that lua file. Inside your server.cfg put this in: sv_downloadurl "http://soul-gaming.net/fastdl/DarkRP/garrysmod/"
[QUOTE=Tristian Wood;44712290]Even so, resource.AddSingleFile should still work.[/QUOTE]
Yea I was just trying to help you clean up your resources file, I used to do the same thing.
I already have sv_downloadurl in my server.cfg
[CODE]sv_downloadurl "http://soul-gaming.net/fastdl/DarkRP/garrysmod/"
sv_allowupload "0"
sv_allowdownload "0"[/CODE]
But still no go. When I join my server it tries to download from the workshop (which I haven't setup) instead of the fastdl.
@ Swiftone Thankyou for your consideration :)
Sorry, you need to Log In to post a reply to this thread.