My FastDL issues :C

ragegriffith
New to forums
New to forums
Posts: 9
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Mon Feb 23, 2015 6:08 pm

My FastDL issues :C

Post by ragegriffith »

So I know how to use the workshop to add items like that but when it comes to fastdl on a website I'm really confused. I know there is this http://www.nfoservers.com/forums/viewto ... =65&t=7337 but I'm a derp I guess.
I uploaded my addons online to the webhost public/fastdl I've tried to put it in a zip to compress them all and that didn't work, I tried to add them all into the folder and try it like that as well. I'm probably missing something very simple.

Any help is appreciated :)
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: My FastDL issues :C

Post by soja »

If you are compressing files, the only supported type for gmod is bzip2. You cannot compress folders using this, only individual files.

Make sure all files you want downloaded to the client are in a lua file with resouce.AddFile or something similar.
Not a NFO employee
ragegriffith
New to forums
New to forums
Posts: 9
Joined: Mon Feb 23, 2015 6:08 pm

Re: My FastDL issues :C

Post by ragegriffith »

soja wrote:If you are compressing files, the only supported type for gmod is bzip2. You cannot compress folders using this, only individual files.

Make sure all files you want downloaded to the client are in a lua file with resouce.AddFile or something similar.
http://prntscr.com/693ki4
This is a picture of a fresh server as you can see there are no addons besides the ulx. So say I want to download pointshop addon for my server, how can I add that to fast download? is that even possible? Before I would just drop the file into my addons file.
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: My FastDL issues :C

Post by soja »

You don't need to download pointshop to clients, just files they will need like models/materials/etc.
Not a NFO employee
ragegriffith
New to forums
New to forums
Posts: 9
Joined: Mon Feb 23, 2015 6:08 pm

Re: My FastDL issues :C

Post by ragegriffith »

soja wrote:You don't need to download pointshop to clients, just files they will need like models/materials/etc.
So for playermodels I would just use a extractor and upload that file to the web host?
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: My FastDL issues :C

Post by soja »

yeah
Not a NFO employee
ragegriffith
New to forums
New to forums
Posts: 9
Joined: Mon Feb 23, 2015 6:08 pm

Re: My FastDL issues :C

Post by ragegriffith »

soja wrote:yeah
Last question xD The lua in the playermodels, that goes into the server files and not the webhost correct?
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: My FastDL issues :C

Post by soja »

What do you mean? The lua file that defines which files need to be downloaded needs to be on the server, and in autorun.
Not a NFO employee
ragegriffith
New to forums
New to forums
Posts: 9
Joined: Mon Feb 23, 2015 6:08 pm

Re: My FastDL issues :C

Post by ragegriffith »

soja wrote:What do you mean? The lua file that defines which files need to be downloaded needs to be on the server, and in autorun.
Okay so say I subscribe to this playermodel and then extract the files from the .gma. Now I have these files from the extracted gma http://prntscr.com/6947xe
Would I place the materials and models into the web host and then put the lua file into the addon folder? Or use the Configcreator to add it to my resource.lua file
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: My FastDL issues :C

Post by soja »

What is in the included lua file?

The materials and models need to be uploaded to the game server as well.
Not a NFO employee
ragegriffith
New to forums
New to forums
Posts: 9
Joined: Mon Feb 23, 2015 6:08 pm

Re: My FastDL issues :C

Post by ragegriffith »

soja wrote:What is in the included lua file?

The materials and models need to be uploaded to the game server as well.
http://prntscr.com/694a8e
I'm now confused again :3 heh I'm sorry.
So I need to put the entire playermodel onto the server? What would go in fast download then? :c I'm sorry about this..
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: My FastDL issues :C

Post by soja »

The model needs to be on both the server and fastdl, each needs its own copy.

I meant what is inside the lua file.
Not a NFO employee
ragegriffith
New to forums
New to forums
Posts: 9
Joined: Mon Feb 23, 2015 6:08 pm

Re: My FastDL issues :C

Post by ragegriffith »

soja wrote:The model needs to be on both the server and fastdl, each needs its own copy.

I meant what is inside the lua file.
Oh I somewhat understand now ;)

Code: Select all

list.Set( "PlayerOptionsModel", "Plague Doktor", "models/Splinks/plague_doktor/Plague_Doktor.mdl" )
player_manager.AddValidModel( "Haus: The Plague Doktor", "models/Splinks/plague_doktor/Plague_Doktor.mdl" )
player_manager.AddValidHands( "Haus: The Plague Doktor", "models/Splinks/plague_doktor/VIEWMODEL.mdl", 0, "00000000" )




--Add NPC
local Category = "Plague Doktor Haus NPCs"

local NPC = { 	Name = "Hostile Plague Doktor Haus", 
				Class = "npc_combine_s",
				Model = "models/Splinks/plague_doktor/Plague_Doktor.mdl",
				Health = "150",
				Squadname = "PLAGUE",
				Numgrenades = "4",
                                Category = Category    }

list.Set( "NPC", "Hostile_PlagueDoktorHaus", NPC )

local NPC = { 	Name = "Friendly Plague Doktor Haus", 
				Class = "npc_citizen",
				Model = "models/Splinks/plague_doktor/Plague_Doktor.mdl",
				Health = "300",
				KeyValues = { citizentype = 4 },
                                Category = Category    }

list.Set( "NPC", "Friendly_PlagueDoktorHaus", NPC )
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: My FastDL issues :C

Post by soja »

You don't need that lua file.
Not a NFO employee
ragegriffith
New to forums
New to forums
Posts: 9
Joined: Mon Feb 23, 2015 6:08 pm

Re: My FastDL issues :C

Post by ragegriffith »

soja wrote:You don't need that lua file.
Basically I upload all my addons to the server's addons folder and then I upload them to the fastdl?
Post Reply