FastDL/ model error

My FastDL was working like a charm until it decided not to work with this one model, I did everything correct but it still shows the model as an error. Hopefully somebody here can help me.

Model: http://steamcommunity.com/sharedfiles/filedetails/?id=211991280&searchtext=james+bond

I have these current server settings:

sv_allowdownload 0
sv_allowupload 0
sv_downloadurl “(myurl)”

this is my FastDL.lua


resource.AddFile( "models/player/bond.mdl" )
resource.Addfile( "models/player/bond.dx80.vtx" )
resource.Addfile( "models/player/bond.dx90.vtx" )
resource.Addfile( "models/player/bond.phy" )
resource.Addfile( "models/player/bond.sw.vtx" )
resource.Addfile( "models/player/bond.vvd" )
resource.Addfile( "models/player/bond.xbox.vtx" )
resource.AddFile( "materials/models/player/bond/bond_eye.vmt" )
resource.AddFile( "materials/models/player/bond/bond_eye.vtf" )
resource.AddFile( "materials/models/player/bond/bond_head.vmt" )
resource.AddFile( "materials/models/player/bond/bond_head.vtf" )
resource.AddFile( "materials/models/player/bond/bond_tongue.vmt" )
resource.AddFile( "materials/models/player/bond/bond_tongue.vtf" )
resource.AddFile( "materials/models/player/bond/bond_tux_coat.vmt" )
resource.AddFile( "materials/models/player/bond/bond_tux_coat.vtf" )
resource.AddFile( "materials/models/player/bond/bond_tux_pant.vmt" )
resource.AddFile( "materials/models/player/bond/bond_tux_pant.vtf" )
resource.AddFile( "materials/models/player/bond/male_hand.vmt" )
resource.AddFile( "materials/models/player/bond/male_hand.vtf" ) 

model addon lua: Jamesbond.lua


 list.Set( "PlayerOptionsModel", "James Bond", "models/player/bond.mdl" )
player_manager.AddValidModel( "James Bond", "models/player/bond.mdl" )
 
if (SERVER) then
player_manager.AddValidModel( "JamesBond", "models/player/bond.mdl" )
AddCSLuaFile( "CallThisAnything.lua" )
end
 
list.Set( "PlayerOptionsModel", "JamesBond", "models/player/bond.mdl" )
 
--// File Generated By Fox-Warrior's Resources Generator Version 2.06 \\--
 
if (SERVER) then
        resource.AddFile( "models/player/bond.mdl" )
        resource.AddFile( "materials/models/player/bond/bond_eye.vmt" )
        resource.AddFile( "materials/models/player/bond/bond_eye.vtf" )
        resource.AddFile( "materials/models/player/bond/bond_head.vmt" )
        resource.AddFile( "materials/models/player/bond/bond_head.vtf" )
        resource.AddFile( "materials/models/player/bond/bond_tongue.vmt" )
        resource.AddFile( "materials/models/player/bond/bond_tongue.vtf" )
        resource.AddFile( "materials/models/player/bond/bond_tux_coat.vmt" )
        resource.AddFile( "materials/models/player/bond/bond_tux_coat.vtf" )
        resource.AddFile( "materials/models/player/bond/bond_tux_pant.vmt" )
        resource.AddFile( "materials/models/player/bond/bond_tux_pant.vtf" )
        resource.AddFile( "materials/models/player/bond/male_hand.vmt" )
        resource.AddFile( "materials/models/player/bond/male_hand.vtf" )
end 

Check the server yourself: 50.31.23.137:27015

FYI you only need to do like the .vmt file or the .mdl file for textures and models respectively, it will automatically send the rest unless you use resource.AddSingleFile. Try changing it to that and see if it works (it probably won’t but worth a shot).

Just a quick note, resource.AddFile() automatically adds all files of the same name for .mdl and .vmt files. So this


resource.AddFile("models/player/bond.mdl");
resource.AddFile("materials/models/player/bond/bond_eye.vmt");

Does the same as this


resource.AddSingleFile("models/player/bond.mdl");
resource.AddSingleFile("models/player/bond.dx80.vtx");
resource.AddSingleFile("models/player/bond.dx90.vtx");
resource.AddSingleFile("models/player/bond.phy");
resource.AddSingleFile("models/player/bond.sw.vtx");
resource.AddSingleFile("models/player/bond.vvd");
resource.AddSingleFile("models/player/bond.xbox.vtx");
resource.AddSingleFile("materials/models/player/bond/bond_eye.vmt");
resource.AddSingleFile("materials/models/player/bond/bond_eye.vtf");

Might not fix it, but it makes things faster.

E: Matt got to that first, whoops.

As for your problem, do you have the model and material files uploaded to your FastDL server, whereever that may be?

So like this?


resource.AddSingleFile( "models/player/bond.mdl" )
resource.AddSinglefile( "models/player/bond.dx80.vtx" )
resource.AddSinglefile( "models/player/bond.dx90.vtx" )
resource.AddSinglefile( "models/player/bond.phy" )
resource.AddSinglefile( "models/player/bond.sw.vtx" )
resource.AddSinglefile( "models/player/bond.vvd" )
resource.AddSinglefile( "models/player/bond.xbox.vtx" )
resource.AddSingleFile( "materials/models/player/bond/bond_eye.vmt" )
resource.AddSingleFile( "materials/models/player/bond/bond_eye.vtf" )
resource.AddSingleFile( "materials/models/player/bond/bond_head.vmt" )
resource.AddSingleFile( "materials/models/player/bond/bond_head.vtf" )
resource.AddSingleFile( "materials/models/player/bond/bond_tongue.vmt" )
resource.AddSingleFile( "materials/models/player/bond/bond_tongue.vtf" )
resource.AddSingleFile( "materials/models/player/bond/bond_tux_coat.vmt" )
resource.AddSingleFile( "materials/models/player/bond/bond_tux_coat.vtf" )
resource.AddSingleFile( "materials/models/player/bond/bond_tux_pant.vmt" )
resource.AddSingleFile( "materials/models/player/bond/bond_tux_pant.vtf" )
resource.AddSingleFile( "materials/models/player/bond/male_hand.vmt" )
resource.AddSingleFile( "materials/models/player/bond/male_hand.vtf" ) 

[editline]25th January 2014[/editline]

ok thanks, and yes, it is uploaded to my FastDL server and my webserver

Again, not sure if this has anything to do with it, but…


if (SERVER) then
    player_manager.AddValidModel( "JamesBond", "models/player/bond.mdl" )
    AddCSLuaFile( "CallThisAnything.lua" )
end

In that AddCSLuaFile(), are you sure the file names are matching? Perhaps you forgot to change “CallThisAnything” to what the file is actually named?

Ok, i fixed that and for the FastDL.lua do i only need the following…


resource.AddFile("models/player/bond.mdl")
resource.AddFile("materials/models/player/bond/bond_eye.vmt")

or this…


resource.AddFile("models/player/bond.mdl")
resource.AddFile("materials/models/player/bond/bond_eye.vmt")
resource.AddFile("materials/models/player/bond/bond_head.vmt")
resource.AddFile("materials/models/player/bond/bond_tongue.vmt")
resource.AddFile("materials/models/player/bond/bond_tux_coat.vmt")
resource.AddFile("materials/models/player/bond/bond_tux_pant.vmt")
resource.AddFile("materials/models/player/bond/male_hand.vmt")

[editline]25th January 2014[/editline]

So which is it?

-Didn’t read closely-

You need to use the second one. Additionally, make sure all those files exist not only on FastDL but on the server as well. It doesn’t always help but FastDL is fickle and we have to do everything we can to make it work.

Show us the link to your FastDL.

http://50.31.23.137/50.31.23.137-27015

so for instance the link to the Bond player model is:
http://50.31.23.137/50.31.23.137-27015/models/player/bond.mdl

Can you allow access to your FastDL? I’m getting a 403 error.

there is no access involved, ive talked to my server support and they say thats supposed to happen, they say when u add the file location and it downloads, its working.

Then ask the support for help.

This is just how the IIS web-server works when using default configuration…

@OP, tell your host to configure your web-server to allow directory browsing. If they’re incapable or too stupid to do so, just tell them to run:



appcmd set config /section:directoryBrowse /enabled:true


@OP, tell your host to configure your web-server to allow directory browsing. If they’re incapable or too stupid to do so, just tell them to run:



appcmd set config /section:directoryBrowse /enabled:true


[/QUOTE]

Ok, will do that

Why don’t you just do resource.AddWorkshop(‘211991280’) ?

I’m pretty sure when you join the server it has to mount everytime and gets very annoying when you have like 50 addons

But if he is only having issues with adding it to FastDL, I see no problem with mounting a single addon.

Why use WorkshopDL when he has FastDL?