Game Development Community

Dedicated server question.

by Max Thomas · in Torque Game Engine · 08/11/2004 (6:42 am) · 6 replies

Does anyone know how to make a simple Icon that will start a dedicated server?

#1
08/11/2004 (6:55 am)
I'm assuming you know the command to start the dedicated server here. Use a batch file. Create a txt file on your desktop, put your dedicated server command(s) in there, and then rename it to .bat. When you double-click it, it executes all the commands you put in there.
#2
08/11/2004 (11:17 am)
You can also create a shortcut on NT or higher and supply it with command line arguments via right click->Properties. This is nice because the shortcut will use the same icon as the executable. The downside is shortcuts store absolute paths. So if you change the location of the directory you will have to update the shortcut.


By the way, does anyone know if it is possible to assign an icon to a specific batch file?
#3
08/11/2004 (11:21 am)
Well you can't change an icon for a batch file, but you can store your batch files say in c:\bin or soemthing like that, create shortcuts to those,a nd change the icon associated with the shortcut.
#4
11/24/2004 (12:45 am)
Hey guys,
further to this. I have a dedicated server starting from the Torque gui. However, is there any way of killing the gui interface and leaving just the console when you start a dedicated server in this manner??? Just want to have the ease of setting up a dedicated server through the GUI interface, but dont want it having to render ANYTHING afterwards!!! Any suggestions?
Damien
#5
12/15/2004 (4:59 am)
Not exactly the answer you were looking for but when you start a dedicated server outside of the GUI, the command window that comes up is the console. Type echo("Test"); and hit enter and you'll see that. I don't know which commands are available there though.
#6
12/15/2004 (7:09 am)
All of the C++ ones, many of the script ones... Obviously, GUI stuff won't work. ;)