Garry's Mod

Garry's Mod

Prophunters
Chimera 2014 年 8 月 31 日 上午 7:06
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?
< >
正在显示第 1 - 1 条,共 1 条留言
Mechanical Mind  [开发者] 2014 年 8 月 31 日 下午 10:57 
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.
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50