04-12-2012, 04:08 PM (This post was last modified: 04-13-2012, 01:56 PM by nonenone.)
Hi,
I'd like to verify whether this is a server related problem or a client related problem. If the latter then I ask a mod to kindly move this into the correct section.
I copied some custom maps onto the server. The maps load o.k, and from what I can gather when my client connects the map is downloaded.
The problem is that the entite map is black, except weapons players and weapon effects! This makes the map unplayable.
Where does this problem lie, and how may I mend it?
BR.
Hmm, maybe the custom maps I downloaded were for 0.5. This also explains the deprecated warnings.
Where might I download all those custom maps from for 0.6?
Have a look at the client's console log, it probably tells you why the download failed. Usually it's either because the client is missing libcurl or because the server sends a wrong url resulting in a 404.
It always trys do download and it looks like it does, but the download is probably broken.
You probably have some 0KB map files in your dlcache now (delete them).
04-13-2012, 03:56 AM (This post was last modified: 04-13-2012, 03:57 AM by nonenone.)
(04-13-2012, 01:29 AM)asy7um Wrote: Did you set up a web server which offers the maps to the clients or did you just copy them into your servers data/?
A web server is required to serve the maps. It doesn't have to be yours. TCP is way preferable over UDP for file transfer, plus it would hurt the server to manage the transfers by itself. Read your server.cfg and the readme in server/, the configuration is explained there.
04-13-2012, 05:27 AM (This post was last modified: 04-13-2012, 05:28 AM by Mr. Bougo.)
The server needs the maps in its data directory. In the server, do fs_rescan to load the files once they're downloaded. No restart needed. Do not extract the pk3 files.
If the pk3 file exists in $sv_curl_defaulturl, the client should be able to download it when needed. If you have maps that are hosted in a different server, you'll need to set up curl_urls.txt.
Read the server readme in server/readme.txt. It's important.
Or, get dropbox, install it, place maps you want to be played there, reference the sv_default_curl to your specific user-dropbox-account / location of the maps --> be responsible for your own map downloads
Read this in the console logs:
WARNING: autogenerated mapinfo file maps/autogenerated/geoplanetary.mapinfo has been loaded; please edit that file and move it to maps/geoplanetary.mapinfo
WARNING: autogenerated mapinfo file maps/autogenerated/recratewall.mapinfo has been loaded; please edit that file and move it to maps/recratewall.mapinfo
Its a warning, so should I fret?
How does it work with the curl_urls.txt?
1) Is this file required if the sv_curl_defaulturl is set and the pk3 files are in the data directory?
2) If yes, then what should the format be?
e.g
# cat curl_urls.txt
* http://mapdl.xonotic.eu/samual/
#
This file is an alternative to your sv_curl_defaulturl. It's not needed if the settings made in your server.cfg work properly.
Please make sure you set the link in inverted commas. Cfgs a little bit bitchy about its "" :/.
Also make sure not to rename the maps (i think i tried to download "attic-full" instead of "attic-full-d5fbdab0fad9d2909c3ce52c856b0793b1022d46-dc5cc77ed93d5bb070c48d48db4762e2d701add7.pk3").
If you decide to use the txt-file, make sure it's located in ~/.xonotic/data/ (Linux/Mac OS X).
04-13-2012, 09:01 AM (This post was last modified: 04-13-2012, 09:20 AM by nonenone.)
Parametre is in double quotes.
Downloaded the maps again as I noticed I had copied renamed maps into the dir. I would not have done this had I known that the link between the maps was in the file name and not embedded in the map file.
Unsure how this DropBox works to be honest. I went on their web site, and all they want me to do is install a daemon (client?!) and sign-up, without telling me anything about their service - Even the pricing structure is opaque. No mention of an SLA. I would not pay for this. It seems a little dodgy. However, its fine for shared public content.
Griping over.. Is there a web interface to push content into. I do not fancy runnOr, get dropbox, install it, place maps you want to be played there, reference the sv_default_curl to your specific user-dropbox-account / location of the maps --> be responsible for your own map downloads
Oh, sorry. I thought to have read about dropbox in this thread before.
Dropbox is online, total free, webspace.
The site requires a client on your machine, yes. It's about to create a folder on your system which is peramnently synchronisized with the web. A primitive "cloud solution".
But, nevertheless, this doesnt to be needed anymore.
I were on your server, playing astralcity, not 5 minutes ago.
Seems like the renaming was the issue.