• FastDL/ model error
    18 replies, posted
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: [url]http://steamcommunity.com/sharedfiles/filedetails/?id=211991280&searchtext=james+bond[/url] I have these current server settings: sv_allowdownload 0 sv_allowupload 0 sv_downloadurl "(myurl)" this is my FastDL.lua [code]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" ) [/code] model addon lua: Jamesbond.lua [code] 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 [/code] 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 [B]this[/B]... [CODE]resource.AddFile("models/player/bond.mdl"); resource.AddFile("materials/models/player/bond/bond_eye.vmt");[/CODE] Does the same as [B]this[/B]... [CODE]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");[/CODE] 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?
[QUOTE=MattJeanes;43673433]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).[/QUOTE] So like this? [code]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" ) [/code] [editline]25th January 2014[/editline] [QUOTE=LilSumac;43673443]Just a quick note, resource.AddFile() automatically adds all files of the same name for .mdl and .vmt files. So [B]this[/B]... [CODE]resource.AddFile("models/player/bond.mdl"); resource.AddFile("materials/models/player/bond/bond_eye.vmt");[/CODE] Does the same as [B]this[/B]... [CODE]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");[/CODE] 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?[/QUOTE] 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... [CODE]if (SERVER) then player_manager.AddValidModel( "JamesBond", "models/player/bond.mdl" ) AddCSLuaFile( "CallThisAnything.lua" ) end[/CODE] In that AddCSLuaFile(), are you sure the file names are matching? Perhaps you forgot to change "CallThisAnything" to what the file is actually named?
[QUOTE=LilSumac;43673511]Again, not sure if this has anything to do with it, but... In that AddCSLuaFile(), are you sure the file names are matching? Perhaps you forgot to change "CallThisAnything" to what the file is actually named?[/QUOTE] Ok, i fixed that and for the FastDL.lua do i only need the following... [code]resource.AddFile("models/player/bond.mdl") resource.AddFile("materials/models/player/bond/bond_eye.vmt")[/code] or this... [code]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")[/code] [editline]25th January 2014[/editline] [QUOTE=Mylofied;43673580]Ok, i fixed that and for the FastDL.lua do i only need the following... [code]resource.AddFile("models/player/bond.mdl") resource.AddFile("materials/models/player/bond/bond_eye.vmt")[/code] or this... [code]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")[/code][/QUOTE] So which is it?
-Didn't read closely-
[QUOTE=Mylofied;43673580]Ok, i fixed that and for the FastDL.lua do i only need the following... [code]resource.AddFile("models/player/bond.mdl") resource.AddFile("materials/models/player/bond/bond_eye.vmt")[/code] or this... [code]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")[/code] [editline]25th January 2014[/editline] So which is it?[/QUOTE] 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.
[QUOTE=Svenskunganka;43675250]Show us the link to your FastDL.[/QUOTE] [url]http://50.31.23.137/50.31.23.137-27015[/url] so for instance the link to the Bond player model is: [url]http://50.31.23.137/50.31.23.137-27015/models/player/bond.mdl[/url]
Can you allow access to your FastDL? I'm getting a 403 error.
[QUOTE=code_gs;43677473]Can you allow access to your FastDL? I'm getting a 403 error.[/QUOTE] 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.
[QUOTE=Mylofied;43680636]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.[/QUOTE] Then ask the support for help.
[QUOTE=code_gs;43680804]Then ask the support for help.[/QUOTE] 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: [CODE] appcmd set config /section:directoryBrowse /enabled:true [/CODE]
@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: [CODE] appcmd set config /section:directoryBrowse /enabled:true [/CODE][/QUOTE] Ok, will do that
Why don't you just do resource.AddWorkshop('211991280') ?
[QUOTE=Aj;43683937]Why don't you just do resource.AddWorkshop('211991280') ?[/QUOTE] I'm pretty sure when you join the server it has to mount everytime and gets very annoying when you have like 50 addons
[QUOTE=AnonTakesOver;43683992]I'm pretty sure when you join the server it has to mount everytime and gets very annoying when you have like 50 addons[/QUOTE] But if he is only having issues with adding it to FastDL, I see no problem with mounting a single addon.
[QUOTE=Aj;43684106]But if he is only having issues with adding it to FastDL, I see no problem with mounting a single addon.[/QUOTE] Why use WorkshopDL when he has FastDL?
Sorry, you need to Log In to post a reply to this thread.