Search found 8 matches

by Heliuxen
Wed Mar 13, 2013 4:18 pm
Forum: Garrysmod
Topic: Error with the data upload
Replies: 10
Views: 2384

Re: Error with the data upload

Figured it out, wrong directory.. Fixed it. Thanks!
by Heliuxen
Wed Mar 13, 2013 3:31 pm
Forum: Garrysmod
Topic: Error with the data upload
Replies: 10
Views: 2384

Re: Error with the data upload

Okay I'm done, realized I was asking the whole wrong question the whole time. Okay, so this time they all uploaded to the HTTP server like I said above, and I used this code:

resource.AddFile("../garrysmod/models/lucario.dx80.vtx")
resource.AddFile("../garrysmod/models/lucario.dx90.vtx")
resource ...
by Heliuxen
Wed Mar 13, 2013 2:54 pm
Forum: Garrysmod
Topic: Error with the data upload
Replies: 10
Views: 2384

Re: Error with the data upload

Scrapped it, downloaded a new model set and it works, sort of. It all uploaded, but it isn't forcing a download when you get into the server, how would I go about doing that?


It is on the http server now. Now I just need it to force download. Is there a command I'm suppose to do? File I'm suppose ...
by Heliuxen
Wed Mar 13, 2013 2:35 pm
Forum: Garrysmod
Topic: Error with the data upload
Replies: 10
Views: 2384

Re: Error with the data upload

No clue how I missed that at all. Okay! We're making some progress, a few of the files uploaded, I changed the folder name to remove spaces and capitals and then re-wrote it.. Still hitting some kind of problem I'm not sure of yet.. A few of the files uploaded.

Here's the list of that:


[removed ...
by Heliuxen
Wed Mar 13, 2013 1:47 pm
Forum: Garrysmod
Topic: Error with the data upload
Replies: 10
Views: 2384

Re: Error with the data upload

"resource.AddFile("../garrysmod/addons/VC Soldier Playermodel/vietcong.png")"
"resource.AddFile("../garrysmod/addons/VC Soldier Playermodel/materials/jessev92/player/common/dark_eyeball_1.vmt")"
"resource.AddFile("../garrysmod/addons/VC Soldier Playermodel/materials/jessev92/player/common/dark ...
by Heliuxen
Wed Mar 13, 2013 12:09 pm
Forum: Garrysmod
Topic: Error with the data upload
Replies: 10
Views: 2384

Re: Error with the data upload

Updated it, and it looks like this now.


"resource.AddFile("/addons/VC Soldier Playermodel/vietcong.png")"
"resource.AddFile("/addons/VC Soldier Playermodel/materials/jessev92/player/common/dark_eyeball_1.vmt")"
"resource.AddFile("/addons/VC Soldier Playermodel/materials/jessev92/player/common ...
by Heliuxen
Sun Mar 10, 2013 12:36 pm
Forum: Garrysmod
Topic: Error with the data upload
Replies: 10
Views: 2384

Re: Error with the data upload

The path at the beginning is definitely wrong, at minimum -- it would need to be "../garrysmod" instead of "/garrysmod".

The old documentation for AddSingleFile (http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/indexd2d2.html) also says that it is for content in the overall "content ...
by Heliuxen
Sun Mar 10, 2013 10:48 am
Forum: Garrysmod
Topic: Error with the data upload
Replies: 10
Views: 2384

Error with the data upload

So I was sent a link with the information I need to make it manually upload to the data server for my server. I put it in, and it isn't working. I'll paste the code below.

local path = "/garrysmod/addons/VC Soldier Playermodel"
local folders = {""}
while true do
local curdir = table.remove ...