FastDL Help

I need help with FastDL, people just doesn’t download it

This is my lua/autorun/fastl.lua file:


--Map
resource.AddFile( "maps/rp_downtown_v4e_fix.bsp" )
resource.AddFile( "maps/graphs/rp_downtown_v4e_fix.ain" )
--Car dealer background
resource.AddFile( "materials/boowman/bg5.png" )
--Drugs
resource.AddFile( "models/nv_weed_plant/plant_big.mdl" )
resource.AddFile( "models/nv_weed_plant/plant_big.dx80" )
resource.AddFile( "models/nv_weed_plant/plant_big.dx90" )
resource.AddFile( "models/nv_weed_plant/plant_big.sw" )
resource.AddFile( "models/nv_weed_plant/plant_big.vvd" )
resource.AddFile( "models/nv_weed_plant/plant_big.phy" )
resource.AddFile( "models/nv_weed_plant/plant_medium.mdl" )
resource.AddFile( "models/nv_weed_plant/plant_medium.dx80" )
resource.AddFile( "models/nv_weed_plant/plant_medium.dx90" )
resource.AddFile( "models/nv_weed_plant/plant_medium.sw" )
resource.AddFile( "models/nv_weed_plant/plant_medium.vvd" )
resource.AddFile( "models/nv_weed_plant/plant_medium.phy" )
resource.AddFile( "models/nv_weed_plant/plant_small.mdl" )
resource.AddFile( "models/nv_weed_plant/plant_small.dx80" )
resource.AddFile( "models/nv_weed_plant/plant_small.dx90" )
resource.AddFile( "models/nv_weed_plant/plant_small.sw" )
resource.AddFile( "models/nv_weed_plant/plant_small.vvd" )
resource.AddFile( "models/nv_weed_plant/plant_small.phy" )
resource.AddFile( "materials/models/nv_weed_plant/canabis_diffuse.vmt" )
resource.AddFile( "materials/models/nv_weed_plant/canabis_diffuse.vtf" )
resource.AddFile( "materials/models/nv_weed_plant/canabis_normal.vtf" )
resource.AddFile( "materials/models/nv_weed_plant/dirt.vmt" )
resource.AddFile( "materials/models/nv_weed_plant/dirt.vtf" )
resource.AddFile( "materials/models/nv_weed_plant/dirt_normal.vtf" )
resource.AddFile( "materials/models/nv_weed_plant/lightwarp.vtf" )
resource.AddFile( "materials/models/nv_weed_plant/pot.vtf" )
resource.AddFile( "materials/models/nv_weed_plant/pot.vmt" )
--Fat majini skin
resource.AddFile( "models/player/slow/amberlyn/re5/fat_majini/slow.xbox.vtx" )
resource.AddFile( "models/player/slow/amberlyn/re5/fat_majini/slow.vvd" )
resource.AddFile( "models/player/slow/amberlyn/re5/fat_majini/slow.sw.vtx" )
resource.AddFile( "models/player/slow/amberlyn/re5/fat_majini/slow.phy" )
resource.AddFile( "models/player/slow/amberlyn/re5/fat_majini/slow.mdl" )
resource.AddFile( "models/player/slow/amberlyn/re5/fat_majini/slow.dx90.vtx" )
resource.AddFile( "models/player/slow/amberlyn/re5/fat_majini/slow.dx80.vtx" )
resource.AddFile( "materials/models/player/slow/amberlyn/re5/fat_majini/slow_head.vmt" )
resource.AddFile( "materials/models/player/slow/amberlyn/re5/fat_majini/slow_skin.vmt" )
resource.AddFile( "materials/models/player/slow/amberlyn/re5/fat_majini/slow_mouth.vmt" )
resource.AddFile( "materials/models/player/slow/amberlyn/re5/fat_majini/slow_pants.vmt" )
resource.AddFile( "materials/models/player/slow/amberlyn/re5/fat_majini/slow_eyes.vmt" )
resource.AddFile( "materials/models/player/slow/amberlyn/re5/fat_majini/slow_pants.vtf" )
resource.AddFile( "materials/models/player/slow/amberlyn/re5/fat_majini/slow_head.vtf" )
resource.AddFile( "materials/models/player/slow/amberlyn/re5/fat_majini/slow_head_bump.vtf" )
resource.AddFile( "materials/models/player/slow/amberlyn/re5/fat_majini/slow_pants_bump.vtf" )
resource.AddFile( "materials/models/player/slow/amberlyn/re5/fat_majini/slow_skin.vtf" )
resource.AddFile( "materials/models/player/slow/amberlyn/re5/fat_majini/slow_skin_bump.vtf" )

--Kevlar
resource.AddFile( "models/fortitude/items/kevlar.mdl" )
resource.AddFile( "materials/models/cs_enemy/ct_gign/ct_gign.vmt" )
resource.AddFile( "materials/models/cs_enemy/ct_gign/ct_gign.vtf" )
resource.AddFile( "materials/models/items/Gear.vmt" )
--Vending machine sounds
resource.AddFile( "sound/vendings/can_opening.mp3" )
resource.AddFile( "sound/vendings/drink01.wav" )
resource.AddFile( "sound/vendings/drink02.wav" )
resource.AddFile( "sound/vendings/drink03.wav" )

And my server.cfg the part of downloadurl


sv_downloadurl "http://xenon-gaming.nn.pe/fastdl/"
"sv_allowdownload"		"1"
"sv_allowupload"		"1"

Thanks!

-snip- Stupid

try put it in autorun/server and type
if SERVER then
resource…
end

and – is the proper LUA comments.

I don’t think its a good idea to put it in /autorun/server… I remember mine working at some point when it was in /autorun but it stopped working for some reason. Could try it. Also you can use Fox-Warrior’s Resource Generator.

Still doesn’t work.

You don’t need to put if SERVER then if its in autorun/server, the code is only run on the server if its in that folder.

Still doesn’t work, any other ideas?

Just try the Resource gen and put it in /autorun. Copy to clipboard as resource.AddFile and then replace your fastdl.lua content with the one in clipboard.

Well I loaded http://xenon-gaming.nn.pe/fastdl/ in my browser and didn’t see anything, so maybe get your FastDL URL working

Well the program works, but when i join the server it just downloads the files but very very fast but it doesnt download it proberly. So the models / materials doesnt work.

[editline]19th September 2013[/editline]

Just tried to edit it to /garrysmod/

Still remeber you <3. I still love what i did to you. Fucking asshole. Stop reselling Coderhire scripts

Please get off this thread, im asking for help.

Anybody got any ideas? I really need help

Bump

I get this error in console


HTTP ERROR downloading http://xenon-gaming.nn.pe/garrysmod2/sound/xenongaming/can_opening.mp3.bz2
HTTP ERROR downloading http://xenon-gaming.nn.pe/garrysmod2/sound/xenongaming/can_opening.mp3
HTTP ERROR downloading http://xenon-gaming.nn.pe/garrysmod2/sound/xenongaming/drink01.wav.bz2
HTTP ERROR downloading http://xenon-gaming.nn.pe/garrysmod2/sound/xenongaming/drink01.wav
HTTP ERROR downloading http://xenon-gaming.nn.pe/garrysmod2/sound/xenongaming/drink02.wav.bz2
HTTP ERROR downloading http://xenon-gaming.nn.pe/garrysmod2/sound/xenongaming/drink02.wav
HTTP ERROR downloading http://xenon-gaming.nn.pe/garrysmod2/sound/xenongaming/drink03.wav.bz2
HTTP ERROR downloading http://xenon-gaming.nn.pe/garrysmod2/sound/xenongaming/drink03.wav
HTTP ERROR downloading http://xenon-gaming.nn.pe/garrysmod2/sound/kf_voice/male2/Auto_Drop_Cash_3.wav.bz2
HTTP ERROR downloading http://xenon-gaming.nn.pe/garrysmod2/sound/kf_voice/male2/Auto_Drop_Cash_3.wav
HTTP ERROR downloading http://xenon-gaming.nn.pe/garrysmod2/sound/kf_voice/male2/Auto_Drop_Cash_4.wav.bz2
HTTP ERROR downloading http://xenon-gaming.nn.pe/garrysmod2/sound/kf_voice/male2/Auto_Drop_Cash_4.wav
HTTP ERROR downloading http://xenon-gaming.nn.pe/garrysmod2/sound/kf_voice/male2/Auto_Drop_Cash_5.wav.bz2
HTTP ERROR downloading http://xenon-gaming.nn.pe/garrysmod2/sound/kf_voice/male2/Auto_Drop_Cash_5.wav
HTTP ERROR downloading http://xenon-gaming.nn.pe/garrysmod2/sound/kf_voice/male2/Auto_Drop_Cash_6.wav.bz2
HTTP ERROR downloading http://xenon-gaming.nn.pe/garrysmod2/sound/kf_voice/male2/Auto_Drop_Cash_6.wav
PREP OK

Have you tried making your files in fastdl into .bz2 files? Also in your fastdl, you don’t have to put fadmin’s motd.txt there, it works just by it being in the server folder.

You ‘think’ they’re downloading fine, but that’s just the fastDL trying to DL, then realize that it can’t, so it tries the next download, and repeats.

You need to update the cache everytime you change something on your server fyi.

Do you have materaisl/models inside the gmod foldeR?

You don’t need to have cache folder in fastdl anymore.

Your lua file is fine now, it’s just how you’re storing files on your FastDL.