So first of all - Back story.
I've set up a server on linux deticated hosting (DigitalOcean, really good) my server addons are from [URL="http://steamcommunity.com/sharedfiles/filedetails/?id=323143086"]my workshop collection[/URL] and some are ulx ulib and etc that are on the server.
Everything is working great but then I've heard about FastDL, I've followed [URL="http://svenskunganka.com/tutorials/other/setup-a-fastdl-for-garrys-mod.html"]this guy's tutorial[/URL]. It didn't worked.
I've tried to disable the -host...workshop...blablabla -authkey thing and when I've reseted the server it gave me some kind of error that map X is missing from the server. I've uploaded some maps to /maps on the server it worked.
But - It broke my ULX addons and still - FastDL files haven't downloaded.
I have no idea why it is not working. I've made a test SWEP that loads some files, it did load a sound file located in sound/weapons/colt.. but it didn't load a model located in models/weapons (both on the fastdl server) and I the client haven't downloaded a single thing.
Something is broken in my FastDL and I don't know what. I'm not sure what's Garry doing in his free time but he's not helping the devs who bought the game.
Another simpler question - If I've unpacked an addon, moved it models and etc to the FastDL server I need to move the lua stuff to the game server?
My FastDL server - [url]http://ttt.ytsweb.net/fastdl[/url]
server.cfg has -
[CODE]sv_downloadurl "http://ttt.ytsweb.net/fastdl"
sv_allowdownload 0
sv_allowupload 0[/CODE]
my run.lua (located inside lua/autorun) -
[CODE]
--***** Generated by Hell's cross-platform resource includer *****
if (SERVER) then
resource.AddFile( "models/weapons/v_slam.mdl" )
resource.AddFile( "models/weapons/w_slam.mdl" )
resource.AddFile( "materials/models/weapons/v_slam/new slam.vtf" )
resource.AddFile( "materials/models/weapons/v_slam/new light1.vmt" )
resource.AddFile( "materials/models/weapons/v_slam/new light2.vtf" )
resource.AddFile( "materials/models/weapons/v_slam/new slam.vmt" )
resource.AddFile( "materials/models/weapons/v_slam/v_slam_normal.vtf" )
resource.AddFile( "materials/models/weapons/v_slam/v_slam.vmt" )
resource.AddFile( "materials/models/weapons/v_slam/new light2.vmt" )
resource.AddFile( "materials/models/weapons/v_slam/new light1.vtf" )
resource.AddFile( "materials/models/weapons/v_slam/new lense.vmt" )
resource.AddFile( "materials/models/weapons/v_slam/retexture trigger.vmt" )
resource.AddFile( "materials/models/weapons/v_slam/new lense.vtf" )
resource.AddFile( "materials/models/weapons/v_slam/retexture trigger.vtf" )
resource.AddFile( "materials/models/weapons/v_slam/v_slam.vtf" )
resource.AddFile( "materials/models/weapons/w_slam/wslamnewlight1.vmt" )
resource.AddFile( "materials/models/weapons/w_slam/wslamnewlight1.vtf" )
resource.AddFile( "materials/models/weapons/w_slam/wslam.vtf" )
resource.AddFile( "materials/models/weapons/w_slam/wslamnewlight2.vtf" )
resource.AddFile( "materials/models/weapons/w_slam/wslamnewlight2.vmt" )
resource.AddFile( "materials/models/weapons/w_slam/wslam.vmt" )
resource.AddFile( "materials/vgui/ttt/icon_slam.vtf" )
resource.AddFile( "materials/vgui/ttt/icon_slam.vmt" )
resource.AddFile( "materials/vgui/ttt/weapon_ttt_turret_mr_v1.vmt" )
resource.AddFile( "materials/vgui/ttt/weapon_ttt_turret_mr_v1.vtf" )
resource.AddFile( "materials/vgui/ttt/icon_c4.vmt" )
resource.AddFile( "sound/siege/big_explosion.wav" )
resource.AddFile( "sound/siege/touhou_unowen13337.mp3" )
resource.AddFile( "models/weapons/v_powerdeagle.mdl" )
resource.AddFile( "models/weapons/w_powerdeagle.mdl" )
resource.AddFile( "materials/models/weapons/v_models/feets/v_hands_normal.vtf" )
resource.AddFile( "materials/models/weapons/v_models/feets/v_hands.vtf" )
resource.AddFile( "materials/models/weapons/v_models/feets/v_hands.vmt" )
resource.AddFile( "materials/models/weapons/v_models/powerdeagle/deagle_skin1.vtf" )
resource.AddFile( "materials/models/weapons/v_models/powerdeagle/dot2.vmt" )
resource.AddFile( "materials/models/weapons/v_models/powerdeagle/deagle_skin1_ref.vtf" )
resource.AddFile( "materials/models/weapons/v_models/powerdeagle/suppressor.vmt" )
resource.AddFile( "materials/models/weapons/v_models/powerdeagle/suppressor.vtf" )
resource.AddFile( "materials/models/weapons/v_models/powerdeagle/line.vmt" )
resource.AddFile( "materials/models/weapons/v_models/powerdeagle/line.vtf" )
resource.AddFile( "materials/models/weapons/v_models/powerdeagle/deagle_skin1.vmt" )
resource.AddFile( "materials/models/weapons/v_models/powerdeagle/dot2.vtf" )
resource.AddFile( "materials/vgui/ttt/icon_goldendeagle.vtf" )
resource.AddFile( "materials/vgui/ttt/icon_goldendeagle.vmt" )
resource.AddFile( "sound/weapons/goldendeagle/goldendeagle.wav" )
resource.AddFile( "materials/maps/ttt_terrorception.vmt" )
resource.AddFile( "materials/maps/ttt_terrorception.vtf" )
resource.AddFile( "models/player/superheroes/flash.mdl" )
resource.AddFile( "models/player/superheroes/superman.mdl" )
resource.AddFile( "models/player/superheroes/greenlantern.mdl" )
resource.AddFile( "models/player/superheroes/batman.mdl" )
resource.AddFile( "materials/models/player/superheroes/slow_flash_yellow.vmt" )
resource.AddFile( "materials/models/player/superheroes/slow_superman_sign_metal.vmt" )
resource.AddFile( "materials/models/player/superheroes/slow_flash_white.vmt" )
resource.AddFile( "materials/models/player/superheroes/slow_green_lantern.vmt" )
resource.AddFile( "materials/models/player/superheroes/slow_superman_sign_cape_metal.vmt" )
resource.AddFile( "materials/models/player/superheroes/slow_superman_sign_cape.vmt" )
resource.AddFile( "materials/models/player/superheroes/slow_flash.vtf" )
resource.AddFile( "materials/models/player/superheroes/slow_batman_belt.vmt" )
resource.AddFile( "materials/models/player/superheroes/slow_flash.vmt" )
resource.AddFile( "materials/models/player/superheroes/slow_batman_pockets.vmt" )
resource.AddFile( "materials/models/player/superheroes/slow_batman_skin.vmt" )
resource.AddFile( "materials/models/player/superheroes/slow_superman_belt_metal.vmt" )
resource.AddFile( "materials/models/player/superheroes/slow_green_lantern_metal.vmt" )
resource.AddFile( "materials/models/player/superheroes/slow_green_lantern_eyes.vmt" )
resource.AddFile( "materials/models/player/superheroes/slow_superman_boots.vmt" )
resource.AddFile( "materials/models/player/superheroes/slow_flash_skin.vmt" )
resource.AddFile( "materials/models/player/superheroes/slow_green_lantern_white.vmt" )
resource.AddFile( "materials/models/player/superheroes/slow_flash_eyes.vmt" )
resource.AddFile( "materials/models/player/superheroes/slow_flash_sole.vmt" )
resource.AddFile( "materials/models/player/superheroes/slow_batman.vtf" )
resource.AddFile( "materials/models/player/superheroes/slow_superman.vtf" )
resource.AddFile( "materials/models/player/superheroes/slow_green_lantern_head.vmt" )
resource.AddFile( "materials/models/player/superheroes/slow_superman_cape.vmt" )
resource.AddFile( "materials/models/player/superheroes/slow_flash_metal.vmt" )
resource.AddFile( "materials/models/player/superheroes/slow_batman_blades.vmt" )
resource.AddFile( "materials/models/player/superheroes/slow_superman_skin.vmt" )
resource.AddFile( "materials/models/player/superheroes/slow_superman_eyes.vmt" )
resource.AddFile( "materials/models/player/superheroes/slow_superman.vmt" )
resource.AddFile( "materials/models/player/superheroes/slow_green_lantern_ring_2.vmt" )
resource.AddFile( "materials/models/player/superheroes/slow_batman_exp.vtf" )
resource.AddFile( "materials/models/player/superheroes/slow_superman_bump.vtf" )
resource.AddFile( "materials/models/player/superheroes/slow_green_lantern_sole.vmt" )
resource.AddFile( "materials/models/player/superheroes/slow_green_lantern_bump.vtf" )
resource.AddFile( "materials/models/player/superheroes/slow_superman_sign.vmt" )
resource.A
[QUOTE=TacticHell;46190234]
I've set up a server on linux deticated hosting ([URL="https://www.digitalocean.com/?refcode=6b30e0f188a0"]DigitalOcean[/URL], really good)
[/quote]
?refcode=6b30e0f188a0 ... Srsly?
[QUOTE=TacticHell;46190234]
Everything is working great but then I've heard about FastDL, I've followed [URL="http://svenskunganka.com/tutorials/other/setup-a-fastdl-for-garrys-mod.html"]this guy's tutorial[/URL]. It didn't worked.
[/Quote]
I think that is a lie. If you really read the tutorial you would step over this text:
"No addons folder, no lua folder, no other folder at all!"
And when i took an look at your FastDL. [URL="http://ttt.ytsweb.net/fastdl/lua/"]Ohh there is an Lua Folder[/URL]
[QUOTE=TacticHell;46190234]I've tried to disable the -host...workshop...blablabla -authkey thing and when I've reseted the server it gave me some kind of error that map X is missing from the server. I've uploaded some maps to /maps on the server it worked.
[/Quote]
Did you uploaded the files you extracted to your server? Did you additional uploaded the FastDL Files (*.bz2) also in there?
[QUOTE=TacticHell;46190234]
Something is broken in my FastDL and I don't know what. I'm not sure what's Garry doing in his free time but he's not helping the devs who bought the game.
[/Quote]
Mhh Garry != Too Stupid to folow an simple easy tutorial
[QUOTE=TacticHell;46190234]
Another simpler question - If I've unpacked an addon, moved it models and etc to the FastDL server I need to move the lua stuff to the game server?
[/Quote]
You need ALL of the stuff on your server.
Thanks for your response, I've responded inside the quote
[QUOTE=Tomelyr;46190406]
?refcode=6b30e0f188a0 ... Srsly?
[B]Removed it. Sorry, it wasn't right to do so.[/B]
I think that is a lie. If you really read the tutorial you would step over this text:
"No addons folder, no lua folder, no other folder at all!"
And when i took an look at your FastDL. [URL="http://ttt.ytsweb.net/fastdl/lua/"]Ohh there is an Lua Folder[/URL]
[B]Why would I lie? I know that there are lua and gamemode files (which I removed now) but how is it affecting the fastdl if resource.AddFile not requesting them?[/B]
Did you uploaded the files you extracted to your server? Did you additional uploaded the FastDL Files (*.bz2) also in there?
[B]The only things that I've uploaded are the bziped files and I've uploaded them to the FastDL server[/B]
Mhh Garry != Too Stupid to folow an simple easy tutorial
[B]I've searched all over the web. Trust me, I haven't came and posted here after a single failure[/B]
You need ALL of the stuff on your server.
[B]So basically I need addon contents both on the FastDL(bziped) and on the game server(not bziped)?[/B]
[/QUOTE]
[QUOTE=TacticHell;46190443]So basically I need addon contents both on the FastDL(bziped) and on the game server(not bziped)?[/QUOTE]
You need the Bzipped ones also on the gameserver.
[QUOTE=Tomelyr;46190509]You need the Bzipped ones also on the gameserver.[/QUOTE]
Including the lua files? What about bzipped maps? They also go to the addons folder?
[QUOTE=TacticHell;46190525]Including the lua files? What about bzipped maps? They also go to the addons folder?[/QUOTE]
and another Sign that you didn't even bother to read the Tutorial by Sven.
There is a big fat RED Block about it
i mean THIS one:
[t]http://puu.sh/c5tIH/1f7a8ece1d.png[/t]
edit:/ Yes. All of the files listed inside the Tutorial (You maybe remember [URL="http://puu.sh/c5tLE/2dd5c87d65.png"]THIS [/URL]one?) are needed by the server in *.bz2 and uncompressed.
[QUOTE=Tomelyr;46190544]and another Sign that you didn't even bother to read the Tutorial by Sven.
There is a big fat RED Block about it
i mean THIS one:
[t]http://puu.sh/c5tIH/1f7a8ece1d.png[/t]
edit:/ Yes. All of the files listed inside the Tutorial (You maybe remember [URL="http://puu.sh/c5tLE/2dd5c87d65.png"]THIS [/URL]one?) are needed by the server in *.bz2 and uncompressed.[/QUOTE]
I've asked about the addons folder inside the game server... no the FastDL server, please don't be mad at me...
Argh, so basically if I have an addon and I want to use my FastDL I need to the following -
Send the bzipped non-lua(models,particels,sounds etc) to the FastDL server.
Send both the bzipped and non-bzipped files (lua and non-lua files) to the game server (addons folder)?
[QUOTE=TacticHell;46190613]I've asked about the addons folder inside the game server... no the FastDL server, please don't be mad at me...[/QUOTE]
I'm mad to everyone because i'm german. i need to be mad, so the internet can prove i'm german.
[QUOTE=TacticHell;46190613]
Send the bzipped non-lua(models,particels,sounds etc) to the FastDL server.[/QUOTE]
Yes.
[QUOTE=TacticHell;46190613]
Send both the bzipped and non-bzipped files (lua and non-lua files) to the game server (addons folder)?[/QUOTE]
No.
I Quote again from the screenshotted BIG RED BLOCK.
"If you would have a file inside addons/someaddon/models/model.mdl, the server would tell the player to download models/model.mdl, and that's why you have to upload the model directly to the models directory and NOT into addons/someaddon/models on your FastDL. "
[QUOTE=Tomelyr;46190687]I'm mad to everyone because i'm german. i need to be mad, so the internet can prove i'm german.
[B]Good point[/B]
Yes.
No.
I Quote again from the screenshotted BIG RED BLOCK.
"If you would have a file inside addons/someaddon/models/model.mdl, the server would tell the player to download models/model.mdl, and that's why you have to upload the model directly to the models directory and NOT into addons/someaddon/models on your FastDL. "[/QUOTE]
So what do I send to the [B]game server[/B]? Non bizzped files (lua and non-lua)?
And again, thanks for your help
You don't download the lua files.
Upload non bzipped files to gameserver and bzipped ones to webserver. Including maps. Do not add maps to your resource.lua file. Do not add the .bz2 extension to files in your resource.lua.
[QUOTE=Tomelyr;46190687]I'm mad to everyone because i'm german. i need to be mad, so the internet can prove i'm german.
Yes.
No.
I Quote again from the screenshotted BIG RED BLOCK.
"If you would have a file inside addons/someaddon/models/model.mdl, the server would tell the player to download models/model.mdl, and that's why you have to upload the model directly to the models directory and NOT into addons/someaddon/models on your FastDL. "[/QUOTE]
please don't try to help people without knowing what you're talking about
[QUOTE=Tomelyr;46190687]I'm mad to everyone because i'm german. i need to be mad, so the internet can prove i'm german.
Yes.
No.
I Quote again from the screenshotted BIG RED BLOCK.
"If you would have a file inside addons/someaddon/models/model.mdl, the server would tell the player to download models/model.mdl, and that's why you have to upload the model directly to the models directory and NOT into addons/someaddon/models on your FastDL. "[/QUOTE]
You do realize that as long as the folder under addons/ has an addon.txt and the appropriate folder path for the files, that it'll ignore the addons directory and still download the files, right?
Well, I've solved it.
Uploaded the addon's non-lua folders(models,sound,etc) to the FastDL - bzipped.
Uploaded the whole addon to the addons folder on the GAME server - Extracted, which means - not ".gma" .
BTW, isn't it better to use workshop for working addons and FastDL for custom addons?
Thanks for the help everyone, and for the d!cks who marked this thread as dumb, helping me would've been.
[QUOTE=Aeternal;46195884]You do realize that as long as the folder under addons/ has an addon.txt and the appropriate folder path for the files, that it'll ignore the addons directory and still download the files, right?[/QUOTE]
Forget about addon.txt ( or info.txt ), those are not used since forever.
Sorry, you need to Log In to post a reply to this thread.