Multiple servers on one linux computer config problems

Post here if you need help setting up your server, etc.
Post Reply
snake
Average Program
Posts: 59
Joined: Thu Oct 13, 2011 6:24 am

Multiple servers on one linux computer config problems

Post by snake »

I have a problem again :S
I have setup multiple servers on une ubuntu vps. I did this byt this wiki: http://wiki.armagetronad.org/index.php ... d one sumo. I have 2 servers, one ctf and one sumo. I have my server settings in /home/username/armagetronad/servers/servername/var. Most of the configs i put there work, however
the sumo server's size_factor is to small and the circle doesnt colapse when i leave it...
In the main configs for all the servers i have sinclude server_info.cfg but i dont know if that makes any difference (with the main configs i mean /home/username/armagetronad/etc/games/armagetronad-dedicated/settings.cfg and settings_dedicated.cfg

The ctf server has a size factor problem to: the arena is to small when only one client is connected and if a 2nd client connects it gets to big

The size_factor problem is solved by typing /admin include server_info.cfg but the broken sumo circle isnt

Here's my sumo config i have in /home/username/armagetronad/servers/servername/var :

Code: Select all

server_port 4535

SERVER_NAME snakes sumo test server
SERVER_OPTIONS
TITLE_OF_DAY Message of the Day
MESSAGE_OF_DAY


# example:
# MESSAGE_OF_DAY Line1\nLine2\n\
Line3

ROUND_CONSOLE_MESSAGE
ROUND_CENTER_MESSAGE

############################################################################################
#
# arena settings
#
############################################################################################

RESOURCE_REPOSITORY_SERVER http://maps.ix.lv-vl.net/
MAP_FILE_OVERRIDE 0
MAP_FILE Z-Man/fortress/sumo_4x4-0.1.1.aamap.xml
ARENA_AXES 4

############################################################################################
#
# cycle physics
#
############################################################################################

CYCLE_TURN_MEMORY 3

# speed
CYCLE_SPEED 30.0
CYCLE_SPEED_MIN .25
CYCLE_SPEED_DECAY_BELOW 5.0
CYCLE_SPEED_DECAY_ABOVE .1
CYCLE_START_SPEED 20.0
CYCLE_ACCEL 20.0
CYCLE_ACCEL_SELF 1.0
CYCLE_ACCEL_TEAM 1.0
CYCLE_ACCEL_ENEMY 1.0
CYCLE_ACCEL_RIM 0.0
CYCLE_ACCEL_SLINGSHOT 1.0
CYCLE_ACCEL_TUNNEL 1.0
CYCLE_ACCEL_OFFSET 2.0
CYCLE_WALL_NEAR 6.0
CYCLE_SOUND_SPEED 30.0
CYCLE_BRAKE 30.0

CYCLE_BOOST_SELF     0.0
CYCLE_BOOST_TEAM     0.0
CYCLE_BOOST_ENEMY    0.0
CYCLE_BOOST_RIM      0.0
CYCLE_BOOSTFACTOR_SELF   1.0
CYCLE_BOOSTFACTOR_TEAM   1.0
CYCLE_BOOSTFACTOR_ENEMY  1.0
CYCLE_BOOSTFACTOR_RIM    1.0

# turning
CYCLE_DELAY  .1
CYCLE_DELAY_TIMEBASED 1.0
CYCLE_TURN_SPEED_FACTOR .95

# rubber settings
CYCLE_RUBBER  5
CYCLE_PING_RUBBER 4
CYCLE_RUBBER_TIMEBASED 0.0

CYCLE_RUBBER_SPEED 40.0
CYCLE_RUBBER_MINDISTANCE 0.000999987
CYCLE_RUBBER_MINDISTANCE_RATIO 0.000099868
CYCLE_RUBBER_MINDISTANCE_RESERVOIR .005
CYCLE_RUBBER_MINDISTANCE_UNPREPARED .005
CYCLE_RUBBER_MINDISTANCE_PREPARATION .2
CYCLE_RUBBER_MINADJUST 0.00999999

CYCLE_RUBBER_LEGACY 0
CYCLE_RUBBER_TIME 10.0

CYCLE_RUBBER_DELAY 0.0

CYCLE_RUBBER_WALL_SHRINK 1

CYCLE_RUBBER_MINDISTANCE_GAP 0
CYCLE_RUBBER_MINDISTANCE_GAP_SIDE .5

# braking
CYCLE_BRAKE_REFILL .1
CYCLE_BRAKE_DEPLETE 1.0

# respawn relevant settings
CYCLE_BLINK_FREQUENCY  10          
CYCLE_INVULNERABLE_TIME 3
CYCLE_WALL_TIME 3
CYCLE_FIRST_SPAWN_PROTECTION 0


############################################################################################
#
# game rules settings
#
############################################################################################

#Multi player
SCORE_WIN 0
SCORE_SUICIDE -30
SCORE_KILL 30
SCORE_DIE  0

LIMIT_SCORE 600
LIMIT_ROUNDS 8
LIMIT_TIME  30

#Single player
SP_SCORE_WIN 10
SP_LIMIT_SCORE 100000
SP_LIMIT_ROUNDS 10
SP_LIMIT_TIME   30

# sty+ct
FORTRESS_CONQUERED_SCORE 60
FORTRESS_HELD_SCORE 0
FORTRESS_CONQUERED_WIN 0
FORTRESS_SURVIVE_WIN 1

SCORE_SHOT 1
SCORE_SHOT_SUICIDE 0
SCORE_DEATH_SHOT 1
SCORE_SELF_DESTRUCT 1
SCORE_ZOMBIE_ZONE_REVENGE 1
SCORE_ZOMBIE_ZONE 0

SCORE_FLAG 3
SCORE_GOAL 1

SCORE_DEATHZONE 0

############################################################################################
#
# Game settings
#
############################################################################################

# cycle physics
CYCLE_RUBBER_MINDISTANCE_LEGACY 1

# Single player
SP_EXPLOSION_RADIUS 2
SP_WALLS_LENGTH 400
SP_WALLS_STAY_UP_DELAY 8
SP_TEAM_BALANCE_ON_QUIT 0
SP_TEAM_BALANCE_WITH_AIS 1
SP_TEAM_MAX_IMBALANCE 1
SP_TEAM_MAX_PLAYERS 1
SP_TEAM_MIN_PLAYERS 1
SP_TEAMS_MAX 16
SP_TEAMS_MIN 1
SP_WIN_ZONE_MIN_ROUND_TIME 1000000
SP_WIN_ZONE_MIN_LAST_DEATH 1000000
SP_FINISH_TYPE 1
SP_GAME_TYPE 0
SP_SIZE_FACTOR 1
SP_SPEED_FACTOR 0
SP_AUTO_IQ 0
SP_AUTO_AIS 0
SP_AI_IQ 50
SP_MIN_PLAYERS 0
SP_NUM_AIS 0

# Multi player
EXPLOSION_RADIUS 2
WALLS_LENGTH 400
WALLS_STAY_UP_DELAY 8
TEAM_BALANCE_ON_QUIT 1
TEAM_BALANCE_WITH_AIS 0
TEAM_MAX_IMBALANCE 1
TEAM_MAX_PLAYERS 1
TEAM_MIN_PLAYERS 1
TEAMS_MAX 16
TEAMS_MIN 1
WIN_ZONE_MIN_ROUND_TIME 10000000
WIN_ZONE_MIN_LAST_DEATH 10000000
FINISH_TYPE 1                       # 0 immediate round restart, 1 slow round restart, 2 remaining AIs fight in fast forward mode, 3 AIs fight on normally
GAME_TYPE 0                         # 1 for normal duel, 0 for freestyle(round end when everyone death)
SIZE_FACTOR 1
SPEED_FACTOR 0
AUTO_IQ 0
AUTO_AIS 0
AUTO_TEAM 1
ALLOW_TEAM_CHANGE 1
AI_IQ 50
MIN_PLAYERS 0
NUM_AIS 0

# team name
ALLOW_TEAM_NAME_COLOR 1             # allow teams to be named after a color
ALLOW_TEAM_NAME_PLAYER 1            # allow teams to be named after the leading player

# i think these are eddited in the custom language strings.
TEAM_NAME_1 $team_name_blue   # name of team 1
TEAM_NAME_2 $team_name_gold   # name of team 2
TEAM_NAME_3 $team_name_red    # name of team 3
TEAM_NAME_4 $team_name_green  # name of team 4
TEAM_NAME_5 $team_name_violet # name of team 5
TEAM_NAME_6 $team_name_ugly   # name of team 6
TEAM_NAME_7 $team_name_white  # name of team 7
TEAM_NAME_8 $team_name_black  # name of team 8

# team color options. Effective if ALLOW_TEAM_NAME_PLAYER is set to 0.

TEAM_RED_1   15 # red portion of team 1's color
TEAM_RED_2   15 # red portion of team 2's color
TEAM_RED_3   15 # red portion of team 3's color
TEAM_RED_4    4 # red portion of team 4's color
TEAM_RED_5   15 # red portion of team 5's color
TEAM_RED_6    4 # red portion of team 6's color
TEAM_RED_7   15 # red portion of team 7's color
TEAM_RED_8    7 # red portion of team 8's color

TEAM_GREEN_1  3 # green portion of team 1's color
TEAM_GREEN_2 15 # green portion of team 2's color
TEAM_GREEN_3  4 # green portion of team 3's color
TEAM_GREEN_4 15 # green portion of team 4's color
TEAM_GREEN_5  4 # green portion of team 5's color
TEAM_GREEN_6 15 # green portion of team 6's color
TEAM_GREEN_7 15 # green portion of team 7's color
TEAM_GREEN_8  7 # green portion of team 8's color

TEAM_BLUE_1   0 # blue portion of team 1's color
TEAM_BLUE_2  15 # blue portion of team 2's color
TEAM_BLUE_3   4 # blue portion of team 3's color
TEAM_BLUE_4   4 # blue portion of team 4's color
TEAM_BLUE_5  15 # blue portion of team 5's color
TEAM_BLUE_6  15 # blue portion of team 6's color
TEAM_BLUE_7  15 # blue portion of team 7's color
TEAM_BLUE_8   7 # blue portion of team 8's color

#TEAM_ALLOW_SHUFFLE_UP 0
TEAM_CENTER_IS_BOSS 1


############################################################################################
#
# sty+ct specific (for scores see game rules settings)
#
############################################################################################

SHOT_THRESH 2
SHOT_DISCARD_TIME 0.3
SHOT_START_DIST 1.0
SHOT_VELOCITY_MULT 1.8
SHOT_RADIUS_MIN 0.7
SHOT_RADIUS_MAX 5.0
SHOT_ROT_MIN 2.0
SHOT_ROT_MAX 10.0
SHOT_EXPLOSION 0

MEGA_SHOT_THRESH 2
MEGA_SHOT_MULT 0.3
MEGA_SHOT_DIR 3
MEGA_SHOT_EXPLOSION 1

SHOT_KILL_SELF 0
SHOT_KILL_VANISH 1
DEATH_SHOT 1
SHOT_COLLISION 0

SELF_DESTRUCT 0
SELF_DESTRUCT_RADIUS 18
SELF_DESTRUCT_ROT 7
SELF_DESTRUCT_RISE 5
SELF_DESTRUCT_FALL 2
SELF_DESTRUCT_VANISH 1

SHOT_SEEK_UPDATE_TIME 0.5
ZOMBIE_ZONE 0
ZOMBIE_ZONE_RADIUS 6
ZOMBIE_ZONE_ROT 2
ZOMBIE_ZONE_RISE 0.4
ZOMBIE_ZONE_FALL 0
ZOMBIE_ZONE_VANISH 0
ZOMBIE_ZONE_SPEED 12
ZOMBIE_ZONE_SHOOT 1.0

############################################################################################

respawn_time -1

BASE_RESPAWN 1
BASE_ENEMY_RESPAWN 1

BASE_RESPAWN_REMIND_TIME 5

BASE_ENEMY_KILL 0

FLAG_REQUIRED_HOME 1
FLAG_DROP_HOME 0

FLAG_DROP_TIME 3

FLAG_HOLD_TIME -1
FLAG_CHAT_BLINK_TIME -1

FLAG_BLINK_TIME 1.5
FLAG_BLINK_ON_TIME 0.3
FLAG_BLINK_START 0.2
FLAG_BLINK_END 1.0
FLAG_BLINK_ESTIMATE_POSITION 0.6
FLAG_BLINK_TRACK_TIME -1


############################################################################################
#
# zone's
#
############################################################################################

# win zone settings
WIN_ZONE_RANDOMNESS 0
WIN_ZONE_EXPANSION .5656
WIN_ZONE_INITIAL_SIZE 56.56
WIN_ZONE_DEATHS 1

# fortress settings
FORTRESS_CONQUEST_RATE 0
FORTRESS_DEFEND_RATE .6
FORTRESS_CONQUEST_DECAY_RATE .3
FORTRESS_CONQUEST_TIMEOUT 5
#FORTRESS_CONQUERED_KILL_MIN 1
#FORTRESS_CONQUERED_KILL_RATIO 1

FORTRESS_MAX_PER_TEAM 1
SPAWN_POINT_GROUP_SIZE 0
FORTRESS_COLLAPSE_SPEED .5

############################################################################################
#
# colors
#
############################################################################################

COLOR_STRINGS 1
FILTER_COLOR_STRINGS 0
FILTER_COLOR_NAMES 1
FILTER_NAME_ENDS 1
FILTER_NAME_MIDDLE 1
FILTER_COLOR_SERVER_NAMES 0

############################################################################################
#
# Politics: Voting and Spam protection
#
############################################################################################

SHUFFLE_SPAM_MESSAGES_PER_ROUND 3

SPAM_PROTECTION_REPEAT 5.0

SPAM_PROTECTION 4.0
SPAM_PROTECTION_VOTE 50.0
SPAM_PROTECTION_CHAT .3
SPAM_PENALTY 0.0
SPAM_AUTOKICK 14.0
SPAM_AUTOKICK_COUNT 3
SPAM_MAXLEN 180

# prefix spam

PREFIX_SPAM_ENABLE 0
PREFIX_SPAM_START_COLOR_MULTIPLIER 1.5
PREFIX_SPAM_LENGTH_MULTIPLIER 1.2
PREFIX_SPAM_NUMBER_COLOR_CODES_MULTIPLIER 1.2
PREFIX_SPAM_NUMBER_KNOWN_PREFIXES_MULTIPLIER 1.0
PREFIX_SPAM_REQUIRED_SCORE 10.0
PREFIX_SPAM_TIMEOUT_MULTIPLIER 15.0

# voting

ALLOW_VOTING 1
MAX_VOTES 5
MAX_VOTES_PER_VOTER 2
ALLOW_VOTING_SPECTATOR 0
VOTING_BIAS 0
VOTING_PRIVACY 1
VOTING_SPAM_ISSUE 1
VOTING_SPAM_REJECT 5
VOTING_MATURITY 300

MIN_VOTERS 3

VOTING_TIMEOUT 120
VOTING_TIMEOUT_PER_VOTER 15
VOTING_START_DECAY 60
VOTING_DECAY 60

VOTING_SPAM_ISSUE 1.0
VOTING_SPAM_REJECT 5.0
VOTING_KICK_MINHARM 0
VOTING_KICK_TIME 300
VOTING_HARM_TIME 180
VOTING_SUSPEND_ROUNDS 5

CONSOLE_DECORATE_ID 1
CONSOLE_DECORATE_IP 0

LADDERLOG_GAME_TIME_INTERVAL -1

SCORE_FLAG 4

FLAG_DROP_TIME 3

Oh and a spoiler mod would be great ;D
snake
Average Program
Posts: 59
Joined: Thu Oct 13, 2011 6:24 am

Re: Multiple servers on one linux computer config problems

Post by snake »

a reply would be nice :)
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Multiple servers on one linux computer config problems

Post by Z-Man »

For Sumo, you need negative conquest_decay_rate.
If the size factor is too large, decrease it. For Remember there are both SP_ARENA_SIZE_FACTOR and ARENA_SIZE_FACTOR, one if just one player is online, the other if more join. That would be the problem on your CTF.
snake
Average Program
Posts: 59
Joined: Thu Oct 13, 2011 6:24 am

Re: Multiple servers on one linux computer config problems

Post by snake »

oh i solved the problem with that sumo circle
I had to put a - somewhere :)

but the size_factor is still to small :S
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Multiple servers on one linux computer config problems

Post by Z-Man »

Then... change it?
snake
Average Program
Posts: 59
Joined: Thu Oct 13, 2011 6:24 am

Re: Multiple servers on one linux computer config problems

Post by snake »

either i or you dont understand the problem ... im sure that its in the server-info.cfg Becouse when i type /admin include server-info.cfg the size-factor changes. but whenni start it the size factor isnt uotomaticly loaded.

(srry for spell mistzkes, im on a crappy phone)
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Multiple servers on one linux computer config problems

Post by Z-Man »

Then check that file whether it changes the size factor settings? Or, as you type /include server_info.cfg, check for change messages.
epsy
Adjust Outside Corner Grinder
Posts: 2003
Joined: Tue Nov 07, 2006 6:02 pm
Location: paris
Contact:

Re: Multiple servers on one linux computer config problems

Post by epsy »

Are you sure, if you are testing alone against bots, that you are also setting SP_SIZE_FACTOR?
snake
Average Program
Posts: 59
Joined: Thu Oct 13, 2011 6:24 am

Re: Multiple servers on one linux computer config problems

Post by snake »

Yes if i /admin include server_info.cfg It shows that it changes the SP_SIZE_FACTOR and the SIZE_FACTOR so im Sure i put it in the server_info.cfg.

But if i start the server, almost all the settings are loaded, but some (includeing SP_SIZE_FACTOR and SIZE_FACTOR) arn't, and i have to manually include them by typing /admin include server_info.cfg. I just want the server to read it without having to type /admin include server_info.cfg
User avatar
erocat
On Lightcycle Grid
Posts: 36
Joined: Tue Mar 27, 2012 3:23 am

Re: Multiple servers on one linux computer config problems

Post by erocat »

Have you tried putting the line

Code: Select all

include server_info.cfg
into your settings_custom.cfg?

##EDIT: I read more thoroughly, and you did. Have you tried just putting it all in settings_custom.cfg? I've never had any problems and that's usually what I do.
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Multiple servers on one linux computer config problems

Post by Z-Man »

1. Then make sure you have an INCLUDE server_info.cfg or SINCLUDE server_info.cfg somewhere. It's in settings_dedicated.cfg by default, but you must have removed it or the multiserver config doesn't include that file.
2. Those settings don't belong into server_info.cfg. It doesn't matter technically, but that file is intended just for server name etc.
snake
Average Program
Posts: 59
Joined: Thu Oct 13, 2011 6:24 am

Re: Multiple servers on one linux computer config problems

Post by snake »

yes its sincluded in both settings amd settings_dedicated.cfg. any ideas for a solution?
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Multiple servers on one linux computer config problems

Post by Z-Man »

The file is usually included at the beginning and, as I said, you're not supposed to change the size factors in server_info.cfg. So it may be overriden further down in settings(_dedicated.cfg). Manually include settings(_dedicated).cfg and watch the output for change messages.
Post Reply