Running the server on linux/unix
by Laurence Grant · in Torque Game Engine · 01/16/2007 (6:36 am) · 3 replies
Just to clarify, the TGE is ported to numerous platforms, including Linux right, so if I wanted the server to run on linux with PC clients connecting to it, that's very doable today, right?
Also, can I run the server in a console mode (not graphical) so not to consume unnecessary resources on the server, and perhaps even run it as a service(daemon)?
Thanks
Also, can I run the server in a console mode (not graphical) so not to consume unnecessary resources on the server, and perhaps even run it as a service(daemon)?
Thanks
#2
Just as a heads-up, outside of Half-life, historically Linux users haven't been particularly keen on running dedicated servers unless they get a client for it too.
Torque isn't historically very good at running strictly as a daemon [where "very good" is defined as doing all the things Stevens says to do], but there's nothing stopping you writing a small script that runs torque inside of a screen on system boot, which also makes remote administration very easy.
Gary (-;
01/16/2007 (12:13 pm)
Yes, this works fine. And if you explicitly do a dedicated build, then you don't even have to link against any graphical libraries, the binary output doesn't even *work* as anything but a dedicated server.Just as a heads-up, outside of Half-life, historically Linux users haven't been particularly keen on running dedicated servers unless they get a client for it too.
Torque isn't historically very good at running strictly as a daemon [where "very good" is defined as doing all the things Stevens says to do], but there's nothing stopping you writing a small script that runs torque inside of a screen on system boot, which also makes remote administration very easy.
Gary (-;
#3
01/16/2007 (12:57 pm)
Awesome, this is all what I expected, but wanted confirmation. Thanks
Torque Owner Mike Rowley
Mike Rowley
Yes. Linux, windows, mac servers make no difference to the client. I run a server on my mac and use my Pcs to connect to it for testing.
Yes again, but I don't recall the -something to put in the script.