Garry's Mod

Garry's Mod

Prophunters
Chimera 31 Aug, 2014 @ 7:06am
Custom Taunts and FastDL
Something went wonky while setting up my server, and it seems like it has something to do with the resource.lua or the FastDL-Server.

# server.cfg
sv_downloadurl "http://serveraddress.com/garrysmod/"
sv_allowdownload 0
sv_allowupload 0

# resources.ini
resource.AddSingleFile( "sound/prophunters/taunts/props/ACDC.mp3" )

# tauntslua
addTaunt("ACDC", {
"prophunters/taunts/props/ACDC.mp3"
}, "props", nil, {"music"}, 11)

# Sound Filepath
D:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\sound\prophunters\taunts\props\ACDC.mp3

# FastDL Filepath
http://serveraddress.com/garrysmod/sound/prophunters/taunts/props/ACDC.mp3

I can see the new taunts in the taunt menu and I can play them locally, but the download fails for connecting clients with a HTTP ERROR downloading X

I'm fairly sure it's just a filepath or something that I messed up, but I seem to be missing it.

A similar setup worked flawlessly with the "original" Prop Hunt version, but I changed some filenames and paths to make working on it in future easier.. theoretically.

Any ideas?
< >
Showing 1-1 of 1 comments
Mechanical Mind  [developer] 31 Aug, 2014 @ 10:57pm 
Well firstly you don't have to resource.AddFile, Prophunters does that for you. Secondly with the information provided all I can really do is check if the file paths are the same, which they appear to be. It might help if I actually have the full path to the file server.
< >
Showing 1-1 of 1 comments
Per page: 1530 50