UFO:Alien Invasion

Development => Mapping => Topic started by: Mattn on April 16, 2010, 09:00:19 pm

Title: Map server
Post by: Mattn on April 16, 2010, 09:00:19 pm
Dino4k was so kind to set up a build service for the maps.

http://static.ufo.ludwigf.org/maps/log

here are the logs.

you can use the contrib/scripts/map-get.py script to download them.


Now use this link: http://ufoai.ninex.info/maps/

Or use this script ./contrib/map-get/update.py
(need not to use python 3)
Title: Re: Map server
Post by: bayo on January 22, 2011, 07:22:32 pm
now the repository is at http://ufoai.ninex.info/maps/

You can use the script ./contrib/map-get/update.py
(need not to use python 3)
Title: Re: Map server
Post by: Nokim on June 06, 2012, 10:04:49 pm
Please, change in ./contrib/map-get/update.py
first line to
Code: [Select]
#!/usr/bin/env python2Script is not compatible with Python 3 and i have both installed. And this will be common for some time, i think... Perhaps other scripts should be changed too.
Title: Re: Map server
Post by: geever on June 06, 2012, 11:06:07 pm
Please, change in ./contrib/map-get/update.py
first line to
Code: [Select]
#!/usr/bin/env python2Script is not compatible with Python 3 and i have both installed. And this will be common for some time, i think... Perhaps other scripts should be changed too.

Checked, there is no python2 on some systems, so we can't change it.

-geever
Title: Re: Map server
Post by: bayo on June 07, 2012, 07:03:37 pm
yes, python is quite a shit fo backward compatibility. for some cases i rememeber there is no way to provide compatible syntax for both. btw here iv got python2, and ninex have it too.
Title: Re: Map server
Post by: Nokim on June 08, 2012, 07:18:18 am
python2 is just symlink to actual binary python2.7. So goes for python3 - symlink to python3.2. symlink python is linked to python 3.2. Such system of symlinks is usual thing in many distros for libs at least. If needed, such symlink can be easily created by user.

Anyway, i changed those scripts for myself and hope my previous post can help somebody.