Text/Console mode only
by Guimo · in Torque Game Engine · 12/29/2008 (2:08 am) · 4 replies
Hi,
I was looking for entries on this but found nothing. I hope somebody may point me to the right direction.
I would like to start the engine in a dedicated server mode, that is, text mode only, no graphics but with command line support.
I guess this can be done but cannot find examples about how to do it. Any help would be appreciated.
Thank you very much.
I was looking for entries on this but found nothing. I hope somebody may point me to the right direction.
I would like to start the engine in a dedicated server mode, that is, text mode only, no graphics but with command line support.
I guess this can be done but cannot find examples about how to do it. Any help would be appreciated.
Thank you very much.
About the author
#2
Unfortunately I cannot start my server that way because it is a heavily modded script. It no longer uses a mision to run. Think about it as a master server more than a game server.
Anyway your suggestion tells me that I should start reading the script code in order to make it work.
Thank you very much!
Guimo
12/29/2008 (4:42 am)
Hi Brian,Unfortunately I cannot start my server that way because it is a heavily modded script. It no longer uses a mision to run. Think about it as a master server more than a game server.
Anyway your suggestion tells me that I should start reading the script code in order to make it work.
Thank you very much!
Guimo
#3
12/29/2008 (4:53 am)
Uhm. setEnableConsole (true)?
#4
Very close. Instead of initializing the graphics core or the gui scripts, I forced to initialize the console only using:
enableWinConsole(true);
and completely skipped the graphics initialization. Then I run my custom server startup functions which were already non dependant of the graphics environment and everything run ok.
In my case it worked fine this way because the server is completely separated from the clients ad completely customized.
It was really easy, Torque never ceases to amaze me sometimes.
Thanks!
Guimo
12/29/2008 (5:41 am)
Hi Stefan,Very close. Instead of initializing the graphics core or the gui scripts, I forced to initialize the console only using:
enableWinConsole(true);
and completely skipped the graphics initialization. Then I run my custom server startup functions which were already non dependant of the graphics environment and everything run ok.
In my case it worked fine this way because the server is completely separated from the clients ad completely customized.
It was really easy, Torque never ceases to amaze me sometimes.
Thanks!
Guimo
Torque Owner Brian Wilson