Hi there fellows, I've modified some M9K weapons to include in my TTT server and packed them in an addon, while running the custom addon of mine on my computer, locally, everything worked fine.
But after uploading it some textures were missing (Not the models, the textures, you know, the checkered black and purple) and I have no idea why.
The files are on the fastdl server and I've added a .lua file to download the files to the clients, if you could help me that would be really awesome.
Things that are missing are the uzi, m4a1 and some other textures, the thing is that some textures do work, I'm really getting crazy of it and appreciate any help.
Thanks!
The FastDL - ttt.ytsweb.net/fastdl
The server IP - 188.226.176.175:27015
The M9K part from the lua file to download the resourcers -
[CODE]
------- M9K ------
resource.AddFile( "materials/models/wystan/attachments/acog/acog.vmt" )
resource.AddFile( "materials/models/wystan/attachments/acog/acog.vtf" )
resource.AddFile( "materials/models/wystan/attachments/acog/lense.vmt" )
resource.AddFile( "materials/models/wystan/attachments/acog/lense.vtf" )
resource.AddFile( "materials/models/wystan/attachments/aimpoint/aim1.vmt" )
resource.AddFile( "materials/models/wystan/attachments/aimpoint/aim1.vtf" )
resource.AddFile( "materials/models/wystan/attachments/aimpoint/aim2.vmt" )
resource.AddFile( "materials/models/wystan/attachments/aimpoint/aim2.vtf" )
resource.AddFile( "materials/models/wystan/attachments/aimpoint/lense.vmt" )
resource.AddFile( "materials/models/wystan/attachments/aimpoint/lense.vtf" )
resource.AddFile( "materials/models/wystan/attachments/aimpoint/mask.vtf" )
resource.AddFile( "materials/models/wystan/attachments/akrail/newscope.vmt" )
resource.AddFile( "materials/models/wystan/attachments/akrail/newscope.vtf" )
resource.AddFile( "materials/models/wystan/attachments/doctor/frame1.vmt" )
resource.AddFile( "materials/models/wystan/attachments/doctor/frame1.vtf" )
resource.AddFile( "materials/models/wystan/attachments/doctor/linse.vtf" )
resource.AddFile( "materials/models/wystan/attachments/doctor/rdot.vmt" )
resource.AddFile( "materials/models/wystan/attachments/eotech/557.vmt" )
resource.AddFile( "materials/models/wystan/attachments/eotech/557.vtf" )
resource.AddFile( "materials/models/wystan/attachments/eotech/rect.vmt" )
resource.AddFile( "materials/models/wystan/attachments/eotech/rect.vtf" )
resource.AddFile( "materials/scope/aimpoint.vmt" )
resource.AddFile( "materials/scope/aimpoint.vtf" )
resource.AddFile( "materials/scope/gdcw_acogchevron.vmt" )
resource.AddFile( "materials/scope/gdcw_acogchevron.vtf" )
resource.AddFile( "materials/scope/gdcw_acogcross.vmt" )
resource.AddFile( "materials/scope/gdcw_acogcross.vtf" )
resource.AddFile( "materials/scope/gdcw_closedsight.vmt" )
resource.AddFile( "materials/scope/gdcw_closedsight.vtf" )
resource.AddFile( "materials/scope/gdcw_noise.vtf" )
resource.AddFile( "materials/scope/gdcw_scopesight.vmt" )
resource.AddFile( "materials/scope/gdcw_scopesight.vtf" )
resource.AddFile( "materials/trails/smoke.vmt" )
resource.AddFile( "materials/trails/smoke.vtf" )
resource.AddFile( "materials/vgui/entities/627.vtf" )
resource.AddFile( "materials/vgui/entities/aac.vtf" )
resource.AddFile( "materials/vgui/entities/ammo357.vtf" )
resource.AddFile( "materials/vgui/entities/ammoar2.vtf" )
resource.AddFile( "materials/vgui/entities/ammobuckshot.vtf" )
resource.AddFile( "materials/vgui/entities/ammopistol.vtf" )
resource.AddFile( "materials/vgui/entities/ammoslam.vtf" )
resource.AddFile( "materials/vgui/entities/ammosmg.vtf" )
resource.AddFile( "materials/vgui/entities/ammosniper.vtf" )
resource.AddFile( "materials/vgui/entities/ammowinchester.vtf" )
resource.AddFile( "materials/vgui/entities/bizonp19.vtf" )
resource.AddFile( "materials/vgui/entities/colt1911.vtf" )
resource.AddFile( "materials/vgui/entities/coltpython.vtf" )
resource.AddFile( "materials/vgui/entities/coming soon.vtf" )
resource.AddFile( "materials/vgui/entities/deagle.vtf" )
resource.AddFile( "materials/vgui/entities/glock.vtf" )
resource.AddFile( "materials/vgui/entities/hk45.vtf" )
resource.AddFile( "materials/vgui/entities/kac_pdw.vtf" )
resource.AddFile( "materials/vgui/entities/luger.vtf" )
resource.AddFile( "materials/vgui/entities/m29satan.vtf" )
resource.AddFile( "materials/vgui/entities/m92beretta.vtf" )
resource.AddFile( "materials/vgui/entities/m9k_ammo_357.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_ammo_ar2.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_ammo_buckshot.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_ammo_pistol.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_ammo_slam.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_ammo_smg.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_ammo_sniper_rounds.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_ammo_winchester.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_bizonp19.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_colt1911.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_coltpython.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_deagle.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_glock.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_hk45.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_honeybadger.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_kac_pdw.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_luger.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_m29satan.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_m92beretta.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_magpulpdr.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_model3russian.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_model500.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_model627.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_mp40.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_mp5.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_mp5.vtf" )
resource.AddFile( "materials/vgui/entities/m9k_mp5sd.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_mp7.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_mp9.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_ragingbull.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_remington1858.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_scoped_taurus.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_sig_p229r.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_smgp90.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_sten.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_tec9.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_thompson.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_ump45.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_ump45.vtf" )
resource.AddFile( "materials/vgui/entities/m9k_usc.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_usp.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_uzi.vmt" )
resource.AddFile( "materials/vgui/entities/m9k_vector.vmt" )
resource.AddFile( "materials/vgui/entities/model3russian.vtf" )
resource.AddFile( "materials/vgui/entities/mp40.vtf" )
resource.AddFile( "materials/vgui/entities/mp5sd.vtf" )
resource.AddFile( "materials/vgui/entities/mp7.vtf" )
resource.AddFile( "materials/vgui/entities/mp9.vtf" )
resource.AddFile( "materials/vgui/entities/pdr.vtf" )
resource.AddFile( "materials/vgui/entities/ragingbull.vtf" )
resource.AddFile( "materials/vgui/entities/remington1858.vtf" )
resource.AddFile( "materials/vgui/entities/sig229.vtf" )
resource.AddFile( "materials/vgui/entities/smgp90.vtf" )
resource.AddFile( "materials/vgui/entities/sten.vtf" )
resource.AddFile( "materials/vgui/entities/sw_model500.vtf" )
resource.AddFile( "materials/vgui/entities/tec9.vtf" )
resource.AddFile( "materials/vgui/entities/thompson.vtf"
Bumping for help
I noticed you have bz2 files on your FastDL server; make sure you don't have them on the server too ( only meant for FastDL ). If you resource.AddWorkshop the M9K addon, that should be enough to have the clients download.
FastDL can be tricky; it is possible to put the files in the wrong dir, have them download and have them not show up: [url]https://dl.dropboxusercontent.com/u/26074909/tutoring/server_srcds_steamcmd/fastdl_setup_instructions.lua.html[/url]
If you want an automated resources system to work with your FastDL, if you put the data into gamemodes/<your_gm_name>/content/* then you can add this script to addons/acecool/lua/autorun/server/sv_add_gamemode_resources.lua: [url]https://dl.dropboxusercontent.com/u/26074909/tutoring/_systems/simple_recursive_resource_loader/sv_add_gamemode_resources.lua.html[/url] ( remove .html to copy ) - and that would eliminate any issue caused by not adding the file correctly ( resource.AddFile is also supposed to add associated files; but I've found it to act odd at times which is why I use resource.AddSingleFile and just process each file ).
Double check your settings. I'd also recommend trying my resource loader and seeing if that helps. Or, try adding the workshop file ( it'd download a lot quicker than all of the individual resources )....
[QUOTE=Acecool;46232409]I noticed you have bz2 files on your FastDL server; make sure you don't have them on the server too ( only meant for FastDL ). If you resource.AddWorkshop the M9K addon, that should be enough to have the clients download.
FastDL can be tricky; it is possible to put the files in the wrong dir, have them download and have them not show up: [url]https://dl.dropboxusercontent.com/u/26074909/tutoring/server_srcds_steamcmd/fastdl_setup_instructions.lua.html[/url]
If you want an automated resources system to work with your FastDL, if you put the data into gamemodes/<your_gm_name>/content/* then you can add this script to addons/acecool/lua/autorun/server/sv_add_gamemode_resources.lua: [url]https://dl.dropboxusercontent.com/u/26074909/tutoring/_systems/simple_recursive_resource_loader/sv_add_gamemode_resources.lua.html[/url] ( remove .html to copy ) - and that would eliminate any issue caused by not adding the file correctly ( resource.AddFile is also supposed to add associated files; but I've found it to act odd at times which is why I use resource.AddSingleFile and just process each file ).
Double check your settings. I'd also recommend trying my resource loader and seeing if that helps. Or, try adding the workshop file ( it'd download a lot quicker than all of the individual resources )....[/QUOTE]
I've solved it, apparently textures were missing from the FastDL, I've re-uploaded things and it worked, thanks anyway
Sorry, you need to Log In to post a reply to this thread.