AAO25.com

Assist => Support => Assist Support => Topic started by: Dav3 on Friday, November 29, 2013, 19:05:37 PM

Title: How to run multiple servers off of same pc / machine
Post by: Dav3 on Friday, November 29, 2013, 19:05:37 PM
How to run multiple servers off of same pc / machine? - we have a dedicated server to run our stuff...
Do i need to setup virtual machines?

Tried copying all files, editing the process id n what not. - but the cmd window just closes n doesnt stay open

Apparently a merlin knows how? leme know or shoot me a teamspeak ip ill jump in n chat if someone can help.
Title: Re: How to run multiple servers off of same pc / machine
Post by: Spanky on Friday, November 29, 2013, 19:10:13 PM
Since the CMD window closes, you might want to create another .bat in the directory that runs the server and then below that line in the .bat put "pause" so it doesn't close the window automatically, then you'll be able to see what the error and reason for closing is.
Title: Re: How to run multiple servers off of same pc / machine
Post by: ELiZ on Friday, November 29, 2013, 19:22:03 PM
How to run multiple servers off of same pc / machine? - we have a dedicated server to run our stuff...
Do i need to setup virtual machines?

Tried copying all files, editing the process id n what not. - but the cmd window just closes n doesnt stay open

Apparently a merlin knows how? leme know or shoot me a teamspeak ip ill jump in n chat if someone can help.

Windows or Linux?
Title: Re: How to run multiple servers off of same pc / machine
Post by: Dav3 on Friday, November 29, 2013, 19:23:16 PM
cd C:\Users\Server001\AppData\Roaming\25Assist - 2\armyops\System\server.exe GLOBAL map-Insurgent_Camp
pause


That should work?

Says the system can not find the path specified...but i put that path in and it is indeed correct =\

windows
Title: Re: How to run multiple servers off of same pc / machine
Post by: ELiZ on Friday, November 29, 2013, 19:25:01 PM
Avoid spaces, or enclose the whole path with double quotes ""
Title: Re: How to run multiple servers off of same pc / machine
Post by: ELiZ on Friday, November 29, 2013, 19:25:56 PM
Code: [Select]
"C:\Users\Server001\AppData\Roaming\25Assist - 2\armyops\System\server.exe" GLOBAL Insurgent_Camp
Title: Re: How to run multiple servers off of same pc / machine
Post by: Spanky on Friday, November 29, 2013, 19:28:49 PM
Yea, quotes and no "cd" should work. Or you could rename the folder to 25Assist2 to solve it.
Title: Re: How to run multiple servers off of same pc / machine
Post by: Dav3 on Friday, November 29, 2013, 19:30:41 PM
I now have this:

cd "C:\Users\Server001\AppData\Roaming\25Assist - 2\armyops\System\server.exe" GLOBAL map-Insurgent_Camp
pause


Same error:
The system cannot find the path specified

=\
Title: Re: How to run multiple servers off of same pc / machine
Post by: Dav3 on Friday, November 29, 2013, 19:33:23 PM
now it works, but says unrecognisable map filemap file name =\

Title: Re: How to run multiple servers off of same pc / machine
Post by: ELiZ on Friday, November 29, 2013, 19:37:34 PM
There is no map called:

map-Insurgent_Camp

Remove
map-
Title: Re: How to run multiple servers off of same pc / machine
Post by: ELiZ on Friday, November 29, 2013, 19:38:30 PM
As mentioned before, remove "cd " from the beginning
Title: Re: How to run multiple servers off of same pc / machine
Post by: Dav3 on Friday, November 29, 2013, 19:39:12 PM
Niceee I think its working.

Thanks a bunch guys!

I was going to ask about updated but it looks like it automatically downloads new maps and changes i guess eh?
Solid!
Title: Re: How to run multiple servers off of same pc / machine
Post by: Spanky on Friday, November 29, 2013, 19:40:05 PM
Thanks a bunch guys!

I was going to ask about updated but it looks like it automatically downloads new maps and changes i guess eh?
Solid!

Who stole Dav3's account?
Title: Re: How to run multiple servers off of same pc / machine
Post by: ELiZ on Friday, November 29, 2013, 19:40:48 PM
 :up:
Title: Re: How to run multiple servers off of same pc / machine
Post by: Dav3 on Friday, November 29, 2013, 20:07:20 PM
Think something is still off, it appears in the list but dont think you can join it.

the port is open in router - ip is 1726 instead of 1716.

do i need to change the other somewhere as well? - 1717? Or isnt that the game query port should be able to run off the same?


Server 2 appears in list but when u click on it u get no info and cant join or so i think
Title: Re: How to run multiple servers off of same pc / machine
Post by: Spanky on Friday, November 29, 2013, 20:15:15 PM
Probably a port forwarding issue? I think when you set 1726 in Assist, it also uses 1727. I only used the GUI to setup servers but once you change that 1 port in the settings and then forward it in the router/firewall, it should work.
Title: Re: How to run multiple servers off of same pc / machine
Post by: Dav3 on Friday, November 29, 2013, 20:20:05 PM
Yupp that did it, thanks!

since i couldnt find the place to define the port in the ini i figured it was standard on 1717. But it did indeed auto select 1726 somehow. anyway, as soon as i opened it - it worked
Title: Re: How to run multiple servers off of same pc / machine
Post by: Mixk on Friday, November 29, 2013, 20:54:08 PM
Who stole Dav3's account?
:rofl: :rofl:
Title: Re: How to run multiple servers off of same pc / machine
Post by: Ganja on Saturday, November 30, 2013, 06:07:55 AM

Thanks a bunch guys!

Solid!

Yupp that did it, thanks!

Screenshot taken ;)