I've looked everywhere and still have'nt found a solution

dancore
A regular
A regular
Posts: 34
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Thu Jul 04, 2013 7:55 pm

I've looked everywhere and still have'nt found a solution

Post by dancore »

I've set up the websync for the fastDL but none of my players are downloading the models, materials. I went through the server.cfg and set the downloadurl to the correct address, sv_allowdownload 0 and sv_allowupload 0, but I'm still not getting anything to my players. I have another computer I use to test the server and I've checked through it's garrysmod files and none of my files seem to be in the folders. Would anyone know why my fastDL is working properly?

-dancore

btw I've also tried sv_allowdownload 1 and sv_allowupload 1

+also I've deleted everything on my fastdl website and synced... still nothing. I've also tried a forcedownload.lua with all the models and materials added correctly.
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: I've looked everywhere and still have'nt found a solutio

Post by kraze »

I spent some time tonight testing force downloading in Gmod and it seems to be broken with this release. I can't get it to work at all :/
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
dancore
A regular
A regular
Posts: 34
Joined: Thu Jul 04, 2013 7:55 pm

Re: I've looked everywhere and still have'nt found a solutio

Post by dancore »

Thanks for the quick reply, I ran into a forum on fp that was saying garry had broken the FastDL but that was back in April. Any idea when it maybe fixed? Or is there a way I can use the website my server came with so people can dl it off of there? I'm using an nfo server.

-dancore

EDIT- I've read that some server have they're fastDL working so maybe there's a way?
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: I've looked everywhere and still have'nt found a solutio

Post by kraze »

Our webhosting doubles as fastdl, all you need to do is go to the "websync" tab in your control panel and click on "sync files".

However, the game won't download things like materials and models to the client for no reason. Something needs to be calling it and the force download method solved that. If that is not working then you may be able to find an addon which replaces it but I don't know of any.
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
dancore
A regular
A regular
Posts: 34
Joined: Thu Jul 04, 2013 7:55 pm

Re: I've looked everywhere and still have'nt found a solutio

Post by dancore »

I do have a forcedownload.lua in my lua/autorun folder with

Code: Select all

if (SERVER) then
	resource.AddFile( "materials/models/fearless/mafia/arms.vmt" )
	resource.AddFile( "materials/models/fearless/mafia/arms.vtf" )
	resource.AddFile( "materials/models/fearless/mafia/coat.vmt" )
	resource.AddFile( "materials/models/fearless/mafia/coat.vtf" )
	resource.AddFile( "materials/models/fearless/mafia/coat_b.vmt" )
	resource.AddFile( "materials/models/fearless/mafia/coat_b.vtf" )
	resource.AddFile( "materials/models/fearless/mafia/coat_exp.vtf" )
	resource.AddFile( "materials/models/fearless/mafia/erdim_cylmap.vmt" )
	resource.AddFile( "materials/models/fearless/mafia/erdim_cylmap.vtf" )
	resource.AddFile( "materials/models/fearless/mafia/eric_facemap.vmt" )
...etc
But I didn't put it on the website because it's a lua.
Maybe there's something I'm missing?

EDIT- I did websync
I've set up the websync for the fastDL but none of my players are downloading the models, materials.
EDIT- and I've also deleted all of it and re synced it.
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: I've looked everywhere and still have'nt found a solutio

Post by kraze »

Yes, as I mentioned above the force download system built into GMod seems to be broken. We'll have to wait for a fix from Garry.
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
dancore
A regular
A regular
Posts: 34
Joined: Thu Jul 04, 2013 7:55 pm

Re: I've looked everywhere and still have'nt found a solutio

Post by dancore »

I just ran into this post from garry
http://www.garrysmod.com/2013/05/31/ste ... witchover/
Does this have anything to do with it?
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: I've looked everywhere and still have'nt found a solutio

Post by kraze »

That could've been when he broke it but the change over to SteamPipe wouldn't of effect the was force download works.
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
User avatar
Sir Nipah
This is my homepage
This is my homepage
Posts: 76
Joined: Mon Jul 08, 2013 3:38 am
Location: Australia/Melbourne
Contact:

Re: I've looked everywhere and still have'nt found a solutio

Post by Sir Nipah »

Hay there I know a bit about gmod and how it works

You need to add this, It forces the user to download it from the fastdl.

Code: Select all

sv_allowdownload "0"
I don't know how you have your fastdl setup but if its on a web site add this to the server.cfg

Code: Select all

sv_downloadurl "http://www.example.com/dir/garrysmod/"
Fixed the lua file :P

Code: Select all

-- lua\autorun\server\forcedownload.lua
if (SERVER) then
   resource.AddFile( "materials/models/fearless/mafia/arms.vmt" )
   resource.AddFile( "materials/models/fearless/mafia/arms.vtf" )
   resource.AddFile( "materials/models/fearless/mafia/coat.vmt" )
   resource.AddFile( "materials/models/fearless/mafia/coat.vtf" )
   resource.AddFile( "materials/models/fearless/mafia/coat_b.vmt" )
   resource.AddFile( "materials/models/fearless/mafia/coat_b.vtf" )
   resource.AddFile( "materials/models/fearless/mafia/coat_exp.vtf" )
   resource.AddFile( "materials/models/fearless/mafia/erdim_cylmap.vmt" )
   resource.AddFile( "materials/models/fearless/mafia/erdim_cylmap.vtf" )
   resource.AddFile( "materials/models/fearless/mafia/eric_facemap.vmt" )
end
You never ended the code. Use that

resource.AddFile works on gmod13.
resource.AddSingleFile is the one that does not.

As for steampipe, That has just been a bitch to hosts and devs :/
Hopes this helps :)
Image Garry's Mod veteran.
dancore
A regular
A regular
Posts: 34
Joined: Thu Jul 04, 2013 7:55 pm

Re: I've looked everywhere and still have'nt found a solutio

Post by dancore »

Yeah I've had all those set up correctly. Still not working that way. Yep The url is correct. I didn't end the code because mine goes further down it was just a snip. Also its resource.AddSingleFile now I guess. Thanks though.

EDIT- didn't mean to bump this. sorry.

-dancore
dancore
A regular
A regular
Posts: 34
Joined: Thu Jul 04, 2013 7:55 pm

Re: I've looked everywhere and still have'nt found a solutio

Post by dancore »

Wait so is there a way to get fastDL working with steampipe?

-dancore
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: I've looked everywhere and still have'nt found a solutio

Post by kraze »

Sir Nipah wrote:
resource.AddFile works on gmod13.
resource.AddSingleFile is the one that does not.
In my testing resource.addfile didn't work but resource.addsinglefile did. I spent some time on it and confirmed it didn't work.
dancore wrote:Wait so is there a way to get fastDL working with steampipe?
FastDL does work with GMod13, you just need to hit "sync files now" via the websync tab in your control panel.
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
dancore
A regular
A regular
Posts: 34
Joined: Thu Jul 04, 2013 7:55 pm

Re: I've looked everywhere and still have'nt found a solutio

Post by dancore »

kraze wrote:FastDL does work with GMod13, you just need to hit "sync files now" via the websync tab in your control panel.
I have but it's still not downloading my models for anyone.

EDIT- Wait so since I'm adding resource.AddSingleFile do I need to add everything or just the .vmt, .vtf, and .mdl?
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: I've looked everywhere and still have'nt found a solutio

Post by kraze »

dancore wrote:
kraze wrote:FastDL does work with GMod13, you just need to hit "sync files now" via the websync tab in your control panel.
I have but it's still not downloading my models for anyone.
Yes, things like models, materials, sounds..etc do not download because they are there, they need to be forced using the code above.

Try replacing resource.addfile with resource.addsinglefile and try again.
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
dancore
A regular
A regular
Posts: 34
Joined: Thu Jul 04, 2013 7:55 pm

Re: I've looked everywhere and still have'nt found a solutio

Post by dancore »

kraze wrote:Yes, things like models, materials, sounds..etc do not download because they are there, they need to be forced using the code above.

Try replacing resource.addfile with resource.addsinglefile and try again.
I have been using resource.AddSingleFile...Here I'll just show you the whole .lua

Code: Select all

if (SERVER) then
	resource.AddWorkshop( "133342076" )
	resource.AddWorkshop( "104479034" )
	resource.AddWorkshop( "116591163" )
	resource.AddWorkshop( "149491742" )
	resource.AddWorkshop( "142474598" )
	resource.AddWorkshop( "124240579" )
	resource.AddWorkshop( "104479831" )
	resource.AddSingleFile( "materials/models/fearless/mafia/arms.vmt" )
	resource.AddSingleFile( "materials/models/fearless/mafia/arms.vtf" )
	resource.AddSingleFile( "materials/models/fearless/mafia/coat.vmt" )
	resource.AddSingleFile( "materials/models/fearless/mafia/coat.vtf" )
	resource.AddSingleFile( "materials/models/fearless/mafia/coat_b.vmt" )
	resource.AddSingleFile( "materials/models/fearless/mafia/coat_b.vtf" )
	resource.AddSingleFile( "materials/models/fearless/mafia/coat_exp.vtf" )
	resource.AddSingleFile( "materials/models/fearless/mafia/erdim_cylmap.vmt" )
	resource.AddSingleFile( "materials/models/fearless/mafia/erdim_cylmap.vtf" )
	resource.AddSingleFile( "materials/models/fearless/mafia/eric_facemap.vmt" )
	resource.AddSingleFile( "materials/models/fearless/mafia/eric_facemap.vtf" )
	resource.AddSingleFile( "materials/models/fearless/mafia/fedora.vmt" )
	resource.AddSingleFile( "materials/models/fearless/mafia/fedora.vtf" )
	resource.AddSingleFile( "materials/models/fearless/mafia/mike_facemap.vmt" )
	resource.AddSingleFile( "materials/models/fearless/mafia/mike_facemap.vtf" )
	resource.AddSingleFile( "materials/models/fearless/mafia/sandro_facemap.vmt" )
	resource.AddSingleFile( "materials/models/fearless/mafia/sandro_facemap.vtf" )
	resource.AddSingleFile( "materials/models/fearless/mafia/suit.vmt" )
	resource.AddSingleFile( "materials/models/fearless/mafia/suit.vtf" )
	resource.AddSingleFile( "materials/models/fearless/mafia/suit_b.vmt" )
	resource.AddSingleFile( "materials/models/fearless/mafia/suit_b.vtf" )
	resource.AddSingleFile( "materials/models/fearless/mafia/suit_exp.vtf" )
	resource.AddSingleFile( "materials/models/fearless/mafia/ted_facemap.vmt" )
	resource.AddSingleFile( "materials/models/fearless/mafia/ted_facemap.vtf" )
	resource.AddSingleFile( "materials/models/fearless/don/arms.vmt" )
	resource.AddSingleFile( "materials/models/fearless/don/arms.vtf" )
	resource.AddSingleFile( "materials/models/fearless/don/coat.vmt" )
	resource.AddSingleFile( "materials/models/fearless/don/coat.vtf" )
	resource.AddSingleFile( "materials/models/fearless/don/face.vmt" )
	resource.AddSingleFile( "materials/models/fearless/don/face.vtf" )
	resource.AddSingleFile( "materials/models/fearless/don/fedora.vmt" )
	resource.AddSingleFile( "materials/models/fearless/don/fedora.vtf" )
	resource.AddSingleFile( "materials/models/fearless/don/suit.vmt" )
	resource.AddSingleFile( "materials/models/fearless/don/suit.vtf" )
	resource.AddSingleFile( "models/fearless/don1.mdl" )
	resource.AddSingleFile( "models/fearless/mafia02.mdl" )
	resource.AddSingleFile( "models/fearless/mafia04.mdl" )
	resource.AddSingleFile( "models/fearless/mafia06.mdl" )
	resource.AddSingleFile( "models/fearless/mafia07.mdl" )
	resource.AddSingleFile( "models/fearless/mafia09.mdl" )
	resource.AddSingleFile( "models/fearless/suit04.mdl" )
	resource.AddSingleFile( "models/fearless/suit07.mdl" )
	resource.AddSingleFile( "models/fearless/wsuit09.mdl" )
	resource.AddSingleFile( "models/fearless/wsuit15.mdl" )
end
I don't see the problem.

EDIT- The resource.AddWorkshop works perfectly
-dancore
Post Reply