News:

Come Chat with us live! Learn how HERE!

Main Menu

Minimize server window (WinXP)

Started by rotacak, June 19, 2007, 10:49:54 AM

rotacak

Hi,
is possible server window and commandline window minimize to tray after server start?
Thanx for reply

Rabbitt

Umm are you asking how to minimize the blue console screen's when you run a server ?
Quote from: amine
Take a super-high voltage taser with you and shock the french people and then point and laugh and yell 'FRENCH FRIES!!'


David

Why would you want to?
Its called a dedicated server for a reason...
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.


David

Why not?
It makes it easier to find when you need to do stuff to it.
Surely your screen isn't that small that two items full the bar?
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Oblivion

Quote from: rotacakI dont want have two item in taskbar.
Are you running the server off the home network?
Cause if not why are you worried about having it in a tray?
But I am sure its a home network, sorry I just had to put my comment.
World Wide Server Host

rotacak

Server should be in friend office. Computer is not often use, but when yes, then can be server closed by mistake, when will be on taskbar.

Oblivion

Well if computer is not often used, then why are you worried about it?  Yes I understand closed by mistake, but if you really want to keep the server from being closed by mistake create another account and use it and keep it locked, or lock the current account and use the new account for something else, thats my advice, but from what I can see, there is nothing I can or anyone else that I see of can do for you by putting a dedicated console in the tray.
World Wide Server Host


TinMan

Screen for WinXP? ??? zomg

Here's what you do, make a trem user account, run the server under that account, then switch users to some other one so people don't mess with what the trem user is doing.
Linux: ~/.tremulous/base/
Mac: ~/Library/Application\ Support/Tremulous/base/
Windows: C:\Documents and Settings\username\Local Settings\Application Data\Tremulous\base\

NeonPulse
http://neonpulse.net/media/games/tremulous/base/autoexec.cfg

Odin

I wish a Trem server could run as a daemon in *nix platforms...

DASPRiD

Quote from: OdinI wish a Trem server could run as a daemon in *nix platforms...

Still doing:


#! /bin/sh

set -e

TREMULOUS_PATH=/usr/local/games/tremulous
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:$TREMULOUS_PATH
IDENT="Trem_Custom"
DESC="Tremulous Custom"
NAME=tremded.x86
DAEMON=$TREMULOUS_PATH/$NAME
PIDFILE=/var/run/games/$IDENT.pid
SCRIPTNAME=/etc/init.d/tremulous_custom
OPTIONS="+set fs_homepath /home/tremulous/trem_custom +set dedicated 2 +set net_port 27961 +exec server.cfg"

# Gracefully exit if the package has been removed.
test -x $DAEMON || exit 0

d_start() {
       start-stop-daemon --start --quiet --pidfile $PIDFILE \
               --background --chuid tremulous:users --make-pidfile \
               --nicelevel -5 --chdir $TREMULOUS_PATH \
               --exec $DAEMON -- $OPTIONS
}

d_stop() {
       start-stop-daemon --stop --quiet --pidfile $PIDFILE \
               --chuid tremulous:users \
               --name $NAME
}

case "$1" in
 start)
       echo -n "Starting $DESC: $NAME"
       d_start
       echo "."
       ;;
 stop)
       echo -n "Stopping $DESC: $NAME"
       d_stop
       echo "."
       ;;
 restart)
       echo -n "Restarting $DESC: $NAME"
       d_stop
       sleep 1
       d_start
       echo "."
       ;;
 *)
       echo "Usage: $SCRIPTNAME {start|stop|restart}" >&2
       exit 1
       ;;
esac

exit 0

tuple

I don't use DASPRiD's script, but another I found for Q3 Arena and modified.

http://tuplesplayhouse.blogspot.com/2006/08/tremulous-init-script.html

It works quite well, as I'm sure DASPRiDs does.

edit: Actually, looking at DASPRiD's, I like his more :)