First of all: Sorry for the messy thread, for some reason it doesnt let me use BB code with shortcuts to the BB’s and I don’t know the codes.
Introduction: I run a dedicated server using a RP gamemode (Nexus/Novus two) to be exact.
And i need some stuff, well alot to download to the client (forced) since eventscript doesnt work on garrysmod for some reason I’m forced to use LUA. The problem is I don’t know how to force downloads to client.
What i have now is my Init.lua located in
NEXUS = GM;
Where “addfile.lua” contains (addfile.lua is placed where Init.lua is located)
if (SERVER) then
Now as you can see my map that I’m using is using the “addons” way instead of the simple maps/mapname.bsp. This is just ONE thing out of my 1800+ files needed to be downloaded.
What it does now is that when i connect server tells me that 814 files are needed, when those are downloaded it get’s suck on the last file which is a xxx.txt file then i can see on the dedicated server that the console (server) dies and restarts and my client timeouts (Disconnected: Server timeout)
So LONG STORY short, how and where to list files to download. And also i have some addons like an helicopter i want downloaded to the client so they can see and use it without actually have to go to download sites and get it.