ULX
Ulysses
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Ulysses
»
General
»
Developers Corner
»
Setting maps to fastdl when that map is chosen
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Setting maps to fastdl when that map is chosen (Read 9303 times)
0 Members and 1 Guest are viewing this topic.
syn.
Jr. Member
Posts: 56
Karma: 6
Lua Padawan
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
Logged
Lua Student
"The more you understand, the crazier you get."
Eccid
Full Member
Posts: 115
Karma: 11
Hey, come on... We just met...
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.
Logged
syn.
Jr. Member
Posts: 56
Karma: 6
Lua Padawan
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.
Logged
Lua Student
"The more you understand, the crazier you get."
Bytewave
Respected Community Member
Hero Member
Posts: 718
Karma: 116
:)
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?
Logged
bw81@ulysses-forums ~ % whoami
Homepage
syn.
Jr. Member
Posts: 56
Karma: 6
Lua Padawan
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") )
Logged
Lua Student
"The more you understand, the crazier you get."
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.
Logged
Out of the Garry's Mod business.
syn.
Jr. Member
Posts: 56
Karma: 6
Lua Padawan
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?
Logged
Lua Student
"The more you understand, the crazier you get."
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.
Logged
Out of the Garry's Mod business.
JamminR
Ulysses Team Member
Hero Member
Posts: 8096
Karma: 390
Sertafide Ulysses Jenius
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)
Logged
"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
Back