Server Version 3 Ubuntu Map change

Post here if you need help setting up your server, etc.
Post Reply
User avatar
mixnetwork
On Lightcycle Grid
Posts: 22
Joined: Fri Jan 02, 2004 10:26 am
Location: Berlin
Contact:

Server Version 3 Ubuntu Map change

Post by mixnetwork »

HI all
I have a problem with my sever version 3 running in Ubuntu.

Its the Formula 1 server and he supposed to do map change every match.
The map change works do far but he need to make coorections for each map individual like grid size.
Now like Wiki says, i must make vor each map an own config file, i did this.
now he reads only the map change there but not the new settings for that map??
these are my setting in the settings_custom.cfg:

resource_repository_server http://mixnetwork.de/resource/automatic/
MAP_FILE space_6/polygon/regular/space_6-2002.0.1.aamap.xml (http://mixnetwork.de/resource/automatic ... .aamap.xml)
MAP_ROTATION space_6/polygon/regular/space_6-2002.0.1.aamap.xml;space_6/polygon/regular/space_6-2003.0.1.aamap.xml;
space_6/polygon/regular/space_6-2004.0.1.aamap.xml;space_6/polygon/regular/space_6-2005.0.1.aamap.xml;
space_6/polygon/regular/space_6-2006.0.1.aamap.xml;
space_6/polygon/regular/space_6-2007.0.1.aamap.xml;space_6/polygon/regular/space_6-2008.0.1.aamap.xml;
space_6/polygon/regular/space_6-2009.0.1.aamap.xml;space_6/polygon/regular/space_6-2010.0.1.aamap.xml;
space_6/polygon/regular/space_6-2011.0.1.aamap.xml;
space_6/polygon/regular/space_6-2012.0.1.aamap.xml;space_6/polygon/regular/space_6-2013.0.1.aamap.xml;
space_6/polygon/regular/space_6-2014.0.1.aamap.xml;
space_6/polygon/regular/space_6-2015.0.1.aamap.xml;space_6/polygon/regular/space_6-2016.0.1.aamap.xml;
CONFIG_ROTATION 1.cfg;2.cfg;3.cfg;4.cfg;5.cfg;6.cfg;7.cfg;8.cfg;9.cfg;10.cfg;11.cfg;12.cfg;13.cfg;14.cfg;15.cfg;
ROTATION_TYPE 2

Could someone help me here, because some settings must be change for each map.

thx

mix...
Last edited by mixnetwork on Mon Feb 04, 2008 1:15 am, edited 2 times in total.
Live is for Living...
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

In order to avoid synchronization problems, I'd only use CONFIG_ROTATION, and put the appropriate MAP_FILE command into every configuration file. That way, you don't risk getting the wrong configuration for a map.

Could we see the content of your x.conf configuration files?
User avatar
mixnetwork
On Lightcycle Grid
Posts: 22
Joined: Fri Jan 02, 2004 10:26 am
Location: Berlin
Contact:

Post by mixnetwork »

Hi

of course you may see that

resource_repository_server http://mixnetwork.de/resource/automatic/
MAP_FILE space_6/polygon/regular/space_6-2002.0.1.aamap.xml (http://mixnetwork.de/resource/automatic ... .aamap.xml)
SP_SIZE_FACTOR 8
SIZE_FACTOR 8
ROUND_CONSOLE_MESSAGE 0x00ffffRace to end of grid, be first in winzone to win the race.\n0x00ffffRubber is time based the more speed the more rubber\n0x00ffffscores at mixnetwork.de\n0x00ffffVisit the Spacezone board and register at:http://spacezone.mixnetwork.de\n0xff0000MAP BAHRAIN


I disabled for testing the command MAP_ROTATION but after that even he did not changed any map, though i had the commands like above in the config files.
Live is for Living...
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

Hmm, looks OK, what does the server output when it loads up and when you play?
User avatar
mixnetwork
On Lightcycle Grid
Posts: 22
Joined: Fri Jan 02, 2004 10:26 am
Location: Berlin
Contact:

Post by mixnetwork »

Well if i have the settings like above he starts without problems and if i play, he changes only the map, but not the grid size
if i disable the MAP_ROTATION command the server no map change is being done, and he don't reads the config files (is my opinion)
Because if he would read them he has to load the maps and the settings.
In the other Way he changes maps but does not change setting, so i thing that he does not read the cfg files at all.

perhaps they must be at a certain location?

i start server with following:
armagetronad-dedicated --configdir /var/games/armagetronad-dedicated_6/var --vardir /var/games/armagetronad-dedicated_6/var

all config file are in the var dir, because i have 4 servers running now, so each server with his own dir.
Last edited by mixnetwork on Mon Feb 04, 2008 12:37 am, edited 1 time in total.
Live is for Living...
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

Could you paste the output here, please? It's likely there is some error message somewhere.
User avatar
mixnetwork
On Lightcycle Grid
Posts: 22
Joined: Fri Jan 02, 2004 10:26 am
Location: Berlin
Contact:

Post by mixnetwork »

logifiles
Attachments
armagetronad.zip
Forumula 1 log
(12.78 KiB) Downloaded 218 times
Live is for Living...
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

Ah, /me slaps whoever implemented config rotation. There is no error message if loading the config file fails, and the var paths are not searched.

Where are your x.cfg files stored? They need to be in /etc/armagetronad/, I think.
User avatar
mixnetwork
On Lightcycle Grid
Posts: 22
Joined: Fri Jan 02, 2004 10:26 am
Location: Berlin
Contact:

Post by mixnetwork »

hmmm they are in the Var dir
Live is for Living...
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

Well, move them to /etc/armagetronad/ :)
User avatar
mixnetwork
On Lightcycle Grid
Posts: 22
Joined: Fri Jan 02, 2004 10:26 am
Location: Berlin
Contact:

Post by mixnetwork »

Ok thanks i will try that
I test it tomorow

Thank again for the help ;)
Live is for Living...
User avatar
mixnetwork
On Lightcycle Grid
Posts: 22
Joined: Fri Jan 02, 2004 10:26 am
Location: Berlin
Contact:

Post by mixnetwork »

Hi,

Well it workes now, the cfg files MUST be in that location, does not matter if you start the server pointing to another directory.

Thanks again,
Live is for Living...
User avatar
mixnetwork
On Lightcycle Grid
Posts: 22
Joined: Fri Jan 02, 2004 10:26 am
Location: Berlin
Contact:

Post by mixnetwork »

HI aigain,

I was too early :(
i deleted the cfg file in the VAR dir and restartet the server, now it did not worked anymore.
At the same time I deactivated the MAP_ROTATION command and restartet the server, no map changes are made.
Than I activated MAP_ROTATION again, restarted server , still no map change??

Than I activated the MAP_ROTATION again and restarted the server, still no map change happened.
Now I copied again the cfg files in the VAR dir now it works again?????
so config file are now in 2 dirs if they are only in one it does not works.

This makes me very confused

After a while i noticed that map change he only did if only real player are in, so with 1 player and bots he does not do a map change.

:? :? :?
Live is for Living...
Post Reply