I am working on a project using the Torque Engine 1.2 (mostly irrelevant but anyway…)
I have a batch file, in which I want to run my ‘master server’ and my ‘dedicated’ server. I can have two seperate batch files running each seperately, however I’d much rather just do it from one. I have tried using ‘call’ but this runs the first server (master) and on closing this server, THEN it starts the dedicated one. I need both to be run at the same time from one file. First I guess, is this possible? If so, how do I go about doing so? Below are the two lines of code I need to run, from one file and at the same time.
call "Project.exe" -dedicated -master -mission levels\Mountains.mis
and
call "Project.exe" -dedicated -mission levels\GrimwoodPass.mis
Starting a server opens another batch/server window in which I can enter commands and such. Could this be the reason I can’t have two started at once?
Use
startinstead ofcall.E.g.:
The first parameter to the start command is the window title.