FASTDL problems.

Hey, i have mutiple fastdl settings. On mutiple file paths. Yet it still does not want to work.
They are all addons. here is the link: http://steamcommunity.com/sharedfiles/filedetails/?id=107155115&searchtext=my+little+pony+playermodels (HYPERLINKS FOR OTHER INSIDE THAT)

Inside: /orangebox/garrysmod/lua/autorun/server/fastdl.lua


if SERVER then
AddCSLuaFile( "FastDL.lua" )
 
resource.AddFile ("models/fluttershy_npc.dx80.vtx")
resource.AddFile ("models/fluttershy_npc.dx90.vtx")
resource.AddFile ("models/fluttershy_npc.mdl")
resource.AddFile ("models/fluttershy_npc.phy")
resource.AddFile ("models/fluttershy_npc.sw.vtx")
resource.AddFile ("models/fluttershy_npc.vvd")
resource.AddFile ("models/fluttershy_player.dx80.vtx")
resource.AddFile ("models/fluttershy_player.dx90.vtx")
resource.AddFile ("models/fluttershy_player.mdl")
resource.AddFile ("models/fluttershy_player.phy")
resource.AddFile ("models/fluttershy_player.sw.vtx")
resource.AddFile ("models/fluttershy_player.vvd")

 
end

Yes i have extracted the files from the GMA addon and added into garrysmod/models/

My server.CFG:


"hostname"				"------"
"gamemode"		"terrortown"
"sv_lan"			"0"
"sbox_allownpcs"		"1"
"sbox_maxprops"		"40"
"sbox_maxragdolls"		"0"
"sbox_maxnpcs"		"0"
"sbox_maxballoons"		"10"
"sbox_maxeffects"		"0"
"sbox_maxdynamite"		"0"
"sbox_maxlamps"		"0"
"sbox_maxthrusters"		"3"
"sbox_maxwheels"		"2"
"sbox_godmode"		"0"
"sbox_plpldamage"		"0"
"sbox_playergod"		"0"
"sbox_noclip"			"0"
"sbox_maxhoverballs"		"5"
"sbox_maxvehicles"		"0"
"sbox_maxbuttons"		"3"
"host_thread_mode" "2"
"sv_loadingurl" "rgloadscreen.webs.com"
"sv_downloadurl" "http://rrp.nn.pe/redir"
"sv_allowdownload" "0"
"sv_allowupload" "0"
"net_maxfilesize" "64"

I have tried for 3 days now, this is a dedicated server, but anyway i can do it with addons or will i just have to forget about it?

Thanks
-Mrainbowscratch

[editline]5th February 2013[/editline]

(YES I AM NEW TO LUA CODE ASWELL)

All you need to do is resource.AddFile(“models/fluttershy_player.mdl”), GMod will auto add the other files if they exist.

So if i remove the others, it should do the trick?

No, You need to change your sv_allowdownload to 1 also.

Ah. Ok

[editline]5th February 2013[/editline]

I did this. Not working.

Check out my reply to this help topic. Might help you out abit. I’m pretty sure the code inside your fastdl.lua file is wrong. Follow the example I provide in the comment. Keep in mind that I called the fastdl.lua file resource.lua in the comment

http://forum.facepunch.com/showthread.php?t=1244987

Such a broad definition of ‘not working’.

Are the files not downloading?
Do you already have the files?
How are they ‘not working’ i.e (errors / invisible / etc)?

Still errors. Exactly the same as before.

What are the errors you are getting

I have tried that, thats pretty much what ive got.

[editline]5th February 2013[/editline]

The models are just errors. That’s it, also, the sevrer never seems to recognize that the files are even there, as in it doesnt stop on the recieving data/client info to download it.

Make sure the contents inside the file are set up like how I have them in the example. Try using the link I provided that sets up the file for you. Other than that, unless you give us your errors, I’m not sure what else to tell you. If you would like to add me on steam I might be able to help more. Just PM me

Could be your script, could be the models, could be the server, you could already have the files…

It’s possible that the model addons are causing the issue. Maybe an improper install or they could be corrupt

I do, but i have friends who dont and they are saying it just goes straight into “sending client info” and joining.

[editline]5th February 2013[/editline]

Ok so itried with a new model:


if SERVER then
AddCSLuaFile( "FastDL.lua" )
 
resource.AddFile ("models/player/fc_jack.mdl")
resource.AddFile ("materials/models/player/hero/Estuche.vmt")
 resource.AddFile ("materials/models/player/hero/Estuche.vtf")
resource.AddFile ("materials/models/player/hero/hero_hair.vmt")
resource.AddFile ("materials/models/player/hero/hero_hair.vtf")
resource.AddFile ("materials/models/player/hero/hero_hair_nor.vtf")
resource.AddFile ("materials/models/player/hero/s_herobody2.vmt")
resource.AddFile ("materials/models/player/hero/s_herobody2.vtf")
resource.AddFile ("materials/models/player/hero/s_herobody2_nor.vtf")
resource.AddFile ("materials/models/player/hero/s_hero_tornsleev.vmt")
resource.AddFile ("materials/models/player/hero/s_hero_tornsleev.vtf")
resource.AddFile ("materials/models/player/hero/s_hero_tornsleev_nor.vtf")
resource.AddFile ("materials/models/player/hero/s_JC_head.vmt")
resource.AddFile ("materials/models/player/hero/s_JC_head.vtf")
resource.AddFile ("materials/models/player/hero/s_JC_head_nor.vtf")
resource.AddFile ("materials/models/player/hero/s_mscoutlegl.vmt")
resource.AddFile ("materials/models/player/hero/s_mscoutlegl.vtf")
resource.AddFile ("materials/models/player/hero/s_mscoutlegl_nor.vtf")
end

It downloads and all, but the model is an ERROR sign.

Is the models then for sure, were are you geting the models from

Is the JACK model

Remove the models from your local garrysmod, then restart it. When its open again, put this in your console:
developer 4; download_debug 1
Now try to join the server. After you’re in, copy and paste the console log to us here.