ULX

Author Topic: Setting maps to fastdl when that map is chosen  (Read 9436 times)

0 Members and 3 Guests are viewing this topic.

Offline syn.

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 6
  • Lua Padawan
    • SynGaming
Setting maps to fastdl when that map is chosen
« on: January 30, 2014, 05:02:30 PM »
okay title might be weird but is there any way to set the maps to download only when it is selected and we are loading for that particular map? if there is please help me do it:o thanks
WOOOO JR MEMBER:D
Lua Student

"The more you understand, the crazier you get."

Offline Eccid

  • Full Member
  • ***
  • Posts: 115
  • Karma: 11
  • Hey, come on... We just met...
    • Terror Abound! Steam Group
Re: Setting maps to fastdl when that map is chosen
« Reply #1 on: January 30, 2014, 05:09:58 PM »
if your fastdl is set up right, gmod should automatically do that.

Offline syn.

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 6
  • Lua Padawan
    • SynGaming
Re: Setting maps to fastdl when that map is chosen
« Reply #2 on: January 30, 2014, 05:24:03 PM »
what my FastDL does is that whenever a new player joins my server, it forces them to download ALL of the maps. This makes the loading time of my server skyrocket. I think it would be better for them to download each map whenever the have to PLAY that map.
Lua Student

"The more you understand, the crazier you get."

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: Setting maps to fastdl when that map is chosen
« Reply #3 on: January 30, 2014, 05:26:01 PM »
FastDL hasn't ever done that to me...
You're on XenonServers, I think, right?
bw81@ulysses-forums ~ % whoami
Homepage

Offline syn.

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 6
  • Lua Padawan
    • SynGaming
Re: Setting maps to fastdl when that map is chosen
« Reply #4 on: January 30, 2014, 05:28:11 PM »
yep maybe I have a different method of FastDl o.O I just added a workshop.lua on lua/autorun/server/ and manually added each file (resource.AddWorkshop("335286353") )
Lua Student

"The more you understand, the crazier you get."

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: Setting maps to fastdl when that map is chosen
« Reply #5 on: January 30, 2014, 05:32:40 PM »
Yeah, you don't need to do that.

Just leave it alone. Maps automatically download.
Out of the Garry's Mod business.

Offline syn.

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 6
  • Lua Padawan
    • SynGaming
Re: Setting maps to fastdl when that map is chosen
« Reply #6 on: January 30, 2014, 05:34:48 PM »
ohh so I dont add the wokrshop.lua? is that it?
Lua Student

"The more you understand, the crazier you get."

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: Setting maps to fastdl when that map is chosen
« Reply #7 on: January 30, 2014, 07:18:04 PM »
Remove the ones for maps.
Out of the Garry's Mod business.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Setting maps to fastdl when that map is chosen
« Reply #8 on: January 30, 2014, 07:20:17 PM »
The only time you add a workshop lua is if it's a workshop item for lua/models/sounds.
Maps by default, if on the fastdl host, will download when you're on that map.
Make sure to bz2 compress them. (Find any 'Source map bz2' tutorial)
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

An Error Has Occurred!

array_keys(): Argument #1 ($array) must be of type array, null given