News:

Come Chat with us live! Learn how HERE!

Main Menu

how do i create multiple servers.

Started by blood2.0, April 13, 2008, 07:20:19 AM

blood2.0


NiTRoX

Use multiple PCs and preferably multiple Internet connections.

Sentinel

Is no problem on one PC running multiple instances (tremded.exe), when You have strong bandwitch and machine.

blood2.0

Assuming that my PC can handle it is it possible to run multiple servers and if it is how do i???

Oblivion

Quote from: blood2.0 on April 13, 2008, 07:30:40 PM
Assuming that my PC can handle it is it possible to run multiple servers and if it is how do i???


System Specs?
World Wide Server Host

blood2.0

Quote from: Oblivion on April 14, 2008, 02:28:05 AM
Quote from: blood2.0 on April 13, 2008, 07:30:40 PM
Assuming that my PC can handle it is it possible to run multiple servers and if it is how do i???


System Specs?


Assuming that my PC can handle it is it possible to run multiple servers and if it is how do i???

Lava Croft


NiTRoX

Quote from: blood2.0 on April 14, 2008, 06:51:12 AM
Quote from: Oblivion on April 14, 2008, 02:28:05 AM
Quote from: blood2.0 on April 13, 2008, 07:30:40 PM
Assuming that my PC can handle it is it possible to run multiple servers and if it is how do i???


System Specs?


Assuming that my PC can handle it is it possible to run multiple servers and if it is how do i???

If you can't tell us, we can't help, ____neither can we hack your system =P____

Rocinante

Alright, if we're going to do generalizations, then: Yes it's possible.  How to do it depends on specifics (starting with your OS).
}MG{Mercenaries Guild
"On my ship, the Rocinante, wheeling through the galaxies, headed for the heart of Cygnus, headlong into mystery." -- Rush, "Cygnus X-1"

doomagent13


Oblivion

Quote from: doomagent13 on April 15, 2008, 12:10:11 AM
Different ports...  TADA!!!

That but there is more then just that, we are just wanting the specifications of the machine.
World Wide Server Host

blood2.0



system:
Microsoft windows XP
professional
version 2002

Dell Dimension DXP051
intel(R)
pentuim(r) D CPU 2.80GHz, 2.00 GB of RAM
Physical address extension

now please help me

Rocinante

Hrm, Winders.. alright, I'm tapping out.

I think the answer is that yes, your computer could run more than one server, I just don't know how to setup the directory structure on Windows to do it.  I do know it would involve calling tremded.exe twice, one with the option "+set net_port 30721" (or something else non-standard).
}MG{Mercenaries Guild
"On my ship, the Rocinante, wheeling through the galaxies, headed for the heart of Cygnus, headlong into mystery." -- Rush, "Cygnus X-1"

Rabbitt

Yes running 2 or more servers on windows consists of changing the tremded for each.

changing the port will do this but every server will/would be running the same qvm same admins same settings unless you change tremded to use different ones.

+set admin1.dat +set server1.cfg and so forth
Quote from: amine
Take a super-high voltage taser with you and shock the french people and then point and laugh and yell 'FRENCH FRIES!!'

David

Running them all under the same account fails as they all try to write to the same files resulting in inconsistent files and data loss.
Give each server its own user.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Rabbitt

I'm sorry i made a mistake in my last post.
It is not +set admin.dat its +exec admin1.dat and +exec server1.cfg
Quote from: amine
Take a super-high voltage taser with you and shock the french people and then point and laugh and yell 'FRENCH FRIES!!'

David

Shouldn't it be "+set g_admin_?? admin.dat"?
Execing a non-cfg gets a lot of spammy errors.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

doomagent13

It should be possible to run them all in the same user, just make a number of different server configs.  In them, just make sure you set "g_admin <admin_file>" and the logfile (which I forget how to do) for each server.  I believe you need to set the port at startup...

blood2.0


Rabbitt

Quote from: David on April 15, 2008, 10:03:27 PM
Shouldn't it be "+set g_admin_?? admin.dat"?
Execing a non-cfg gets a lot of spammy errors.


Dam its quite possible thats right seeing as i've never actually ran 2 or more servers on 1 machine just kinda knew the round about way
Quote from: amine
Take a super-high voltage taser with you and shock the french people and then point and laugh and yell 'FRENCH FRIES!!'

_-+|[A]|+-_

If i want to run two servers i just get two tremserver.bat's and rename one to test, then i use the test one if i want to test a mod, qvm or something, but it does show up on list if i set dedicated too 2 so it does work  :D
People tell me to use the search button, why should i. When i type in Titty's some random stuff about entitty's come up >_>

Oblivion

How about you do it this way without creating multiple users and using so much memory. 
Windows has a memory problem so running multi users will eat your memory alive.  Trust me I have hosted from windows and know.  I still use windows for a lot of stuff accept for hosting now. 

Anyways do it this way.

In Program files create a new folder called whatever for example mine would be: Trem2
Copy all files from your tremulous folder to the new folder "Trem2"

Now create a shortcut by right clicking on Tremded.exe and sending it to desktop.  Now open it up and make sure the paths are correct.

Now on the command line you type this: tremded.exe +set dedicated 2 +set fs_game base2 +exec server.cfg
"fs_game" is what points the exec to that folder to exec the admin.dat and places server.log etc.
World Wide Server Host

_-+|[A]|+-_

Quote from: Oblivion on April 17, 2008, 04:36:43 AM
How about you do it this way without creating multiple users and using so much memory. 
Windows has a memory problem so running multi users will eat your memory alive.  Trust me I have hosted from windows and know.  I still use windows for a lot of stuff accept for hosting now. 

Anyways do it this way.

In Program files create a new folder called whatever for example mine would be: Trem2
Copy all files from your tremulous folder to the new folder "Trem2"

Now create a shortcut by right clicking on Tremded.exe and sending it to desktop.  Now open it up and make sure the paths are correct.

Now on the command line you type this: tremded.exe +set dedicated 2 +set fs_game base2 +exec server.cfg
"fs_game" is what points the exec to that folder to exec the admin.dat and places server.log etc.


Thats what i said but longer and more confuseringingerer...
People tell me to use the search button, why should i. When i type in Titty's some random stuff about entitty's come up >_>