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

User avatar
kraze
Former staff
Former staff
Posts: 4362
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
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 »

Looking at the code you posted above you weren't using that. Was that not the case?

Try setting sv_allowdownload "0" to 1 and restarting your server.
@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 was using resource.AddFile like 6 days ago but I changed it to AddSingleFile a couple days ago. I haven't switch the allowdownload back to 1 though so I'll try that.

EDIT- The models are sill purple&black for other players.
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 »

It still isn't working. Should I have allowupload 1 too?
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 »

Did you check your console.log file to see if there is any errors being thrown about it?
@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 »

Where would I find that file?
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 »

You would need to enable -condebug via the server control tab in your control panel and then look for a console.log file in the root of your garrys mod folder in FTP.
@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 »

Should I be adding public\server\
since it's suppose to be coming from the webserver?

Like

Code: Select all

resource.AddSingleFile( "public/server/materials/models/fearless/mafia/arms.vmt" )
?

-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 »

Garrysmod is the root.

So it should be..

materials/mymaterial
sound/mysound..etc
@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 »

Should I add .bz2 ?
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:Should I add .bz2 ?
You shouldn't be force downloading maps.
@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 »

On my webserver in the ftp all the files are both regular and .bz2
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 wouldn't expect normal files to be like that, but either way, don't include the .bz2 extension but do include the file extension.
@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 have my forcedownload.lua in lua/autorun/server is that correct?

EDIT- I really can't tell what my problem is, I've been looking it up for a week now. You are really the only one that's tried to help thanks. My server downloads the workshop but no models or materials...
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, that is the correct location. Once it's there reboot the server and attempt to join.
@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 »

Actually I think I may have found my problem I'll message back
Post Reply