Ladder?
- Aang (avatar fan)
- Round Winner
- Posts: 210
- Joined: Tue Apr 03, 2007 1:44 pm
- Location: Far away, in a distant fantasy land, where there lives happly little elves. (I'm not one).
- Contact:
Ladder?
Ok, now i have two servers running on the same computer. Can i change the path o the ladder etc. so they don't overlap with my other server?
- .:Avl:.C10ud
- Average Program
- Posts: 50
- Joined: Tue Nov 07, 2006 10:20 pm
- Location: In the heart of the ENCOM 511 computer system
- Contact:
yes, install both to different locations. When compiling from source, you would run configure in this fashion:
Code: Select all
./configure --prefix=/new/path
no! there's no need to install several instances of the server..:Avl:.C10ud wrote:yes, install both to different locations....
just start them with different userdatadirs.
Code: Select all
armagetronad-dedicated --userdatadir /home/servers/server1
armagetronad-dedicated --userdatadir /home/servers/server2
.
.
armagetronad-dedicated --userdatadir /home/servers/servern

- Aang (avatar fan)
- Round Winner
- Posts: 210
- Joined: Tue Apr 03, 2007 1:44 pm
- Location: Far away, in a distant fantasy land, where there lives happly little elves. (I'm not one).
- Contact:
- .:Avl:.C10ud
- Average Program
- Posts: 50
- Joined: Tue Nov 07, 2006 10:20 pm
- Location: In the heart of the ENCOM 511 computer system
- Contact:
oh, thx for correcting me slyv 
yes, you type that at the terminal and just change the path to where your data will be stored. you can also use --configdir to specify the different config dirs. You'll probably want the -d option too and an & at the end of the command to let it run in the background.

yes, you type that at the terminal and just change the path to where your data will be stored. you can also use --configdir to specify the different config dirs. You'll probably want the -d option too and an & at the end of the command to let it run in the background.
Code: Select all
armagetronad-dedicated -d --configdir /path/to/config --userdatadir /path/for/data &
not only. when you dont define a vardir additionally it's created as a subdirectory of the userdatadir. same for the loaded resources.wrtlprnft wrote:err, --userdatadir is the dir where textures, master.srv and so can be stored.....
everytime.cfg and custom_settings.cfg (or autoexec.cfg - for some nostalgic reasons i prefer this one) can be used from within the var dir.
to conclude, i would like to say that there are too many ways to start multiple instances of the server

- Aang (avatar fan)
- Round Winner
- Posts: 210
- Joined: Tue Apr 03, 2007 1:44 pm
- Location: Far away, in a distant fantasy land, where there lives happly little elves. (I'm not one).
- Contact:
- .:Avl:.C10ud
- Average Program
- Posts: 50
- Joined: Tue Nov 07, 2006 10:20 pm
- Location: In the heart of the ENCOM 511 computer system
- Contact:
- Aang (avatar fan)
- Round Winner
- Posts: 210
- Joined: Tue Apr 03, 2007 1:44 pm
- Location: Far away, in a distant fantasy land, where there lives happly little elves. (I'm not one).
- Contact:
- .:Avl:.C10ud
- Average Program
- Posts: 50
- Joined: Tue Nov 07, 2006 10:20 pm
- Location: In the heart of the ENCOM 511 computer system
- Contact:
Starting from square one... First, make sure all arma servers are stopped. then, open a terminal window and do something like this:
Wait for first server to start and when it says Bound to Socket *:4534 or something similar and appears to be done loading, hit return and it will return you to the prompt (since -d make it run in daemon [background] mode and the & and the end tells it to background and detach from terminal). Repeat the process for the second server, changing the configdir and vardir locations accordingly.
Code: Select all
$ armagetronad-dedicated -d --configdir /path/to/configs --vardir /path/for/stats &
- Aang (avatar fan)
- Round Winner
- Posts: 210
- Joined: Tue Apr 03, 2007 1:44 pm
- Location: Far away, in a distant fantasy land, where there lives happly little elves. (I'm not one).
- Contact:
OK i did that, but it says that
Code: Select all
-bash: armagetronad-dedicated: command not found
Again, I ask: how do you start the servers so they work?
Then, to the last command, add
--configdir /path/to/configs --vardir /path/for/stats
to the end. I'd do it without the -d and the & and run the two servers in two windows.
For later, you could get hold of a program called "screen", your best bet would be DarwinPorts. It allows you to detach the server sessions from the terminal windows so they keep running when you close the windows.
Then, to the last command, add
--configdir /path/to/configs --vardir /path/for/stats
to the end. I'd do it without the -d and the & and run the two servers in two windows.
For later, you could get hold of a program called "screen", your best bet would be DarwinPorts. It allows you to detach the server sessions from the terminal windows so they keep running when you close the windows.
- Aang (avatar fan)
- Round Winner
- Posts: 210
- Joined: Tue Apr 03, 2007 1:44 pm
- Location: Far away, in a distant fantasy land, where there lives happly little elves. (I'm not one).
- Contact:
To start the servers i:
open a terminal window, type 'cd ' without the quotes, i drag the Armagetron Dedicated folder onto the window. I press enter. I then drag the armagetronad-dedicated document-thing (located inside the folder) onto the window. I press enter. Then it starts working. does that help?
So before i press enter last, i type in that code?
open a terminal window, type 'cd ' without the quotes, i drag the Armagetron Dedicated folder onto the window. I press enter. I then drag the armagetronad-dedicated document-thing (located inside the folder) onto the window. I press enter. Then it starts working. does that help?
So before i press enter last, i type in that code?