ULX

Author Topic: Fast DL problem. ?  (Read 1895 times)

0 Members and 1 Guest are viewing this topic.

Offline TheNoobKid

  • Newbie
  • *
  • Posts: 25
  • Karma: -1
Fast DL problem. ?
« on: May 22, 2013, 01:14:42 AM »
Hello there,

I have a problem with my gmod server.
I have a DarkRP server but my server don't allowed people to download my custom models.

I have a fast dl server on my homesite, and our map beginning downloading when people joining, and it working.
But my files will not begin downloading. My friends joining and dont download my files and got ERROR on the server..
How can I fix this problem... Anyone know how to do ?

Offline Decicus

  • Hero Member
  • *****
  • Posts: 552
  • Karma: 81
    • Alex Thomassen
Re: Fast DL problem. ?
« Reply #1 on: May 22, 2013, 06:03:49 AM »
Did you remember to to .bz2 (bzip2). Fast download wont work unless you do that. Get 7-Zip for Windows and you can compress files to .bz2.
Contact information:
E-mail: alex@thomassen.xyz.
You can also send a PM.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Fast DL problem. ?
« Reply #2 on: May 22, 2013, 07:49:43 AM »
fastDL works without bz2 zipping files.

What is probably happening, is that you haven't added the files to the list of resources the server pushes to clients. Simply having a file on your fastDL server doesn't make the clients download them.

You can either use ULX's built in resource management, or resource.AddFile

Offline sabo

  • Full Member
  • ***
  • Posts: 136
  • Karma: 2
  • Hello :)
    • The Elite Gaming
Re: Fast DL problem. ?
« Reply #3 on: May 22, 2013, 09:28:34 AM »
I use resource.AddFile to add custom stuff to my server.

Here is an example for a file in the "models" folder and 1 example for 1 file in the "materials" folder

Code: [Select]
resource.AddFile( "materials/models/player/slow/rorschach_v2/slow_scarf_bump.vtf" )
resource.AddFile( "models/player/slow/rorschach.dx80.vtx" )

You have to add every single file inside of the weapons folder.

If you have added every single file with the same command/sheme you just safe it as (I do it this way) rorschach-fastdownload.lua

Then you have to put the *.lua file to garrysmod/lua/autorun/server

I hope I could help ;)