Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Host custom maps on Google Drive

#1
Hi, I was just seeing if it was possible to host custom maps Google Drive? I made my data directory public but when I add the address to my server.cfg it's https not http. Thanks!
Reply

#2
Downloading custom pk3 files using https protokoll does not work Sad

But there seems to be support for https...

https://gitlab.com/xonotic/darkplaces/bl.../libcurl.c
Reply

#3
libcurl supports TLS/SSL (ie: https:// urls) but not sure about how well that works in Darkplaces.

However, having used curl to download files from a lot of things (deploying files all over the place), the issue might be that the link you're using isn't the final canonical link to the file, but is a redirect. I don't know how well Darkplaces supports redirects (if at all).

If you have a copy of curl, you can try this yourself in a command prompt using the links you've got.

Try:
curl -O https://your.link.goes/here/whatever.pk3

If that doesn't work, try:
curl -O -J -L https://your.link.goes/here/whatever.pk3

If the first one doesn't work but the second does, the link is a redirect link.

FWIW: Dropbox uses redirect links when you select 'Download' and get a link that ends in "?dl=0" (which actually makes it open a view window). You can improve that by changing it to "?raw=1"
on the end, but it still does a redirect.
[Image: 21975.jpg]

Quote:“To summarize the summary of the summary: people are a problem.” - Douglas Adams
Reply

#4
Thank you for the info guys..... I think I'm going to host the maps on my web host.
Reply



Possibly Related Threads...
Thread Author Replies Views Last Post
  Help needed with custom gametypes Notavi 4 745 07-29-2018, 07:22 AM
Last Post: Freddy
  Help for custom voteble commands KyMAN 6 1,537 05-01-2018, 11:37 AM
Last Post: morosophos
  Ch4mp's Xonotic Repository + DL PAGE (maps, configs, extensions and demos) Ch4mp 1 1,312 03-23-2017, 05:09 PM
Last Post: Smilecythe
  custom weapons cadrogui 2 2,677 05-28-2016, 08:43 PM
Last Post: cadrogui
  Duel Maps Ch4mp 2 2,067 01-18-2016, 08:17 AM
Last Post: Ch4mp
  Adding maps to server BuddyFriendGuy 3 2,428 10-20-2015, 01:21 AM
Last Post: BuddyFriendGuy
  Removed official maps Mirio 0 10,288 08-28-2015, 08:00 AM
Last Post: Mirio
Question Question about server and maps XCanG 4 4,698 06-22-2015, 12:57 AM
Last Post: -maniac|Su-
  How having xonotic server to make client download custom characters' sounds? gabolander 7 5,403 01-25-2015, 07:43 PM
Last Post: gabolander
  [ Drive Mofo ] Vehicle CTF Server end user 5 4,776 03-01-2014, 05:12 PM
Last Post: end user

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-