Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: TheNoobKid 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 ?
-
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.
-
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 (http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index5809.html)
-
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
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 ;)