My fast download is not working correctly on my TTT Gmod server! Please help
3 replies, posted
Okay, So I have been working on my server for nearly 3 weeks and this 1 problem has occurred and I want to find a way to get around it. I want peoples clients to download my custom content on my server. I tried the Lua/autorun/server and placed a folder and called it forcedownload.lua this is my code in it.
resource.AddFile(models/player/catwoman/slow_dark_pub_v2.mdl)
resource.AddFile(models/player/batman/slow_pub_v2.mdl)
resource.AddFile(models/player/dark_kahn/slow_pub.mdl)
resource.AddFile(models/player/robocop/slow.mdl)
resource.AddFile(models/player/superman/slow_pub.mdl)
resource.AddFile(models/player/masterchief_pack/slow_masterchief.mdl)
resource.AddFile(models/player/solid_snake/solid_snake.mdl)
resource.AddFile(models/player/bio_suit/bio_suit.mdl)
resource.AddFile(models/player/rorschach/slow_norain_v2.mdl)
resource.AddFile(models/player/rorschach/slow_v2.mdl)
resource.AddFile(models/player/ffxtidus/tidus.mdl)
resource.AddFile(models/player/quake4pm/quake4pm.mdl)
resource.AddFile(models/player/fischer/fischer.mdl)
end
That's that and this Is my server.cfg file
// server name
hostname "Lt. Fluffy's Server l 1 hit knife + jihad"
// rcon passsword
rcon_password "___"
sv_kickerrornum 0
sv_allowdownload 1
ttt_playercolor_mode 0
sv_downloadurl [url]http://ecsclash.webs.com/[/url]
sv_allowupload 0
ttt_postround_dm 1
Any help would be appreciated Thanks in advance!
Really hope I get this working.
Fluffy
Did you try FTP? Like a free web hoster and you upload your files there. It worked for me.
[url]http://www.youtube.com/watch?v=ypl4tS-e2Us[/url]
[code]
if (SERVER) then
resource.AddFile(models/player/catwoman/slow_dark_pub_v2.mdl)
resource.AddFile(models/player/batman/slow_pub_v2.mdl)
resource.AddFile(models/player/dark_kahn/slow_pub.mdl)
resource.AddFile(models/player/robocop/slow.mdl)
resource.AddFile(models/player/superman/slow_pub.mdl)
resource.AddFile(models/player/masterchief_pack/slow_masterchief.mdl)
resource.AddFile(models/player/solid_snake/solid_snake.mdl)
resource.AddFile(models/player/bio_suit/bio_suit.mdl)
resource.AddFile(models/player/rorschach/slow_norain_v2.mdl)
resource.AddFile(models/player/rorschach/slow_v2.mdl)
resource.AddFile(models/player/ffxtidus/tidus.mdl)
resource.AddFile(models/player/quake4pm/quake4pm.mdl)
resource.AddFile(models/player/fischer/fischer.mdl)
end[/code]
Change your resources.lua to that.
Also, that downloadurl isn't correct, it should look something like this.. [url]http://afa.site.nfoservers.com/server/[/url]
You should also probably change your rcon password now. :p
I think for the downloadurl it has to be under x/fastdl, placing all appropriate folders (maps, materials etc) in there. Just linking to your webpage don't do jack.
Sorry, you need to Log In to post a reply to this thread.