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
  Host A Server On A Device/Android? Baker 5 1,470 07-07-2024, 06:56 PM
Last Post: Baker
  [NEED HELP] Help Adding Custom Gametypes CarbonGhost 3 1,905 01-24-2023, 09:09 PM
Last Post: ballerburg9005
  Help needed with custom gametypes Notavi 4 3,465 07-29-2018, 07:22 AM
Last Post: Freddy
  Help for custom voteble commands KyMAN 4 4,793 05-01-2018, 11:37 AM
Last Post: morosophos
  custom weapons cadrogui 2 4,845 05-28-2016, 08:43 PM
Last Post: cadrogui
  How having xonotic server to make client download custom characters' sounds? gabolander 7 10,624 01-25-2015, 07:43 PM
Last Post: gabolander
  [ Drive Mofo ] Vehicle CTF Server end user 5 7,413 03-01-2014, 05:12 PM
Last Post: end user
  Looking for a company to host Xonotic for me tbutlerPBL 2 3,988 08-10-2013, 05:41 AM
Last Post: roxservers
  How do I host a single map on a hosted Windows Server tbutlerPBL 19 19,294 07-22-2013, 03:38 PM
Last Post: Mr. Bougo
  adding custom maps acidbuddha 6 8,846 09-25-2012, 12:48 PM
Last Post: Mr. Bougo

Forum Jump:


Users browsing this thread:
1 Guest(s)

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